Interface DataExchangeClient
-
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface DataExchangeClient extends AwsClient
Service client for accessing AWS Data Exchange. This can be created using the staticbuilder()
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.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static DataExchangeClientBuilder
builder()
Create a builder that can be used to configure and create aDataExchangeClient
.default CancelJobResponse
cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest)
This operation cancels a job.default CancelJobResponse
cancelJob(CancelJobRequest cancelJobRequest)
This operation cancels a job.static DataExchangeClient
create()
Create aDataExchangeClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.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 is a variant oflistDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)
operation.default ListDataSetRevisionsIterable
listDataSetRevisionsPaginator(ListDataSetRevisionsRequest listDataSetRevisionsRequest)
This is a variant oflistDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)
operation.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 is a variant oflistDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest)
operation.default ListDataSetsIterable
listDataSetsPaginator(ListDataSetsRequest listDataSetsRequest)
This is a variant oflistDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest)
operation.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 is a variant oflistEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)
operation.default ListEventActionsIterable
listEventActionsPaginator(ListEventActionsRequest listEventActionsRequest)
This is a variant oflistEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)
operation.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 is a variant oflistJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)
operation.default ListJobsIterable
listJobsPaginator(ListJobsRequest listJobsRequest)
This is a variant oflistJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)
operation.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 is a variant oflistRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)
operation.default ListRevisionAssetsIterable
listRevisionAssetsPaginator(ListRevisionAssetsRequest listRevisionAssetsRequest)
This is a variant oflistRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)
operation.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 SendDataSetNotificationResponse
sendDataSetNotification(Consumer<SendDataSetNotificationRequest.Builder> sendDataSetNotificationRequest)
The type of event associated with the data set.default SendDataSetNotificationResponse
sendDataSetNotification(SendDataSetNotificationRequest sendDataSetNotificationRequest)
The type of event associated with the data set.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.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
- Constant Field Values
-
-
Method Detail
-
cancelJob
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.
- Parameters:
cancelJobRequest
-- Returns:
- Result of the CancelJob operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
cancelJob
default 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 viaCancelJobRequest.builder()
- Parameters:
cancelJobRequest
- AConsumer
that will call methods onCancelJobRequest.Builder
to create a request.- Returns:
- Result of the CancelJob operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
createDataSet
default CreateDataSetResponse createDataSet(CreateDataSetRequest createDataSetRequest) throws ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a data set.
- Parameters:
createDataSetRequest
-- Returns:
- Result of the CreateDataSet operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
createDataSet
default 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 viaCreateDataSetRequest.builder()
- Parameters:
createDataSetRequest
- AConsumer
that will call methods onCreateDataSetRequest.Builder
to create a request.- Returns:
- Result of the CreateDataSet operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
createEventAction
default CreateEventActionResponse createEventAction(CreateEventActionRequest createEventActionRequest) throws ServiceLimitExceededException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates an event action.
- Parameters:
createEventActionRequest
-- Returns:
- Result of the CreateEventAction operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
createEventAction
default 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 viaCreateEventActionRequest.builder()
- Parameters:
createEventActionRequest
- AConsumer
that will call methods onCreateEventActionRequest.Builder
to create a request.- Returns:
- Result of the CreateEventAction operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
createJob
default CreateJobResponse createJob(CreateJobRequest createJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a job.
- Parameters:
createJobRequest
-- Returns:
- Result of the CreateJob operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
createJob
default 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 viaCreateJobRequest.builder()
- Parameters:
createJobRequest
- AConsumer
that will call methods onCreateJobRequest.Builder
to create a request.- Returns:
- Result of the CreateJob operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
createRevision
default CreateRevisionResponse createRevision(CreateRevisionRequest createRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation creates a revision for a data set.
- Parameters:
createRevisionRequest
-- Returns:
- Result of the CreateRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
createRevision
default 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 viaCreateRevisionRequest.builder()
- Parameters:
createRevisionRequest
- AConsumer
that will call methods onCreateRevisionRequest.Builder
to create a request.- Returns:
- Result of the CreateRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
deleteAsset
default DeleteAssetResponse deleteAsset(DeleteAssetRequest deleteAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes an asset.
- Parameters:
deleteAssetRequest
-- Returns:
- Result of the DeleteAsset operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
deleteAsset
default 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 viaDeleteAssetRequest.builder()
- Parameters:
deleteAssetRequest
- AConsumer
that will call methods onDeleteAssetRequest.Builder
to create a request.- Returns:
- Result of the DeleteAsset operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
deleteDataSet
default DeleteDataSetResponse deleteDataSet(DeleteDataSetRequest deleteDataSetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a data set.
- Parameters:
deleteDataSetRequest
-- Returns:
- Result of the DeleteDataSet operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
deleteDataSet
default 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 viaDeleteDataSetRequest.builder()
- Parameters:
deleteDataSetRequest
- AConsumer
that will call methods onDeleteDataSetRequest.Builder
to create a request.- Returns:
- Result of the DeleteDataSet operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
deleteEventAction
default DeleteEventActionResponse deleteEventAction(DeleteEventActionRequest deleteEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes the event action.
- Parameters:
deleteEventActionRequest
-- Returns:
- Result of the DeleteEventAction operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
deleteEventAction
default 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 viaDeleteEventActionRequest.builder()
- Parameters:
deleteEventActionRequest
- AConsumer
that will call methods onDeleteEventActionRequest.Builder
to create a request.- Returns:
- Result of the DeleteEventAction operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
deleteRevision
default DeleteRevisionResponse deleteRevision(DeleteRevisionRequest deleteRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation deletes a revision.
- Parameters:
deleteRevisionRequest
-- Returns:
- Result of the DeleteRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
deleteRevision
default 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 viaDeleteRevisionRequest.builder()
- Parameters:
deleteRevisionRequest
- AConsumer
that will call methods onDeleteRevisionRequest.Builder
to create a request.- Returns:
- Result of the DeleteRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getAsset
default GetAssetResponse getAsset(GetAssetRequest getAssetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about an asset.
- Parameters:
getAssetRequest
-- Returns:
- Result of the GetAsset operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getAsset
default 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 viaGetAssetRequest.builder()
- Parameters:
getAssetRequest
- AConsumer
that will call methods onGetAssetRequest.Builder
to create a request.- Returns:
- Result of the GetAsset operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getDataSet
default GetDataSetResponse getDataSet(GetDataSetRequest getDataSetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a data set.
- Parameters:
getDataSetRequest
-- Returns:
- Result of the GetDataSet operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getDataSet
default 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 viaGetDataSetRequest.builder()
- Parameters:
getDataSetRequest
- AConsumer
that will call methods onGetDataSetRequest.Builder
to create a request.- Returns:
- Result of the GetDataSet operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getEventAction
default GetEventActionResponse getEventAction(GetEventActionRequest getEventActionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation retrieves information about an event action.
- Parameters:
getEventActionRequest
-- Returns:
- Result of the GetEventAction operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getEventAction
default 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 viaGetEventActionRequest.builder()
- Parameters:
getEventActionRequest
- AConsumer
that will call methods onGetEventActionRequest.Builder
to create a request.- Returns:
- Result of the GetEventAction operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getJob
default GetJobResponse getJob(GetJobRequest getJobRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a job.
- Parameters:
getJobRequest
-- Returns:
- Result of the GetJob operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getJob
default 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 viaGetJobRequest.builder()
- Parameters:
getJobRequest
- AConsumer
that will call methods onGetJobRequest.Builder
to create a request.- Returns:
- Result of the GetJob operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getRevision
default GetRevisionResponse getRevision(GetRevisionRequest getRevisionRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation returns information about a revision.
- Parameters:
getRevisionRequest
-- Returns:
- Result of the GetRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
getRevision
default 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 viaGetRevisionRequest.builder()
- Parameters:
getRevisionRequest
- AConsumer
that will call methods onGetRevisionRequest.Builder
to create a request.- Returns:
- Result of the GetRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listDataSetRevisions
default 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.
- Parameters:
listDataSetRevisionsRequest
-- Returns:
- Result of the ListDataSetRevisions operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listDataSetRevisions
default 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 viaListDataSetRevisionsRequest.builder()
- Parameters:
listDataSetRevisionsRequest
- AConsumer
that will call methods onListDataSetRevisionsRequest.Builder
to create a request.- Returns:
- Result of the ListDataSetRevisions operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listDataSetRevisionsPaginator
default ListDataSetRevisionsIterable listDataSetRevisionsPaginator(ListDataSetRevisionsRequest listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listDataSetRevisionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listDataSetRevisionsPaginator
default ListDataSetRevisionsIterable listDataSetRevisionsPaginator(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsIterable responses = client.listDataSetRevisionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListDataSetRevisionsRequest.builder()
- Parameters:
listDataSetRevisionsRequest
- AConsumer
that will call methods onListDataSetRevisionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listDataSets
default 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.
- Parameters:
listDataSetsRequest
-- Returns:
- Result of the ListDataSets operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listDataSets
default 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 viaListDataSetsRequest.builder()
- Parameters:
listDataSetsRequest
- AConsumer
that will call methods onListDataSetsRequest.Builder
to create a request.- Returns:
- Result of the ListDataSets operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listDataSetsPaginator
default ListDataSetsIterable listDataSetsPaginator(ListDataSetsRequest listDataSetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listDataSetsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listDataSetsPaginator
default ListDataSetsIterable listDataSetsPaginator(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListDataSetsRequest.builder()
- Parameters:
listDataSetsRequest
- AConsumer
that will call methods onListDataSetsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listEventActions
default ListEventActionsResponse listEventActions(ListEventActionsRequest listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your event actions.
- Parameters:
listEventActionsRequest
-- Returns:
- Result of the ListEventActions operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listEventActions
default 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 viaListEventActionsRequest.builder()
- Parameters:
listEventActionsRequest
- AConsumer
that will call methods onListEventActionsRequest.Builder
to create a request.- Returns:
- Result of the ListEventActions operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listEventActionsPaginator
default ListEventActionsIterable listEventActionsPaginator(ListEventActionsRequest listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listEventActionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listEventActionsPaginator
default ListEventActionsIterable listEventActionsPaginator(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListEventActionsIterable responses = client.listEventActionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListEventActionsRequest.builder()
- Parameters:
listEventActionsRequest
- AConsumer
that will call methods onListEventActionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listJobs
default ListJobsResponse listJobs(ListJobsRequest listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists your jobs sorted by CreatedAt in descending order.
- Parameters:
listJobsRequest
-- Returns:
- Result of the ListJobs operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listJobs
default 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 viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to create a request.- Returns:
- Result of the ListJobs operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listJobsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listRevisionAssets
default ListRevisionAssetsResponse listRevisionAssets(ListRevisionAssetsRequest listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation lists a revision's assets sorted alphabetically in descending order.
- Parameters:
listRevisionAssetsRequest
-- Returns:
- Result of the ListRevisionAssets operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listRevisionAssets
default 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 viaListRevisionAssetsRequest.builder()
- Parameters:
listRevisionAssetsRequest
- AConsumer
that will call methods onListRevisionAssetsRequest.Builder
to create a request.- Returns:
- Result of the ListRevisionAssets operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listRevisionAssetsPaginator
default ListRevisionAssetsIterable listRevisionAssetsPaginator(ListRevisionAssetsRequest listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listRevisionAssetsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listRevisionAssetsPaginator
default ListRevisionAssetsIterable listRevisionAssetsPaginator(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
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 Streamsoftware.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsIterable responses = client.listRevisionAssetsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListRevisionAssetsRequest.builder()
- Parameters:
listRevisionAssetsRequest
- AConsumer
that will call methods onListRevisionAssetsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation lists the tags on the resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
listTagsForResource
default 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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
revokeRevision
default RevokeRevisionResponse revokeRevision(RevokeRevisionRequest revokeRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation revokes subscribers' access to a revision.
- Parameters:
revokeRevisionRequest
-- Returns:
- Result of the RevokeRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
revokeRevision
default 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 viaRevokeRevisionRequest.builder()
- Parameters:
revokeRevisionRequest
- AConsumer
that will call methods onRevokeRevisionRequest.Builder
to create a request.- Returns:
- Result of the RevokeRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
sendDataSetNotification
default SendDataSetNotificationResponse sendDataSetNotification(SendDataSetNotificationRequest sendDataSetNotificationRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
The type of event associated with the data set.
- Parameters:
sendDataSetNotificationRequest
-- Returns:
- Result of the SendDataSetNotification operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
sendDataSetNotification
default SendDataSetNotificationResponse sendDataSetNotification(Consumer<SendDataSetNotificationRequest.Builder> sendDataSetNotificationRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
The type of event associated with the data set.
This is a convenience which creates an instance of the
SendDataSetNotificationRequest.Builder
avoiding the need to create one manually viaSendDataSetNotificationRequest.builder()
- Parameters:
sendDataSetNotificationRequest
- AConsumer
that will call methods onSendDataSetNotificationRequest.Builder
to create a request.- Returns:
- Result of the SendDataSetNotification operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
startJob
default StartJobResponse startJob(StartJobRequest startJobRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation starts a job.
- Parameters:
startJobRequest
-- Returns:
- Result of the StartJob operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
startJob
default 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 viaStartJobRequest.builder()
- Parameters:
startJobRequest
- AConsumer
that will call methods onStartJobRequest.Builder
to create a request.- Returns:
- Result of the StartJob operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation tags a resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
tagResource
default 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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, DataExchangeException
This operation removes one or more tags from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
untagResource
default 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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
updateAsset
default UpdateAssetResponse updateAsset(UpdateAssetRequest updateAssetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates an asset.
- Parameters:
updateAssetRequest
-- Returns:
- Result of the UpdateAsset operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
updateAsset
default 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 viaUpdateAssetRequest.builder()
- Parameters:
updateAssetRequest
- AConsumer
that will call methods onUpdateAssetRequest.Builder
to create a request.- Returns:
- Result of the UpdateAsset operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
updateDataSet
default UpdateDataSetResponse updateDataSet(UpdateDataSetRequest updateDataSetRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a data set.
- Parameters:
updateDataSetRequest
-- Returns:
- Result of the UpdateDataSet operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
updateDataSet
default 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 viaUpdateDataSetRequest.builder()
- Parameters:
updateDataSetRequest
- AConsumer
that will call methods onUpdateDataSetRequest.Builder
to create a request.- Returns:
- Result of the UpdateDataSet operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
updateEventAction
default UpdateEventActionResponse updateEventAction(UpdateEventActionRequest updateEventActionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates the event action.
- Parameters:
updateEventActionRequest
-- Returns:
- Result of the UpdateEventAction operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
updateEventAction
default 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 viaUpdateEventActionRequest.builder()
- Parameters:
updateEventActionRequest
- AConsumer
that will call methods onUpdateEventActionRequest.Builder
to create a request.- Returns:
- Result of the UpdateEventAction operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
updateRevision
default UpdateRevisionResponse updateRevision(UpdateRevisionRequest updateRevisionRequest) throws ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, DataExchangeException
This operation updates a revision.
- Parameters:
updateRevisionRequest
-- Returns:
- Result of the UpdateRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
updateRevision
default 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 viaUpdateRevisionRequest.builder()
- Parameters:
updateRevisionRequest
- AConsumer
that will call methods onUpdateRevisionRequest.Builder
to create a request.- Returns:
- Result of the UpdateRevision operation returned by the service.
- Throws:
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.AwsServiceException
- See Also:
- AWS API Documentation
-
create
static DataExchangeClient create()
Create aDataExchangeClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.
-
builder
static DataExchangeClientBuilder builder()
Create a builder that can be used to configure and create aDataExchangeClient
.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default DataExchangeServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
-
-