Interface BedrockDataAutomationAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface BedrockDataAutomationAsyncClient
    extends AwsClient
    Service client for accessing Data Automation for Amazon Bedrock 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.

    Amazon Bedrock Data Automation BuildTime

    • Method Detail

      • createBlueprint

        default CompletableFuture<CreateBlueprintResponse> createBlueprint​(CreateBlueprintRequest createBlueprintRequest)

        Creates an Amazon Bedrock Data Automation Blueprint

        Parameters:
        createBlueprintRequest - Create Blueprint Request
        Returns:
        A Java Future containing the result of the CreateBlueprint 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.
        • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
        • ValidationException This exception is thrown when the request's input validation fails
        • ConflictException This exception is thrown when there is a conflict performing an operation
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createBlueprint

        default CompletableFuture<CreateBlueprintResponse> createBlueprint​(Consumer<CreateBlueprintRequest.Builder> createBlueprintRequest)

        Creates an Amazon Bedrock Data Automation Blueprint


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

        Parameters:
        createBlueprintRequest - A Consumer that will call methods on CreateBlueprintRequest.Builder to create a request. Create Blueprint Request
        Returns:
        A Java Future containing the result of the CreateBlueprint 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.
        • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
        • ValidationException This exception is thrown when the request's input validation fails
        • ConflictException This exception is thrown when there is a conflict performing an operation
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createBlueprintVersion

        default CompletableFuture<CreateBlueprintVersionResponse> createBlueprintVersion​(CreateBlueprintVersionRequest createBlueprintVersionRequest)

        Creates a new version of an existing Amazon Bedrock Data Automation Blueprint

        Parameters:
        createBlueprintVersionRequest - Create Blueprint Version Request
        Returns:
        A Java Future containing the result of the CreateBlueprintVersion 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.
        • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createBlueprintVersion

        default CompletableFuture<CreateBlueprintVersionResponse> createBlueprintVersion​(Consumer<CreateBlueprintVersionRequest.Builder> createBlueprintVersionRequest)

        Creates a new version of an existing Amazon Bedrock Data Automation Blueprint


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

        Parameters:
        createBlueprintVersionRequest - A Consumer that will call methods on CreateBlueprintVersionRequest.Builder to create a request. Create Blueprint Version Request
        Returns:
        A Java Future containing the result of the CreateBlueprintVersion 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.
        • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDataAutomationProject

        default CompletableFuture<CreateDataAutomationProjectResponse> createDataAutomationProject​(CreateDataAutomationProjectRequest createDataAutomationProjectRequest)

        Creates an Amazon Bedrock Data Automation Project

        Parameters:
        createDataAutomationProjectRequest - Create DataAutomationProject Request
        Returns:
        A Java Future containing the result of the CreateDataAutomationProject 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.
        • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
        • ValidationException This exception is thrown when the request's input validation fails
        • ConflictException This exception is thrown when there is a conflict performing an operation
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDataAutomationProject

        default CompletableFuture<CreateDataAutomationProjectResponse> createDataAutomationProject​(Consumer<CreateDataAutomationProjectRequest.Builder> createDataAutomationProjectRequest)

        Creates an Amazon Bedrock Data Automation Project


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

        Parameters:
        createDataAutomationProjectRequest - A Consumer that will call methods on CreateDataAutomationProjectRequest.Builder to create a request. Create DataAutomationProject Request
        Returns:
        A Java Future containing the result of the CreateDataAutomationProject 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.
        • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
        • ValidationException This exception is thrown when the request's input validation fails
        • ConflictException This exception is thrown when there is a conflict performing an operation
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteBlueprint

        default CompletableFuture<DeleteBlueprintResponse> deleteBlueprint​(DeleteBlueprintRequest deleteBlueprintRequest)

        Deletes an existing Amazon Bedrock Data Automation Blueprint

        Parameters:
        deleteBlueprintRequest - Delete Blueprint Request
        Returns:
        A Java Future containing the result of the DeleteBlueprint 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteBlueprint

        default CompletableFuture<DeleteBlueprintResponse> deleteBlueprint​(Consumer<DeleteBlueprintRequest.Builder> deleteBlueprintRequest)

        Deletes an existing Amazon Bedrock Data Automation Blueprint


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

        Parameters:
        deleteBlueprintRequest - A Consumer that will call methods on DeleteBlueprintRequest.Builder to create a request. Delete Blueprint Request
        Returns:
        A Java Future containing the result of the DeleteBlueprint 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDataAutomationProject

        default CompletableFuture<DeleteDataAutomationProjectResponse> deleteDataAutomationProject​(DeleteDataAutomationProjectRequest deleteDataAutomationProjectRequest)

        Deletes an existing Amazon Bedrock Data Automation Project

        Parameters:
        deleteDataAutomationProjectRequest - Delete DataAutomationProject Request
        Returns:
        A Java Future containing the result of the DeleteDataAutomationProject 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDataAutomationProject

        default CompletableFuture<DeleteDataAutomationProjectResponse> deleteDataAutomationProject​(Consumer<DeleteDataAutomationProjectRequest.Builder> deleteDataAutomationProjectRequest)

        Deletes an existing Amazon Bedrock Data Automation Project


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

        Parameters:
        deleteDataAutomationProjectRequest - A Consumer that will call methods on DeleteDataAutomationProjectRequest.Builder to create a request. Delete DataAutomationProject Request
        Returns:
        A Java Future containing the result of the DeleteDataAutomationProject 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getBlueprint

        default CompletableFuture<GetBlueprintResponse> getBlueprint​(GetBlueprintRequest getBlueprintRequest)

        Gets an existing Amazon Bedrock Data Automation Blueprint

        Parameters:
        getBlueprintRequest - Get Blueprint Request
        Returns:
        A Java Future containing the result of the GetBlueprint 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getBlueprint

        default CompletableFuture<GetBlueprintResponse> getBlueprint​(Consumer<GetBlueprintRequest.Builder> getBlueprintRequest)

        Gets an existing Amazon Bedrock Data Automation Blueprint


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

        Parameters:
        getBlueprintRequest - A Consumer that will call methods on GetBlueprintRequest.Builder to create a request. Get Blueprint Request
        Returns:
        A Java Future containing the result of the GetBlueprint 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDataAutomationProject

        default CompletableFuture<GetDataAutomationProjectResponse> getDataAutomationProject​(GetDataAutomationProjectRequest getDataAutomationProjectRequest)

        Gets an existing Amazon Bedrock Data Automation Project

        Parameters:
        getDataAutomationProjectRequest - Get DataAutomationProject Request
        Returns:
        A Java Future containing the result of the GetDataAutomationProject 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDataAutomationProject

        default CompletableFuture<GetDataAutomationProjectResponse> getDataAutomationProject​(Consumer<GetDataAutomationProjectRequest.Builder> getDataAutomationProjectRequest)

        Gets an existing Amazon Bedrock Data Automation Project


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

        Parameters:
        getDataAutomationProjectRequest - A Consumer that will call methods on GetDataAutomationProjectRequest.Builder to create a request. Get DataAutomationProject Request
        Returns:
        A Java Future containing the result of the GetDataAutomationProject 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listBlueprints

        default CompletableFuture<ListBlueprintsResponse> listBlueprints​(ListBlueprintsRequest listBlueprintsRequest)

        Lists all existing Amazon Bedrock Data Automation Blueprints

        Parameters:
        listBlueprintsRequest - List Blueprint Request
        Returns:
        A Java Future containing the result of the ListBlueprints 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listBlueprints

        default CompletableFuture<ListBlueprintsResponse> listBlueprints​(Consumer<ListBlueprintsRequest.Builder> listBlueprintsRequest)

        Lists all existing Amazon Bedrock Data Automation Blueprints


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

        Parameters:
        listBlueprintsRequest - A Consumer that will call methods on ListBlueprintsRequest.Builder to create a request. List Blueprint Request
        Returns:
        A Java Future containing the result of the ListBlueprints 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listBlueprintsPaginator

        default ListBlueprintsPublisher listBlueprintsPaginator​(ListBlueprintsRequest listBlueprintsRequest)

        This is a variant of listBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest) 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.bedrockdataautomation.paginators.ListBlueprintsPublisher publisher = client.listBlueprintsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.bedrockdataautomation.paginators.ListBlueprintsPublisher publisher = client.listBlueprintsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsResponse 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 listBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest) operation.

        Parameters:
        listBlueprintsRequest - List Blueprint 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listBlueprintsPaginator

        default ListBlueprintsPublisher listBlueprintsPaginator​(Consumer<ListBlueprintsRequest.Builder> listBlueprintsRequest)

        This is a variant of listBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest) 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.bedrockdataautomation.paginators.ListBlueprintsPublisher publisher = client.listBlueprintsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.bedrockdataautomation.paginators.ListBlueprintsPublisher publisher = client.listBlueprintsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsResponse 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 listBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest) operation.


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

        Parameters:
        listBlueprintsRequest - A Consumer that will call methods on ListBlueprintsRequest.Builder to create a request. List Blueprint 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDataAutomationProjects

        default CompletableFuture<ListDataAutomationProjectsResponse> listDataAutomationProjects​(ListDataAutomationProjectsRequest listDataAutomationProjectsRequest)

        Lists all existing Amazon Bedrock Data Automation Projects

        Parameters:
        listDataAutomationProjectsRequest - List DataAutomationProject Request
        Returns:
        A Java Future containing the result of the ListDataAutomationProjects 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDataAutomationProjects

        default CompletableFuture<ListDataAutomationProjectsResponse> listDataAutomationProjects​(Consumer<ListDataAutomationProjectsRequest.Builder> listDataAutomationProjectsRequest)

        Lists all existing Amazon Bedrock Data Automation Projects


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

        Parameters:
        listDataAutomationProjectsRequest - A Consumer that will call methods on ListDataAutomationProjectsRequest.Builder to create a request. List DataAutomationProject Request
        Returns:
        A Java Future containing the result of the ListDataAutomationProjects 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDataAutomationProjectsPaginator

        default ListDataAutomationProjectsPublisher listDataAutomationProjectsPaginator​(ListDataAutomationProjectsRequest listDataAutomationProjectsRequest)

        This is a variant of listDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest) 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.bedrockdataautomation.paginators.ListDataAutomationProjectsPublisher publisher = client.listDataAutomationProjectsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.bedrockdataautomation.paginators.ListDataAutomationProjectsPublisher publisher = client.listDataAutomationProjectsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsResponse 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 listDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest) operation.

        Parameters:
        listDataAutomationProjectsRequest - List DataAutomationProject 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDataAutomationProjectsPaginator

        default ListDataAutomationProjectsPublisher listDataAutomationProjectsPaginator​(Consumer<ListDataAutomationProjectsRequest.Builder> listDataAutomationProjectsRequest)

        This is a variant of listDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest) 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.bedrockdataautomation.paginators.ListDataAutomationProjectsPublisher publisher = client.listDataAutomationProjectsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.bedrockdataautomation.paginators.ListDataAutomationProjectsPublisher publisher = client.listDataAutomationProjectsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsResponse 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 listDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest) operation.


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

        Parameters:
        listDataAutomationProjectsRequest - A Consumer that will call methods on ListDataAutomationProjectsRequest.Builder to create a request. List DataAutomationProject 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.
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateBlueprint

        default CompletableFuture<UpdateBlueprintResponse> updateBlueprint​(UpdateBlueprintRequest updateBlueprintRequest)

        Updates an existing Amazon Bedrock Data Automation Blueprint

        Parameters:
        updateBlueprintRequest - Update Blueprint Request
        Returns:
        A Java Future containing the result of the UpdateBlueprint 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.
        • ConflictException This exception is thrown when there is a conflict performing an operation
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateBlueprint

        default CompletableFuture<UpdateBlueprintResponse> updateBlueprint​(Consumer<UpdateBlueprintRequest.Builder> updateBlueprintRequest)

        Updates an existing Amazon Bedrock Data Automation Blueprint


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

        Parameters:
        updateBlueprintRequest - A Consumer that will call methods on UpdateBlueprintRequest.Builder to create a request. Update Blueprint Request
        Returns:
        A Java Future containing the result of the UpdateBlueprint 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.
        • ConflictException This exception is thrown when there is a conflict performing an operation
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDataAutomationProject

        default CompletableFuture<UpdateDataAutomationProjectResponse> updateDataAutomationProject​(UpdateDataAutomationProjectRequest updateDataAutomationProjectRequest)

        Updates an existing Amazon Bedrock Data Automation Project

        Parameters:
        updateDataAutomationProjectRequest - Update DataAutomationProject Request
        Returns:
        A Java Future containing the result of the UpdateDataAutomationProject 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.
        • ConflictException This exception is thrown when there is a conflict performing an operation
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDataAutomationProject

        default CompletableFuture<UpdateDataAutomationProjectResponse> updateDataAutomationProject​(Consumer<UpdateDataAutomationProjectRequest.Builder> updateDataAutomationProjectRequest)

        Updates an existing Amazon Bedrock Data Automation Project


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

        Parameters:
        updateDataAutomationProjectRequest - A Consumer that will call methods on UpdateDataAutomationProjectRequest.Builder to create a request. Update DataAutomationProject Request
        Returns:
        A Java Future containing the result of the UpdateDataAutomationProject 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.
        • ConflictException This exception is thrown when there is a conflict performing an operation
        • ValidationException This exception is thrown when the request's input validation fails
        • InternalServerException This exception is thrown if there was an unexpected error during processing of request
        • ThrottlingException This exception is thrown when the number of requests exceeds the limit
        • AccessDeniedException This exception is thrown when a request is denied per access permissions
        • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • BedrockDataAutomationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation