Interface DataExchangeAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface DataExchangeAsyncClient extends AwsClient
Service client for accessing AWS Data Exchange asynchronously. This can be created using the static 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 Details

  • Method Details

    • cancelJob

      default CompletableFuture<CancelJobResponse> cancelJob(CancelJobRequest cancelJobRequest)

      This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.

      Parameters:
      cancelJobRequest -
      Returns:
      A Java Future containing the result of the CancelJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • cancelJob

      default CompletableFuture<CancelJobResponse> cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest)

      This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.


      This is a convenience which creates an instance of the CancelJobRequest.Builder avoiding the need to create one manually via CancelJobRequest.builder()

      Parameters:
      cancelJobRequest - A Consumer that will call methods on CancelJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CancelJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • createDataSet

      default CompletableFuture<CreateDataSetResponse> createDataSet(CreateDataSetRequest createDataSetRequest)

      This operation creates a data set.

      Parameters:
      createDataSetRequest -
      Returns:
      A Java Future containing the result of the CreateDataSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • createDataSet

      default CompletableFuture<CreateDataSetResponse> createDataSet(Consumer<CreateDataSetRequest.Builder> createDataSetRequest)

      This operation creates a data set.


      This is a convenience which creates an instance of the CreateDataSetRequest.Builder avoiding the need to create one manually via CreateDataSetRequest.builder()

      Parameters:
      createDataSetRequest - A Consumer that will call methods on CreateDataSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateDataSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • createEventAction

      default CompletableFuture<CreateEventActionResponse> createEventAction(CreateEventActionRequest createEventActionRequest)

      This operation creates an event action.

      Parameters:
      createEventActionRequest -
      Returns:
      A Java Future containing the result of the CreateEventAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • createEventAction

      default CompletableFuture<CreateEventActionResponse> createEventAction(Consumer<CreateEventActionRequest.Builder> createEventActionRequest)

      This operation creates an event action.


      This is a convenience which creates an instance of the CreateEventActionRequest.Builder avoiding the need to create one manually via CreateEventActionRequest.builder()

      Parameters:
      createEventActionRequest - A Consumer that will call methods on CreateEventActionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateEventAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • createJob

      default CompletableFuture<CreateJobResponse> createJob(CreateJobRequest createJobRequest)

      This operation creates a job.

      Parameters:
      createJobRequest -
      Returns:
      A Java Future containing the result of the CreateJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • createJob

      default CompletableFuture<CreateJobResponse> createJob(Consumer<CreateJobRequest.Builder> createJobRequest)

      This operation creates a job.


      This is a convenience which creates an instance of the CreateJobRequest.Builder avoiding the need to create one manually via CreateJobRequest.builder()

      Parameters:
      createJobRequest - A Consumer that will call methods on CreateJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • createRevision

      default CompletableFuture<CreateRevisionResponse> createRevision(CreateRevisionRequest createRevisionRequest)

      This operation creates a revision for a data set.

      Parameters:
      createRevisionRequest -
      Returns:
      A Java Future containing the result of the CreateRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • createRevision

      default CompletableFuture<CreateRevisionResponse> createRevision(Consumer<CreateRevisionRequest.Builder> createRevisionRequest)

      This operation creates a revision for a data set.


      This is a convenience which creates an instance of the CreateRevisionRequest.Builder avoiding the need to create one manually via CreateRevisionRequest.builder()

      Parameters:
      createRevisionRequest - A Consumer that will call methods on CreateRevisionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • deleteAsset

      default CompletableFuture<DeleteAssetResponse> deleteAsset(DeleteAssetRequest deleteAssetRequest)

      This operation deletes an asset.

      Parameters:
      deleteAssetRequest -
      Returns:
      A Java Future containing the result of the DeleteAsset operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • deleteAsset

      default CompletableFuture<DeleteAssetResponse> deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest)

      This operation deletes an asset.


      This is a convenience which creates an instance of the DeleteAssetRequest.Builder avoiding the need to create one manually via DeleteAssetRequest.builder()

      Parameters:
      deleteAssetRequest - A Consumer that will call methods on DeleteAssetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAsset operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • deleteDataSet

      default CompletableFuture<DeleteDataSetResponse> deleteDataSet(DeleteDataSetRequest deleteDataSetRequest)

      This operation deletes a data set.

      Parameters:
      deleteDataSetRequest -
      Returns:
      A Java Future containing the result of the DeleteDataSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • deleteDataSet

      default CompletableFuture<DeleteDataSetResponse> deleteDataSet(Consumer<DeleteDataSetRequest.Builder> deleteDataSetRequest)

      This operation deletes a data set.


      This is a convenience which creates an instance of the DeleteDataSetRequest.Builder avoiding the need to create one manually via DeleteDataSetRequest.builder()

      Parameters:
      deleteDataSetRequest - A Consumer that will call methods on DeleteDataSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteDataSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • deleteEventAction

      default CompletableFuture<DeleteEventActionResponse> deleteEventAction(DeleteEventActionRequest deleteEventActionRequest)

      This operation deletes the event action.

      Parameters:
      deleteEventActionRequest -
      Returns:
      A Java Future containing the result of the DeleteEventAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • deleteEventAction

      default CompletableFuture<DeleteEventActionResponse> deleteEventAction(Consumer<DeleteEventActionRequest.Builder> deleteEventActionRequest)

      This operation deletes the event action.


      This is a convenience which creates an instance of the DeleteEventActionRequest.Builder avoiding the need to create one manually via DeleteEventActionRequest.builder()

      Parameters:
      deleteEventActionRequest - A Consumer that will call methods on DeleteEventActionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEventAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • deleteRevision

      default CompletableFuture<DeleteRevisionResponse> deleteRevision(DeleteRevisionRequest deleteRevisionRequest)

      This operation deletes a revision.

      Parameters:
      deleteRevisionRequest -
      Returns:
      A Java Future containing the result of the DeleteRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • deleteRevision

      default CompletableFuture<DeleteRevisionResponse> deleteRevision(Consumer<DeleteRevisionRequest.Builder> deleteRevisionRequest)

      This operation deletes a revision.


      This is a convenience which creates an instance of the DeleteRevisionRequest.Builder avoiding the need to create one manually via DeleteRevisionRequest.builder()

      Parameters:
      deleteRevisionRequest - A Consumer that will call methods on DeleteRevisionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getAsset

      default CompletableFuture<GetAssetResponse> getAsset(GetAssetRequest getAssetRequest)

      This operation returns information about an asset.

      Parameters:
      getAssetRequest -
      Returns:
      A Java Future containing the result of the GetAsset operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getAsset

      This operation returns information about an asset.


      This is a convenience which creates an instance of the GetAssetRequest.Builder avoiding the need to create one manually via GetAssetRequest.builder()

      Parameters:
      getAssetRequest - A Consumer that will call methods on GetAssetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAsset operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getDataSet

      default CompletableFuture<GetDataSetResponse> getDataSet(GetDataSetRequest getDataSetRequest)

      This operation returns information about a data set.

      Parameters:
      getDataSetRequest -
      Returns:
      A Java Future containing the result of the GetDataSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getDataSet

      default CompletableFuture<GetDataSetResponse> getDataSet(Consumer<GetDataSetRequest.Builder> getDataSetRequest)

      This operation returns information about a data set.


      This is a convenience which creates an instance of the GetDataSetRequest.Builder avoiding the need to create one manually via GetDataSetRequest.builder()

      Parameters:
      getDataSetRequest - A Consumer that will call methods on GetDataSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDataSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getEventAction

      default CompletableFuture<GetEventActionResponse> getEventAction(GetEventActionRequest getEventActionRequest)

      This operation retrieves information about an event action.

      Parameters:
      getEventActionRequest -
      Returns:
      A Java Future containing the result of the GetEventAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getEventAction

      default CompletableFuture<GetEventActionResponse> getEventAction(Consumer<GetEventActionRequest.Builder> getEventActionRequest)

      This operation retrieves information about an event action.


      This is a convenience which creates an instance of the GetEventActionRequest.Builder avoiding the need to create one manually via GetEventActionRequest.builder()

      Parameters:
      getEventActionRequest - A Consumer that will call methods on GetEventActionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEventAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getJob

      default CompletableFuture<GetJobResponse> getJob(GetJobRequest getJobRequest)

      This operation returns information about a job.

      Parameters:
      getJobRequest -
      Returns:
      A Java Future containing the result of the GetJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getJob

      This operation returns information about a job.


      This is a convenience which creates an instance of the GetJobRequest.Builder avoiding the need to create one manually via GetJobRequest.builder()

      Parameters:
      getJobRequest - A Consumer that will call methods on GetJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getRevision

      default CompletableFuture<GetRevisionResponse> getRevision(GetRevisionRequest getRevisionRequest)

      This operation returns information about a revision.

      Parameters:
      getRevisionRequest -
      Returns:
      A Java Future containing the result of the GetRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • getRevision

      default CompletableFuture<GetRevisionResponse> getRevision(Consumer<GetRevisionRequest.Builder> getRevisionRequest)

      This operation returns information about a revision.


      This is a convenience which creates an instance of the GetRevisionRequest.Builder avoiding the need to create one manually via GetRevisionRequest.builder()

      Parameters:
      getRevisionRequest - A Consumer that will call methods on GetRevisionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listDataSetRevisions

      default CompletableFuture<ListDataSetRevisionsResponse> listDataSetRevisions(ListDataSetRevisionsRequest listDataSetRevisionsRequest)

      This operation lists a data set's revisions sorted by CreatedAt in descending order.

      Parameters:
      listDataSetRevisionsRequest -
      Returns:
      A Java Future containing the result of the ListDataSetRevisions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listDataSetRevisions

      default CompletableFuture<ListDataSetRevisionsResponse> listDataSetRevisions(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest)

      This operation lists a data set's revisions sorted by CreatedAt in descending order.


      This is a convenience which creates an instance of the ListDataSetRevisionsRequest.Builder avoiding the need to create one manually via ListDataSetRevisionsRequest.builder()

      Parameters:
      listDataSetRevisionsRequest - A Consumer that will call methods on ListDataSetRevisionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListDataSetRevisions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listDataSetRevisionsPaginator

      default ListDataSetRevisionsPublisher listDataSetRevisionsPaginator(ListDataSetRevisionsRequest listDataSetRevisionsRequest)

      This is a variant of listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listDataSetRevisionsPaginator

      default ListDataSetRevisionsPublisher listDataSetRevisionsPaginator(Consumer<ListDataSetRevisionsRequest.Builder> listDataSetRevisionsRequest)

      This is a variant of listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListDataSetRevisionsPublisher publisher = client.listDataSetRevisionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listDataSetRevisions(software.amazon.awssdk.services.dataexchange.model.ListDataSetRevisionsRequest) operation.


      This is a convenience which creates an instance of the ListDataSetRevisionsRequest.Builder avoiding the need to create one manually via ListDataSetRevisionsRequest.builder()

      Parameters:
      listDataSetRevisionsRequest - A Consumer that will call methods on ListDataSetRevisionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listDataSets

      default CompletableFuture<ListDataSetsResponse> listDataSets(ListDataSetsRequest listDataSetsRequest)

      This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.

      Parameters:
      listDataSetsRequest -
      Returns:
      A Java Future containing the result of the ListDataSets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listDataSets

      default CompletableFuture<ListDataSetsResponse> listDataSets(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest)

      This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.


      This is a convenience which creates an instance of the ListDataSetsRequest.Builder avoiding the need to create one manually via ListDataSetsRequest.builder()

      Parameters:
      listDataSetsRequest - A Consumer that will call methods on ListDataSetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListDataSets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listDataSetsPaginator

      default ListDataSetsPublisher listDataSetsPaginator(ListDataSetsRequest listDataSetsRequest)

      This is a variant of listDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listDataSetsPaginator

      default ListDataSetsPublisher listDataSetsPaginator(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest)

      This is a variant of listDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListDataSetsPublisher publisher = client.listDataSetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataSetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listDataSets(software.amazon.awssdk.services.dataexchange.model.ListDataSetsRequest) operation.


      This is a convenience which creates an instance of the ListDataSetsRequest.Builder avoiding the need to create one manually via ListDataSetsRequest.builder()

      Parameters:
      listDataSetsRequest - A Consumer that will call methods on ListDataSetsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listEventActions

      default CompletableFuture<ListEventActionsResponse> listEventActions(ListEventActionsRequest listEventActionsRequest)

      This operation lists your event actions.

      Parameters:
      listEventActionsRequest -
      Returns:
      A Java Future containing the result of the ListEventActions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listEventActions

      default CompletableFuture<ListEventActionsResponse> listEventActions(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest)

      This operation lists your event actions.


      This is a convenience which creates an instance of the ListEventActionsRequest.Builder avoiding the need to create one manually via ListEventActionsRequest.builder()

      Parameters:
      listEventActionsRequest - A Consumer that will call methods on ListEventActionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEventActions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listEventActionsPaginator

      default ListEventActionsPublisher listEventActionsPaginator(ListEventActionsRequest listEventActionsRequest)

      This is a variant of listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listEventActionsPaginator

      default ListEventActionsPublisher listEventActionsPaginator(Consumer<ListEventActionsRequest.Builder> listEventActionsRequest)

      This is a variant of listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListEventActionsPublisher publisher = client.listEventActionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListEventActionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listEventActions(software.amazon.awssdk.services.dataexchange.model.ListEventActionsRequest) operation.


      This is a convenience which creates an instance of the ListEventActionsRequest.Builder avoiding the need to create one manually via ListEventActionsRequest.builder()

      Parameters:
      listEventActionsRequest - A Consumer that will call methods on ListEventActionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listJobs

      default CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest listJobsRequest)

      This operation lists your jobs sorted by CreatedAt in descending order.

      Parameters:
      listJobsRequest -
      Returns:
      A Java Future containing the result of the ListJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listJobs

      This operation lists your jobs sorted by CreatedAt in descending order.


      This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to create one manually via ListJobsRequest.builder()

      Parameters:
      listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listJobsPaginator

      default ListJobsPublisher listJobsPaginator(ListJobsRequest listJobsRequest)

      This is a variant of listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listJobsPaginator

      default ListJobsPublisher listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)

      This is a variant of listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listJobs(software.amazon.awssdk.services.dataexchange.model.ListJobsRequest) operation.


      This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to create one manually via ListJobsRequest.builder()

      Parameters:
      listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listRevisionAssets

      default CompletableFuture<ListRevisionAssetsResponse> listRevisionAssets(ListRevisionAssetsRequest listRevisionAssetsRequest)

      This operation lists a revision's assets sorted alphabetically in descending order.

      Parameters:
      listRevisionAssetsRequest -
      Returns:
      A Java Future containing the result of the ListRevisionAssets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listRevisionAssets

      default CompletableFuture<ListRevisionAssetsResponse> listRevisionAssets(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest)

      This operation lists a revision's assets sorted alphabetically in descending order.


      This is a convenience which creates an instance of the ListRevisionAssetsRequest.Builder avoiding the need to create one manually via ListRevisionAssetsRequest.builder()

      Parameters:
      listRevisionAssetsRequest - A Consumer that will call methods on ListRevisionAssetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRevisionAssets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listRevisionAssetsPaginator

      default ListRevisionAssetsPublisher listRevisionAssetsPaginator(ListRevisionAssetsRequest listRevisionAssetsRequest)

      This is a variant of listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listRevisionAssetsPaginator

      default ListRevisionAssetsPublisher listRevisionAssetsPaginator(Consumer<ListRevisionAssetsRequest.Builder> listRevisionAssetsRequest)

      This is a variant of listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.dataexchange.paginators.ListRevisionAssetsPublisher publisher = client.listRevisionAssetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listRevisionAssets(software.amazon.awssdk.services.dataexchange.model.ListRevisionAssetsRequest) operation.


      This is a convenience which creates an instance of the ListRevisionAssetsRequest.Builder avoiding the need to create one manually via ListRevisionAssetsRequest.builder()

      Parameters:
      listRevisionAssetsRequest - A Consumer that will call methods on ListRevisionAssetsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      This operation lists the tags on the resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      This operation lists the tags on the resource.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • revokeRevision

      default CompletableFuture<RevokeRevisionResponse> revokeRevision(RevokeRevisionRequest revokeRevisionRequest)

      This operation revokes subscribers' access to a revision.

      Parameters:
      revokeRevisionRequest -
      Returns:
      A Java Future containing the result of the RevokeRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • revokeRevision

      default CompletableFuture<RevokeRevisionResponse> revokeRevision(Consumer<RevokeRevisionRequest.Builder> revokeRevisionRequest)

      This operation revokes subscribers' access to a revision.


      This is a convenience which creates an instance of the RevokeRevisionRequest.Builder avoiding the need to create one manually via RevokeRevisionRequest.builder()

      Parameters:
      revokeRevisionRequest - A Consumer that will call methods on RevokeRevisionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RevokeRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • sendDataSetNotification

      default CompletableFuture<SendDataSetNotificationResponse> sendDataSetNotification(SendDataSetNotificationRequest sendDataSetNotificationRequest)

      The type of event associated with the data set.

      Parameters:
      sendDataSetNotificationRequest -
      Returns:
      A Java Future containing the result of the SendDataSetNotification operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • sendDataSetNotification

      default CompletableFuture<SendDataSetNotificationResponse> sendDataSetNotification(Consumer<SendDataSetNotificationRequest.Builder> sendDataSetNotificationRequest)

      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 via SendDataSetNotificationRequest.builder()

      Parameters:
      sendDataSetNotificationRequest - A Consumer that will call methods on SendDataSetNotificationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SendDataSetNotification operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • startJob

      default CompletableFuture<StartJobResponse> startJob(StartJobRequest startJobRequest)

      This operation starts a job.

      Parameters:
      startJobRequest -
      Returns:
      A Java Future containing the result of the StartJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • startJob

      This operation starts a job.


      This is a convenience which creates an instance of the StartJobRequest.Builder avoiding the need to create one manually via StartJobRequest.builder()

      Parameters:
      startJobRequest - A Consumer that will call methods on StartJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      This operation tags a resource.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      This operation tags a resource.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      This operation removes one or more tags from a resource.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      This operation removes one or more tags from a resource.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • updateAsset

      default CompletableFuture<UpdateAssetResponse> updateAsset(UpdateAssetRequest updateAssetRequest)

      This operation updates an asset.

      Parameters:
      updateAssetRequest -
      Returns:
      A Java Future containing the result of the UpdateAsset operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • updateAsset

      default CompletableFuture<UpdateAssetResponse> updateAsset(Consumer<UpdateAssetRequest.Builder> updateAssetRequest)

      This operation updates an asset.


      This is a convenience which creates an instance of the UpdateAssetRequest.Builder avoiding the need to create one manually via UpdateAssetRequest.builder()

      Parameters:
      updateAssetRequest - A Consumer that will call methods on UpdateAssetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAsset operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • updateDataSet

      default CompletableFuture<UpdateDataSetResponse> updateDataSet(UpdateDataSetRequest updateDataSetRequest)

      This operation updates a data set.

      Parameters:
      updateDataSetRequest -
      Returns:
      A Java Future containing the result of the UpdateDataSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • updateDataSet

      default CompletableFuture<UpdateDataSetResponse> updateDataSet(Consumer<UpdateDataSetRequest.Builder> updateDataSetRequest)

      This operation updates a data set.


      This is a convenience which creates an instance of the UpdateDataSetRequest.Builder avoiding the need to create one manually via UpdateDataSetRequest.builder()

      Parameters:
      updateDataSetRequest - A Consumer that will call methods on UpdateDataSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateDataSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • updateEventAction

      default CompletableFuture<UpdateEventActionResponse> updateEventAction(UpdateEventActionRequest updateEventActionRequest)

      This operation updates the event action.

      Parameters:
      updateEventActionRequest -
      Returns:
      A Java Future containing the result of the UpdateEventAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • updateEventAction

      default CompletableFuture<UpdateEventActionResponse> updateEventAction(Consumer<UpdateEventActionRequest.Builder> updateEventActionRequest)

      This operation updates the event action.


      This is a convenience which creates an instance of the UpdateEventActionRequest.Builder avoiding the need to create one manually via UpdateEventActionRequest.builder()

      Parameters:
      updateEventActionRequest - A Consumer that will call methods on UpdateEventActionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateEventAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • updateRevision

      default CompletableFuture<UpdateRevisionResponse> updateRevision(UpdateRevisionRequest updateRevisionRequest)

      This operation updates a revision.

      Parameters:
      updateRevisionRequest -
      Returns:
      A Java Future containing the result of the UpdateRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • updateRevision

      default CompletableFuture<UpdateRevisionResponse> updateRevision(Consumer<UpdateRevisionRequest.Builder> updateRevisionRequest)

      This operation updates a revision.


      This is a convenience which creates an instance of the UpdateRevisionRequest.Builder avoiding the need to create one manually via UpdateRevisionRequest.builder()

      Parameters:
      updateRevisionRequest - A Consumer that will call methods on UpdateRevisionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateRevision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • 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.
      See Also:
    • serviceClientConfiguration

      default DataExchangeServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static DataExchangeAsyncClient create()
      Create a DataExchangeAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a DataExchangeAsyncClient.