@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSDataExchangeAsyncClient extends AWSDataExchangeClient implements AWSDataExchangeAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
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 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. 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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, cancelJob, createDataSet, createEventAction, createJob, createRevision, deleteAsset, deleteDataSet, deleteEventAction, deleteRevision, getAsset, getCachedResponseMetadata, getDataSet, getEventAction, getJob, getRevision, listDataSetRevisions, listDataSets, listEventActions, listJobs, listRevisionAssets, listTagsForResource, startJob, tagResource, untagResource, updateAsset, updateDataSet, updateEventAction, updateRevisionaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelJob, createDataSet, createEventAction, createJob, createRevision, deleteAsset, deleteDataSet, deleteEventAction, deleteRevision, getAsset, getCachedResponseMetadata, getDataSet, getEventAction, getJob, getRevision, listDataSetRevisions, listDataSets, listEventActions, listJobs, listRevisionAssets, listTagsForResource, startJob, tagResource, untagResource, updateAsset, updateDataSet, updateEventAction, updateRevisionpublic static AWSDataExchangeAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CancelJobResult> cancelJobAsync(CancelJobRequest request)
AWSDataExchangeAsyncThis operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
cancelJobAsync in interface AWSDataExchangeAsyncpublic Future<CancelJobResult> cancelJobAsync(CancelJobRequest request, AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
AWSDataExchangeAsyncThis operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
cancelJobAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDataSetResult> createDataSetAsync(CreateDataSetRequest request)
AWSDataExchangeAsyncThis operation creates a data set.
createDataSetAsync in interface AWSDataExchangeAsyncrequest - The request body for CreateDataSet.public Future<CreateDataSetResult> createDataSetAsync(CreateDataSetRequest request, AsyncHandler<CreateDataSetRequest,CreateDataSetResult> asyncHandler)
AWSDataExchangeAsyncThis operation creates a data set.
createDataSetAsync in interface AWSDataExchangeAsyncrequest - The request body for CreateDataSet.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEventActionResult> createEventActionAsync(CreateEventActionRequest request)
AWSDataExchangeAsyncThis operation creates an event action.
createEventActionAsync in interface AWSDataExchangeAsyncrequest - The request body for CreateEventAction.public Future<CreateEventActionResult> createEventActionAsync(CreateEventActionRequest request, AsyncHandler<CreateEventActionRequest,CreateEventActionResult> asyncHandler)
AWSDataExchangeAsyncThis operation creates an event action.
createEventActionAsync in interface AWSDataExchangeAsyncrequest - The request body for CreateEventAction.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateJobResult> createJobAsync(CreateJobRequest request)
AWSDataExchangeAsyncThis operation creates a job.
createJobAsync in interface AWSDataExchangeAsyncrequest - The request body for CreateJob.public Future<CreateJobResult> createJobAsync(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
AWSDataExchangeAsyncThis operation creates a job.
createJobAsync in interface AWSDataExchangeAsyncrequest - The request body for CreateJob.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRevisionResult> createRevisionAsync(CreateRevisionRequest request)
AWSDataExchangeAsyncThis operation creates a revision for a data set.
createRevisionAsync in interface AWSDataExchangeAsyncrequest - The request body for CreateRevision.public Future<CreateRevisionResult> createRevisionAsync(CreateRevisionRequest request, AsyncHandler<CreateRevisionRequest,CreateRevisionResult> asyncHandler)
AWSDataExchangeAsyncThis operation creates a revision for a data set.
createRevisionAsync in interface AWSDataExchangeAsyncrequest - The request body for CreateRevision.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAssetResult> deleteAssetAsync(DeleteAssetRequest request)
AWSDataExchangeAsyncThis operation deletes an asset.
deleteAssetAsync in interface AWSDataExchangeAsyncpublic Future<DeleteAssetResult> deleteAssetAsync(DeleteAssetRequest request, AsyncHandler<DeleteAssetRequest,DeleteAssetResult> asyncHandler)
AWSDataExchangeAsyncThis operation deletes an asset.
deleteAssetAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDataSetResult> deleteDataSetAsync(DeleteDataSetRequest request)
AWSDataExchangeAsyncThis operation deletes a data set.
deleteDataSetAsync in interface AWSDataExchangeAsyncpublic Future<DeleteDataSetResult> deleteDataSetAsync(DeleteDataSetRequest request, AsyncHandler<DeleteDataSetRequest,DeleteDataSetResult> asyncHandler)
AWSDataExchangeAsyncThis operation deletes a data set.
deleteDataSetAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEventActionResult> deleteEventActionAsync(DeleteEventActionRequest request)
AWSDataExchangeAsyncThis operation deletes the event action.
deleteEventActionAsync in interface AWSDataExchangeAsyncpublic Future<DeleteEventActionResult> deleteEventActionAsync(DeleteEventActionRequest request, AsyncHandler<DeleteEventActionRequest,DeleteEventActionResult> asyncHandler)
AWSDataExchangeAsyncThis operation deletes the event action.
deleteEventActionAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRevisionResult> deleteRevisionAsync(DeleteRevisionRequest request)
AWSDataExchangeAsyncThis operation deletes a revision.
deleteRevisionAsync in interface AWSDataExchangeAsyncpublic Future<DeleteRevisionResult> deleteRevisionAsync(DeleteRevisionRequest request, AsyncHandler<DeleteRevisionRequest,DeleteRevisionResult> asyncHandler)
AWSDataExchangeAsyncThis operation deletes a revision.
deleteRevisionAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAssetResult> getAssetAsync(GetAssetRequest request)
AWSDataExchangeAsyncThis operation returns information about an asset.
getAssetAsync in interface AWSDataExchangeAsyncpublic Future<GetAssetResult> getAssetAsync(GetAssetRequest request, AsyncHandler<GetAssetRequest,GetAssetResult> asyncHandler)
AWSDataExchangeAsyncThis operation returns information about an asset.
getAssetAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDataSetResult> getDataSetAsync(GetDataSetRequest request)
AWSDataExchangeAsyncThis operation returns information about a data set.
getDataSetAsync in interface AWSDataExchangeAsyncpublic Future<GetDataSetResult> getDataSetAsync(GetDataSetRequest request, AsyncHandler<GetDataSetRequest,GetDataSetResult> asyncHandler)
AWSDataExchangeAsyncThis operation returns information about a data set.
getDataSetAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEventActionResult> getEventActionAsync(GetEventActionRequest request)
AWSDataExchangeAsyncThis operation retrieves information about an event action.
getEventActionAsync in interface AWSDataExchangeAsyncpublic Future<GetEventActionResult> getEventActionAsync(GetEventActionRequest request, AsyncHandler<GetEventActionRequest,GetEventActionResult> asyncHandler)
AWSDataExchangeAsyncThis operation retrieves information about an event action.
getEventActionAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetJobResult> getJobAsync(GetJobRequest request)
AWSDataExchangeAsyncThis operation returns information about a job.
getJobAsync in interface AWSDataExchangeAsyncpublic Future<GetJobResult> getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
AWSDataExchangeAsyncThis operation returns information about a job.
getJobAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRevisionResult> getRevisionAsync(GetRevisionRequest request)
AWSDataExchangeAsyncThis operation returns information about a revision.
getRevisionAsync in interface AWSDataExchangeAsyncpublic Future<GetRevisionResult> getRevisionAsync(GetRevisionRequest request, AsyncHandler<GetRevisionRequest,GetRevisionResult> asyncHandler)
AWSDataExchangeAsyncThis operation returns information about a revision.
getRevisionAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDataSetRevisionsResult> listDataSetRevisionsAsync(ListDataSetRevisionsRequest request)
AWSDataExchangeAsyncThis operation lists a data set's revisions sorted by CreatedAt in descending order.
listDataSetRevisionsAsync in interface AWSDataExchangeAsyncpublic Future<ListDataSetRevisionsResult> listDataSetRevisionsAsync(ListDataSetRevisionsRequest request, AsyncHandler<ListDataSetRevisionsRequest,ListDataSetRevisionsResult> asyncHandler)
AWSDataExchangeAsyncThis operation lists a data set's revisions sorted by CreatedAt in descending order.
listDataSetRevisionsAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDataSetsResult> listDataSetsAsync(ListDataSetsRequest request)
AWSDataExchangeAsyncThis 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 and the maxResults parameter is ignored.
listDataSetsAsync in interface AWSDataExchangeAsyncpublic Future<ListDataSetsResult> listDataSetsAsync(ListDataSetsRequest request, AsyncHandler<ListDataSetsRequest,ListDataSetsResult> asyncHandler)
AWSDataExchangeAsyncThis 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 and the maxResults parameter is ignored.
listDataSetsAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEventActionsResult> listEventActionsAsync(ListEventActionsRequest request)
AWSDataExchangeAsyncThis operation lists your event actions.
listEventActionsAsync in interface AWSDataExchangeAsyncpublic Future<ListEventActionsResult> listEventActionsAsync(ListEventActionsRequest request, AsyncHandler<ListEventActionsRequest,ListEventActionsResult> asyncHandler)
AWSDataExchangeAsyncThis operation lists your event actions.
listEventActionsAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListJobsResult> listJobsAsync(ListJobsRequest request)
AWSDataExchangeAsyncThis operation lists your jobs sorted by CreatedAt in descending order.
listJobsAsync in interface AWSDataExchangeAsyncpublic Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
AWSDataExchangeAsyncThis operation lists your jobs sorted by CreatedAt in descending order.
listJobsAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRevisionAssetsResult> listRevisionAssetsAsync(ListRevisionAssetsRequest request)
AWSDataExchangeAsyncThis operation lists a revision's assets sorted alphabetically in descending order.
listRevisionAssetsAsync in interface AWSDataExchangeAsyncpublic Future<ListRevisionAssetsResult> listRevisionAssetsAsync(ListRevisionAssetsRequest request, AsyncHandler<ListRevisionAssetsRequest,ListRevisionAssetsResult> asyncHandler)
AWSDataExchangeAsyncThis operation lists a revision's assets sorted alphabetically in descending order.
listRevisionAssetsAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSDataExchangeAsyncThis operation lists the tags on the resource.
listTagsForResourceAsync in interface AWSDataExchangeAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSDataExchangeAsyncThis operation lists the tags on the resource.
listTagsForResourceAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartJobResult> startJobAsync(StartJobRequest request)
AWSDataExchangeAsyncThis operation starts a job.
startJobAsync in interface AWSDataExchangeAsyncpublic Future<StartJobResult> startJobAsync(StartJobRequest request, AsyncHandler<StartJobRequest,StartJobResult> asyncHandler)
AWSDataExchangeAsyncThis operation starts a job.
startJobAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSDataExchangeAsyncThis operation tags a resource.
tagResourceAsync in interface AWSDataExchangeAsyncrequest - The request body for TagResource.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSDataExchangeAsyncThis operation tags a resource.
tagResourceAsync in interface AWSDataExchangeAsyncrequest - The request body for TagResource.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSDataExchangeAsyncThis operation removes one or more tags from a resource.
untagResourceAsync in interface AWSDataExchangeAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSDataExchangeAsyncThis operation removes one or more tags from a resource.
untagResourceAsync in interface AWSDataExchangeAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateAssetResult> updateAssetAsync(UpdateAssetRequest request)
AWSDataExchangeAsyncThis operation updates an asset.
updateAssetAsync in interface AWSDataExchangeAsyncrequest - The request body for UpdateAsset.public Future<UpdateAssetResult> updateAssetAsync(UpdateAssetRequest request, AsyncHandler<UpdateAssetRequest,UpdateAssetResult> asyncHandler)
AWSDataExchangeAsyncThis operation updates an asset.
updateAssetAsync in interface AWSDataExchangeAsyncrequest - The request body for UpdateAsset.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDataSetResult> updateDataSetAsync(UpdateDataSetRequest request)
AWSDataExchangeAsyncThis operation updates a data set.
updateDataSetAsync in interface AWSDataExchangeAsyncrequest - The request body for UpdateDataSet.public Future<UpdateDataSetResult> updateDataSetAsync(UpdateDataSetRequest request, AsyncHandler<UpdateDataSetRequest,UpdateDataSetResult> asyncHandler)
AWSDataExchangeAsyncThis operation updates a data set.
updateDataSetAsync in interface AWSDataExchangeAsyncrequest - The request body for UpdateDataSet.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEventActionResult> updateEventActionAsync(UpdateEventActionRequest request)
AWSDataExchangeAsyncThis operation updates the event action.
updateEventActionAsync in interface AWSDataExchangeAsyncrequest - The request body for UpdateEventAction.public Future<UpdateEventActionResult> updateEventActionAsync(UpdateEventActionRequest request, AsyncHandler<UpdateEventActionRequest,UpdateEventActionResult> asyncHandler)
AWSDataExchangeAsyncThis operation updates the event action.
updateEventActionAsync in interface AWSDataExchangeAsyncrequest - The request body for UpdateEventAction.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRevisionResult> updateRevisionAsync(UpdateRevisionRequest request)
AWSDataExchangeAsyncThis operation updates a revision.
updateRevisionAsync in interface AWSDataExchangeAsyncrequest - The request body for UpdateRevision.public Future<UpdateRevisionResult> updateRevisionAsync(UpdateRevisionRequest request, AsyncHandler<UpdateRevisionRequest,UpdateRevisionResult> asyncHandler)
AWSDataExchangeAsyncThis operation updates a revision.
updateRevisionAsync in interface AWSDataExchangeAsyncrequest - The request body for UpdateRevision.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSDataExchangeshutdown in class AWSDataExchangeClient