Interface BedrockDataAutomationRuntimeAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

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

  • Field Details

  • Method Details

    • getDataAutomationStatus

      default CompletableFuture<GetDataAutomationStatusResponse> getDataAutomationStatus(GetDataAutomationStatusRequest getDataAutomationStatusRequest)

      API used to get data automation status.

      Parameters:
      getDataAutomationStatusRequest - Structure for request of GetDataAutomationStatus API.
      Returns:
      A Java Future containing the result of the GetDataAutomationStatus 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 will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • ResourceNotFoundException This exception will be thrown when resource provided from customer not found.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDataAutomationStatus

      default CompletableFuture<GetDataAutomationStatusResponse> getDataAutomationStatus(Consumer<GetDataAutomationStatusRequest.Builder> getDataAutomationStatusRequest)

      API used to get data automation status.


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

      Parameters:
      getDataAutomationStatusRequest - A Consumer that will call methods on GetDataAutomationStatusRequest.Builder to create a request. Structure for request of GetDataAutomationStatus API.
      Returns:
      A Java Future containing the result of the GetDataAutomationStatus 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 will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • ResourceNotFoundException This exception will be thrown when resource provided from customer not found.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • invokeDataAutomationAsync

      default CompletableFuture<InvokeDataAutomationAsyncResponse> invokeDataAutomationAsync(InvokeDataAutomationAsyncRequest invokeDataAutomationAsyncRequest)

      Async API: Invoke data automation.

      Parameters:
      invokeDataAutomationAsyncRequest - Invoke Data Automation Async Request
      Returns:
      A Java Future containing the result of the InvokeDataAutomationAsync 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 will be thrown when service quota is exceeded.
      • ValidationException This exception will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • invokeDataAutomationAsync

      default CompletableFuture<InvokeDataAutomationAsyncResponse> invokeDataAutomationAsync(Consumer<InvokeDataAutomationAsyncRequest.Builder> invokeDataAutomationAsyncRequest)

      Async API: Invoke data automation.


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

      Parameters:
      invokeDataAutomationAsyncRequest - A Consumer that will call methods on InvokeDataAutomationAsyncRequest.Builder to create a request. Invoke Data Automation Async Request
      Returns:
      A Java Future containing the result of the InvokeDataAutomationAsync 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 will be thrown when service quota is exceeded.
      • ValidationException This exception will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      List tags for an Amazon Bedrock Data Automation 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.
      • ValidationException This exception will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ResourceNotFoundException This exception will be thrown when resource provided from customer not found.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

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

      List tags for an Amazon Bedrock Data Automation 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.
      • ValidationException This exception will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ResourceNotFoundException This exception will be thrown when resource provided from customer not found.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Tag an Amazon Bedrock Data Automation 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.
      • ServiceQuotaExceededException This exception will be thrown when service quota is exceeded.
      • ValidationException This exception will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ResourceNotFoundException This exception will be thrown when resource provided from customer not found.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

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

      Tag an Amazon Bedrock Data Automation 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.
      • ServiceQuotaExceededException This exception will be thrown when service quota is exceeded.
      • ValidationException This exception will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ResourceNotFoundException This exception will be thrown when resource provided from customer not found.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Untag an Amazon Bedrock Data Automation 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.
      • ValidationException This exception will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ResourceNotFoundException This exception will be thrown when resource provided from customer not found.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

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

      Untag an Amazon Bedrock Data Automation 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.
      • ValidationException This exception will be thrown when customer provided invalid parameters.
      • AccessDeniedException This exception will be thrown when customer does not have access to API.
      • InternalServerException This exception is for any internal un-expected service errors.
      • ResourceNotFoundException This exception will be thrown when resource provided from customer not found.
      • ThrottlingException This exception will be thrown when customer reached API TPS limit.
      • 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.
      • BedrockDataAutomationRuntimeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

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

      Create a BedrockDataAutomationRuntimeAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

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