Interface DataExchangeAsyncClient
-
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface DataExchangeAsyncClient extends AwsClient
Service client for accessing AWS Data Exchange asynchronously. This can be created using the staticbuilder()
method.The asynchronous client performs non-blocking I/O when configured with anySdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.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 String
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.static String
SERVICE_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 CompletableFuture<AcceptDataGrantResponse> acceptDataGrant(AcceptDataGrantRequest acceptDataGrantRequest)
This operation accepts a data grant.
- Parameters:
acceptDataGrantRequest
-- Returns:
- A Java Future containing the result of the AcceptDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
acceptDataGrant
default CompletableFuture<AcceptDataGrantResponse> acceptDataGrant(Consumer<AcceptDataGrantRequest.Builder> acceptDataGrantRequest)
This operation accepts a data grant.
This is a convenience which creates an instance of the
AcceptDataGrantRequest.Builder
avoiding the need to create one manually viaAcceptDataGrantRequest.builder()
- Parameters:
acceptDataGrantRequest
- AConsumer
that will call methods onAcceptDataGrantRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AcceptDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
cancelJob
default CompletableFuture<CancelJobResponse> cancelJob(CancelJobRequest cancelJobRequest)
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
- Parameters:
cancelJobRequest
-- Returns:
- A Java Future containing the result of the CancelJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
cancelJob
default CompletableFuture<CancelJobResponse> cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest)
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.Builder
avoiding the need to create one manually viaCancelJobRequest.builder()
- Parameters:
cancelJobRequest
- AConsumer
that will call methods onCancelJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CancelJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createDataGrant
default CompletableFuture<CreateDataGrantResponse> createDataGrant(CreateDataGrantRequest createDataGrantRequest)
This operation creates a data grant.
- Parameters:
createDataGrantRequest
-- Returns:
- A Java Future containing the result of the CreateDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createDataGrant
default CompletableFuture<CreateDataGrantResponse> createDataGrant(Consumer<CreateDataGrantRequest.Builder> createDataGrantRequest)
This operation creates a data grant.
This is a convenience which creates an instance of the
CreateDataGrantRequest.Builder
avoiding the need to create one manually viaCreateDataGrantRequest.builder()
- Parameters:
createDataGrantRequest
- AConsumer
that will call methods onCreateDataGrantRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createDataSet
default CompletableFuture<CreateDataSetResponse> createDataSet(CreateDataSetRequest createDataSetRequest)
This operation creates a data set.
- Parameters:
createDataSetRequest
-- Returns:
- A Java Future containing the result of the CreateDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createDataSet
default CompletableFuture<CreateDataSetResponse> createDataSet(Consumer<CreateDataSetRequest.Builder> createDataSetRequest)
This operation creates a data set.
This is a convenience which creates an instance of the
CreateDataSetRequest.Builder
avoiding the need to create one manually viaCreateDataSetRequest.builder()
- Parameters:
createDataSetRequest
- AConsumer
that will call methods onCreateDataSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createEventAction
default CompletableFuture<CreateEventActionResponse> createEventAction(CreateEventActionRequest createEventActionRequest)
This operation creates an event action.
- Parameters:
createEventActionRequest
-- Returns:
- A Java Future containing the result of the CreateEventAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createEventAction
default CompletableFuture<CreateEventActionResponse> createEventAction(Consumer<CreateEventActionRequest.Builder> createEventActionRequest)
This operation creates an event action.
This is a convenience which creates an instance of the
CreateEventActionRequest.Builder
avoiding the need to create one manually viaCreateEventActionRequest.builder()
- Parameters:
createEventActionRequest
- AConsumer
that will call methods onCreateEventActionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateEventAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createJob
default CompletableFuture<CreateJobResponse> createJob(CreateJobRequest createJobRequest)
This operation creates a job.
- Parameters:
createJobRequest
-- Returns:
- A Java Future containing the result of the CreateJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createJob
default CompletableFuture<CreateJobResponse> createJob(Consumer<CreateJobRequest.Builder> createJobRequest)
This operation creates a job.
This is a convenience which creates an instance of the
CreateJobRequest.Builder
avoiding the need to create one manually viaCreateJobRequest.builder()
- Parameters:
createJobRequest
- AConsumer
that will call methods onCreateJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createRevision
default CompletableFuture<CreateRevisionResponse> createRevision(CreateRevisionRequest createRevisionRequest)
This operation creates a revision for a data set.
- Parameters:
createRevisionRequest
-- Returns:
- A Java Future containing the result of the CreateRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
createRevision
default CompletableFuture<CreateRevisionResponse> createRevision(Consumer<CreateRevisionRequest.Builder> createRevisionRequest)
This operation creates a revision for a data set.
This is a convenience which creates an instance of the
CreateRevisionRequest.Builder
avoiding the need to create one manually viaCreateRevisionRequest.builder()
- Parameters:
createRevisionRequest
- AConsumer
that will call methods onCreateRevisionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteAsset
default CompletableFuture<DeleteAssetResponse> deleteAsset(DeleteAssetRequest deleteAssetRequest)
This operation deletes an asset.
- Parameters:
deleteAssetRequest
-- Returns:
- A Java Future containing the result of the DeleteAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteAsset
default CompletableFuture<DeleteAssetResponse> deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest)
This operation deletes an asset.
This is a convenience which creates an instance of the
DeleteAssetRequest.Builder
avoiding the need to create one manually viaDeleteAssetRequest.builder()
- Parameters:
deleteAssetRequest
- AConsumer
that will call methods onDeleteAssetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteDataGrant
default CompletableFuture<DeleteDataGrantResponse> deleteDataGrant(DeleteDataGrantRequest deleteDataGrantRequest)
This operation deletes a data grant.
- Parameters:
deleteDataGrantRequest
-- Returns:
- A Java Future containing the result of the DeleteDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteDataGrant
default CompletableFuture<DeleteDataGrantResponse> deleteDataGrant(Consumer<DeleteDataGrantRequest.Builder> deleteDataGrantRequest)
This operation deletes a data grant.
This is a convenience which creates an instance of the
DeleteDataGrantRequest.Builder
avoiding the need to create one manually viaDeleteDataGrantRequest.builder()
- Parameters:
deleteDataGrantRequest
- AConsumer
that will call methods onDeleteDataGrantRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteDataSet
default CompletableFuture<DeleteDataSetResponse> deleteDataSet(DeleteDataSetRequest deleteDataSetRequest)
This operation deletes a data set.
- Parameters:
deleteDataSetRequest
-- Returns:
- A Java Future containing the result of the DeleteDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteDataSet
default CompletableFuture<DeleteDataSetResponse> deleteDataSet(Consumer<DeleteDataSetRequest.Builder> deleteDataSetRequest)
This operation deletes a data set.
This is a convenience which creates an instance of the
DeleteDataSetRequest.Builder
avoiding the need to create one manually viaDeleteDataSetRequest.builder()
- Parameters:
deleteDataSetRequest
- AConsumer
that will call methods onDeleteDataSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteEventAction
default CompletableFuture<DeleteEventActionResponse> deleteEventAction(DeleteEventActionRequest deleteEventActionRequest)
This operation deletes the event action.
- Parameters:
deleteEventActionRequest
-- Returns:
- A Java Future containing the result of the DeleteEventAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteEventAction
default CompletableFuture<DeleteEventActionResponse> deleteEventAction(Consumer<DeleteEventActionRequest.Builder> deleteEventActionRequest)
This operation deletes the event action.
This is a convenience which creates an instance of the
DeleteEventActionRequest.Builder
avoiding the need to create one manually viaDeleteEventActionRequest.builder()
- Parameters:
deleteEventActionRequest
- AConsumer
that will call methods onDeleteEventActionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEventAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteRevision
default CompletableFuture<DeleteRevisionResponse> deleteRevision(DeleteRevisionRequest deleteRevisionRequest)
This operation deletes a revision.
- Parameters:
deleteRevisionRequest
-- Returns:
- A Java Future containing the result of the DeleteRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
deleteRevision
default CompletableFuture<DeleteRevisionResponse> deleteRevision(Consumer<DeleteRevisionRequest.Builder> deleteRevisionRequest)
This operation deletes a revision.
This is a convenience which creates an instance of the
DeleteRevisionRequest.Builder
avoiding the need to create one manually viaDeleteRevisionRequest.builder()
- Parameters:
deleteRevisionRequest
- AConsumer
that will call methods onDeleteRevisionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getAsset
default CompletableFuture<GetAssetResponse> getAsset(GetAssetRequest getAssetRequest)
This operation returns information about an asset.
- Parameters:
getAssetRequest
-- Returns:
- A Java Future containing the result of the GetAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getAsset
default CompletableFuture<GetAssetResponse> getAsset(Consumer<GetAssetRequest.Builder> getAssetRequest)
This operation returns information about an asset.
This is a convenience which creates an instance of the
GetAssetRequest.Builder
avoiding the need to create one manually viaGetAssetRequest.builder()
- Parameters:
getAssetRequest
- AConsumer
that will call methods onGetAssetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getDataGrant
default CompletableFuture<GetDataGrantResponse> getDataGrant(GetDataGrantRequest getDataGrantRequest)
This operation returns information about a data grant.
- Parameters:
getDataGrantRequest
-- Returns:
- A Java Future containing the result of the GetDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getDataGrant
default CompletableFuture<GetDataGrantResponse> getDataGrant(Consumer<GetDataGrantRequest.Builder> getDataGrantRequest)
This operation returns information about a data grant.
This is a convenience which creates an instance of the
GetDataGrantRequest.Builder
avoiding the need to create one manually viaGetDataGrantRequest.builder()
- Parameters:
getDataGrantRequest
- AConsumer
that will call methods onGetDataGrantRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getDataSet
default CompletableFuture<GetDataSetResponse> getDataSet(GetDataSetRequest getDataSetRequest)
This operation returns information about a data set.
- Parameters:
getDataSetRequest
-- Returns:
- A Java Future containing the result of the GetDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getDataSet
default CompletableFuture<GetDataSetResponse> getDataSet(Consumer<GetDataSetRequest.Builder> getDataSetRequest)
This operation returns information about a data set.
This is a convenience which creates an instance of the
GetDataSetRequest.Builder
avoiding the need to create one manually viaGetDataSetRequest.builder()
- Parameters:
getDataSetRequest
- AConsumer
that will call methods onGetDataSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getEventAction
default CompletableFuture<GetEventActionResponse> getEventAction(GetEventActionRequest getEventActionRequest)
This operation retrieves information about an event action.
- Parameters:
getEventActionRequest
-- Returns:
- A Java Future containing the result of the GetEventAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getEventAction
default CompletableFuture<GetEventActionResponse> getEventAction(Consumer<GetEventActionRequest.Builder> getEventActionRequest)
This operation retrieves information about an event action.
This is a convenience which creates an instance of the
GetEventActionRequest.Builder
avoiding the need to create one manually viaGetEventActionRequest.builder()
- Parameters:
getEventActionRequest
- AConsumer
that will call methods onGetEventActionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEventAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getJob
default CompletableFuture<GetJobResponse> getJob(GetJobRequest getJobRequest)
This operation returns information about a job.
- Parameters:
getJobRequest
-- Returns:
- A Java Future containing the result of the GetJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getJob
default CompletableFuture<GetJobResponse> getJob(Consumer<GetJobRequest.Builder> getJobRequest)
This operation returns information about a job.
This is a convenience which creates an instance of the
GetJobRequest.Builder
avoiding the need to create one manually viaGetJobRequest.builder()
- Parameters:
getJobRequest
- AConsumer
that will call methods onGetJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getReceivedDataGrant
default CompletableFuture<GetReceivedDataGrantResponse> getReceivedDataGrant(GetReceivedDataGrantRequest getReceivedDataGrantRequest)
This operation returns information about a received data grant.
- Parameters:
getReceivedDataGrantRequest
-- Returns:
- A Java Future containing the result of the GetReceivedDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getReceivedDataGrant
default CompletableFuture<GetReceivedDataGrantResponse> getReceivedDataGrant(Consumer<GetReceivedDataGrantRequest.Builder> getReceivedDataGrantRequest)
This operation returns information about a received data grant.
This is a convenience which creates an instance of the
GetReceivedDataGrantRequest.Builder
avoiding the need to create one manually viaGetReceivedDataGrantRequest.builder()
- Parameters:
getReceivedDataGrantRequest
- AConsumer
that will call methods onGetReceivedDataGrantRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetReceivedDataGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getRevision
default CompletableFuture<GetRevisionResponse> getRevision(GetRevisionRequest getRevisionRequest)
This operation returns information about a revision.
- Parameters:
getRevisionRequest
-- Returns:
- A Java Future containing the result of the GetRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
getRevision
default CompletableFuture<GetRevisionResponse> getRevision(Consumer<GetRevisionRequest.Builder> getRevisionRequest)
This operation returns information about a revision.
This is a convenience which creates an instance of the
GetRevisionRequest.Builder
avoiding the need to create one manually viaGetRevisionRequest.builder()
- Parameters:
getRevisionRequest
- AConsumer
that will call methods onGetRevisionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataGrants
default CompletableFuture<ListDataGrantsResponse> listDataGrants(ListDataGrantsRequest listDataGrantsRequest)
This operation returns information about all data grants.
- Parameters:
listDataGrantsRequest
-- Returns:
- A Java Future containing the result of the ListDataGrants operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataGrants
default CompletableFuture<ListDataGrantsResponse> listDataGrants(Consumer<ListDataGrantsRequest.Builder> listDataGrantsRequest)
This operation returns information about all data grants.
This is a convenience which creates an instance of the
ListDataGrantsRequest.Builder
avoiding the need to create one manually viaListDataGrantsRequest.builder()
- Parameters:
listDataGrantsRequest
- AConsumer
that will call methods onListDataGrantsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDataGrants operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataGrantsPaginator
default ListDataGrantsPublisher listDataGrantsPaginator(ListDataGrantsRequest listDataGrantsRequest)
This is a variant of
listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataGrantsPaginator
default ListDataGrantsPublisher listDataGrantsPaginator(Consumer<ListDataGrantsRequest.Builder> listDataGrantsRequest)
This is a variant of
listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListDataGrantsRequest.builder()
- Parameters:
listDataGrantsRequest
- AConsumer
that will call methods onListDataGrantsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataSetRevisions
default CompletableFuture<ListDataSetRevisionsResponse> listDataSetRevisions(ListDataSetRevisionsRequest listDataSetRevisionsRequest)
This operation lists a data set's revisions sorted by CreatedAt in descending order.
- Parameters:
listDataSetRevisionsRequest
-- Returns:
- A Java Future containing the result of the ListDataSetRevisions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataSetRevisions
default CompletableFuture<ListDataSetRevisionsResponse> listDataSetRevisions(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest)
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.Builder
avoiding the need to create one manually viaListDataSetRevisionsRequest.builder()
- Parameters:
listDataSetRevisionsRequest
- AConsumer
that will call methods onListDataSetRevisionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDataSetRevisions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataSetRevisionsPaginator
default ListDataSetRevisionsPublisher listDataSetRevisionsPaginator(ListDataSetRevisionsRequest listDataSetRevisionsRequest)
This is a variant of
listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataSetRevisionsPaginator
default ListDataSetRevisionsPublisher listDataSetRevisionsPaginator(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest)
This is a variant of
listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListDataSetRevisionsRequest.builder()
- Parameters:
listDataSetRevisionsRequest
- AConsumer
that will call methods onListDataSetRevisionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataSets
default CompletableFuture<ListDataSetsResponse> listDataSets(ListDataSetsRequest listDataSetsRequest)
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:
- A Java Future containing the result of the ListDataSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataSets
default CompletableFuture<ListDataSetsResponse> listDataSets(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest)
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.Builder
avoiding the need to create one manually viaListDataSetsRequest.builder()
- Parameters:
listDataSetsRequest
- AConsumer
that will call methods onListDataSetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDataSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataSetsPaginator
default ListDataSetsPublisher listDataSetsPaginator(ListDataSetsRequest listDataSetsRequest)
This is a variant of
listDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listDataSetsPaginator
default ListDataSetsPublisher listDataSetsPaginator(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest)
This is a variant of
listDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListDataSetsRequest.builder()
- Parameters:
listDataSetsRequest
- AConsumer
that will call methods onListDataSetsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listEventActions
default CompletableFuture<ListEventActionsResponse> listEventActions(ListEventActionsRequest listEventActionsRequest)
This operation lists your event actions.
- Parameters:
listEventActionsRequest
-- Returns:
- A Java Future containing the result of the ListEventActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listEventActions
default CompletableFuture<ListEventActionsResponse> listEventActions(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest)
This operation lists your event actions.
This is a convenience which creates an instance of the
ListEventActionsRequest.Builder
avoiding the need to create one manually viaListEventActionsRequest.builder()
- Parameters:
listEventActionsRequest
- AConsumer
that will call methods onListEventActionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListEventActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listEventActionsPaginator
default ListEventActionsPublisher listEventActionsPaginator(ListEventActionsRequest listEventActionsRequest)
This is a variant of
listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listEventActionsPaginator
default ListEventActionsPublisher listEventActionsPaginator(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest)
This is a variant of
listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListEventActionsRequest.builder()
- Parameters:
listEventActionsRequest
- AConsumer
that will call methods onListEventActionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listJobs
default CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest listJobsRequest)
This operation lists your jobs sorted by CreatedAt in descending order.
- Parameters:
listJobsRequest
-- Returns:
- A Java Future containing the result of the ListJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listJobs
default CompletableFuture<ListJobsResponse> listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)
This operation lists your jobs sorted by CreatedAt in descending order.
This is a convenience which creates an instance of the
ListJobsRequest.Builder
avoiding the need to create one manually viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsPublisher listJobsPaginator(ListJobsRequest listJobsRequest)
This is a variant of
listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListJobsResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsPublisher listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)
This is a variant of
listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListJobsResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listReceivedDataGrants
default CompletableFuture<ListReceivedDataGrantsResponse> listReceivedDataGrants(ListReceivedDataGrantsRequest listReceivedDataGrantsRequest)
This operation returns information about all received data grants.
- Parameters:
listReceivedDataGrantsRequest
-- Returns:
- A Java Future containing the result of the ListReceivedDataGrants operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listReceivedDataGrants
default CompletableFuture<ListReceivedDataGrantsResponse> listReceivedDataGrants(Consumer<ListReceivedDataGrantsRequest.Builder> listReceivedDataGrantsRequest)
This operation returns information about all received data grants.
This is a convenience which creates an instance of the
ListReceivedDataGrantsRequest.Builder
avoiding the need to create one manually viaListReceivedDataGrantsRequest.builder()
- Parameters:
listReceivedDataGrantsRequest
- AConsumer
that will call methods onListReceivedDataGrantsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListReceivedDataGrants operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listReceivedDataGrantsPaginator
default ListReceivedDataGrantsPublisher listReceivedDataGrantsPaginator(ListReceivedDataGrantsRequest listReceivedDataGrantsRequest)
This is a variant of
listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listReceivedDataGrantsPaginator
default ListReceivedDataGrantsPublisher listReceivedDataGrantsPaginator(Consumer<ListReceivedDataGrantsRequest.Builder> listReceivedDataGrantsRequest)
This is a variant of
listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListReceivedDataGrantsRequest.builder()
- Parameters:
listReceivedDataGrantsRequest
- AConsumer
that will call methods onListReceivedDataGrantsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listRevisionAssets
default CompletableFuture<ListRevisionAssetsResponse> listRevisionAssets(ListRevisionAssetsRequest listRevisionAssetsRequest)
This operation lists a revision's assets sorted alphabetically in descending order.
- Parameters:
listRevisionAssetsRequest
-- Returns:
- A Java Future containing the result of the ListRevisionAssets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listRevisionAssets
default CompletableFuture<ListRevisionAssetsResponse> listRevisionAssets(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest)
This operation lists a revision's assets sorted alphabetically in descending order.
This is a convenience which creates an instance of the
ListRevisionAssetsRequest.Builder
avoiding the need to create one manually viaListRevisionAssetsRequest.builder()
- Parameters:
listRevisionAssetsRequest
- AConsumer
that will call methods onListRevisionAssetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRevisionAssets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listRevisionAssetsPaginator
default ListRevisionAssetsPublisher listRevisionAssetsPaginator(ListRevisionAssetsRequest listRevisionAssetsRequest)
This is a variant of
listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse response) { //... }; });
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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listRevisionAssetsPaginator
default ListRevisionAssetsPublisher listRevisionAssetsPaginator(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest)
This is a variant of
listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse response) { //... }; });
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.Builder
avoiding the need to create one manually viaListRevisionAssetsRequest.builder()
- Parameters:
listRevisionAssetsRequest
- AConsumer
that will call methods onListRevisionAssetsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
This operation lists the tags on the resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
This operation lists the tags on the resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
revokeRevision
default CompletableFuture<RevokeRevisionResponse> revokeRevision(RevokeRevisionRequest revokeRevisionRequest)
This operation revokes subscribers' access to a revision.
- Parameters:
revokeRevisionRequest
-- Returns:
- A Java Future containing the result of the RevokeRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
revokeRevision
default CompletableFuture<RevokeRevisionResponse> revokeRevision(Consumer<RevokeRevisionRequest.Builder> revokeRevisionRequest)
This operation revokes subscribers' access to a revision.
This is a convenience which creates an instance of the
RevokeRevisionRequest.Builder
avoiding the need to create one manually viaRevokeRevisionRequest.builder()
- Parameters:
revokeRevisionRequest
- AConsumer
that will call methods onRevokeRevisionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RevokeRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
sendDataSetNotification
default CompletableFuture<SendDataSetNotificationResponse> sendDataSetNotification(SendDataSetNotificationRequest sendDataSetNotificationRequest)
The type of event associated with the data set.
- Parameters:
sendDataSetNotificationRequest
-- Returns:
- A Java Future containing the result of the SendDataSetNotification operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
sendDataSetNotification
default CompletableFuture<SendDataSetNotificationResponse> sendDataSetNotification(Consumer<SendDataSetNotificationRequest.Builder> sendDataSetNotificationRequest)
The type of event associated with the data set.
This is a convenience which creates an instance of the
SendDataSetNotificationRequest.Builder
avoiding the need to create one manually viaSendDataSetNotificationRequest.builder()
- Parameters:
sendDataSetNotificationRequest
- AConsumer
that will call methods onSendDataSetNotificationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SendDataSetNotification operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
startJob
default CompletableFuture<StartJobResponse> startJob(StartJobRequest startJobRequest)
This operation starts a job.
- Parameters:
startJobRequest
-- Returns:
- A Java Future containing the result of the StartJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
startJob
default CompletableFuture<StartJobResponse> startJob(Consumer<StartJobRequest.Builder> startJobRequest)
This operation starts a job.
This is a convenience which creates an instance of the
StartJobRequest.Builder
avoiding the need to create one manually viaStartJobRequest.builder()
- Parameters:
startJobRequest
- AConsumer
that will call methods onStartJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
This operation tags a resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
This operation tags a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
This operation removes one or more tags from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
This operation removes one or more tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
updateAsset
default CompletableFuture<UpdateAssetResponse> updateAsset(UpdateAssetRequest updateAssetRequest)
This operation updates an asset.
- Parameters:
updateAssetRequest
-- Returns:
- A Java Future containing the result of the UpdateAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
updateAsset
default CompletableFuture<UpdateAssetResponse> updateAsset(Consumer<UpdateAssetRequest.Builder> updateAssetRequest)
This operation updates an asset.
This is a convenience which creates an instance of the
UpdateAssetRequest.Builder
avoiding the need to create one manually viaUpdateAssetRequest.builder()
- Parameters:
updateAssetRequest
- AConsumer
that will call methods onUpdateAssetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
updateDataSet
default CompletableFuture<UpdateDataSetResponse> updateDataSet(UpdateDataSetRequest updateDataSetRequest)
This operation updates a data set.
- Parameters:
updateDataSetRequest
-- Returns:
- A Java Future containing the result of the UpdateDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
updateDataSet
default CompletableFuture<UpdateDataSetResponse> updateDataSet(Consumer<UpdateDataSetRequest.Builder> updateDataSetRequest)
This operation updates a data set.
This is a convenience which creates an instance of the
UpdateDataSetRequest.Builder
avoiding the need to create one manually viaUpdateDataSetRequest.builder()
- Parameters:
updateDataSetRequest
- AConsumer
that will call methods onUpdateDataSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
updateEventAction
default CompletableFuture<UpdateEventActionResponse> updateEventAction(UpdateEventActionRequest updateEventActionRequest)
This operation updates the event action.
- Parameters:
updateEventActionRequest
-- Returns:
- A Java Future containing the result of the UpdateEventAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
updateEventAction
default CompletableFuture<UpdateEventActionResponse> updateEventAction(Consumer<UpdateEventActionRequest.Builder> updateEventActionRequest)
This operation updates the event action.
This is a convenience which creates an instance of the
UpdateEventActionRequest.Builder
avoiding the need to create one manually viaUpdateEventActionRequest.builder()
- Parameters:
updateEventActionRequest
- AConsumer
that will call methods onUpdateEventActionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateEventAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
updateRevision
default CompletableFuture<UpdateRevisionResponse> updateRevision(UpdateRevisionRequest updateRevisionRequest)
This operation updates a revision.
- Parameters:
updateRevisionRequest
-- Returns:
- A Java Future containing the result of the UpdateRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
updateRevision
default CompletableFuture<UpdateRevisionResponse> updateRevision(Consumer<UpdateRevisionRequest.Builder> updateRevisionRequest)
This operation updates a revision.
This is a convenience which creates an instance of the
UpdateRevisionRequest.Builder
avoiding the need to create one manually viaUpdateRevisionRequest.builder()
- Parameters:
updateRevisionRequest
- AConsumer
that will call methods onUpdateRevisionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default DataExchangeServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
-
create
static DataExchangeAsyncClient create()
Create aDataExchangeAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.
-
builder
static DataExchangeAsyncClientBuilder builder()
Create a builder that can be used to configure and create aDataExchangeAsyncClient
.
-
-