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.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

    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.

    • Method Detail

      • acceptDataGrant

        default CompletableFuture<AcceptDataGrantResponse> acceptDataGrant​(AcceptDataGrantRequest acceptDataGrantRequest)

        This operation accepts a data grant.

        Parameters:
        acceptDataGrantRequest -
        Returns:
        A Java Future containing the result of the AcceptDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • acceptDataGrant

        default CompletableFuture<AcceptDataGrantResponse> acceptDataGrant​(Consumer<AcceptDataGrantRequest.Builder> acceptDataGrantRequest)

        This operation accepts a data grant.


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

        Parameters:
        acceptDataGrantRequest - A Consumer that will call methods on AcceptDataGrantRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AcceptDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • createDataGrant

        default CompletableFuture<CreateDataGrantResponse> createDataGrant​(CreateDataGrantRequest createDataGrantRequest)

        This operation creates a data grant.

        Parameters:
        createDataGrantRequest -
        Returns:
        A Java Future containing the result of the CreateDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceLimitExceededException The request has exceeded the quotas imposed by the service.
        • 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:
        AWS API Documentation
      • createDataGrant

        default CompletableFuture<CreateDataGrantResponse> createDataGrant​(Consumer<CreateDataGrantRequest.Builder> createDataGrantRequest)

        This operation creates a data grant.


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

        Parameters:
        createDataGrantRequest - A Consumer that will call methods on CreateDataGrantRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceLimitExceededException The request has exceeded the quotas imposed by the service.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • deleteDataGrant

        default CompletableFuture<DeleteDataGrantResponse> deleteDataGrant​(DeleteDataGrantRequest deleteDataGrantRequest)

        This operation deletes a data grant.

        Parameters:
        deleteDataGrantRequest -
        Returns:
        A Java Future containing the result of the DeleteDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • deleteDataGrant

        default CompletableFuture<DeleteDataGrantResponse> deleteDataGrant​(Consumer<DeleteDataGrantRequest.Builder> deleteDataGrantRequest)

        This operation deletes a data grant.


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

        Parameters:
        deleteDataGrantRequest - A Consumer that will call methods on DeleteDataGrantRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • getAsset

        default CompletableFuture<GetAssetResponse> getAsset​(Consumer<GetAssetRequest.Builder> getAssetRequest)

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • getDataGrant

        default CompletableFuture<GetDataGrantResponse> getDataGrant​(GetDataGrantRequest getDataGrantRequest)

        This operation returns information about a data grant.

        Parameters:
        getDataGrantRequest -
        Returns:
        A Java Future containing the result of the GetDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • getDataGrant

        default CompletableFuture<GetDataGrantResponse> getDataGrant​(Consumer<GetDataGrantRequest.Builder> getDataGrantRequest)

        This operation returns information about a data grant.


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

        Parameters:
        getDataGrantRequest - A Consumer that will call methods on GetDataGrantRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • getJob

        default CompletableFuture<GetJobResponse> getJob​(Consumer<GetJobRequest.Builder> getJobRequest)

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • getReceivedDataGrant

        default CompletableFuture<GetReceivedDataGrantResponse> getReceivedDataGrant​(GetReceivedDataGrantRequest getReceivedDataGrantRequest)

        This operation returns information about a received data grant.

        Parameters:
        getReceivedDataGrantRequest -
        Returns:
        A Java Future containing the result of the GetReceivedDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • getReceivedDataGrant

        default CompletableFuture<GetReceivedDataGrantResponse> getReceivedDataGrant​(Consumer<GetReceivedDataGrantRequest.Builder> getReceivedDataGrantRequest)

        This operation returns information about a received data grant.


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

        Parameters:
        getReceivedDataGrantRequest - A Consumer that will call methods on GetReceivedDataGrantRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetReceivedDataGrant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • listDataGrants

        default CompletableFuture<ListDataGrantsResponse> listDataGrants​(ListDataGrantsRequest listDataGrantsRequest)

        This operation returns information about all data grants.

        Parameters:
        listDataGrantsRequest -
        Returns:
        A Java Future containing the result of the ListDataGrants operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • listDataGrants

        default CompletableFuture<ListDataGrantsResponse> listDataGrants​(Consumer<ListDataGrantsRequest.Builder> listDataGrantsRequest)

        This operation returns information about all data grants.


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

        Parameters:
        listDataGrantsRequest - A Consumer that will call methods on ListDataGrantsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListDataGrants operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • listDataGrantsPaginator

        default ListDataGrantsPublisher listDataGrantsPaginator​(ListDataGrantsRequest listDataGrantsRequest)

        This is a variant of listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest) 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.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(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.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse 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 listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest) operation.

        Parameters:
        listDataGrantsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • listDataGrantsPaginator

        default ListDataGrantsPublisher listDataGrantsPaginator​(Consumer<ListDataGrantsRequest.Builder> listDataGrantsRequest)

        This is a variant of listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest) 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.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(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.ListDataGrantsPublisher publisher = client.listDataGrantsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsResponse 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 listDataGrants(software.amazon.awssdk.services.dataexchange.model.ListDataGrantsRequest) operation.


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

        Parameters:
        listDataGrantsRequest - A Consumer that will call methods on ListDataGrantsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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.

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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.


        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • listJobs

        default CompletableFuture<ListJobsResponse> listJobs​(Consumer<ListJobsRequest.Builder> listJobsRequest)

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • listReceivedDataGrants

        default CompletableFuture<ListReceivedDataGrantsResponse> listReceivedDataGrants​(ListReceivedDataGrantsRequest listReceivedDataGrantsRequest)

        This operation returns information about all received data grants.

        Parameters:
        listReceivedDataGrantsRequest -
        Returns:
        A Java Future containing the result of the ListReceivedDataGrants operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • listReceivedDataGrants

        default CompletableFuture<ListReceivedDataGrantsResponse> listReceivedDataGrants​(Consumer<ListReceivedDataGrantsRequest.Builder> listReceivedDataGrantsRequest)

        This operation returns information about all received data grants.


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

        Parameters:
        listReceivedDataGrantsRequest - A Consumer that will call methods on ListReceivedDataGrantsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListReceivedDataGrants operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • listReceivedDataGrantsPaginator

        default ListReceivedDataGrantsPublisher listReceivedDataGrantsPaginator​(ListReceivedDataGrantsRequest listReceivedDataGrantsRequest)

        This is a variant of listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest) 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.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(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.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse 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 listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest) operation.

        Parameters:
        listReceivedDataGrantsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • listReceivedDataGrantsPaginator

        default ListReceivedDataGrantsPublisher listReceivedDataGrantsPaginator​(Consumer<ListReceivedDataGrantsRequest.Builder> listReceivedDataGrantsRequest)

        This is a variant of listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest) 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.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(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.ListReceivedDataGrantsPublisher publisher = client.listReceivedDataGrantsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsResponse 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 listReceivedDataGrants(software.amazon.awssdk.services.dataexchange.model.ListReceivedDataGrantsRequest) operation.


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

        Parameters:
        listReceivedDataGrantsRequest - A Consumer that will call methods on ListReceivedDataGrantsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • startJob

        default CompletableFuture<StartJobResponse> startJob​(Consumer<StartJobRequest.Builder> startJobRequest)

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation
      • 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • 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:
        AWS API Documentation