@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface DataExchangeClient extends AwsClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static DataExchangeClientBuilder |
builder()
Create a builder that can be used to configure and create a
DataExchangeClient. |
default CancelJobResponse |
cancelJob(CancelJobRequest cancelJobRequest)
This operation cancels a job.
|
default CancelJobResponse |
cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest)
This operation cancels a job.
|
static DataExchangeClient |
create()
Create a
DataExchangeClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateDataSetResponse |
createDataSet(Consumer<CreateDataSetRequest.Builder> createDataSetRequest)
This operation creates a data set.
|
default CreateDataSetResponse |
createDataSet(CreateDataSetRequest createDataSetRequest)
This operation creates a data set.
|
default CreateEventActionResponse |
createEventAction(Consumer<CreateEventActionRequest.Builder> createEventActionRequest)
This operation creates an event action.
|
default CreateEventActionResponse |
createEventAction(CreateEventActionRequest createEventActionRequest)
This operation creates an event action.
|
default CreateJobResponse |
createJob(Consumer<CreateJobRequest.Builder> createJobRequest)
This operation creates a job.
|
default CreateJobResponse |
createJob(CreateJobRequest createJobRequest)
This operation creates a job.
|
default CreateRevisionResponse |
createRevision(Consumer<CreateRevisionRequest.Builder> createRevisionRequest)
This operation creates a revision for a data set.
|
default CreateRevisionResponse |
createRevision(CreateRevisionRequest createRevisionRequest)
This operation creates a revision for a data set.
|
default DeleteAssetResponse |
deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest)
This operation deletes an asset.
|
default DeleteAssetResponse |
deleteAsset(DeleteAssetRequest deleteAssetRequest)
This operation deletes an asset.
|
default DeleteDataSetResponse |
deleteDataSet(Consumer<DeleteDataSetRequest.Builder> deleteDataSetRequest)
This operation deletes a data set.
|
default DeleteDataSetResponse |
deleteDataSet(DeleteDataSetRequest deleteDataSetRequest)
This operation deletes a data set.
|
default DeleteEventActionResponse |
deleteEventAction(Consumer<DeleteEventActionRequest.Builder> deleteEventActionRequest)
This operation deletes the event action.
|
default DeleteEventActionResponse |
deleteEventAction(DeleteEventActionRequest deleteEventActionRequest)
This operation deletes the event action.
|
default DeleteRevisionResponse |
deleteRevision(Consumer<DeleteRevisionRequest.Builder> deleteRevisionRequest)
This operation deletes a revision.
|
default DeleteRevisionResponse |
deleteRevision(DeleteRevisionRequest deleteRevisionRequest)
This operation deletes a revision.
|
default GetAssetResponse |
getAsset(Consumer<GetAssetRequest.Builder> getAssetRequest)
This operation returns information about an asset.
|
default GetAssetResponse |
getAsset(GetAssetRequest getAssetRequest)
This operation returns information about an asset.
|
default GetDataSetResponse |
getDataSet(Consumer<GetDataSetRequest.Builder> getDataSetRequest)
This operation returns information about a data set.
|
default GetDataSetResponse |
getDataSet(GetDataSetRequest getDataSetRequest)
This operation returns information about a data set.
|
default GetEventActionResponse |
getEventAction(Consumer<GetEventActionRequest.Builder> getEventActionRequest)
This operation retrieves information about an event action.
|
default GetEventActionResponse |
getEventAction(GetEventActionRequest getEventActionRequest)
This operation retrieves information about an event action.
|
default GetJobResponse |
getJob(Consumer<GetJobRequest.Builder> getJobRequest)
This operation returns information about a job.
|
default GetJobResponse |
getJob(GetJobRequest getJobRequest)
This operation returns information about a job.
|
default GetRevisionResponse |
getRevision(Consumer<GetRevisionRequest.Builder> getRevisionRequest)
This operation returns information about a revision.
|
default GetRevisionResponse |
getRevision(GetRevisionRequest getRevisionRequest)
This operation returns information about a revision.
|
default ListDataSetRevisionsResponse |
listDataSetRevisions(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest)
This operation lists a data set's revisions sorted by CreatedAt in descending order.
|
default ListDataSetRevisionsResponse |
listDataSetRevisions(ListDataSetRevisionsRequest listDataSetRevisionsRequest)
This operation lists a data set's revisions sorted by CreatedAt in descending order.
|
default ListDataSetRevisionsIterable |
listDataSetRevisionsPaginator(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest)
This operation lists a data set's revisions sorted by CreatedAt in descending order.
|
default ListDataSetRevisionsIterable |
listDataSetRevisionsPaginator(ListDataSetRevisionsRequest listDataSetRevisionsRequest)
This operation lists a data set's revisions sorted by CreatedAt in descending order.
|
default ListDataSetsResponse |
listDataSets(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest)
This operation lists your data sets.
|
default ListDataSetsResponse |
listDataSets(ListDataSetsRequest listDataSetsRequest)
This operation lists your data sets.
|
default ListDataSetsIterable |
listDataSetsPaginator(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest)
This operation lists your data sets.
|
default ListDataSetsIterable |
listDataSetsPaginator(ListDataSetsRequest listDataSetsRequest)
This operation lists your data sets.
|
default ListEventActionsResponse |
listEventActions(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest)
This operation lists your event actions.
|
default ListEventActionsResponse |
listEventActions(ListEventActionsRequest listEventActionsRequest)
This operation lists your event actions.
|
default ListEventActionsIterable |
listEventActionsPaginator(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest)
This operation lists your event actions.
|
default ListEventActionsIterable |
listEventActionsPaginator(ListEventActionsRequest listEventActionsRequest)
This operation lists your event actions.
|
default ListJobsResponse |
listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)
This operation lists your jobs sorted by CreatedAt in descending order.
|
default ListJobsResponse |
listJobs(ListJobsRequest listJobsRequest)
This operation lists your jobs sorted by CreatedAt in descending order.
|
default ListJobsIterable |
listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)
This operation lists your jobs sorted by CreatedAt in descending order.
|
default ListJobsIterable |
listJobsPaginator(ListJobsRequest listJobsRequest)
This operation lists your jobs sorted by CreatedAt in descending order.
|
default ListRevisionAssetsResponse |
listRevisionAssets(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest)
This operation lists a revision's assets sorted alphabetically in descending order.
|
default ListRevisionAssetsResponse |
listRevisionAssets(ListRevisionAssetsRequest listRevisionAssetsRequest)
This operation lists a revision's assets sorted alphabetically in descending order.
|
default ListRevisionAssetsIterable |
listRevisionAssetsPaginator(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest)
This operation lists a revision's assets sorted alphabetically in descending order.
|
default ListRevisionAssetsIterable |
listRevisionAssetsPaginator(ListRevisionAssetsRequest listRevisionAssetsRequest)
This operation lists a revision's assets sorted alphabetically in descending order.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
This operation lists the tags on the resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
This operation lists the tags on the resource.
|
default RevokeRevisionResponse |
revokeRevision(Consumer<RevokeRevisionRequest.Builder> revokeRevisionRequest)
This operation revokes subscribers' access to a revision.
|
default RevokeRevisionResponse |
revokeRevision(RevokeRevisionRequest revokeRevisionRequest)
This operation revokes subscribers' access to a revision.
|
default DataExchangeServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default StartJobResponse |
startJob(Consumer<StartJobRequest.Builder> startJobRequest)
This operation starts a job.
|
default StartJobResponse |
startJob(StartJobRequest startJobRequest)
This operation starts a job.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
This operation tags a resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
This operation tags a resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
This operation removes one or more tags from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
This operation removes one or more tags from a resource.
|
default UpdateAssetResponse |
updateAsset(Consumer<UpdateAssetRequest.Builder> updateAssetRequest)
This operation updates an asset.
|
default UpdateAssetResponse |
updateAsset(UpdateAssetRequest updateAssetRequest)
This operation updates an asset.
|
default UpdateDataSetResponse |
updateDataSet(Consumer<UpdateDataSetRequest.Builder> updateDataSetRequest)
This operation updates a data set.
|
default UpdateDataSetResponse |
updateDataSet(UpdateDataSetRequest updateDataSetRequest)
This operation updates a data set.
|
default UpdateEventActionResponse |
updateEventAction(Consumer<UpdateEventActionRequest.Builder> updateEventActionRequest)
This operation updates the event action.
|
default UpdateEventActionResponse |
updateEventAction(UpdateEventActionRequest updateEventActionRequest)
This operation updates the event action.
|
default UpdateRevisionResponse |
updateRevision(Consumer<UpdateRevisionRequest.Builder> updateRevisionRequest)
This operation updates a revision.
|
default UpdateRevisionResponse |
updateRevision(UpdateRevisionRequest updateRevisionRequest)
This operation updates a revision.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CancelJobResponse cancelJob(CancelJobRequest cancelJobRequest) throws ResourceNotFoundException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
cancelJobRequest - 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.AwsServiceExceptiondefault CancelJobResponse cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest) throws ResourceNotFoundException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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.Builder avoiding the need to
create one manually via CancelJobRequest.builder()
cancelJobRequest - A Consumer that will call methods on
CancelJobRequest.Builder to create a request.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.AwsServiceExceptiondefault CreateDataSetResponse createDataSet(CreateDataSetRequest createDataSetRequest) throws ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a data set.
createDataSetRequest - 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.AwsServiceExceptiondefault CreateDataSetResponse createDataSet(Consumer<CreateDataSetRequest.Builder> createDataSetRequest) throws ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a data set.
This is a convenience which creates an instance of the CreateDataSetRequest.Builder avoiding the need to
create one manually via CreateDataSetRequest.builder()
createDataSetRequest - A Consumer that will call methods on
CreateDataSetRequest.Builder to create a
request.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.AwsServiceExceptiondefault CreateEventActionResponse createEventAction(CreateEventActionRequest createEventActionRequest) throws ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates an event action.
createEventActionRequest - 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.AwsServiceExceptiondefault CreateEventActionResponse createEventAction(Consumer<CreateEventActionRequest.Builder> createEventActionRequest) throws ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates an event action.
This is a convenience which creates an instance of the CreateEventActionRequest.Builder avoiding the need
to create one manually via CreateEventActionRequest.builder()
createEventActionRequest - A Consumer that will call methods on
CreateEventActionRequest.Builder to create a
request.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.AwsServiceExceptiondefault CreateJobResponse createJob(CreateJobRequest createJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a job.
createJobRequest - 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.AwsServiceExceptiondefault CreateJobResponse createJob(Consumer<CreateJobRequest.Builder> createJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a job.
This is a convenience which creates an instance of the CreateJobRequest.Builder avoiding the need to
create one manually via CreateJobRequest.builder()
createJobRequest - A Consumer that will call methods on
CreateJobRequest.Builder to create a request.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.AwsServiceExceptiondefault CreateRevisionResponse createRevision(CreateRevisionRequest createRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a revision for a data set.
createRevisionRequest - 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.AwsServiceExceptiondefault CreateRevisionResponse createRevision(Consumer<CreateRevisionRequest.Builder> createRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a revision for a data set.
This is a convenience which creates an instance of the CreateRevisionRequest.Builder avoiding the need to
create one manually via CreateRevisionRequest.builder()
createRevisionRequest - A Consumer that will call methods on
CreateRevisionRequest.Builder to create a
request.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.AwsServiceExceptiondefault DeleteAssetResponse deleteAsset(DeleteAssetRequest deleteAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes an asset.
deleteAssetRequest - 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.AwsServiceExceptiondefault DeleteAssetResponse deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes an asset.
This is a convenience which creates an instance of the DeleteAssetRequest.Builder avoiding the need to
create one manually via DeleteAssetRequest.builder()
deleteAssetRequest - A Consumer that will call methods on
DeleteAssetRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteDataSetResponse deleteDataSet(DeleteDataSetRequest deleteDataSetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a data set.
deleteDataSetRequest - 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.AwsServiceExceptiondefault DeleteDataSetResponse deleteDataSet(Consumer<DeleteDataSetRequest.Builder> deleteDataSetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a data set.
This is a convenience which creates an instance of the DeleteDataSetRequest.Builder avoiding the need to
create one manually via DeleteDataSetRequest.builder()
deleteDataSetRequest - A Consumer that will call methods on
DeleteDataSetRequest.Builder to create a
request.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.AwsServiceExceptiondefault DeleteEventActionResponse deleteEventAction(DeleteEventActionRequest deleteEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes the event action.
deleteEventActionRequest - 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.AwsServiceExceptiondefault DeleteEventActionResponse deleteEventAction(Consumer<DeleteEventActionRequest.Builder> deleteEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes the event action.
This is a convenience which creates an instance of the DeleteEventActionRequest.Builder avoiding the need
to create one manually via DeleteEventActionRequest.builder()
deleteEventActionRequest - A Consumer that will call methods on
DeleteEventActionRequest.Builder to create a
request.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.AwsServiceExceptiondefault DeleteRevisionResponse deleteRevision(DeleteRevisionRequest deleteRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a revision.
deleteRevisionRequest - 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.AwsServiceExceptiondefault DeleteRevisionResponse deleteRevision(Consumer<DeleteRevisionRequest.Builder> deleteRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a revision.
This is a convenience which creates an instance of the DeleteRevisionRequest.Builder avoiding the need to
create one manually via DeleteRevisionRequest.builder()
deleteRevisionRequest - A Consumer that will call methods on
DeleteRevisionRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetAssetResponse getAsset(GetAssetRequest getAssetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about an asset.
getAssetRequest - 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.AwsServiceExceptiondefault GetAssetResponse getAsset(Consumer<GetAssetRequest.Builder> getAssetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about an asset.
This is a convenience which creates an instance of the GetAssetRequest.Builder avoiding the need to
create one manually via GetAssetRequest.builder()
getAssetRequest - A Consumer that will call methods on
GetAssetRequest.Builder to create a request.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.AwsServiceExceptiondefault GetDataSetResponse getDataSet(GetDataSetRequest getDataSetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a data set.
getDataSetRequest - 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.AwsServiceExceptiondefault GetDataSetResponse getDataSet(Consumer<GetDataSetRequest.Builder> getDataSetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a data set.
This is a convenience which creates an instance of the GetDataSetRequest.Builder avoiding the need to
create one manually via GetDataSetRequest.builder()
getDataSetRequest - A Consumer that will call methods on
GetDataSetRequest.Builder to create a request.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.AwsServiceExceptiondefault GetEventActionResponse getEventAction(GetEventActionRequest getEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation retrieves information about an event action.
getEventActionRequest - 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.AwsServiceExceptiondefault GetEventActionResponse getEventAction(Consumer<GetEventActionRequest.Builder> getEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation retrieves information about an event action.
This is a convenience which creates an instance of the GetEventActionRequest.Builder avoiding the need to
create one manually via GetEventActionRequest.builder()
getEventActionRequest - A Consumer that will call methods on
GetEventActionRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetJobResponse getJob(GetJobRequest getJobRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a job.
getJobRequest - 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.AwsServiceExceptiondefault GetJobResponse getJob(Consumer<GetJobRequest.Builder> getJobRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a job.
This is a convenience which creates an instance of the GetJobRequest.Builder avoiding the need to create
one manually via GetJobRequest.builder()
getJobRequest - A Consumer that will call methods on
GetJobRequest.Builder to create a request.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.AwsServiceExceptiondefault GetRevisionResponse getRevision(GetRevisionRequest getRevisionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a revision.
getRevisionRequest - 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.AwsServiceExceptiondefault GetRevisionResponse getRevision(Consumer<GetRevisionRequest.Builder> getRevisionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a revision.
This is a convenience which creates an instance of the GetRevisionRequest.Builder avoiding the need to
create one manually via GetRevisionRequest.builder()
getRevisionRequest - A Consumer that will call methods on
GetRevisionRequest.Builder to create a request.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.AwsServiceExceptiondefault ListDataSetRevisionsResponse listDataSetRevisions(ListDataSetRevisionsRequest listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a data set's revisions sorted by CreatedAt in descending order.
listDataSetRevisionsRequest - 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.AwsServiceExceptiondefault ListDataSetRevisionsResponse listDataSetRevisions(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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.Builder avoiding the
need to create one manually via ListDataSetRevisionsRequest.builder()
listDataSetRevisionsRequest - A Consumer that will call methods on
ListDataSetRevisionsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListDataSetRevisionsIterable listDataSetRevisionsPaginator(ListDataSetRevisionsRequest listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a data set's revisions sorted by CreatedAt in descending order.
This is a variant of
listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client
.listDataSetRevisionsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listDataSetRevisionsRequest - 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.AwsServiceExceptiondefault ListDataSetRevisionsIterable listDataSetRevisionsPaginator(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a data set's revisions sorted by CreatedAt in descending order.
This is a variant of
listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client
.listDataSetRevisionsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the
need to create one manually via ListDataSetRevisionsRequest.builder()
listDataSetRevisionsRequest - A Consumer that will call methods on
ListDataSetRevisionsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListDataSetsResponse listDataSets(ListDataSetsRequest listDataSetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 - 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.AwsServiceExceptiondefault ListDataSetsResponse listDataSets(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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.
This is a convenience which creates an instance of the ListDataSetsRequest.Builder avoiding the need to
create one manually via ListDataSetsRequest.builder()
listDataSetsRequest - A Consumer that will call methods on
ListDataSetsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListDataSetsIterable listDataSetsPaginator(ListDataSetsRequest listDataSetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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.
This is a variant of
listDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client
.listDataSetsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listDataSetsRequest - 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.AwsServiceExceptiondefault ListDataSetsIterable listDataSetsPaginator(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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.
This is a variant of
listDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client
.listDataSetsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need to
create one manually via ListDataSetsRequest.builder()
listDataSetsRequest - A Consumer that will call methods on
ListDataSetsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListEventActionsResponse listEventActions(ListEventActionsRequest listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your event actions.
listEventActionsRequest - 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.AwsServiceExceptiondefault ListEventActionsResponse listEventActions(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your event actions.
This is a convenience which creates an instance of the ListEventActionsRequest.Builder avoiding the need
to create one manually via ListEventActionsRequest.builder()
listEventActionsRequest - A Consumer that will call methods on
ListEventActionsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListEventActionsIterable listEventActionsPaginator(ListEventActionsRequest listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your event actions.
This is a variant of
listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client
.listEventActionsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listEventActionsRequest - 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.AwsServiceExceptiondefault ListEventActionsIterable listEventActionsPaginator(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your event actions.
This is a variant of
listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client
.listEventActionsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need
to create one manually via ListEventActionsRequest.builder()
listEventActionsRequest - A Consumer that will call methods on
ListEventActionsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListJobsResponse listJobs(ListJobsRequest listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your jobs sorted by CreatedAt in descending order.
listJobsRequest - 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.AwsServiceExceptiondefault ListJobsResponse listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your jobs sorted by CreatedAt in descending order.
This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to
create one manually via ListJobsRequest.builder()
listJobsRequest - A Consumer that will call methods on
ListJobsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your jobs sorted by CreatedAt in descending order.
This is a variant of listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listJobsRequest - 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.AwsServiceExceptiondefault ListJobsIterable listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your jobs sorted by CreatedAt in descending order.
This is a variant of listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need to
create one manually via ListJobsRequest.builder()
listJobsRequest - A Consumer that will call methods on
ListJobsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListRevisionAssetsResponse listRevisionAssets(ListRevisionAssetsRequest listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a revision's assets sorted alphabetically in descending order.
listRevisionAssetsRequest - 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.AwsServiceExceptiondefault ListRevisionAssetsResponse listRevisionAssets(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a revision's assets sorted alphabetically in descending order.
This is a convenience which creates an instance of the ListRevisionAssetsRequest.Builder avoiding the
need to create one manually via ListRevisionAssetsRequest.builder()
listRevisionAssetsRequest - A Consumer that will call methods on
ListRevisionAssetsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListRevisionAssetsIterable listRevisionAssetsPaginator(ListRevisionAssetsRequest listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a revision's assets sorted alphabetically in descending order.
This is a variant of
listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client
.listRevisionAssetsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listRevisionAssetsRequest - 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.AwsServiceExceptiondefault ListRevisionAssetsIterable listRevisionAssetsPaginator(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a revision's assets sorted alphabetically in descending order.
This is a variant of
listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client
.listRevisionAssetsPaginator(request);
for (software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the
need to create one manually via ListRevisionAssetsRequest.builder()
listRevisionAssetsRequest - A Consumer that will call methods on
ListRevisionAssetsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation lists the tags on the resource.
listTagsForResourceRequest - 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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation lists the tags on the resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault RevokeRevisionResponse revokeRevision(RevokeRevisionRequest revokeRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation revokes subscribers' access to a revision.
revokeRevisionRequest - 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.AwsServiceExceptiondefault RevokeRevisionResponse revokeRevision(Consumer<RevokeRevisionRequest.Builder> revokeRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation revokes subscribers' access to a revision.
This is a convenience which creates an instance of the RevokeRevisionRequest.Builder avoiding the need to
create one manually via RevokeRevisionRequest.builder()
revokeRevisionRequest - A Consumer that will call methods on
RevokeRevisionRequest.Builder to create a
request.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.AwsServiceExceptiondefault StartJobResponse startJob(StartJobRequest startJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation starts a job.
startJobRequest - 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.AwsServiceExceptiondefault StartJobResponse startJob(Consumer<StartJobRequest.Builder> startJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation starts a job.
This is a convenience which creates an instance of the StartJobRequest.Builder avoiding the need to
create one manually via StartJobRequest.builder()
startJobRequest - A Consumer that will call methods on
StartJobRequest.Builder to create a request.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.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation tags a resource.
tagResourceRequest - 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.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation tags a resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a request.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.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation removes one or more tags from a resource.
untagResourceRequest - 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.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation removes one or more tags from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault UpdateAssetResponse updateAsset(UpdateAssetRequest updateAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates an asset.
updateAssetRequest - 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.AwsServiceExceptiondefault UpdateAssetResponse updateAsset(Consumer<UpdateAssetRequest.Builder> updateAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates an asset.
This is a convenience which creates an instance of the UpdateAssetRequest.Builder avoiding the need to
create one manually via UpdateAssetRequest.builder()
updateAssetRequest - A Consumer that will call methods on
UpdateAssetRequest.Builder to create a request.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.AwsServiceExceptiondefault UpdateDataSetResponse updateDataSet(UpdateDataSetRequest updateDataSetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a data set.
updateDataSetRequest - 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.AwsServiceExceptiondefault UpdateDataSetResponse updateDataSet(Consumer<UpdateDataSetRequest.Builder> updateDataSetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a data set.
This is a convenience which creates an instance of the UpdateDataSetRequest.Builder avoiding the need to
create one manually via UpdateDataSetRequest.builder()
updateDataSetRequest - A Consumer that will call methods on
UpdateDataSetRequest.Builder to create a
request.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.AwsServiceExceptiondefault UpdateEventActionResponse updateEventAction(UpdateEventActionRequest updateEventActionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates the event action.
updateEventActionRequest - 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.AwsServiceExceptiondefault UpdateEventActionResponse updateEventAction(Consumer<UpdateEventActionRequest.Builder> updateEventActionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates the event action.
This is a convenience which creates an instance of the UpdateEventActionRequest.Builder avoiding the need
to create one manually via UpdateEventActionRequest.builder()
updateEventActionRequest - A Consumer that will call methods on
UpdateEventActionRequest.Builder to create a
request.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.AwsServiceExceptiondefault UpdateRevisionResponse updateRevision(UpdateRevisionRequest updateRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a revision.
updateRevisionRequest - 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.AwsServiceExceptiondefault UpdateRevisionResponse updateRevision(Consumer<UpdateRevisionRequest.Builder> updateRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a revision.
This is a convenience which creates an instance of the UpdateRevisionRequest.Builder avoiding the need to
create one manually via UpdateRevisionRequest.builder()
updateRevisionRequest - A Consumer that will call methods on
UpdateRevisionRequest.Builder to create a
request.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.AwsServiceExceptionstatic DataExchangeClient create()
DataExchangeClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static DataExchangeClientBuilder builder()
DataExchangeClient.static ServiceMetadata serviceMetadata()
default DataExchangeServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.