@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_METRIC
ENDPOINT_PREFIX
builder, cancelJob, createDataSet, createJob, createRevision, deleteAsset, deleteDataSet, deleteRevision, getAsset, getCachedResponseMetadata, getDataSet, getJob, getRevision, listDataSetRevisions, listDataSets, listJobs, listRevisionAssets, listTagsForResource, startJob, tagResource, untagResource, updateAsset, updateDataSet, updateRevision
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelJob, createDataSet, createJob, createRevision, deleteAsset, deleteDataSet, deleteRevision, getAsset, getCachedResponseMetadata, getDataSet, getJob, getRevision, listDataSetRevisions, listDataSets, listJobs, listRevisionAssets, listTagsForResource, startJob, tagResource, untagResource, updateAsset, updateDataSet, updateRevision
public static AWSDataExchangeAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CancelJobResult> cancelJobAsync(CancelJobRequest request)
AWSDataExchangeAsync
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
cancelJobAsync
in interface AWSDataExchangeAsync
public Future<CancelJobResult> cancelJobAsync(CancelJobRequest request, AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
AWSDataExchangeAsync
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
cancelJobAsync
in interface AWSDataExchangeAsync
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<CreateDataSetResult> createDataSetAsync(CreateDataSetRequest request)
AWSDataExchangeAsync
This operation creates a data set.
createDataSetAsync
in interface AWSDataExchangeAsync
request
- The request body for CreateDataSet.public Future<CreateDataSetResult> createDataSetAsync(CreateDataSetRequest request, AsyncHandler<CreateDataSetRequest,CreateDataSetResult> asyncHandler)
AWSDataExchangeAsync
This operation creates a data set.
createDataSetAsync
in interface AWSDataExchangeAsync
request
- 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<CreateJobResult> createJobAsync(CreateJobRequest request)
AWSDataExchangeAsync
This operation creates a job.
createJobAsync
in interface AWSDataExchangeAsync
request
- The request body for CreateJob.public Future<CreateJobResult> createJobAsync(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
AWSDataExchangeAsync
This operation creates a job.
createJobAsync
in interface AWSDataExchangeAsync
request
- 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)
AWSDataExchangeAsync
This operation creates a revision for a data set.
createRevisionAsync
in interface AWSDataExchangeAsync
request
- The request body for CreateRevision.public Future<CreateRevisionResult> createRevisionAsync(CreateRevisionRequest request, AsyncHandler<CreateRevisionRequest,CreateRevisionResult> asyncHandler)
AWSDataExchangeAsync
This operation creates a revision for a data set.
createRevisionAsync
in interface AWSDataExchangeAsync
request
- 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)
AWSDataExchangeAsync
This operation deletes an asset.
deleteAssetAsync
in interface AWSDataExchangeAsync
public Future<DeleteAssetResult> deleteAssetAsync(DeleteAssetRequest request, AsyncHandler<DeleteAssetRequest,DeleteAssetResult> asyncHandler)
AWSDataExchangeAsync
This operation deletes an asset.
deleteAssetAsync
in interface AWSDataExchangeAsync
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<DeleteDataSetResult> deleteDataSetAsync(DeleteDataSetRequest request)
AWSDataExchangeAsync
This operation deletes a data set.
deleteDataSetAsync
in interface AWSDataExchangeAsync
public Future<DeleteDataSetResult> deleteDataSetAsync(DeleteDataSetRequest request, AsyncHandler<DeleteDataSetRequest,DeleteDataSetResult> asyncHandler)
AWSDataExchangeAsync
This operation deletes a data set.
deleteDataSetAsync
in interface AWSDataExchangeAsync
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<DeleteRevisionResult> deleteRevisionAsync(DeleteRevisionRequest request)
AWSDataExchangeAsync
This operation deletes a revision.
deleteRevisionAsync
in interface AWSDataExchangeAsync
public Future<DeleteRevisionResult> deleteRevisionAsync(DeleteRevisionRequest request, AsyncHandler<DeleteRevisionRequest,DeleteRevisionResult> asyncHandler)
AWSDataExchangeAsync
This operation deletes a revision.
deleteRevisionAsync
in interface AWSDataExchangeAsync
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<GetAssetResult> getAssetAsync(GetAssetRequest request)
AWSDataExchangeAsync
This operation returns information about an asset.
getAssetAsync
in interface AWSDataExchangeAsync
public Future<GetAssetResult> getAssetAsync(GetAssetRequest request, AsyncHandler<GetAssetRequest,GetAssetResult> asyncHandler)
AWSDataExchangeAsync
This operation returns information about an asset.
getAssetAsync
in interface AWSDataExchangeAsync
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<GetDataSetResult> getDataSetAsync(GetDataSetRequest request)
AWSDataExchangeAsync
This operation returns information about a data set.
getDataSetAsync
in interface AWSDataExchangeAsync
public Future<GetDataSetResult> getDataSetAsync(GetDataSetRequest request, AsyncHandler<GetDataSetRequest,GetDataSetResult> asyncHandler)
AWSDataExchangeAsync
This operation returns information about a data set.
getDataSetAsync
in interface AWSDataExchangeAsync
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<GetJobResult> getJobAsync(GetJobRequest request)
AWSDataExchangeAsync
This operation returns information about a job.
getJobAsync
in interface AWSDataExchangeAsync
public Future<GetJobResult> getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
AWSDataExchangeAsync
This operation returns information about a job.
getJobAsync
in interface AWSDataExchangeAsync
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<GetRevisionResult> getRevisionAsync(GetRevisionRequest request)
AWSDataExchangeAsync
This operation returns information about a revision.
getRevisionAsync
in interface AWSDataExchangeAsync
public Future<GetRevisionResult> getRevisionAsync(GetRevisionRequest request, AsyncHandler<GetRevisionRequest,GetRevisionResult> asyncHandler)
AWSDataExchangeAsync
This operation returns information about a revision.
getRevisionAsync
in interface AWSDataExchangeAsync
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<ListDataSetRevisionsResult> listDataSetRevisionsAsync(ListDataSetRevisionsRequest request)
AWSDataExchangeAsync
This operation lists a data set's revisions sorted by CreatedAt in descending order.
listDataSetRevisionsAsync
in interface AWSDataExchangeAsync
public Future<ListDataSetRevisionsResult> listDataSetRevisionsAsync(ListDataSetRevisionsRequest request, AsyncHandler<ListDataSetRevisionsRequest,ListDataSetRevisionsResult> asyncHandler)
AWSDataExchangeAsync
This operation lists a data set's revisions sorted by CreatedAt in descending order.
listDataSetRevisionsAsync
in interface AWSDataExchangeAsync
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<ListDataSetsResult> listDataSetsAsync(ListDataSetsRequest request)
AWSDataExchangeAsync
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 and the maxResults parameter is ignored.
listDataSetsAsync
in interface AWSDataExchangeAsync
public Future<ListDataSetsResult> listDataSetsAsync(ListDataSetsRequest request, AsyncHandler<ListDataSetsRequest,ListDataSetsResult> asyncHandler)
AWSDataExchangeAsync
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 and the maxResults parameter is ignored.
listDataSetsAsync
in interface AWSDataExchangeAsync
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<ListJobsResult> listJobsAsync(ListJobsRequest request)
AWSDataExchangeAsync
This operation lists your jobs sorted by CreatedAt in descending order.
listJobsAsync
in interface AWSDataExchangeAsync
public Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
AWSDataExchangeAsync
This operation lists your jobs sorted by CreatedAt in descending order.
listJobsAsync
in interface AWSDataExchangeAsync
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<ListRevisionAssetsResult> listRevisionAssetsAsync(ListRevisionAssetsRequest request)
AWSDataExchangeAsync
This operation lists a revision's assets sorted alphabetically in descending order.
listRevisionAssetsAsync
in interface AWSDataExchangeAsync
public Future<ListRevisionAssetsResult> listRevisionAssetsAsync(ListRevisionAssetsRequest request, AsyncHandler<ListRevisionAssetsRequest,ListRevisionAssetsResult> asyncHandler)
AWSDataExchangeAsync
This operation lists a revision's assets sorted alphabetically in descending order.
listRevisionAssetsAsync
in interface AWSDataExchangeAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSDataExchangeAsync
This operation lists the tags on the resource.
listTagsForResourceAsync
in interface AWSDataExchangeAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSDataExchangeAsync
This operation lists the tags on the resource.
listTagsForResourceAsync
in interface AWSDataExchangeAsync
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<StartJobResult> startJobAsync(StartJobRequest request)
AWSDataExchangeAsync
This operation starts a job.
startJobAsync
in interface AWSDataExchangeAsync
public Future<StartJobResult> startJobAsync(StartJobRequest request, AsyncHandler<StartJobRequest,StartJobResult> asyncHandler)
AWSDataExchangeAsync
This operation starts a job.
startJobAsync
in interface AWSDataExchangeAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSDataExchangeAsync
This operation tags a resource.
tagResourceAsync
in interface AWSDataExchangeAsync
request
- The request body for TagResource.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSDataExchangeAsync
This operation tags a resource.
tagResourceAsync
in interface AWSDataExchangeAsync
request
- 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)
AWSDataExchangeAsync
This operation removes one or more tags from a resource.
untagResourceAsync
in interface AWSDataExchangeAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSDataExchangeAsync
This operation removes one or more tags from a resource.
untagResourceAsync
in interface AWSDataExchangeAsync
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<UpdateAssetResult> updateAssetAsync(UpdateAssetRequest request)
AWSDataExchangeAsync
This operation updates an asset.
updateAssetAsync
in interface AWSDataExchangeAsync
request
- The request body for UpdateAsset.public Future<UpdateAssetResult> updateAssetAsync(UpdateAssetRequest request, AsyncHandler<UpdateAssetRequest,UpdateAssetResult> asyncHandler)
AWSDataExchangeAsync
This operation updates an asset.
updateAssetAsync
in interface AWSDataExchangeAsync
request
- 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)
AWSDataExchangeAsync
This operation updates a data set.
updateDataSetAsync
in interface AWSDataExchangeAsync
request
- The request body for UpdateDataSet.public Future<UpdateDataSetResult> updateDataSetAsync(UpdateDataSetRequest request, AsyncHandler<UpdateDataSetRequest,UpdateDataSetResult> asyncHandler)
AWSDataExchangeAsync
This operation updates a data set.
updateDataSetAsync
in interface AWSDataExchangeAsync
request
- 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<UpdateRevisionResult> updateRevisionAsync(UpdateRevisionRequest request)
AWSDataExchangeAsync
This operation updates a revision.
updateRevisionAsync
in interface AWSDataExchangeAsync
request
- The request body for UpdateRevision.public Future<UpdateRevisionResult> updateRevisionAsync(UpdateRevisionRequest request, AsyncHandler<UpdateRevisionRequest,UpdateRevisionResult> asyncHandler)
AWSDataExchangeAsync
This operation updates a revision.
updateRevisionAsync
in interface AWSDataExchangeAsync
request
- 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 AWSDataExchange
shutdown
in class AWSDataExchangeClient