@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSDataExchangeClient extends AmazonWebServiceClient implements AWSDataExchange
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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSDataExchangeClientBuilder |
builder() |
CancelJobResult |
cancelJob(CancelJobRequest request)
This operation cancels a job.
|
CreateDataSetResult |
createDataSet(CreateDataSetRequest request)
This operation creates a data set.
|
CreateEventActionResult |
createEventAction(CreateEventActionRequest request)
This operation creates an event action.
|
CreateJobResult |
createJob(CreateJobRequest request)
This operation creates a job.
|
CreateRevisionResult |
createRevision(CreateRevisionRequest request)
This operation creates a revision for a data set.
|
DeleteAssetResult |
deleteAsset(DeleteAssetRequest request)
This operation deletes an asset.
|
DeleteDataSetResult |
deleteDataSet(DeleteDataSetRequest request)
This operation deletes a data set.
|
DeleteEventActionResult |
deleteEventAction(DeleteEventActionRequest request)
This operation deletes the event action.
|
DeleteRevisionResult |
deleteRevision(DeleteRevisionRequest request)
This operation deletes a revision.
|
GetAssetResult |
getAsset(GetAssetRequest request)
This operation returns information about an asset.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDataSetResult |
getDataSet(GetDataSetRequest request)
This operation returns information about a data set.
|
GetEventActionResult |
getEventAction(GetEventActionRequest request)
This operation retrieves information about an event action.
|
GetJobResult |
getJob(GetJobRequest request)
This operation returns information about a job.
|
GetRevisionResult |
getRevision(GetRevisionRequest request)
This operation returns information about a revision.
|
ListDataSetRevisionsResult |
listDataSetRevisions(ListDataSetRevisionsRequest request)
This operation lists a data set's revisions sorted by CreatedAt in descending order.
|
ListDataSetsResult |
listDataSets(ListDataSetsRequest request)
This operation lists your data sets.
|
ListEventActionsResult |
listEventActions(ListEventActionsRequest request)
This operation lists your event actions.
|
ListJobsResult |
listJobs(ListJobsRequest request)
This operation lists your jobs sorted by CreatedAt in descending order.
|
ListRevisionAssetsResult |
listRevisionAssets(ListRevisionAssetsRequest request)
This operation lists a revision's assets sorted alphabetically in descending order.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
This operation lists the tags on the resource.
|
RevokeRevisionResult |
revokeRevision(RevokeRevisionRequest request)
This operation revokes subscribers' access to a revision.
|
SendDataSetNotificationResult |
sendDataSetNotification(SendDataSetNotificationRequest request)
The type of event associated with the data set.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartJobResult |
startJob(StartJobRequest request)
This operation starts a job.
|
TagResourceResult |
tagResource(TagResourceRequest request)
This operation tags a resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
This operation removes one or more tags from a resource.
|
UpdateAssetResult |
updateAsset(UpdateAssetRequest request)
This operation updates an asset.
|
UpdateDataSetResult |
updateDataSet(UpdateDataSetRequest request)
This operation updates a data set.
|
UpdateEventActionResult |
updateEventAction(UpdateEventActionRequest request)
This operation updates the event action.
|
UpdateRevisionResult |
updateRevision(UpdateRevisionRequest request)
This operation updates a revision.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSDataExchangeClientBuilder builder()
public CancelJobResult cancelJob(CancelJobRequest request)
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
cancelJob in interface AWSDataExchangecancelJobRequest - 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.public CreateDataSetResult createDataSet(CreateDataSetRequest request)
This operation creates a data set.
createDataSet in interface AWSDataExchangecreateDataSetRequest - 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.public CreateEventActionResult createEventAction(CreateEventActionRequest request)
This operation creates an event action.
createEventAction in interface AWSDataExchangecreateEventActionRequest - 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.public CreateJobResult createJob(CreateJobRequest request)
This operation creates a job.
createJob in interface AWSDataExchangecreateJobRequest - 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.public CreateRevisionResult createRevision(CreateRevisionRequest request)
This operation creates a revision for a data set.
createRevision in interface AWSDataExchangecreateRevisionRequest - 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.public DeleteAssetResult deleteAsset(DeleteAssetRequest request)
This operation deletes an asset.
deleteAsset in interface AWSDataExchangedeleteAssetRequest - 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.public DeleteDataSetResult deleteDataSet(DeleteDataSetRequest request)
This operation deletes a data set.
deleteDataSet in interface AWSDataExchangedeleteDataSetRequest - 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.public DeleteEventActionResult deleteEventAction(DeleteEventActionRequest request)
This operation deletes the event action.
deleteEventAction in interface AWSDataExchangedeleteEventActionRequest - 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.public DeleteRevisionResult deleteRevision(DeleteRevisionRequest request)
This operation deletes a revision.
deleteRevision in interface AWSDataExchangedeleteRevisionRequest - 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.public GetAssetResult getAsset(GetAssetRequest request)
This operation returns information about an asset.
getAsset in interface AWSDataExchangegetAssetRequest - 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.public GetDataSetResult getDataSet(GetDataSetRequest request)
This operation returns information about a data set.
getDataSet in interface AWSDataExchangegetDataSetRequest - 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.public GetEventActionResult getEventAction(GetEventActionRequest request)
This operation retrieves information about an event action.
getEventAction in interface AWSDataExchangegetEventActionRequest - 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.public GetJobResult getJob(GetJobRequest request)
This operation returns information about a job.
getJob in interface AWSDataExchangegetJobRequest - 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.public GetRevisionResult getRevision(GetRevisionRequest request)
This operation returns information about a revision.
getRevision in interface AWSDataExchangegetRevisionRequest - 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.public ListDataSetRevisionsResult listDataSetRevisions(ListDataSetRevisionsRequest request)
This operation lists a data set's revisions sorted by CreatedAt in descending order.
listDataSetRevisions in interface AWSDataExchangelistDataSetRevisionsRequest - 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.public ListDataSetsResult listDataSets(ListDataSetsRequest request)
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.
listDataSets in interface AWSDataExchangelistDataSetsRequest - 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.public ListEventActionsResult listEventActions(ListEventActionsRequest request)
This operation lists your event actions.
listEventActions in interface AWSDataExchangelistEventActionsRequest - 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.public ListJobsResult listJobs(ListJobsRequest request)
This operation lists your jobs sorted by CreatedAt in descending order.
listJobs in interface AWSDataExchangelistJobsRequest - 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.public ListRevisionAssetsResult listRevisionAssets(ListRevisionAssetsRequest request)
This operation lists a revision's assets sorted alphabetically in descending order.
listRevisionAssets in interface AWSDataExchangelistRevisionAssetsRequest - 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.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
This operation lists the tags on the resource.
listTagsForResource in interface AWSDataExchangelistTagsForResourceRequest - public RevokeRevisionResult revokeRevision(RevokeRevisionRequest request)
This operation revokes subscribers' access to a revision.
revokeRevision in interface AWSDataExchangerevokeRevisionRequest - 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.public SendDataSetNotificationResult sendDataSetNotification(SendDataSetNotificationRequest request)
The type of event associated with the data set.
sendDataSetNotification in interface AWSDataExchangesendDataSetNotificationRequest - 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.public StartJobResult startJob(StartJobRequest request)
This operation starts a job.
startJob in interface AWSDataExchangestartJobRequest - 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.public TagResourceResult tagResource(TagResourceRequest request)
This operation tags a resource.
tagResource in interface AWSDataExchangetagResourceRequest - public UntagResourceResult untagResource(UntagResourceRequest request)
This operation removes one or more tags from a resource.
untagResource in interface AWSDataExchangeuntagResourceRequest - public UpdateAssetResult updateAsset(UpdateAssetRequest request)
This operation updates an asset.
updateAsset in interface AWSDataExchangeupdateAssetRequest - 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.public UpdateDataSetResult updateDataSet(UpdateDataSetRequest request)
This operation updates a data set.
updateDataSet in interface AWSDataExchangeupdateDataSetRequest - 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.public UpdateEventActionResult updateEventAction(UpdateEventActionRequest request)
This operation updates the event action.
updateEventAction in interface AWSDataExchangeupdateEventActionRequest - 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.public UpdateRevisionResult updateRevision(UpdateRevisionRequest request)
This operation updates a revision.
updateRevision in interface AWSDataExchangeupdateRevisionRequest - 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.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSDataExchangerequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSDataExchangeshutdown in class AmazonWebServiceClient