@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSDataExchangeAsync extends AWSDataExchange
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSDataExchangeAsync
instead.
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.
ENDPOINT_PREFIX
cancelJob, createDataSet, createEventAction, createJob, createRevision, deleteAsset, deleteDataSet, deleteEventAction, deleteRevision, getAsset, getCachedResponseMetadata, getDataSet, getEventAction, getJob, getRevision, listDataSetRevisions, listDataSets, listEventActions, listJobs, listRevisionAssets, listTagsForResource, revokeRevision, sendDataSetNotification, shutdown, startJob, tagResource, untagResource, updateAsset, updateDataSet, updateEventAction, updateRevision
Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest)
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
cancelJobRequest
- Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest, AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
cancelJobRequest
- 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.Future<CreateDataSetResult> createDataSetAsync(CreateDataSetRequest createDataSetRequest)
This operation creates a data set.
createDataSetRequest
- Future<CreateDataSetResult> createDataSetAsync(CreateDataSetRequest createDataSetRequest, AsyncHandler<CreateDataSetRequest,CreateDataSetResult> asyncHandler)
This operation creates a data set.
createDataSetRequest
- 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.Future<CreateEventActionResult> createEventActionAsync(CreateEventActionRequest createEventActionRequest)
This operation creates an event action.
createEventActionRequest
- Future<CreateEventActionResult> createEventActionAsync(CreateEventActionRequest createEventActionRequest, AsyncHandler<CreateEventActionRequest,CreateEventActionResult> asyncHandler)
This operation creates an event action.
createEventActionRequest
- 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.Future<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest)
This operation creates a job.
createJobRequest
- Future<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
This operation creates a job.
createJobRequest
- 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.Future<CreateRevisionResult> createRevisionAsync(CreateRevisionRequest createRevisionRequest)
This operation creates a revision for a data set.
createRevisionRequest
- Future<CreateRevisionResult> createRevisionAsync(CreateRevisionRequest createRevisionRequest, AsyncHandler<CreateRevisionRequest,CreateRevisionResult> asyncHandler)
This operation creates a revision for a data set.
createRevisionRequest
- 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.Future<DeleteAssetResult> deleteAssetAsync(DeleteAssetRequest deleteAssetRequest)
This operation deletes an asset.
deleteAssetRequest
- Future<DeleteAssetResult> deleteAssetAsync(DeleteAssetRequest deleteAssetRequest, AsyncHandler<DeleteAssetRequest,DeleteAssetResult> asyncHandler)
This operation deletes an asset.
deleteAssetRequest
- 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.Future<DeleteDataSetResult> deleteDataSetAsync(DeleteDataSetRequest deleteDataSetRequest)
This operation deletes a data set.
deleteDataSetRequest
- Future<DeleteDataSetResult> deleteDataSetAsync(DeleteDataSetRequest deleteDataSetRequest, AsyncHandler<DeleteDataSetRequest,DeleteDataSetResult> asyncHandler)
This operation deletes a data set.
deleteDataSetRequest
- 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.Future<DeleteEventActionResult> deleteEventActionAsync(DeleteEventActionRequest deleteEventActionRequest)
This operation deletes the event action.
deleteEventActionRequest
- Future<DeleteEventActionResult> deleteEventActionAsync(DeleteEventActionRequest deleteEventActionRequest, AsyncHandler<DeleteEventActionRequest,DeleteEventActionResult> asyncHandler)
This operation deletes the event action.
deleteEventActionRequest
- 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.Future<DeleteRevisionResult> deleteRevisionAsync(DeleteRevisionRequest deleteRevisionRequest)
This operation deletes a revision.
deleteRevisionRequest
- Future<DeleteRevisionResult> deleteRevisionAsync(DeleteRevisionRequest deleteRevisionRequest, AsyncHandler<DeleteRevisionRequest,DeleteRevisionResult> asyncHandler)
This operation deletes a revision.
deleteRevisionRequest
- 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.Future<GetAssetResult> getAssetAsync(GetAssetRequest getAssetRequest)
This operation returns information about an asset.
getAssetRequest
- Future<GetAssetResult> getAssetAsync(GetAssetRequest getAssetRequest, AsyncHandler<GetAssetRequest,GetAssetResult> asyncHandler)
This operation returns information about an asset.
getAssetRequest
- 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.Future<GetDataSetResult> getDataSetAsync(GetDataSetRequest getDataSetRequest)
This operation returns information about a data set.
getDataSetRequest
- Future<GetDataSetResult> getDataSetAsync(GetDataSetRequest getDataSetRequest, AsyncHandler<GetDataSetRequest,GetDataSetResult> asyncHandler)
This operation returns information about a data set.
getDataSetRequest
- 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.Future<GetEventActionResult> getEventActionAsync(GetEventActionRequest getEventActionRequest)
This operation retrieves information about an event action.
getEventActionRequest
- Future<GetEventActionResult> getEventActionAsync(GetEventActionRequest getEventActionRequest, AsyncHandler<GetEventActionRequest,GetEventActionResult> asyncHandler)
This operation retrieves information about an event action.
getEventActionRequest
- 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.Future<GetJobResult> getJobAsync(GetJobRequest getJobRequest)
This operation returns information about a job.
getJobRequest
- Future<GetJobResult> getJobAsync(GetJobRequest getJobRequest, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
This operation returns information about a job.
getJobRequest
- 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.Future<GetRevisionResult> getRevisionAsync(GetRevisionRequest getRevisionRequest)
This operation returns information about a revision.
getRevisionRequest
- Future<GetRevisionResult> getRevisionAsync(GetRevisionRequest getRevisionRequest, AsyncHandler<GetRevisionRequest,GetRevisionResult> asyncHandler)
This operation returns information about a revision.
getRevisionRequest
- 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.Future<ListDataSetRevisionsResult> listDataSetRevisionsAsync(ListDataSetRevisionsRequest listDataSetRevisionsRequest)
This operation lists a data set's revisions sorted by CreatedAt in descending order.
listDataSetRevisionsRequest
- Future<ListDataSetRevisionsResult> listDataSetRevisionsAsync(ListDataSetRevisionsRequest listDataSetRevisionsRequest, AsyncHandler<ListDataSetRevisionsRequest,ListDataSetRevisionsResult> asyncHandler)
This operation lists a data set's revisions sorted by CreatedAt in descending order.
listDataSetRevisionsRequest
- 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.Future<ListDataSetsResult> listDataSetsAsync(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 and the maxResults parameter is ignored.
listDataSetsRequest
- Future<ListDataSetsResult> listDataSetsAsync(ListDataSetsRequest listDataSetsRequest, AsyncHandler<ListDataSetsRequest,ListDataSetsResult> asyncHandler)
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.
listDataSetsRequest
- 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.Future<ListEventActionsResult> listEventActionsAsync(ListEventActionsRequest listEventActionsRequest)
This operation lists your event actions.
listEventActionsRequest
- Future<ListEventActionsResult> listEventActionsAsync(ListEventActionsRequest listEventActionsRequest, AsyncHandler<ListEventActionsRequest,ListEventActionsResult> asyncHandler)
This operation lists your event actions.
listEventActionsRequest
- 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.Future<ListJobsResult> listJobsAsync(ListJobsRequest listJobsRequest)
This operation lists your jobs sorted by CreatedAt in descending order.
listJobsRequest
- Future<ListJobsResult> listJobsAsync(ListJobsRequest listJobsRequest, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
This operation lists your jobs sorted by CreatedAt in descending order.
listJobsRequest
- 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.Future<ListRevisionAssetsResult> listRevisionAssetsAsync(ListRevisionAssetsRequest listRevisionAssetsRequest)
This operation lists a revision's assets sorted alphabetically in descending order.
listRevisionAssetsRequest
- Future<ListRevisionAssetsResult> listRevisionAssetsAsync(ListRevisionAssetsRequest listRevisionAssetsRequest, AsyncHandler<ListRevisionAssetsRequest,ListRevisionAssetsResult> asyncHandler)
This operation lists a revision's assets sorted alphabetically in descending order.
listRevisionAssetsRequest
- 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.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
This operation lists the tags on the resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
This operation lists the tags on the resource.
listTagsForResourceRequest
- 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.Future<RevokeRevisionResult> revokeRevisionAsync(RevokeRevisionRequest revokeRevisionRequest)
This operation revokes subscribers' access to a revision.
revokeRevisionRequest
- Future<RevokeRevisionResult> revokeRevisionAsync(RevokeRevisionRequest revokeRevisionRequest, AsyncHandler<RevokeRevisionRequest,RevokeRevisionResult> asyncHandler)
This operation revokes subscribers' access to a revision.
revokeRevisionRequest
- 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.Future<SendDataSetNotificationResult> sendDataSetNotificationAsync(SendDataSetNotificationRequest sendDataSetNotificationRequest)
The type of event associated with the data set.
sendDataSetNotificationRequest
- Future<SendDataSetNotificationResult> sendDataSetNotificationAsync(SendDataSetNotificationRequest sendDataSetNotificationRequest, AsyncHandler<SendDataSetNotificationRequest,SendDataSetNotificationResult> asyncHandler)
The type of event associated with the data set.
sendDataSetNotificationRequest
- 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.Future<StartJobResult> startJobAsync(StartJobRequest startJobRequest)
This operation starts a job.
startJobRequest
- Future<StartJobResult> startJobAsync(StartJobRequest startJobRequest, AsyncHandler<StartJobRequest,StartJobResult> asyncHandler)
This operation starts a job.
startJobRequest
- 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
This operation tags a resource.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
This operation tags a resource.
tagResourceRequest
- 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.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
This operation removes one or more tags from a resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
This operation removes one or more tags from a resource.
untagResourceRequest
- 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.Future<UpdateAssetResult> updateAssetAsync(UpdateAssetRequest updateAssetRequest)
This operation updates an asset.
updateAssetRequest
- Future<UpdateAssetResult> updateAssetAsync(UpdateAssetRequest updateAssetRequest, AsyncHandler<UpdateAssetRequest,UpdateAssetResult> asyncHandler)
This operation updates an asset.
updateAssetRequest
- 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.Future<UpdateDataSetResult> updateDataSetAsync(UpdateDataSetRequest updateDataSetRequest)
This operation updates a data set.
updateDataSetRequest
- Future<UpdateDataSetResult> updateDataSetAsync(UpdateDataSetRequest updateDataSetRequest, AsyncHandler<UpdateDataSetRequest,UpdateDataSetResult> asyncHandler)
This operation updates a data set.
updateDataSetRequest
- 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.Future<UpdateEventActionResult> updateEventActionAsync(UpdateEventActionRequest updateEventActionRequest)
This operation updates the event action.
updateEventActionRequest
- Future<UpdateEventActionResult> updateEventActionAsync(UpdateEventActionRequest updateEventActionRequest, AsyncHandler<UpdateEventActionRequest,UpdateEventActionResult> asyncHandler)
This operation updates the event action.
updateEventActionRequest
- 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.Future<UpdateRevisionResult> updateRevisionAsync(UpdateRevisionRequest updateRevisionRequest)
This operation updates a revision.
updateRevisionRequest
- Future<UpdateRevisionResult> updateRevisionAsync(UpdateRevisionRequest updateRevisionRequest, AsyncHandler<UpdateRevisionRequest,UpdateRevisionResult> asyncHandler)
This operation updates a revision.
updateRevisionRequest
- 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.