Interface DataExchangeClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface DataExchangeClient extends AwsClient
Service client for accessing AWS Data Exchange. This can be created using the staticbuilder()method.AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.
As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIs to download or copy your entitled data sets to Amazon Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and machine learning services.
As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.
A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object, Redshift datashare, API Gateway API, AWS Lake Formation data permission, or Amazon S3 data access. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.
-
-
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
-
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
-
acceptDataGrant
default AcceptDataGrantResponse acceptDataGrant(AcceptDataGrantRequest acceptDataGrantRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation accepts a data grant.
- Parameters:
acceptDataGrantRequest-- Returns:
- Result of the AcceptDataGrant operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
acceptDataGrant
default AcceptDataGrantResponse acceptDataGrant(Consumer<AcceptDataGrantRequest.Builder> acceptDataGrantRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation accepts a data grant.
This is a convenience which creates an instance of the
AcceptDataGrantRequest.Builderavoiding the need to create one manually viaAcceptDataGrantRequest.builder()- Parameters:
acceptDataGrantRequest- AConsumerthat will call methods onAcceptDataGrantRequest.Builderto create a request.- Returns:
- Result of the AcceptDataGrant operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
cancelJob
default CancelJobResponse cancelJob(CancelJobRequest cancelJobRequest) throws ResourceNotFoundException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
- Parameters:
cancelJobRequest-- Returns:
- Result of the CancelJob operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
cancelJob
default CancelJobResponse cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest) throws ResourceNotFoundException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
This is a convenience which creates an instance of the
CancelJobRequest.Builderavoiding the need to create one manually viaCancelJobRequest.builder()- Parameters:
cancelJobRequest- AConsumerthat will call methods onCancelJobRequest.Builderto create a request.- Returns:
- Result of the CancelJob operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDataGrant
default CreateDataGrantResponse createDataGrant(CreateDataGrantRequest createDataGrantRequest) throws ServiceLimitExceededException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a data grant.
- Parameters:
createDataGrantRequest-- Returns:
- Result of the CreateDataGrant operation returned by the service.
- Throws:
ServiceLimitExceededException- The request has exceeded the quotas imposed by the service.ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDataGrant
default CreateDataGrantResponse createDataGrant(Consumer<CreateDataGrantRequest.Builder> createDataGrantRequest) throws ServiceLimitExceededException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a data grant.
This is a convenience which creates an instance of the
CreateDataGrantRequest.Builderavoiding the need to create one manually viaCreateDataGrantRequest.builder()- Parameters:
createDataGrantRequest- AConsumerthat will call methods onCreateDataGrantRequest.Builderto create a request.- Returns:
- Result of the CreateDataGrant operation returned by the service.
- Throws:
ServiceLimitExceededException- The request has exceeded the quotas imposed by the service.ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a data set.
- Parameters:
createDataSetRequest-- Returns:
- Result of the CreateDataSet operation returned by the service.
- Throws:
ServiceLimitExceededException- The request has exceeded the quotas imposed by the service.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a data set.
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.- Returns:
- Result of the CreateDataSet operation returned by the service.
- Throws:
ServiceLimitExceededException- The request has exceeded the quotas imposed by the service.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createEventAction
default CreateEventActionResponse createEventAction(CreateEventActionRequest createEventActionRequest) throws ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates an event action.
- Parameters:
createEventActionRequest-- Returns:
- Result of the CreateEventAction operation returned by the service.
- Throws:
ServiceLimitExceededException- The request has exceeded the quotas imposed by the service.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createEventAction
default CreateEventActionResponse createEventAction(Consumer<CreateEventActionRequest.Builder> createEventActionRequest) throws ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates an event action.
This is a convenience which creates an instance of the
CreateEventActionRequest.Builderavoiding the need to create one manually viaCreateEventActionRequest.builder()- Parameters:
createEventActionRequest- AConsumerthat will call methods onCreateEventActionRequest.Builderto create a request.- Returns:
- Result of the CreateEventAction operation returned by the service.
- Throws:
ServiceLimitExceededException- The request has exceeded the quotas imposed by the service.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createJob
default CreateJobResponse createJob(CreateJobRequest createJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a job.
- Parameters:
createJobRequest-- Returns:
- Result of the CreateJob operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createJob
default CreateJobResponse createJob(Consumer<CreateJobRequest.Builder> createJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a job.
This is a convenience which creates an instance of the
CreateJobRequest.Builderavoiding the need to create one manually viaCreateJobRequest.builder()- Parameters:
createJobRequest- AConsumerthat will call methods onCreateJobRequest.Builderto create a request.- Returns:
- Result of the CreateJob operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createRevision
default CreateRevisionResponse createRevision(CreateRevisionRequest createRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a revision for a data set.
- Parameters:
createRevisionRequest-- Returns:
- Result of the CreateRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createRevision
default CreateRevisionResponse createRevision(Consumer<CreateRevisionRequest.Builder> createRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a revision for a data set.
This is a convenience which creates an instance of the
CreateRevisionRequest.Builderavoiding the need to create one manually viaCreateRevisionRequest.builder()- Parameters:
createRevisionRequest- AConsumerthat will call methods onCreateRevisionRequest.Builderto create a request.- Returns:
- Result of the CreateRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAsset
default DeleteAssetResponse deleteAsset(DeleteAssetRequest deleteAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes an asset.
- Parameters:
deleteAssetRequest-- Returns:
- Result of the DeleteAsset operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAsset
default DeleteAssetResponse deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes an asset.
This is a convenience which creates an instance of the
DeleteAssetRequest.Builderavoiding the need to create one manually viaDeleteAssetRequest.builder()- Parameters:
deleteAssetRequest- AConsumerthat will call methods onDeleteAssetRequest.Builderto create a request.- Returns:
- Result of the DeleteAsset operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDataGrant
default DeleteDataGrantResponse deleteDataGrant(DeleteDataGrantRequest deleteDataGrantRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a data grant.
- Parameters:
deleteDataGrantRequest-- Returns:
- Result of the DeleteDataGrant operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDataGrant
default DeleteDataGrantResponse deleteDataGrant(Consumer<DeleteDataGrantRequest.Builder> deleteDataGrantRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a data grant.
This is a convenience which creates an instance of the
DeleteDataGrantRequest.Builderavoiding the need to create one manually viaDeleteDataGrantRequest.builder()- Parameters:
deleteDataGrantRequest- AConsumerthat will call methods onDeleteDataGrantRequest.Builderto create a request.- Returns:
- Result of the DeleteDataGrant operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a data set.
- Parameters:
deleteDataSetRequest-- Returns:
- Result of the DeleteDataSet operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a data set.
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.- Returns:
- Result of the DeleteDataSet operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEventAction
default DeleteEventActionResponse deleteEventAction(DeleteEventActionRequest deleteEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes the event action.
- Parameters:
deleteEventActionRequest-- Returns:
- Result of the DeleteEventAction operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEventAction
default DeleteEventActionResponse deleteEventAction(Consumer<DeleteEventActionRequest.Builder> deleteEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes the event action.
This is a convenience which creates an instance of the
DeleteEventActionRequest.Builderavoiding the need to create one manually viaDeleteEventActionRequest.builder()- Parameters:
deleteEventActionRequest- AConsumerthat will call methods onDeleteEventActionRequest.Builderto create a request.- Returns:
- Result of the DeleteEventAction operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRevision
default DeleteRevisionResponse deleteRevision(DeleteRevisionRequest deleteRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a revision.
- Parameters:
deleteRevisionRequest-- Returns:
- Result of the DeleteRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRevision
default DeleteRevisionResponse deleteRevision(Consumer<DeleteRevisionRequest.Builder> deleteRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a revision.
This is a convenience which creates an instance of the
DeleteRevisionRequest.Builderavoiding the need to create one manually viaDeleteRevisionRequest.builder()- Parameters:
deleteRevisionRequest- AConsumerthat will call methods onDeleteRevisionRequest.Builderto create a request.- Returns:
- Result of the DeleteRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAsset
default GetAssetResponse getAsset(GetAssetRequest getAssetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about an asset.
- Parameters:
getAssetRequest-- Returns:
- Result of the GetAsset operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAsset
default GetAssetResponse getAsset(Consumer<GetAssetRequest.Builder> getAssetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about an asset.
This is a convenience which creates an instance of the
GetAssetRequest.Builderavoiding the need to create one manually viaGetAssetRequest.builder()- Parameters:
getAssetRequest- AConsumerthat will call methods onGetAssetRequest.Builderto create a request.- Returns:
- Result of the GetAsset operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDataGrant
default GetDataGrantResponse getDataGrant(GetDataGrantRequest getDataGrantRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a data grant.
- Parameters:
getDataGrantRequest-- Returns:
- Result of the GetDataGrant operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDataGrant
default GetDataGrantResponse getDataGrant(Consumer<GetDataGrantRequest.Builder> getDataGrantRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a data grant.
This is a convenience which creates an instance of the
GetDataGrantRequest.Builderavoiding the need to create one manually viaGetDataGrantRequest.builder()- Parameters:
getDataGrantRequest- AConsumerthat will call methods onGetDataGrantRequest.Builderto create a request.- Returns:
- Result of the GetDataGrant operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a data set.
- Parameters:
getDataSetRequest-- Returns:
- Result of the GetDataSet operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a data set.
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.- Returns:
- Result of the GetDataSet operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventAction
default GetEventActionResponse getEventAction(GetEventActionRequest getEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation retrieves information about an event action.
- Parameters:
getEventActionRequest-- Returns:
- Result of the GetEventAction operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventAction
default GetEventActionResponse getEventAction(Consumer<GetEventActionRequest.Builder> getEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation retrieves information about an event action.
This is a convenience which creates an instance of the
GetEventActionRequest.Builderavoiding the need to create one manually viaGetEventActionRequest.builder()- Parameters:
getEventActionRequest- AConsumerthat will call methods onGetEventActionRequest.Builderto create a request.- Returns:
- Result of the GetEventAction operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getJob
default GetJobResponse getJob(GetJobRequest getJobRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a job.
- Parameters:
getJobRequest-- Returns:
- Result of the GetJob operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getJob
default GetJobResponse getJob(Consumer<GetJobRequest.Builder> getJobRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a job.
This is a convenience which creates an instance of the
GetJobRequest.Builderavoiding the need to create one manually viaGetJobRequest.builder()- Parameters:
getJobRequest- AConsumerthat will call methods onGetJobRequest.Builderto create a request.- Returns:
- Result of the GetJob operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getReceivedDataGrant
default GetReceivedDataGrantResponse getReceivedDataGrant(GetReceivedDataGrantRequest getReceivedDataGrantRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a received data grant.
- Parameters:
getReceivedDataGrantRequest-- Returns:
- Result of the GetReceivedDataGrant operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getReceivedDataGrant
default GetReceivedDataGrantResponse getReceivedDataGrant(Consumer<GetReceivedDataGrantRequest.Builder> getReceivedDataGrantRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a received data grant.
This is a convenience which creates an instance of the
GetReceivedDataGrantRequest.Builderavoiding the need to create one manually viaGetReceivedDataGrantRequest.builder()- Parameters:
getReceivedDataGrantRequest- AConsumerthat will call methods onGetReceivedDataGrantRequest.Builderto create a request.- Returns:
- Result of the GetReceivedDataGrant operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRevision
default GetRevisionResponse getRevision(GetRevisionRequest getRevisionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a revision.
- Parameters:
getRevisionRequest-- Returns:
- Result of the GetRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRevision
default GetRevisionResponse getRevision(Consumer<GetRevisionRequest.Builder> getRevisionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a revision.
This is a convenience which creates an instance of the
GetRevisionRequest.Builderavoiding the need to create one manually viaGetRevisionRequest.builder()- Parameters:
getRevisionRequest- AConsumerthat will call methods onGetRevisionRequest.Builderto create a request.- Returns:
- Result of the GetRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataGrants
default ListDataGrantsResponse listDataGrants(ListDataGrantsRequest listDataGrantsRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about all data grants.
- Parameters:
listDataGrantsRequest-- Returns:
- Result of the ListDataGrants operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataGrants
default ListDataGrantsResponse listDataGrants(Consumer<ListDataGrantsRequest.Builder> listDataGrantsRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about all data grants.
This is a convenience which creates an instance of the
ListDataGrantsRequest.Builderavoiding the need to create one manually viaListDataGrantsRequest.builder()- Parameters:
listDataGrantsRequest- AConsumerthat will call methods onListDataGrantsRequest.Builderto create a request.- Returns:
- Result of the ListDataGrants operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataGrantsPaginator
default ListDataGrantsIterable listDataGrantsPaginator(ListDataGrantsRequest listDataGrantsRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest)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.dataexchange.paginators.ListDataGrantsIterable responses = client.listDataGrantsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsIterable responses = client .listDataGrantsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsIterable responses = client.listDataGrantsPaginator(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
listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest)operation.- Parameters:
listDataGrantsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataGrantsPaginator
default ListDataGrantsIterable listDataGrantsPaginator(Consumer<ListDataGrantsRequest.Builder> listDataGrantsRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest)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.dataexchange.paginators.ListDataGrantsIterable responses = client.listDataGrantsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsIterable responses = client .listDataGrantsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsIterable responses = client.listDataGrantsPaginator(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
listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest)operation.
This is a convenience which creates an instance of the
ListDataGrantsRequest.Builderavoiding the need to create one manually viaListDataGrantsRequest.builder()- Parameters:
listDataGrantsRequest- AConsumerthat will call methods onListDataGrantsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataSetRevisions
default ListDataSetRevisionsResponse listDataSetRevisions(ListDataSetRevisionsRequest listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a data set's revisions sorted by CreatedAt in descending order.
- Parameters:
listDataSetRevisionsRequest-- Returns:
- Result of the ListDataSetRevisions operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataSetRevisions
default ListDataSetRevisionsResponse listDataSetRevisions(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a data set's revisions sorted by CreatedAt in descending order.
This is a convenience which creates an instance of the
ListDataSetRevisionsRequest.Builderavoiding the need to create one manually viaListDataSetRevisionsRequest.builder()- Parameters:
listDataSetRevisionsRequest- AConsumerthat will call methods onListDataSetRevisionsRequest.Builderto create a request.- Returns:
- Result of the ListDataSetRevisions operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataSetRevisionsPaginator
default ListDataSetRevisionsIterable listDataSetRevisionsPaginator(ListDataSetRevisionsRequest listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)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.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client .listDataSetRevisionsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(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
listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)operation.- Parameters:
listDataSetRevisionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataSetRevisionsPaginator
default ListDataSetRevisionsIterable listDataSetRevisionsPaginator(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)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.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client .listDataSetRevisionsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(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
listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)operation.
This is a convenience which creates an instance of the
ListDataSetRevisionsRequest.Builderavoiding the need to create one manually viaListDataSetRevisionsRequest.builder()- Parameters:
listDataSetRevisionsRequest- AConsumerthat will call methods onListDataSetRevisionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order.
- Parameters:
listDataSetsRequest-- Returns:
- Result of the ListDataSets operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order.
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.- Returns:
- Result of the ListDataSets operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listDataSets(software.amazon.awssdk.services.dataexchange.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.dataexchange.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client .listDataSetsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.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.dataexchange.model.ListDataSetsRequest)operation.- Parameters:
listDataSetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listDataSets(software.amazon.awssdk.services.dataexchange.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.dataexchange.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client .listDataSetsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.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.dataexchange.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.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventActions
default ListEventActionsResponse listEventActions(ListEventActionsRequest listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your event actions.
- Parameters:
listEventActionsRequest-- Returns:
- Result of the ListEventActions operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventActions
default ListEventActionsResponse listEventActions(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your event actions.
This is a convenience which creates an instance of the
ListEventActionsRequest.Builderavoiding the need to create one manually viaListEventActionsRequest.builder()- Parameters:
listEventActionsRequest- AConsumerthat will call methods onListEventActionsRequest.Builderto create a request.- Returns:
- Result of the ListEventActions operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventActionsPaginator
default ListEventActionsIterable listEventActionsPaginator(ListEventActionsRequest listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)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.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client .listEventActionsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(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
listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)operation.- Parameters:
listEventActionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventActionsPaginator
default ListEventActionsIterable listEventActionsPaginator(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)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.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client .listEventActionsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(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
listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)operation.
This is a convenience which creates an instance of the
ListEventActionsRequest.Builderavoiding the need to create one manually viaListEventActionsRequest.builder()- Parameters:
listEventActionsRequest- AConsumerthat will call methods onListEventActionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listJobs
default ListJobsResponse listJobs(ListJobsRequest listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your jobs sorted by CreatedAt in descending order.
- Parameters:
listJobsRequest-- Returns:
- Result of the ListJobs operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listJobs
default ListJobsResponse listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your jobs sorted by CreatedAt in descending order.
This is a convenience which creates an instance of the
ListJobsRequest.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- Result of the ListJobs operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)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.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(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
listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)operation.- Parameters:
listJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)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.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(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
listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)operation.
This is a convenience which creates an instance of the
ListJobsRequest.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedDataGrants
default ListReceivedDataGrantsResponse listReceivedDataGrants(ListReceivedDataGrantsRequest listReceivedDataGrantsRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about all received data grants.
- Parameters:
listReceivedDataGrantsRequest-- Returns:
- Result of the ListReceivedDataGrants operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedDataGrants
default ListReceivedDataGrantsResponse listReceivedDataGrants(Consumer<ListReceivedDataGrantsRequest.Builder> listReceivedDataGrantsRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about all received data grants.
This is a convenience which creates an instance of the
ListReceivedDataGrantsRequest.Builderavoiding the need to create one manually viaListReceivedDataGrantsRequest.builder()- Parameters:
listReceivedDataGrantsRequest- AConsumerthat will call methods onListReceivedDataGrantsRequest.Builderto create a request.- Returns:
- Result of the ListReceivedDataGrants operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedDataGrantsPaginator
default ListReceivedDataGrantsIterable listReceivedDataGrantsPaginator(ListReceivedDataGrantsRequest listReceivedDataGrantsRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest)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.dataexchange.paginators.ListReceivedDataGrantsIterable responses = client.listReceivedDataGrantsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsIterable responses = client .listReceivedDataGrantsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsIterable responses = client.listReceivedDataGrantsPaginator(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
listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest)operation.- Parameters:
listReceivedDataGrantsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedDataGrantsPaginator
default ListReceivedDataGrantsIterable listReceivedDataGrantsPaginator(Consumer<ListReceivedDataGrantsRequest.Builder> listReceivedDataGrantsRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest)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.dataexchange.paginators.ListReceivedDataGrantsIterable responses = client.listReceivedDataGrantsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsIterable responses = client .listReceivedDataGrantsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsIterable responses = client.listReceivedDataGrantsPaginator(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
listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest)operation.
This is a convenience which creates an instance of the
ListReceivedDataGrantsRequest.Builderavoiding the need to create one manually viaListReceivedDataGrantsRequest.builder()- Parameters:
listReceivedDataGrantsRequest- AConsumerthat will call methods onListReceivedDataGrantsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRevisionAssets
default ListRevisionAssetsResponse listRevisionAssets(ListRevisionAssetsRequest listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a revision's assets sorted alphabetically in descending order.
- Parameters:
listRevisionAssetsRequest-- Returns:
- Result of the ListRevisionAssets operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRevisionAssets
default ListRevisionAssetsResponse listRevisionAssets(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a revision's assets sorted alphabetically in descending order.
This is a convenience which creates an instance of the
ListRevisionAssetsRequest.Builderavoiding the need to create one manually viaListRevisionAssetsRequest.builder()- Parameters:
listRevisionAssetsRequest- AConsumerthat will call methods onListRevisionAssetsRequest.Builderto create a request.- Returns:
- Result of the ListRevisionAssets operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRevisionAssetsPaginator
default ListRevisionAssetsIterable listRevisionAssetsPaginator(ListRevisionAssetsRequest listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)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.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client .listRevisionAssetsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(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
listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)operation.- Parameters:
listRevisionAssetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRevisionAssetsPaginator
default ListRevisionAssetsIterable listRevisionAssetsPaginator(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This is a variant of
listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)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.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client .listRevisionAssetsPaginator(request); for (software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(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
listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)operation.
This is a convenience which creates an instance of the
ListRevisionAssetsRequest.Builderavoiding the need to create one manually viaListRevisionAssetsRequest.builder()- Parameters:
listRevisionAssetsRequest- AConsumerthat will call methods onListRevisionAssetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation lists the tags on the resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation lists the tags on the resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
revokeRevision
default RevokeRevisionResponse revokeRevision(RevokeRevisionRequest revokeRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation revokes subscribers' access to a revision.
- Parameters:
revokeRevisionRequest-- Returns:
- Result of the RevokeRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
revokeRevision
default RevokeRevisionResponse revokeRevision(Consumer<RevokeRevisionRequest.Builder> revokeRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation revokes subscribers' access to a revision.
This is a convenience which creates an instance of the
RevokeRevisionRequest.Builderavoiding the need to create one manually viaRevokeRevisionRequest.builder()- Parameters:
revokeRevisionRequest- AConsumerthat will call methods onRevokeRevisionRequest.Builderto create a request.- Returns:
- Result of the RevokeRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
sendDataSetNotification
default SendDataSetNotificationResponse sendDataSetNotification(SendDataSetNotificationRequest sendDataSetNotificationRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
The type of event associated with the data set.
- Parameters:
sendDataSetNotificationRequest-- Returns:
- Result of the SendDataSetNotification operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
sendDataSetNotification
default SendDataSetNotificationResponse sendDataSetNotification(Consumer<SendDataSetNotificationRequest.Builder> sendDataSetNotificationRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
The type of event associated with the data set.
This is a convenience which creates an instance of the
SendDataSetNotificationRequest.Builderavoiding the need to create one manually viaSendDataSetNotificationRequest.builder()- Parameters:
sendDataSetNotificationRequest- AConsumerthat will call methods onSendDataSetNotificationRequest.Builderto create a request.- Returns:
- Result of the SendDataSetNotification operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startJob
default StartJobResponse startJob(StartJobRequest startJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation starts a job.
- Parameters:
startJobRequest-- Returns:
- Result of the StartJob operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startJob
default StartJobResponse startJob(Consumer<StartJobRequest.Builder> startJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation starts a job.
This is a convenience which creates an instance of the
StartJobRequest.Builderavoiding the need to create one manually viaStartJobRequest.builder()- Parameters:
startJobRequest- AConsumerthat will call methods onStartJobRequest.Builderto create a request.- Returns:
- Result of the StartJob operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation tags a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation tags a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation removes one or more tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation removes one or more tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateAsset
default UpdateAssetResponse updateAsset(UpdateAssetRequest updateAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates an asset.
- Parameters:
updateAssetRequest-- Returns:
- Result of the UpdateAsset operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateAsset
default UpdateAssetResponse updateAsset(Consumer<UpdateAssetRequest.Builder> updateAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates an asset.
This is a convenience which creates an instance of the
UpdateAssetRequest.Builderavoiding the need to create one manually viaUpdateAssetRequest.builder()- Parameters:
updateAssetRequest- AConsumerthat will call methods onUpdateAssetRequest.Builderto create a request.- Returns:
- Result of the UpdateAsset operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a data set.
- Parameters:
updateDataSetRequest-- Returns:
- Result of the UpdateDataSet operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a data set.
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.- Returns:
- Result of the UpdateDataSet operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEventAction
default UpdateEventActionResponse updateEventAction(UpdateEventActionRequest updateEventActionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates the event action.
- Parameters:
updateEventActionRequest-- Returns:
- Result of the UpdateEventAction operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEventAction
default UpdateEventActionResponse updateEventAction(Consumer<UpdateEventActionRequest.Builder> updateEventActionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates the event action.
This is a convenience which creates an instance of the
UpdateEventActionRequest.Builderavoiding the need to create one manually viaUpdateEventActionRequest.builder()- Parameters:
updateEventActionRequest- AConsumerthat will call methods onUpdateEventActionRequest.Builderto create a request.- Returns:
- Result of the UpdateEventAction operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateRevision
default UpdateRevisionResponse updateRevision(UpdateRevisionRequest updateRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a revision.
- Parameters:
updateRevisionRequest-- Returns:
- Result of the UpdateRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateRevision
default UpdateRevisionResponse updateRevision(Consumer<UpdateRevisionRequest.Builder> updateRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a revision.
This is a convenience which creates an instance of the
UpdateRevisionRequest.Builderavoiding the need to create one manually viaUpdateRevisionRequest.builder()- Parameters:
updateRevisionRequest- AConsumerthat will call methods onUpdateRevisionRequest.Builderto create a request.- Returns:
- Result of the UpdateRevision operation returned by the service.
- Throws:
ResourceNotFoundException- The resource couldn't be found.ThrottlingException- The limit on the number of requests per second was exceeded.AccessDeniedException- Access to the resource is denied.ConflictException- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException- The request was invalid.InternalServerException- An exception occurred with the 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.DataExchangeException- 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 DataExchangeClient create()
Create aDataExchangeClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static DataExchangeClientBuilder builder()
Create a builder that can be used to configure and create aDataExchangeClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default DataExchangeServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-