Interface DataExchangeClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.
As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIs to download or copy your entitled data sets to Amazon Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and machine learning services.
As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.
A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object, Redshift datashare, API Gateway API, AWS Lake Formation data permission, or Amazon S3 data access. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic DataExchangeClientBuilderbuilder()Create a builder that can be used to configure and create aDataExchangeClient.default CancelJobResponsecancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest) This operation cancels a job.default CancelJobResponsecancelJob(CancelJobRequest cancelJobRequest) This operation cancels a job.static DataExchangeClientcreate()Create aDataExchangeClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateDataSetResponsecreateDataSet(Consumer<CreateDataSetRequest.Builder> createDataSetRequest) This operation creates a data set.default CreateDataSetResponsecreateDataSet(CreateDataSetRequest createDataSetRequest) This operation creates a data set.default CreateEventActionResponsecreateEventAction(Consumer<CreateEventActionRequest.Builder> createEventActionRequest) This operation creates an event action.default CreateEventActionResponsecreateEventAction(CreateEventActionRequest createEventActionRequest) This operation creates an event action.default CreateJobResponsecreateJob(Consumer<CreateJobRequest.Builder> createJobRequest) This operation creates a job.default CreateJobResponsecreateJob(CreateJobRequest createJobRequest) This operation creates a job.default CreateRevisionResponsecreateRevision(Consumer<CreateRevisionRequest.Builder> createRevisionRequest) This operation creates a revision for a data set.default CreateRevisionResponsecreateRevision(CreateRevisionRequest createRevisionRequest) This operation creates a revision for a data set.default DeleteAssetResponsedeleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) This operation deletes an asset.default DeleteAssetResponsedeleteAsset(DeleteAssetRequest deleteAssetRequest) This operation deletes an asset.default DeleteDataSetResponsedeleteDataSet(Consumer<DeleteDataSetRequest.Builder> deleteDataSetRequest) This operation deletes a data set.default DeleteDataSetResponsedeleteDataSet(DeleteDataSetRequest deleteDataSetRequest) This operation deletes a data set.default DeleteEventActionResponsedeleteEventAction(Consumer<DeleteEventActionRequest.Builder> deleteEventActionRequest) This operation deletes the event action.default DeleteEventActionResponsedeleteEventAction(DeleteEventActionRequest deleteEventActionRequest) This operation deletes the event action.default DeleteRevisionResponsedeleteRevision(Consumer<DeleteRevisionRequest.Builder> deleteRevisionRequest) This operation deletes a revision.default DeleteRevisionResponsedeleteRevision(DeleteRevisionRequest deleteRevisionRequest) This operation deletes a revision.default GetAssetResponsegetAsset(Consumer<GetAssetRequest.Builder> getAssetRequest) This operation returns information about an asset.default GetAssetResponsegetAsset(GetAssetRequest getAssetRequest) This operation returns information about an asset.default GetDataSetResponsegetDataSet(Consumer<GetDataSetRequest.Builder> getDataSetRequest) This operation returns information about a data set.default GetDataSetResponsegetDataSet(GetDataSetRequest getDataSetRequest) This operation returns information about a data set.default GetEventActionResponsegetEventAction(Consumer<GetEventActionRequest.Builder> getEventActionRequest) This operation retrieves information about an event action.default GetEventActionResponsegetEventAction(GetEventActionRequest getEventActionRequest) This operation retrieves information about an event action.default GetJobResponsegetJob(Consumer<GetJobRequest.Builder> getJobRequest) This operation returns information about a job.default GetJobResponsegetJob(GetJobRequest getJobRequest) This operation returns information about a job.default GetRevisionResponsegetRevision(Consumer<GetRevisionRequest.Builder> getRevisionRequest) This operation returns information about a revision.default GetRevisionResponsegetRevision(GetRevisionRequest getRevisionRequest) This operation returns information about a revision.default ListDataSetRevisionsResponselistDataSetRevisions(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest) This operation lists a data set's revisions sorted by CreatedAt in descending order.default ListDataSetRevisionsResponselistDataSetRevisions(ListDataSetRevisionsRequest listDataSetRevisionsRequest) This operation lists a data set's revisions sorted by CreatedAt in descending order.default ListDataSetRevisionsIterablelistDataSetRevisionsPaginator(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest) This is a variant oflistDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)operation.default ListDataSetRevisionsIterablelistDataSetRevisionsPaginator(ListDataSetRevisionsRequest listDataSetRevisionsRequest) This is a variant oflistDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest)operation.default ListDataSetsResponselistDataSets(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest) This operation lists your data sets.default ListDataSetsResponselistDataSets(ListDataSetsRequest listDataSetsRequest) This operation lists your data sets.default ListDataSetsIterablelistDataSetsPaginator(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest) This is a variant oflistDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest)operation.default ListDataSetsIterablelistDataSetsPaginator(ListDataSetsRequest listDataSetsRequest) This is a variant oflistDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest)operation.default ListEventActionsResponselistEventActions(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest) This operation lists your event actions.default ListEventActionsResponselistEventActions(ListEventActionsRequest listEventActionsRequest) This operation lists your event actions.default ListEventActionsIterablelistEventActionsPaginator(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest) This is a variant oflistEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)operation.default ListEventActionsIterablelistEventActionsPaginator(ListEventActionsRequest listEventActionsRequest) This is a variant oflistEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest)operation.default ListJobsResponselistJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) This operation lists your jobs sorted by CreatedAt in descending order.default ListJobsResponselistJobs(ListJobsRequest listJobsRequest) This operation lists your jobs sorted by CreatedAt in descending order.default ListJobsIterablelistJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)operation.default ListJobsIterablelistJobsPaginator(ListJobsRequest listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest)operation.default ListRevisionAssetsResponselistRevisionAssets(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest) This operation lists a revision's assets sorted alphabetically in descending order.default ListRevisionAssetsResponselistRevisionAssets(ListRevisionAssetsRequest listRevisionAssetsRequest) This operation lists a revision's assets sorted alphabetically in descending order.default ListRevisionAssetsIterablelistRevisionAssetsPaginator(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest) This is a variant oflistRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)operation.default ListRevisionAssetsIterablelistRevisionAssetsPaginator(ListRevisionAssetsRequest listRevisionAssetsRequest) This is a variant oflistRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This operation lists the tags on the resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) This operation lists the tags on the resource.default RevokeRevisionResponserevokeRevision(Consumer<RevokeRevisionRequest.Builder> revokeRevisionRequest) This operation revokes subscribers' access to a revision.default RevokeRevisionResponserevokeRevision(RevokeRevisionRequest revokeRevisionRequest) This operation revokes subscribers' access to a revision.default SendDataSetNotificationResponsesendDataSetNotification(Consumer<SendDataSetNotificationRequest.Builder> sendDataSetNotificationRequest) The type of event associated with the data set.default SendDataSetNotificationResponsesendDataSetNotification(SendDataSetNotificationRequest sendDataSetNotificationRequest) The type of event associated with the data set.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartJobResponsestartJob(Consumer<StartJobRequest.Builder> startJobRequest) This operation starts a job.default StartJobResponsestartJob(StartJobRequest startJobRequest) This operation starts a job.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) This operation tags a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) This operation tags a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) This operation removes one or more tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) This operation removes one or more tags from a resource.default UpdateAssetResponseupdateAsset(Consumer<UpdateAssetRequest.Builder> updateAssetRequest) This operation updates an asset.default UpdateAssetResponseupdateAsset(UpdateAssetRequest updateAssetRequest) This operation updates an asset.default UpdateDataSetResponseupdateDataSet(Consumer<UpdateDataSetRequest.Builder> updateDataSetRequest) This operation updates a data set.default UpdateDataSetResponseupdateDataSet(UpdateDataSetRequest updateDataSetRequest) This operation updates a data set.default UpdateEventActionResponseupdateEventAction(Consumer<UpdateEventActionRequest.Builder> updateEventActionRequest) This operation updates the event action.default UpdateEventActionResponseupdateEventAction(UpdateEventActionRequest updateEventActionRequest) This operation updates the event action.default UpdateRevisionResponseupdateRevision(Consumer<UpdateRevisionRequest.Builder> updateRevisionRequest) This operation updates a revision.default UpdateRevisionResponseupdateRevision(UpdateRevisionRequest updateRevisionRequest) This operation updates a revision.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaCancelJobRequest.builder()- Parameters:
cancelJobRequest- AConsumerthat will call methods onCancelJobRequest.Builderto create a request.- Returns:
- Result of the CancelJob operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaCreateDataSetRequest.builder()- Parameters:
createDataSetRequest- AConsumerthat will call methods onCreateDataSetRequest.Builderto create a request.- Returns:
- Result of the CreateDataSet operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaCreateEventActionRequest.builder()- Parameters:
createEventActionRequest- AConsumerthat will call methods onCreateEventActionRequest.Builderto create a request.- Returns:
- Result of the CreateEventAction operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaCreateJobRequest.builder()- Parameters:
createJobRequest- AConsumerthat will call methods onCreateJobRequest.Builderto create a request.- Returns:
- Result of the CreateJob operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaCreateRevisionRequest.builder()- Parameters:
createRevisionRequest- AConsumerthat will call methods onCreateRevisionRequest.Builderto create a request.- Returns:
- Result of the CreateRevision operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaDeleteAssetRequest.builder()- Parameters:
deleteAssetRequest- AConsumerthat will call methods onDeleteAssetRequest.Builderto create a request.- Returns:
- Result of the DeleteAsset operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaDeleteDataSetRequest.builder()- Parameters:
deleteDataSetRequest- AConsumerthat will call methods onDeleteDataSetRequest.Builderto create a request.- Returns:
- Result of the DeleteDataSet operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaDeleteEventActionRequest.builder()- Parameters:
deleteEventActionRequest- AConsumerthat will call methods onDeleteEventActionRequest.Builderto create a request.- Returns:
- Result of the DeleteEventAction operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaDeleteRevisionRequest.builder()- Parameters:
deleteRevisionRequest- AConsumerthat will call methods onDeleteRevisionRequest.Builderto create a request.- Returns:
- Result of the DeleteRevision operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaGetAssetRequest.builder()- Parameters:
getAssetRequest- AConsumerthat will call methods onGetAssetRequest.Builderto create a request.- Returns:
- Result of the GetAsset operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaGetDataSetRequest.builder()- Parameters:
getDataSetRequest- AConsumerthat will call methods onGetDataSetRequest.Builderto create a request.- Returns:
- Result of the GetDataSet operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaGetEventActionRequest.builder()- Parameters:
getEventActionRequest- AConsumerthat will call methods onGetEventActionRequest.Builderto create a request.- Returns:
- Result of the GetEventAction operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaGetJobRequest.builder()- Parameters:
getJobRequest- AConsumerthat will call methods onGetJobRequest.Builderto create a request.- Returns:
- Result of the GetJob operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaGetRevisionRequest.builder()- Parameters:
getRevisionRequest- AConsumerthat will call methods onGetRevisionRequest.Builderto create a request.- Returns:
- Result of the GetRevision operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaListDataSetRevisionsRequest.builder()- Parameters:
listDataSetRevisionsRequest- AConsumerthat will call methods onListDataSetRevisionsRequest.Builderto create a request.- Returns:
- Result of the ListDataSetRevisions operation returned by the service.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListDataSetRevisionsRequest.builder()- Parameters:
listDataSetRevisionsRequest- AConsumerthat will call methods onListDataSetRevisionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaListDataSetsRequest.builder()- Parameters:
listDataSetsRequest- AConsumerthat will call methods onListDataSetsRequest.Builderto create a request.- Returns:
- Result of the ListDataSets operation returned by the service.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListDataSetsRequest.builder()- Parameters:
listDataSetsRequest- AConsumerthat will call methods onListDataSetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaListEventActionsRequest.builder()- Parameters:
listEventActionsRequest- AConsumerthat will call methods onListEventActionsRequest.Builderto create a request.- Returns:
- Result of the ListEventActions operation returned by the service.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListEventActionsRequest.builder()- Parameters:
listEventActionsRequest- AConsumerthat will call methods onListEventActionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- Result of the ListJobs operation returned by the service.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaListRevisionAssetsRequest.builder()- Parameters:
listRevisionAssetsRequest- AConsumerthat will call methods onListRevisionAssetsRequest.Builderto create a request.- Returns:
- Result of the ListRevisionAssets operation returned by the service.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.
- See Also:
-
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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListRevisionAssetsRequest.builder()- Parameters:
listRevisionAssetsRequest- AConsumerthat will call methods onListRevisionAssetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaRevokeRevisionRequest.builder()- Parameters:
revokeRevisionRequest- AConsumerthat will call methods onRevokeRevisionRequest.Builderto create a request.- Returns:
- Result of the RevokeRevision operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaSendDataSetNotificationRequest.builder()- Parameters:
sendDataSetNotificationRequest- AConsumerthat will call methods onSendDataSetNotificationRequest.Builderto create a request.- Returns:
- Result of the SendDataSetNotification operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaStartJobRequest.builder()- Parameters:
startJobRequest- AConsumerthat will call methods onStartJobRequest.Builderto create a request.- Returns:
- Result of the StartJob operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaUpdateAssetRequest.builder()- Parameters:
updateAssetRequest- AConsumerthat will call methods onUpdateAssetRequest.Builderto create a request.- Returns:
- Result of the UpdateAsset operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaUpdateDataSetRequest.builder()- Parameters:
updateDataSetRequest- AConsumerthat will call methods onUpdateDataSetRequest.Builderto create a request.- Returns:
- Result of the UpdateDataSet operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaUpdateEventActionRequest.builder()- Parameters:
updateEventActionRequest- AConsumerthat will call methods onUpdateEventActionRequest.Builderto create a request.- Returns:
- Result of the UpdateEventAction operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builderavoiding the need to create one manually viaUpdateRevisionRequest.builder()- Parameters:
updateRevisionRequest- AConsumerthat will call methods onUpdateRevisionRequest.Builderto create a request.- Returns:
- Result of the UpdateRevision operation returned by the service.
- See Also:
-
create
Create aDataExchangeClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aDataExchangeClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-