Interface DataExchangeAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient 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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture<AcceptDataGrantResponse> acceptDataGrant(Consumer<AcceptDataGrantRequest.Builder> acceptDataGrantRequest) This operation accepts a data grant.default CompletableFuture<AcceptDataGrantResponse> acceptDataGrant(AcceptDataGrantRequest acceptDataGrantRequest) This operation accepts a data grant.builder()Create a builder that can be used to configure and create aDataExchangeAsyncClient.default CompletableFuture<CancelJobResponse> cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest) This operation cancels a job.default CompletableFuture<CancelJobResponse> cancelJob(CancelJobRequest cancelJobRequest) This operation cancels a job.static DataExchangeAsyncClientcreate()Create aDataExchangeAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateDataGrantResponse> createDataGrant(Consumer<CreateDataGrantRequest.Builder> createDataGrantRequest) This operation creates a data grant.default CompletableFuture<CreateDataGrantResponse> createDataGrant(CreateDataGrantRequest createDataGrantRequest) This operation creates a data grant.default CompletableFuture<CreateDataSetResponse> createDataSet(Consumer<CreateDataSetRequest.Builder> createDataSetRequest) This operation creates a data set.default CompletableFuture<CreateDataSetResponse> createDataSet(CreateDataSetRequest createDataSetRequest) This operation creates a data set.createEventAction(Consumer<CreateEventActionRequest.Builder> createEventActionRequest) This operation creates an event action.createEventAction(CreateEventActionRequest createEventActionRequest) This operation creates an event action.default CompletableFuture<CreateJobResponse> createJob(Consumer<CreateJobRequest.Builder> createJobRequest) This operation creates a job.default CompletableFuture<CreateJobResponse> createJob(CreateJobRequest createJobRequest) This operation creates a job.default CompletableFuture<CreateRevisionResponse> createRevision(Consumer<CreateRevisionRequest.Builder> createRevisionRequest) This operation creates a revision for a data set.default CompletableFuture<CreateRevisionResponse> createRevision(CreateRevisionRequest createRevisionRequest) This operation creates a revision for a data set.default CompletableFuture<DeleteAssetResponse> deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) This operation deletes an asset.default CompletableFuture<DeleteAssetResponse> deleteAsset(DeleteAssetRequest deleteAssetRequest) This operation deletes an asset.default CompletableFuture<DeleteDataGrantResponse> deleteDataGrant(Consumer<DeleteDataGrantRequest.Builder> deleteDataGrantRequest) This operation deletes a data grant.default CompletableFuture<DeleteDataGrantResponse> deleteDataGrant(DeleteDataGrantRequest deleteDataGrantRequest) This operation deletes a data grant.default CompletableFuture<DeleteDataSetResponse> deleteDataSet(Consumer<DeleteDataSetRequest.Builder> deleteDataSetRequest) This operation deletes a data set.default CompletableFuture<DeleteDataSetResponse> deleteDataSet(DeleteDataSetRequest deleteDataSetRequest) This operation deletes a data set.deleteEventAction(Consumer<DeleteEventActionRequest.Builder> deleteEventActionRequest) This operation deletes the event action.deleteEventAction(DeleteEventActionRequest deleteEventActionRequest) This operation deletes the event action.default CompletableFuture<DeleteRevisionResponse> deleteRevision(Consumer<DeleteRevisionRequest.Builder> deleteRevisionRequest) This operation deletes a revision.default CompletableFuture<DeleteRevisionResponse> deleteRevision(DeleteRevisionRequest deleteRevisionRequest) This operation deletes a revision.default CompletableFuture<GetAssetResponse> getAsset(Consumer<GetAssetRequest.Builder> getAssetRequest) This operation returns information about an asset.default CompletableFuture<GetAssetResponse> getAsset(GetAssetRequest getAssetRequest) This operation returns information about an asset.default CompletableFuture<GetDataGrantResponse> getDataGrant(Consumer<GetDataGrantRequest.Builder> getDataGrantRequest) This operation returns information about a data grant.default CompletableFuture<GetDataGrantResponse> getDataGrant(GetDataGrantRequest getDataGrantRequest) This operation returns information about a data grant.default CompletableFuture<GetDataSetResponse> getDataSet(Consumer<GetDataSetRequest.Builder> getDataSetRequest) This operation returns information about a data set.default CompletableFuture<GetDataSetResponse> getDataSet(GetDataSetRequest getDataSetRequest) This operation returns information about a data set.default CompletableFuture<GetEventActionResponse> getEventAction(Consumer<GetEventActionRequest.Builder> getEventActionRequest) This operation retrieves information about an event action.default CompletableFuture<GetEventActionResponse> getEventAction(GetEventActionRequest getEventActionRequest) This operation retrieves information about an event action.default CompletableFuture<GetJobResponse> getJob(Consumer<GetJobRequest.Builder> getJobRequest) This operation returns information about a job.default CompletableFuture<GetJobResponse> getJob(GetJobRequest getJobRequest) This operation returns information about a job.getReceivedDataGrant(Consumer<GetReceivedDataGrantRequest.Builder> getReceivedDataGrantRequest) This operation returns information about a received data grant.getReceivedDataGrant(GetReceivedDataGrantRequest getReceivedDataGrantRequest) This operation returns information about a received data grant.default CompletableFuture<GetRevisionResponse> getRevision(Consumer<GetRevisionRequest.Builder> getRevisionRequest) This operation returns information about a revision.default CompletableFuture<GetRevisionResponse> getRevision(GetRevisionRequest getRevisionRequest) This operation returns information about a revision.default CompletableFuture<ListDataGrantsResponse> listDataGrants(Consumer<ListDataGrantsRequest.Builder> listDataGrantsRequest) This operation returns information about all data grants.default CompletableFuture<ListDataGrantsResponse> listDataGrants(ListDataGrantsRequest listDataGrantsRequest) This operation returns information about all data grants.default ListDataGrantsPublisherlistDataGrantsPaginator(Consumer<ListDataGrantsRequest.Builder> listDataGrantsRequest) This is a variant oflistDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest)operation.default ListDataGrantsPublisherlistDataGrantsPaginator(ListDataGrantsRequest listDataGrantsRequest) This is a variant oflistDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest)operation.listDataSetRevisions(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest) This operation lists a data set's revisions sorted by CreatedAt in descending order.listDataSetRevisions(ListDataSetRevisionsRequest listDataSetRevisionsRequest) This operation lists a data set's revisions sorted by CreatedAt in descending order.default ListDataSetRevisionsPublisherlistDataSetRevisionsPaginator(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest) This is a variant oflistDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)operation.default ListDataSetRevisionsPublisherlistDataSetRevisionsPaginator(ListDataSetRevisionsRequest listDataSetRevisionsRequest) This is a variant oflistDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)operation.default CompletableFuture<ListDataSetsResponse> listDataSets(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest) This operation lists your data sets.default CompletableFuture<ListDataSetsResponse> listDataSets(ListDataSetsRequest listDataSetsRequest) This operation lists your data sets.default ListDataSetsPublisherlistDataSetsPaginator(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest) This is a variant oflistDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest)operation.default ListDataSetsPublisherlistDataSetsPaginator(ListDataSetsRequest listDataSetsRequest) This is a variant oflistDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest)operation.listEventActions(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest) This operation lists your event actions.listEventActions(ListEventActionsRequest listEventActionsRequest) This operation lists your event actions.default ListEventActionsPublisherlistEventActionsPaginator(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest) This is a variant oflistEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)operation.default ListEventActionsPublisherlistEventActionsPaginator(ListEventActionsRequest listEventActionsRequest) This is a variant oflistEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)operation.default CompletableFuture<ListJobsResponse> listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) This operation lists your jobs sorted by CreatedAt in descending order.default CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest listJobsRequest) This operation lists your jobs sorted by CreatedAt in descending order.default ListJobsPublisherlistJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)operation.default ListJobsPublisherlistJobsPaginator(ListJobsRequest listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)operation.listReceivedDataGrants(Consumer<ListReceivedDataGrantsRequest.Builder> listReceivedDataGrantsRequest) This operation returns information about all received data grants.listReceivedDataGrants(ListReceivedDataGrantsRequest listReceivedDataGrantsRequest) This operation returns information about all received data grants.default ListReceivedDataGrantsPublisherlistReceivedDataGrantsPaginator(Consumer<ListReceivedDataGrantsRequest.Builder> listReceivedDataGrantsRequest) This is a variant oflistReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest)operation.default ListReceivedDataGrantsPublisherlistReceivedDataGrantsPaginator(ListReceivedDataGrantsRequest listReceivedDataGrantsRequest) This is a variant oflistReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest)operation.listRevisionAssets(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest) This operation lists a revision's assets sorted alphabetically in descending order.listRevisionAssets(ListRevisionAssetsRequest listRevisionAssetsRequest) This operation lists a revision's assets sorted alphabetically in descending order.default ListRevisionAssetsPublisherlistRevisionAssetsPaginator(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest) This is a variant oflistRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)operation.default ListRevisionAssetsPublisherlistRevisionAssetsPaginator(ListRevisionAssetsRequest listRevisionAssetsRequest) This is a variant oflistRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This operation lists the tags on the resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) This operation lists the tags on the resource.default CompletableFuture<RevokeRevisionResponse> revokeRevision(Consumer<RevokeRevisionRequest.Builder> revokeRevisionRequest) This operation revokes subscribers' access to a revision.default CompletableFuture<RevokeRevisionResponse> revokeRevision(RevokeRevisionRequest revokeRevisionRequest) This operation revokes subscribers' access to a revision.sendDataSetNotification(Consumer<SendDataSetNotificationRequest.Builder> sendDataSetNotificationRequest) The type of event associated with the data set.sendDataSetNotification(SendDataSetNotificationRequest sendDataSetNotificationRequest) The type of event associated with the data set.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StartJobResponse> startJob(Consumer<StartJobRequest.Builder> startJobRequest) This operation starts a job.default CompletableFuture<StartJobResponse> startJob(StartJobRequest startJobRequest) This operation starts a job.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) This operation tags a resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) This operation tags a resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) This operation removes one or more tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) This operation removes one or more tags from a resource.default CompletableFuture<UpdateAssetResponse> updateAsset(Consumer<UpdateAssetRequest.Builder> updateAssetRequest) This operation updates an asset.default CompletableFuture<UpdateAssetResponse> updateAsset(UpdateAssetRequest updateAssetRequest) This operation updates an asset.default CompletableFuture<UpdateDataSetResponse> updateDataSet(Consumer<UpdateDataSetRequest.Builder> updateDataSetRequest) This operation updates a data set.default CompletableFuture<UpdateDataSetResponse> updateDataSet(UpdateDataSetRequest updateDataSetRequest) This operation updates a data set.updateEventAction(Consumer<UpdateEventActionRequest.Builder> updateEventActionRequest) This operation updates the event action.updateEventAction(UpdateEventActionRequest updateEventActionRequest) This operation updates the event action.default CompletableFuture<UpdateRevisionResponse> updateRevision(Consumer<UpdateRevisionRequest.Builder> updateRevisionRequest) This operation updates a revision.default CompletableFuture<UpdateRevisionResponse> updateRevision(UpdateRevisionRequest updateRevisionRequest) This operation updates a revision.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
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:
-
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.Builderavoiding the need to create one manually viaAcceptDataGrantRequest.builder()- Parameters:
acceptDataGrantRequest- AConsumerthat will call methods onAcceptDataGrantRequest.Builderto 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:
-
cancelJob
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:
-
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.Builderavoiding the need to create one manually viaCancelJobRequest.builder()- Parameters:
cancelJobRequest- AConsumerthat will call methods onCancelJobRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaCreateDataGrantRequest.builder()- Parameters:
createDataGrantRequest- AConsumerthat will call methods onCreateDataGrantRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaCreateDataSetRequest.builder()- Parameters:
createDataSetRequest- AConsumerthat will call methods onCreateDataSetRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaCreateEventActionRequest.builder()- Parameters:
createEventActionRequest- AConsumerthat will call methods onCreateEventActionRequest.Builderto 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:
-
createJob
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:
-
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.Builderavoiding the need to create one manually viaCreateJobRequest.builder()- Parameters:
createJobRequest- AConsumerthat will call methods onCreateJobRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaCreateRevisionRequest.builder()- Parameters:
createRevisionRequest- AConsumerthat will call methods onCreateRevisionRequest.Builderto 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:
-
deleteAsset
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:
-
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.Builderavoiding the need to create one manually viaDeleteAssetRequest.builder()- Parameters:
deleteAssetRequest- AConsumerthat will call methods onDeleteAssetRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaDeleteDataGrantRequest.builder()- Parameters:
deleteDataGrantRequest- AConsumerthat will call methods onDeleteDataGrantRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaDeleteDataSetRequest.builder()- Parameters:
deleteDataSetRequest- AConsumerthat will call methods onDeleteDataSetRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaDeleteEventActionRequest.builder()- Parameters:
deleteEventActionRequest- AConsumerthat will call methods onDeleteEventActionRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaDeleteRevisionRequest.builder()- Parameters:
deleteRevisionRequest- AConsumerthat will call methods onDeleteRevisionRequest.Builderto 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:
-
getAsset
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:
-
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.Builderavoiding the need to create one manually viaGetAssetRequest.builder()- Parameters:
getAssetRequest- AConsumerthat will call methods onGetAssetRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaGetDataGrantRequest.builder()- Parameters:
getDataGrantRequest- AConsumerthat will call methods onGetDataGrantRequest.Builderto 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:
-
getDataSet
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:
-
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.Builderavoiding the need to create one manually viaGetDataSetRequest.builder()- Parameters:
getDataSetRequest- AConsumerthat will call methods onGetDataSetRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaGetEventActionRequest.builder()- Parameters:
getEventActionRequest- AConsumerthat will call methods onGetEventActionRequest.Builderto 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:
-
getJob
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:
-
getJob
This operation returns information about a job.
This is a convenience which creates an instance of the
GetJobRequest.Builderavoiding the need to create one manually viaGetJobRequest.builder()- Parameters:
getJobRequest- AConsumerthat will call methods onGetJobRequest.Builderto create a request.- Returns:
- 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:
-
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:
-
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.Builderavoiding the need to create one manually viaGetReceivedDataGrantRequest.builder()- Parameters:
getReceivedDataGrantRequest- AConsumerthat will call methods onGetReceivedDataGrantRequest.Builderto 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:
-
getRevision
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:
-
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.Builderavoiding the need to create one manually viaGetRevisionRequest.builder()- Parameters:
getRevisionRequest- AConsumerthat will call methods onGetRevisionRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaListDataGrantsRequest.builder()- Parameters:
listDataGrantsRequest- AConsumerthat will call methods onListDataGrantsRequest.Builderto 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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListDataGrantsRequest.builder()- Parameters:
listDataGrantsRequest- AConsumerthat will call methods onListDataGrantsRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaListDataSetRevisionsRequest.builder()- Parameters:
listDataSetRevisionsRequest- AConsumerthat will call methods onListDataSetRevisionsRequest.Builderto 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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListDataSetRevisionsRequest.builder()- Parameters:
listDataSetRevisionsRequest- AConsumerthat will call methods onListDataSetRevisionsRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaListDataSetsRequest.builder()- Parameters:
listDataSetsRequest- AConsumerthat will call methods onListDataSetsRequest.Builderto 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:
-
listDataSetsPaginator
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListDataSetsRequest.builder()- Parameters:
listDataSetsRequest- AConsumerthat will call methods onListDataSetsRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaListEventActionsRequest.builder()- Parameters:
listEventActionsRequest- AConsumerthat will call methods onListEventActionsRequest.Builderto 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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListEventActionsRequest.builder()- Parameters:
listEventActionsRequest- AConsumerthat will call methods onListEventActionsRequest.Builderto 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:
-
listJobs
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:
-
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.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto 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:
-
listJobsPaginator
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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:
-
listJobsPaginator
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaListReceivedDataGrantsRequest.builder()- Parameters:
listReceivedDataGrantsRequest- AConsumerthat will call methods onListReceivedDataGrantsRequest.Builderto 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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListReceivedDataGrantsRequest.builder()- Parameters:
listReceivedDataGrantsRequest- AConsumerthat will call methods onListReceivedDataGrantsRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaListRevisionAssetsRequest.builder()- Parameters:
listRevisionAssetsRequest- AConsumerthat will call methods onListRevisionAssetsRequest.Builderto 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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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:
-
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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListRevisionAssetsRequest.builder()- Parameters:
listRevisionAssetsRequest- AConsumerthat will call methods onListRevisionAssetsRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaRevokeRevisionRequest.builder()- Parameters:
revokeRevisionRequest- AConsumerthat will call methods onRevokeRevisionRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaSendDataSetNotificationRequest.builder()- Parameters:
sendDataSetNotificationRequest- AConsumerthat will call methods onSendDataSetNotificationRequest.Builderto 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:
-
startJob
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:
-
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.Builderavoiding the need to create one manually viaStartJobRequest.builder()- Parameters:
startJobRequest- AConsumerthat will call methods onStartJobRequest.Builderto 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:
-
tagResource
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:
-
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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:
-
updateAsset
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:
-
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.Builderavoiding the need to create one manually viaUpdateAssetRequest.builder()- Parameters:
updateAssetRequest- AConsumerthat will call methods onUpdateAssetRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaUpdateDataSetRequest.builder()- Parameters:
updateDataSetRequest- AConsumerthat will call methods onUpdateDataSetRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaUpdateEventActionRequest.builder()- Parameters:
updateEventActionRequest- AConsumerthat will call methods onUpdateEventActionRequest.Builderto 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:
-
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:
-
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.Builderavoiding the need to create one manually viaUpdateRevisionRequest.builder()- Parameters:
updateRevisionRequest- AConsumerthat will call methods onUpdateRevisionRequest.Builderto 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:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aDataExchangeAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aDataExchangeAsyncClient.
-