Interface FinspaceDataClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface FinspaceDataClient extends AwsClient
Service client for accessing FinSpace Data. This can be created using the staticbuilder()method.The FinSpace APIs let you take actions inside the FinSpace.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default AssociateUserToPermissionGroupResponseassociateUserToPermissionGroup(Consumer<AssociateUserToPermissionGroupRequest.Builder> associateUserToPermissionGroupRequest)Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.default AssociateUserToPermissionGroupResponseassociateUserToPermissionGroup(AssociateUserToPermissionGroupRequest associateUserToPermissionGroupRequest)Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.static FinspaceDataClientBuilderbuilder()Create a builder that can be used to configure and create aFinspaceDataClient.static FinspaceDataClientcreate()Create aFinspaceDataClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateChangesetResponsecreateChangeset(Consumer<CreateChangesetRequest.Builder> createChangesetRequest)Creates a new Changeset in a FinSpace Dataset.default CreateChangesetResponsecreateChangeset(CreateChangesetRequest createChangesetRequest)Creates a new Changeset in a FinSpace Dataset.default CreateDatasetResponsecreateDataset(Consumer<CreateDatasetRequest.Builder> createDatasetRequest)Creates a new FinSpace Dataset.default CreateDatasetResponsecreateDataset(CreateDatasetRequest createDatasetRequest)Creates a new FinSpace Dataset.default CreateDataViewResponsecreateDataView(Consumer<CreateDataViewRequest.Builder> createDataViewRequest)Creates a Dataview for a Dataset.default CreateDataViewResponsecreateDataView(CreateDataViewRequest createDataViewRequest)Creates a Dataview for a Dataset.default CreatePermissionGroupResponsecreatePermissionGroup(Consumer<CreatePermissionGroupRequest.Builder> createPermissionGroupRequest)Creates a group of permissions for various actions that a user can perform in FinSpace.default CreatePermissionGroupResponsecreatePermissionGroup(CreatePermissionGroupRequest createPermissionGroupRequest)Creates a group of permissions for various actions that a user can perform in FinSpace.default CreateUserResponsecreateUser(Consumer<CreateUserRequest.Builder> createUserRequest)Creates a new user in FinSpace.default CreateUserResponsecreateUser(CreateUserRequest createUserRequest)Creates a new user in FinSpace.default DeleteDatasetResponsedeleteDataset(Consumer<DeleteDatasetRequest.Builder> deleteDatasetRequest)Deletes a FinSpace Dataset.default DeleteDatasetResponsedeleteDataset(DeleteDatasetRequest deleteDatasetRequest)Deletes a FinSpace Dataset.default DeletePermissionGroupResponsedeletePermissionGroup(Consumer<DeletePermissionGroupRequest.Builder> deletePermissionGroupRequest)Deletes a permission group.default DeletePermissionGroupResponsedeletePermissionGroup(DeletePermissionGroupRequest deletePermissionGroupRequest)Deletes a permission group.default DisableUserResponsedisableUser(Consumer<DisableUserRequest.Builder> disableUserRequest)Denies access to the FinSpace web application and API for the specified user.default DisableUserResponsedisableUser(DisableUserRequest disableUserRequest)Denies access to the FinSpace web application and API for the specified user.default DisassociateUserFromPermissionGroupResponsedisassociateUserFromPermissionGroup(Consumer<DisassociateUserFromPermissionGroupRequest.Builder> disassociateUserFromPermissionGroupRequest)Removes a user from a permission group.default DisassociateUserFromPermissionGroupResponsedisassociateUserFromPermissionGroup(DisassociateUserFromPermissionGroupRequest disassociateUserFromPermissionGroupRequest)Removes a user from a permission group.default EnableUserResponseenableUser(Consumer<EnableUserRequest.Builder> enableUserRequest)Allows the specified user to access the FinSpace web application and API.default EnableUserResponseenableUser(EnableUserRequest enableUserRequest)Allows the specified user to access the FinSpace web application and API.default GetChangesetResponsegetChangeset(Consumer<GetChangesetRequest.Builder> getChangesetRequest)Get information about a Changeset.default GetChangesetResponsegetChangeset(GetChangesetRequest getChangesetRequest)Get information about a Changeset.default GetDatasetResponsegetDataset(Consumer<GetDatasetRequest.Builder> getDatasetRequest)Returns information about a Dataset.default GetDatasetResponsegetDataset(GetDatasetRequest getDatasetRequest)Returns information about a Dataset.default GetDataViewResponsegetDataView(Consumer<GetDataViewRequest.Builder> getDataViewRequest)Gets information about a Dataview.default GetDataViewResponsegetDataView(GetDataViewRequest getDataViewRequest)Gets information about a Dataview.default GetExternalDataViewAccessDetailsResponsegetExternalDataViewAccessDetails(Consumer<GetExternalDataViewAccessDetailsRequest.Builder> getExternalDataViewAccessDetailsRequest)Returns the credentials to access the external Dataview from an S3 location.default GetExternalDataViewAccessDetailsResponsegetExternalDataViewAccessDetails(GetExternalDataViewAccessDetailsRequest getExternalDataViewAccessDetailsRequest)Returns the credentials to access the external Dataview from an S3 location.default GetPermissionGroupResponsegetPermissionGroup(Consumer<GetPermissionGroupRequest.Builder> getPermissionGroupRequest)Retrieves the details of a specific permission group.default GetPermissionGroupResponsegetPermissionGroup(GetPermissionGroupRequest getPermissionGroupRequest)Retrieves the details of a specific permission group.default GetProgrammaticAccessCredentialsResponsegetProgrammaticAccessCredentials(Consumer<GetProgrammaticAccessCredentialsRequest.Builder> getProgrammaticAccessCredentialsRequest)Request programmatic credentials to use with FinSpace SDK.default GetProgrammaticAccessCredentialsResponsegetProgrammaticAccessCredentials(GetProgrammaticAccessCredentialsRequest getProgrammaticAccessCredentialsRequest)Request programmatic credentials to use with FinSpace SDK.default GetUserResponsegetUser(Consumer<GetUserRequest.Builder> getUserRequest)Retrieves details for a specific user.default GetUserResponsegetUser(GetUserRequest getUserRequest)Retrieves details for a specific user.default GetWorkingLocationResponsegetWorkingLocation(Consumer<GetWorkingLocationRequest.Builder> getWorkingLocationRequest)A temporary Amazon S3 location, where you can copy your files from a source location to stage or use as a scratch space in FinSpace notebook.default GetWorkingLocationResponsegetWorkingLocation(GetWorkingLocationRequest getWorkingLocationRequest)A temporary Amazon S3 location, where you can copy your files from a source location to stage or use as a scratch space in FinSpace notebook.default ListChangesetsResponselistChangesets(Consumer<ListChangesetsRequest.Builder> listChangesetsRequest)Lists the FinSpace Changesets for a Dataset.default ListChangesetsResponselistChangesets(ListChangesetsRequest listChangesetsRequest)Lists the FinSpace Changesets for a Dataset.default ListChangesetsIterablelistChangesetsPaginator(Consumer<ListChangesetsRequest.Builder> listChangesetsRequest)Lists the FinSpace Changesets for a Dataset.default ListChangesetsIterablelistChangesetsPaginator(ListChangesetsRequest listChangesetsRequest)Lists the FinSpace Changesets for a Dataset.default ListDatasetsResponselistDatasets(Consumer<ListDatasetsRequest.Builder> listDatasetsRequest)Lists all of the active Datasets that a user has access to.default ListDatasetsResponselistDatasets(ListDatasetsRequest listDatasetsRequest)Lists all of the active Datasets that a user has access to.default ListDatasetsIterablelistDatasetsPaginator(Consumer<ListDatasetsRequest.Builder> listDatasetsRequest)Lists all of the active Datasets that a user has access to.default ListDatasetsIterablelistDatasetsPaginator(ListDatasetsRequest listDatasetsRequest)Lists all of the active Datasets that a user has access to.default ListDataViewsResponselistDataViews(Consumer<ListDataViewsRequest.Builder> listDataViewsRequest)Lists all available Dataviews for a Dataset.default ListDataViewsResponselistDataViews(ListDataViewsRequest listDataViewsRequest)Lists all available Dataviews for a Dataset.default ListDataViewsIterablelistDataViewsPaginator(Consumer<ListDataViewsRequest.Builder> listDataViewsRequest)Lists all available Dataviews for a Dataset.default ListDataViewsIterablelistDataViewsPaginator(ListDataViewsRequest listDataViewsRequest)Lists all available Dataviews for a Dataset.default ListPermissionGroupsResponselistPermissionGroups(Consumer<ListPermissionGroupsRequest.Builder> listPermissionGroupsRequest)Lists all available permission groups in FinSpace.default ListPermissionGroupsResponselistPermissionGroups(ListPermissionGroupsRequest listPermissionGroupsRequest)Lists all available permission groups in FinSpace.default ListPermissionGroupsByUserResponselistPermissionGroupsByUser(Consumer<ListPermissionGroupsByUserRequest.Builder> listPermissionGroupsByUserRequest)Lists all the permission groups that are associated with a specific user.default ListPermissionGroupsByUserResponselistPermissionGroupsByUser(ListPermissionGroupsByUserRequest listPermissionGroupsByUserRequest)Lists all the permission groups that are associated with a specific user.default ListPermissionGroupsIterablelistPermissionGroupsPaginator(Consumer<ListPermissionGroupsRequest.Builder> listPermissionGroupsRequest)Lists all available permission groups in FinSpace.default ListPermissionGroupsIterablelistPermissionGroupsPaginator(ListPermissionGroupsRequest listPermissionGroupsRequest)Lists all available permission groups in FinSpace.default ListUsersResponselistUsers(Consumer<ListUsersRequest.Builder> listUsersRequest)Lists all available users in FinSpace.default ListUsersResponselistUsers(ListUsersRequest listUsersRequest)Lists all available users in FinSpace.default ListUsersByPermissionGroupResponselistUsersByPermissionGroup(Consumer<ListUsersByPermissionGroupRequest.Builder> listUsersByPermissionGroupRequest)Lists details of all the users in a specific permission group.default ListUsersByPermissionGroupResponselistUsersByPermissionGroup(ListUsersByPermissionGroupRequest listUsersByPermissionGroupRequest)Lists details of all the users in a specific permission group.default ListUsersIterablelistUsersPaginator(Consumer<ListUsersRequest.Builder> listUsersRequest)Lists all available users in FinSpace.default ListUsersIterablelistUsersPaginator(ListUsersRequest listUsersRequest)Lists all available users in FinSpace.default ResetUserPasswordResponseresetUserPassword(Consumer<ResetUserPasswordRequest.Builder> resetUserPasswordRequest)Resets the password for a specified user ID and generates a temporary one.default ResetUserPasswordResponseresetUserPassword(ResetUserPasswordRequest resetUserPasswordRequest)Resets the password for a specified user ID and generates a temporary one.default FinspaceDataServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default UpdateChangesetResponseupdateChangeset(Consumer<UpdateChangesetRequest.Builder> updateChangesetRequest)Updates a FinSpace Changeset.default UpdateChangesetResponseupdateChangeset(UpdateChangesetRequest updateChangesetRequest)Updates a FinSpace Changeset.default UpdateDatasetResponseupdateDataset(Consumer<UpdateDatasetRequest.Builder> updateDatasetRequest)Updates a FinSpace Dataset.default UpdateDatasetResponseupdateDataset(UpdateDatasetRequest updateDatasetRequest)Updates a FinSpace Dataset.default UpdatePermissionGroupResponseupdatePermissionGroup(Consumer<UpdatePermissionGroupRequest.Builder> updatePermissionGroupRequest)Modifies the details of a permission group.default UpdatePermissionGroupResponseupdatePermissionGroup(UpdatePermissionGroupRequest updatePermissionGroupRequest)Modifies the details of a permission group.default UpdateUserResponseupdateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest)Modifies the details of the specified user.default UpdateUserResponseupdateUser(UpdateUserRequest updateUserRequest)Modifies the details of the specified user.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateUserToPermissionGroup
default AssociateUserToPermissionGroupResponse associateUserToPermissionGroup(AssociateUserToPermissionGroupRequest associateUserToPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.
- Parameters:
associateUserToPermissionGroupRequest-- Returns:
- Result of the AssociateUserToPermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
associateUserToPermissionGroup
default AssociateUserToPermissionGroupResponse associateUserToPermissionGroup(Consumer<AssociateUserToPermissionGroupRequest.Builder> associateUserToPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.
This is a convenience which creates an instance of the
AssociateUserToPermissionGroupRequest.Builderavoiding the need to create one manually viaAssociateUserToPermissionGroupRequest.builder()- Parameters:
associateUserToPermissionGroupRequest- AConsumerthat will call methods onAssociateUserToPermissionGroupRequest.Builderto create a request.- Returns:
- Result of the AssociateUserToPermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createChangeset
default CreateChangesetResponse createChangeset(CreateChangesetRequest createChangesetRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a new Changeset in a FinSpace Dataset.
- Parameters:
createChangesetRequest- The request for a CreateChangeset operation.- Returns:
- Result of the CreateChangeset operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createChangeset
default CreateChangesetResponse createChangeset(Consumer<CreateChangesetRequest.Builder> createChangesetRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a new Changeset in a FinSpace Dataset.
This is a convenience which creates an instance of the
CreateChangesetRequest.Builderavoiding the need to create one manually viaCreateChangesetRequest.builder()- Parameters:
createChangesetRequest- AConsumerthat will call methods onCreateChangesetRequest.Builderto create a request. The request for a CreateChangeset operation.- Returns:
- Result of the CreateChangeset operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDataView
default CreateDataViewResponse createDataView(CreateDataViewRequest createDataViewRequest) throws InternalServerException, ThrottlingException, ValidationException, LimitExceededException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a Dataview for a Dataset.
- Parameters:
createDataViewRequest- Request for creating a data view.- Returns:
- Result of the CreateDataView operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDataView
default CreateDataViewResponse createDataView(Consumer<CreateDataViewRequest.Builder> createDataViewRequest) throws InternalServerException, ThrottlingException, ValidationException, LimitExceededException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a Dataview for a Dataset.
This is a convenience which creates an instance of the
CreateDataViewRequest.Builderavoiding the need to create one manually viaCreateDataViewRequest.builder()- Parameters:
createDataViewRequest- AConsumerthat will call methods onCreateDataViewRequest.Builderto create a request. Request for creating a data view.- Returns:
- Result of the CreateDataView operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDataset
default CreateDatasetResponse createDataset(CreateDatasetRequest createDatasetRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a new FinSpace Dataset.
- Parameters:
createDatasetRequest- The request for a CreateDataset operation- Returns:
- Result of the CreateDataset operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDataset
default CreateDatasetResponse createDataset(Consumer<CreateDatasetRequest.Builder> createDatasetRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a new FinSpace Dataset.
This is a convenience which creates an instance of the
CreateDatasetRequest.Builderavoiding the need to create one manually viaCreateDatasetRequest.builder()- Parameters:
createDatasetRequest- AConsumerthat will call methods onCreateDatasetRequest.Builderto create a request. The request for a CreateDataset operation- Returns:
- Result of the CreateDataset operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createPermissionGroup
default CreatePermissionGroupResponse createPermissionGroup(CreatePermissionGroupRequest createPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a group of permissions for various actions that a user can perform in FinSpace.
- Parameters:
createPermissionGroupRequest-- Returns:
- Result of the CreatePermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createPermissionGroup
default CreatePermissionGroupResponse createPermissionGroup(Consumer<CreatePermissionGroupRequest.Builder> createPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a group of permissions for various actions that a user can perform in FinSpace.
This is a convenience which creates an instance of the
CreatePermissionGroupRequest.Builderavoiding the need to create one manually viaCreatePermissionGroupRequest.builder()- Parameters:
createPermissionGroupRequest- AConsumerthat will call methods onCreatePermissionGroupRequest.Builderto create a request.- Returns:
- Result of the CreatePermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createUser
default CreateUserResponse createUser(CreateUserRequest createUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a new user in FinSpace.
- Parameters:
createUserRequest-- Returns:
- Result of the CreateUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createUser
default CreateUserResponse createUser(Consumer<CreateUserRequest.Builder> createUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Creates a new user in FinSpace.
This is a convenience which creates an instance of the
CreateUserRequest.Builderavoiding the need to create one manually viaCreateUserRequest.builder()- Parameters:
createUserRequest- AConsumerthat will call methods onCreateUserRequest.Builderto create a request.- Returns:
- Result of the CreateUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDataset
default DeleteDatasetResponse deleteDataset(DeleteDatasetRequest deleteDatasetRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Deletes a FinSpace Dataset.
- Parameters:
deleteDatasetRequest- The request for a DeleteDataset operation.- Returns:
- Result of the DeleteDataset operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDataset
default DeleteDatasetResponse deleteDataset(Consumer<DeleteDatasetRequest.Builder> deleteDatasetRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Deletes a FinSpace Dataset.
This is a convenience which creates an instance of the
DeleteDatasetRequest.Builderavoiding the need to create one manually viaDeleteDatasetRequest.builder()- Parameters:
deleteDatasetRequest- AConsumerthat will call methods onDeleteDatasetRequest.Builderto create a request. The request for a DeleteDataset operation.- Returns:
- Result of the DeleteDataset operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deletePermissionGroup
default DeletePermissionGroupResponse deletePermissionGroup(DeletePermissionGroupRequest deletePermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Deletes a permission group. This action is irreversible.
- Parameters:
deletePermissionGroupRequest-- Returns:
- Result of the DeletePermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deletePermissionGroup
default DeletePermissionGroupResponse deletePermissionGroup(Consumer<DeletePermissionGroupRequest.Builder> deletePermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Deletes a permission group. This action is irreversible.
This is a convenience which creates an instance of the
DeletePermissionGroupRequest.Builderavoiding the need to create one manually viaDeletePermissionGroupRequest.builder()- Parameters:
deletePermissionGroupRequest- AConsumerthat will call methods onDeletePermissionGroupRequest.Builderto create a request.- Returns:
- Result of the DeletePermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disableUser
default DisableUserResponse disableUser(DisableUserRequest disableUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Denies access to the FinSpace web application and API for the specified user.
- Parameters:
disableUserRequest-- Returns:
- Result of the DisableUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disableUser
default DisableUserResponse disableUser(Consumer<DisableUserRequest.Builder> disableUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Denies access to the FinSpace web application and API for the specified user.
This is a convenience which creates an instance of the
DisableUserRequest.Builderavoiding the need to create one manually viaDisableUserRequest.builder()- Parameters:
disableUserRequest- AConsumerthat will call methods onDisableUserRequest.Builderto create a request.- Returns:
- Result of the DisableUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateUserFromPermissionGroup
default DisassociateUserFromPermissionGroupResponse disassociateUserFromPermissionGroup(DisassociateUserFromPermissionGroupRequest disassociateUserFromPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Removes a user from a permission group.
- Parameters:
disassociateUserFromPermissionGroupRequest-- Returns:
- Result of the DisassociateUserFromPermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateUserFromPermissionGroup
default DisassociateUserFromPermissionGroupResponse disassociateUserFromPermissionGroup(Consumer<DisassociateUserFromPermissionGroupRequest.Builder> disassociateUserFromPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Removes a user from a permission group.
This is a convenience which creates an instance of the
DisassociateUserFromPermissionGroupRequest.Builderavoiding the need to create one manually viaDisassociateUserFromPermissionGroupRequest.builder()- Parameters:
disassociateUserFromPermissionGroupRequest- AConsumerthat will call methods onDisassociateUserFromPermissionGroupRequest.Builderto create a request.- Returns:
- Result of the DisassociateUserFromPermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
enableUser
default EnableUserResponse enableUser(EnableUserRequest enableUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Allows the specified user to access the FinSpace web application and API.
- Parameters:
enableUserRequest-- Returns:
- Result of the EnableUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
enableUser
default EnableUserResponse enableUser(Consumer<EnableUserRequest.Builder> enableUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Allows the specified user to access the FinSpace web application and API.
This is a convenience which creates an instance of the
EnableUserRequest.Builderavoiding the need to create one manually viaEnableUserRequest.builder()- Parameters:
enableUserRequest- AConsumerthat will call methods onEnableUserRequest.Builderto create a request.- Returns:
- Result of the EnableUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.LimitExceededException- A limit has exceeded.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getChangeset
default GetChangesetResponse getChangeset(GetChangesetRequest getChangesetRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Get information about a Changeset.
- Parameters:
getChangesetRequest- Request to describe a changeset.- Returns:
- Result of the GetChangeset operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getChangeset
default GetChangesetResponse getChangeset(Consumer<GetChangesetRequest.Builder> getChangesetRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Get information about a Changeset.
This is a convenience which creates an instance of the
GetChangesetRequest.Builderavoiding the need to create one manually viaGetChangesetRequest.builder()- Parameters:
getChangesetRequest- AConsumerthat will call methods onGetChangesetRequest.Builderto create a request. Request to describe a changeset.- Returns:
- Result of the GetChangeset operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDataView
default GetDataViewResponse getDataView(GetDataViewRequest getDataViewRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Gets information about a Dataview.
- Parameters:
getDataViewRequest- Request for retrieving a data view detail. Grouped / accessible within a dataset by its dataset id.- Returns:
- Result of the GetDataView operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDataView
default GetDataViewResponse getDataView(Consumer<GetDataViewRequest.Builder> getDataViewRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Gets information about a Dataview.
This is a convenience which creates an instance of the
GetDataViewRequest.Builderavoiding the need to create one manually viaGetDataViewRequest.builder()- Parameters:
getDataViewRequest- AConsumerthat will call methods onGetDataViewRequest.Builderto create a request. Request for retrieving a data view detail. Grouped / accessible within a dataset by its dataset id.- Returns:
- Result of the GetDataView operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDataset
default GetDatasetResponse getDataset(GetDatasetRequest getDatasetRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Returns information about a Dataset.
- Parameters:
getDatasetRequest- Request for the GetDataset operation.- Returns:
- Result of the GetDataset operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDataset
default GetDatasetResponse getDataset(Consumer<GetDatasetRequest.Builder> getDatasetRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Returns information about a Dataset.
This is a convenience which creates an instance of the
GetDatasetRequest.Builderavoiding the need to create one manually viaGetDatasetRequest.builder()- Parameters:
getDatasetRequest- AConsumerthat will call methods onGetDatasetRequest.Builderto create a request. Request for the GetDataset operation.- Returns:
- Result of the GetDataset operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getExternalDataViewAccessDetails
default GetExternalDataViewAccessDetailsResponse getExternalDataViewAccessDetails(GetExternalDataViewAccessDetailsRequest getExternalDataViewAccessDetailsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Returns the credentials to access the external Dataview from an S3 location. To call this API:
-
You must retrieve the programmatic credentials.
-
You must be a member of a FinSpace user group, where the dataset that you want to access has
Read Dataset Datapermissions.
- Parameters:
getExternalDataViewAccessDetailsRequest-- Returns:
- Result of the GetExternalDataViewAccessDetails operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
getExternalDataViewAccessDetails
default GetExternalDataViewAccessDetailsResponse getExternalDataViewAccessDetails(Consumer<GetExternalDataViewAccessDetailsRequest.Builder> getExternalDataViewAccessDetailsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Returns the credentials to access the external Dataview from an S3 location. To call this API:
-
You must retrieve the programmatic credentials.
-
You must be a member of a FinSpace user group, where the dataset that you want to access has
Read Dataset Datapermissions.
This is a convenience which creates an instance of the
GetExternalDataViewAccessDetailsRequest.Builderavoiding the need to create one manually viaGetExternalDataViewAccessDetailsRequest.builder()- Parameters:
getExternalDataViewAccessDetailsRequest- AConsumerthat will call methods onGetExternalDataViewAccessDetailsRequest.Builderto create a request.- Returns:
- Result of the GetExternalDataViewAccessDetails operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
getPermissionGroup
default GetPermissionGroupResponse getPermissionGroup(GetPermissionGroupRequest getPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Retrieves the details of a specific permission group.
- Parameters:
getPermissionGroupRequest-- Returns:
- Result of the GetPermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getPermissionGroup
default GetPermissionGroupResponse getPermissionGroup(Consumer<GetPermissionGroupRequest.Builder> getPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Retrieves the details of a specific permission group.
This is a convenience which creates an instance of the
GetPermissionGroupRequest.Builderavoiding the need to create one manually viaGetPermissionGroupRequest.builder()- Parameters:
getPermissionGroupRequest- AConsumerthat will call methods onGetPermissionGroupRequest.Builderto create a request.- Returns:
- Result of the GetPermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getProgrammaticAccessCredentials
default GetProgrammaticAccessCredentialsResponse getProgrammaticAccessCredentials(GetProgrammaticAccessCredentialsRequest getProgrammaticAccessCredentialsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Request programmatic credentials to use with FinSpace SDK. For more information, see Step 2. Access credentials programmatically using IAM access key id and secret access key.
- Parameters:
getProgrammaticAccessCredentialsRequest- Request for GetProgrammaticAccessCredentials operation- Returns:
- Result of the GetProgrammaticAccessCredentials operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getProgrammaticAccessCredentials
default GetProgrammaticAccessCredentialsResponse getProgrammaticAccessCredentials(Consumer<GetProgrammaticAccessCredentialsRequest.Builder> getProgrammaticAccessCredentialsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Request programmatic credentials to use with FinSpace SDK. For more information, see Step 2. Access credentials programmatically using IAM access key id and secret access key.
This is a convenience which creates an instance of the
GetProgrammaticAccessCredentialsRequest.Builderavoiding the need to create one manually viaGetProgrammaticAccessCredentialsRequest.builder()- Parameters:
getProgrammaticAccessCredentialsRequest- AConsumerthat will call methods onGetProgrammaticAccessCredentialsRequest.Builderto create a request. Request for GetProgrammaticAccessCredentials operation- Returns:
- Result of the GetProgrammaticAccessCredentials operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getUser
default GetUserResponse getUser(GetUserRequest getUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Retrieves details for a specific user.
- Parameters:
getUserRequest-- Returns:
- Result of the GetUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getUser
default GetUserResponse getUser(Consumer<GetUserRequest.Builder> getUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Retrieves details for a specific user.
This is a convenience which creates an instance of the
GetUserRequest.Builderavoiding the need to create one manually viaGetUserRequest.builder()- Parameters:
getUserRequest- AConsumerthat will call methods onGetUserRequest.Builderto create a request.- Returns:
- Result of the GetUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getWorkingLocation
default GetWorkingLocationResponse getWorkingLocation(GetWorkingLocationRequest getWorkingLocationRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, FinspaceDataException
A temporary Amazon S3 location, where you can copy your files from a source location to stage or use as a scratch space in FinSpace notebook.
- Parameters:
getWorkingLocationRequest-- Returns:
- Result of the GetWorkingLocation operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getWorkingLocation
default GetWorkingLocationResponse getWorkingLocation(Consumer<GetWorkingLocationRequest.Builder> getWorkingLocationRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, FinspaceDataException
A temporary Amazon S3 location, where you can copy your files from a source location to stage or use as a scratch space in FinSpace notebook.
This is a convenience which creates an instance of the
GetWorkingLocationRequest.Builderavoiding the need to create one manually viaGetWorkingLocationRequest.builder()- Parameters:
getWorkingLocationRequest- AConsumerthat will call methods onGetWorkingLocationRequest.Builderto create a request.- Returns:
- Result of the GetWorkingLocation operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listChangesets
default ListChangesetsResponse listChangesets(ListChangesetsRequest listChangesetsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Lists the FinSpace Changesets for a Dataset.
- Parameters:
listChangesetsRequest- Request to ListChangesetsRequest. It exposes minimal query filters.- Returns:
- Result of the ListChangesets operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listChangesets
default ListChangesetsResponse listChangesets(Consumer<ListChangesetsRequest.Builder> listChangesetsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Lists the FinSpace Changesets for a Dataset.
This is a convenience which creates an instance of the
ListChangesetsRequest.Builderavoiding the need to create one manually viaListChangesetsRequest.builder()- Parameters:
listChangesetsRequest- AConsumerthat will call methods onListChangesetsRequest.Builderto create a request. Request to ListChangesetsRequest. It exposes minimal query filters.- Returns:
- Result of the ListChangesets operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listChangesetsPaginator
default ListChangesetsIterable listChangesetsPaginator(ListChangesetsRequest listChangesetsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Lists the FinSpace Changesets for a Dataset.
This is a variant of
listChangesets(software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client.listChangesetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client .listChangesetsPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListChangesetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client.listChangesetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChangesets(software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest)operation.- Parameters:
listChangesetsRequest- Request to ListChangesetsRequest. It exposes minimal query filters.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listChangesetsPaginator
default ListChangesetsIterable listChangesetsPaginator(Consumer<ListChangesetsRequest.Builder> listChangesetsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Lists the FinSpace Changesets for a Dataset.
This is a variant of
listChangesets(software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client.listChangesetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client .listChangesetsPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListChangesetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client.listChangesetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChangesets(software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest)operation.This is a convenience which creates an instance of the
ListChangesetsRequest.Builderavoiding the need to create one manually viaListChangesetsRequest.builder()- Parameters:
listChangesetsRequest- AConsumerthat will call methods onListChangesetsRequest.Builderto create a request. Request to ListChangesetsRequest. It exposes minimal query filters.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataViews
default ListDataViewsResponse listDataViews(ListDataViewsRequest listDataViewsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available Dataviews for a Dataset.
- Parameters:
listDataViewsRequest- Request for a list data views.- Returns:
- Result of the ListDataViews operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataViews
default ListDataViewsResponse listDataViews(Consumer<ListDataViewsRequest.Builder> listDataViewsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available Dataviews for a Dataset.
This is a convenience which creates an instance of the
ListDataViewsRequest.Builderavoiding the need to create one manually viaListDataViewsRequest.builder()- Parameters:
listDataViewsRequest- AConsumerthat will call methods onListDataViewsRequest.Builderto create a request. Request for a list data views.- Returns:
- Result of the ListDataViews operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataViewsPaginator
default ListDataViewsIterable listDataViewsPaginator(ListDataViewsRequest listDataViewsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available Dataviews for a Dataset.
This is a variant of
listDataViews(software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client.listDataViewsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client .listDataViewsPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListDataViewsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client.listDataViewsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataViews(software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest)operation.- Parameters:
listDataViewsRequest- Request for a list data views.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataViewsPaginator
default ListDataViewsIterable listDataViewsPaginator(Consumer<ListDataViewsRequest.Builder> listDataViewsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available Dataviews for a Dataset.
This is a variant of
listDataViews(software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client.listDataViewsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client .listDataViewsPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListDataViewsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client.listDataViewsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataViews(software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest)operation.This is a convenience which creates an instance of the
ListDataViewsRequest.Builderavoiding the need to create one manually viaListDataViewsRequest.builder()- Parameters:
listDataViewsRequest- AConsumerthat will call methods onListDataViewsRequest.Builderto create a request. Request for a list data views.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDatasets
default ListDatasetsResponse listDatasets(ListDatasetsRequest listDatasetsRequest) throws InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all of the active Datasets that a user has access to.
- Parameters:
listDatasetsRequest- Request for the ListDatasets operation.- Returns:
- Result of the ListDatasets operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDatasets
default ListDatasetsResponse listDatasets(Consumer<ListDatasetsRequest.Builder> listDatasetsRequest) throws InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all of the active Datasets that a user has access to.
This is a convenience which creates an instance of the
ListDatasetsRequest.Builderavoiding the need to create one manually viaListDatasetsRequest.builder()- Parameters:
listDatasetsRequest- AConsumerthat will call methods onListDatasetsRequest.Builderto create a request. Request for the ListDatasets operation.- Returns:
- Result of the ListDatasets operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDatasetsPaginator
default ListDatasetsIterable listDatasetsPaginator(ListDatasetsRequest listDatasetsRequest) throws InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all of the active Datasets that a user has access to.
This is a variant of
listDatasets(software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client .listDatasetsPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListDatasetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDatasets(software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest)operation.- Parameters:
listDatasetsRequest- Request for the ListDatasets operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDatasetsPaginator
default ListDatasetsIterable listDatasetsPaginator(Consumer<ListDatasetsRequest.Builder> listDatasetsRequest) throws InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all of the active Datasets that a user has access to.
This is a variant of
listDatasets(software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client .listDatasetsPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListDatasetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDatasets(software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest)operation.This is a convenience which creates an instance of the
ListDatasetsRequest.Builderavoiding the need to create one manually viaListDatasetsRequest.builder()- Parameters:
listDatasetsRequest- AConsumerthat will call methods onListDatasetsRequest.Builderto create a request. Request for the ListDatasets operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listPermissionGroups
default ListPermissionGroupsResponse listPermissionGroups(ListPermissionGroupsRequest listPermissionGroupsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available permission groups in FinSpace.
- Parameters:
listPermissionGroupsRequest-- Returns:
- Result of the ListPermissionGroups operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listPermissionGroups
default ListPermissionGroupsResponse listPermissionGroups(Consumer<ListPermissionGroupsRequest.Builder> listPermissionGroupsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available permission groups in FinSpace.
This is a convenience which creates an instance of the
ListPermissionGroupsRequest.Builderavoiding the need to create one manually viaListPermissionGroupsRequest.builder()- Parameters:
listPermissionGroupsRequest- AConsumerthat will call methods onListPermissionGroupsRequest.Builderto create a request.- Returns:
- Result of the ListPermissionGroups operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listPermissionGroupsPaginator
default ListPermissionGroupsIterable listPermissionGroupsPaginator(ListPermissionGroupsRequest listPermissionGroupsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available permission groups in FinSpace.
This is a variant of
listPermissionGroups(software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client.listPermissionGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client .listPermissionGroupsPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client.listPermissionGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionGroups(software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest)operation.- Parameters:
listPermissionGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listPermissionGroupsPaginator
default ListPermissionGroupsIterable listPermissionGroupsPaginator(Consumer<ListPermissionGroupsRequest.Builder> listPermissionGroupsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available permission groups in FinSpace.
This is a variant of
listPermissionGroups(software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client.listPermissionGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client .listPermissionGroupsPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client.listPermissionGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionGroups(software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest)operation.This is a convenience which creates an instance of the
ListPermissionGroupsRequest.Builderavoiding the need to create one manually viaListPermissionGroupsRequest.builder()- Parameters:
listPermissionGroupsRequest- AConsumerthat will call methods onListPermissionGroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listPermissionGroupsByUser
default ListPermissionGroupsByUserResponse listPermissionGroupsByUser(ListPermissionGroupsByUserRequest listPermissionGroupsByUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all the permission groups that are associated with a specific user.
- Parameters:
listPermissionGroupsByUserRequest-- Returns:
- Result of the ListPermissionGroupsByUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listPermissionGroupsByUser
default ListPermissionGroupsByUserResponse listPermissionGroupsByUser(Consumer<ListPermissionGroupsByUserRequest.Builder> listPermissionGroupsByUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all the permission groups that are associated with a specific user.
This is a convenience which creates an instance of the
ListPermissionGroupsByUserRequest.Builderavoiding the need to create one manually viaListPermissionGroupsByUserRequest.builder()- Parameters:
listPermissionGroupsByUserRequest- AConsumerthat will call methods onListPermissionGroupsByUserRequest.Builderto create a request.- Returns:
- Result of the ListPermissionGroupsByUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUsers
default ListUsersResponse listUsers(ListUsersRequest listUsersRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available users in FinSpace.
- Parameters:
listUsersRequest-- Returns:
- Result of the ListUsers operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUsers
default ListUsersResponse listUsers(Consumer<ListUsersRequest.Builder> listUsersRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available users in FinSpace.
This is a convenience which creates an instance of the
ListUsersRequest.Builderavoiding the need to create one manually viaListUsersRequest.builder()- Parameters:
listUsersRequest- AConsumerthat will call methods onListUsersRequest.Builderto create a request.- Returns:
- Result of the ListUsers operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUsersPaginator
default ListUsersIterable listUsersPaginator(ListUsersRequest listUsersRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available users in FinSpace.
This is a variant of
listUsers(software.amazon.awssdk.services.finspacedata.model.ListUsersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListUsersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsers(software.amazon.awssdk.services.finspacedata.model.ListUsersRequest)operation.- Parameters:
listUsersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUsersPaginator
default ListUsersIterable listUsersPaginator(Consumer<ListUsersRequest.Builder> listUsersRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException
Lists all available users in FinSpace.
This is a variant of
listUsers(software.amazon.awssdk.services.finspacedata.model.ListUsersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request); for (software.amazon.awssdk.services.finspacedata.model.ListUsersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsers(software.amazon.awssdk.services.finspacedata.model.ListUsersRequest)operation.This is a convenience which creates an instance of the
ListUsersRequest.Builderavoiding the need to create one manually viaListUsersRequest.builder()- Parameters:
listUsersRequest- AConsumerthat will call methods onListUsersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUsersByPermissionGroup
default ListUsersByPermissionGroupResponse listUsersByPermissionGroup(ListUsersByPermissionGroupRequest listUsersByPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Lists details of all the users in a specific permission group.
- Parameters:
listUsersByPermissionGroupRequest-- Returns:
- Result of the ListUsersByPermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUsersByPermissionGroup
default ListUsersByPermissionGroupResponse listUsersByPermissionGroup(Consumer<ListUsersByPermissionGroupRequest.Builder> listUsersByPermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Lists details of all the users in a specific permission group.
This is a convenience which creates an instance of the
ListUsersByPermissionGroupRequest.Builderavoiding the need to create one manually viaListUsersByPermissionGroupRequest.builder()- Parameters:
listUsersByPermissionGroupRequest- AConsumerthat will call methods onListUsersByPermissionGroupRequest.Builderto create a request.- Returns:
- Result of the ListUsersByPermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
resetUserPassword
default ResetUserPasswordResponse resetUserPassword(ResetUserPasswordRequest resetUserPasswordRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Resets the password for a specified user ID and generates a temporary one. Only a superuser can reset password for other users. Resetting the password immediately invalidates the previous password associated with the user.
- Parameters:
resetUserPasswordRequest-- Returns:
- Result of the ResetUserPassword operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
resetUserPassword
default ResetUserPasswordResponse resetUserPassword(Consumer<ResetUserPasswordRequest.Builder> resetUserPasswordRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Resets the password for a specified user ID and generates a temporary one. Only a superuser can reset password for other users. Resetting the password immediately invalidates the previous password associated with the user.
This is a convenience which creates an instance of the
ResetUserPasswordRequest.Builderavoiding the need to create one manually viaResetUserPasswordRequest.builder()- Parameters:
resetUserPasswordRequest- AConsumerthat will call methods onResetUserPasswordRequest.Builderto create a request.- Returns:
- Result of the ResetUserPassword operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateChangeset
default UpdateChangesetResponse updateChangeset(UpdateChangesetRequest updateChangesetRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Updates a FinSpace Changeset.
- Parameters:
updateChangesetRequest- Request to update an existing changeset.- Returns:
- Result of the UpdateChangeset operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateChangeset
default UpdateChangesetResponse updateChangeset(Consumer<UpdateChangesetRequest.Builder> updateChangesetRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Updates a FinSpace Changeset.
This is a convenience which creates an instance of the
UpdateChangesetRequest.Builderavoiding the need to create one manually viaUpdateChangesetRequest.builder()- Parameters:
updateChangesetRequest- AConsumerthat will call methods onUpdateChangesetRequest.Builderto create a request. Request to update an existing changeset.- Returns:
- Result of the UpdateChangeset operation returned by the service.
- Throws:
ResourceNotFoundException- One or more resources can't be found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDataset
default UpdateDatasetResponse updateDataset(UpdateDatasetRequest updateDatasetRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Updates a FinSpace Dataset.
- Parameters:
updateDatasetRequest- The request for an UpdateDataset operation- Returns:
- Result of the UpdateDataset operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDataset
default UpdateDatasetResponse updateDataset(Consumer<UpdateDatasetRequest.Builder> updateDatasetRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException
Updates a FinSpace Dataset.
This is a convenience which creates an instance of the
UpdateDatasetRequest.Builderavoiding the need to create one manually viaUpdateDatasetRequest.builder()- Parameters:
updateDatasetRequest- AConsumerthat will call methods onUpdateDatasetRequest.Builderto create a request. The request for an UpdateDataset operation- Returns:
- Result of the UpdateDataset operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ConflictException- The request conflicts with an existing resource.ResourceNotFoundException- One or more resources can't be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updatePermissionGroup
default UpdatePermissionGroupResponse updatePermissionGroup(UpdatePermissionGroupRequest updatePermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Modifies the details of a permission group. You cannot modify a
permissionGroupID.- Parameters:
updatePermissionGroupRequest-- Returns:
- Result of the UpdatePermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updatePermissionGroup
default UpdatePermissionGroupResponse updatePermissionGroup(Consumer<UpdatePermissionGroupRequest.Builder> updatePermissionGroupRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Modifies the details of a permission group. You cannot modify a
permissionGroupID.
This is a convenience which creates an instance of the
UpdatePermissionGroupRequest.Builderavoiding the need to create one manually viaUpdatePermissionGroupRequest.builder()- Parameters:
updatePermissionGroupRequest- AConsumerthat will call methods onUpdatePermissionGroupRequest.Builderto create a request.- Returns:
- Result of the UpdatePermissionGroup operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateUser
default UpdateUserResponse updateUser(UpdateUserRequest updateUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Modifies the details of the specified user. You cannot update the
userIdfor a user.- Parameters:
updateUserRequest-- Returns:
- Result of the UpdateUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateUser
default UpdateUserResponse updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException
Modifies the details of the specified user. You cannot update the
userIdfor a user.
This is a convenience which creates an instance of the
UpdateUserRequest.Builderavoiding the need to create one manually viaUpdateUserRequest.builder()- Parameters:
updateUserRequest- AConsumerthat will call methods onUpdateUserRequest.Builderto create a request.- Returns:
- Result of the UpdateUser operation returned by the service.
- Throws:
InternalServerException- The request processing has failed because of an unknown error, exception or failure.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ThrottlingException- The request was denied due to request throttling.AccessDeniedException- You do not have sufficient access to perform this action.ResourceNotFoundException- One or more resources can't be found.ConflictException- The request conflicts with an existing resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FinspaceDataException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static FinspaceDataClient create()
Create aFinspaceDataClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static FinspaceDataClientBuilder builder()
Create a builder that can be used to configure and create aFinspaceDataClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default FinspaceDataServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-