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 staticbuilder()method.The asynchronous client performs non-blocking I/O when configured with anySdkAsyncHttpClientsupported 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 Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException This exception will be thrown when customer does not have access to API.
- ValidationException This exception will be thrown when customer provided invalid parameters.
- 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetDataAutomationStatusRequest.builder()- Parameters:
getDataAutomationStatusRequest- AConsumerthat will call methods onGetDataAutomationStatusRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException This exception will be thrown when customer does not have access to API.
- ValidationException This exception will be thrown when customer provided invalid parameters.
- 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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException This exception will be thrown when service quota is exceeded.
- AccessDeniedException This exception will be thrown when customer does not have access to API.
- ValidationException This exception will be thrown when customer provided invalid parameters.
- 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaInvokeDataAutomationAsyncRequest.builder()- Parameters:
invokeDataAutomationAsyncRequest- AConsumerthat will call methods onInvokeDataAutomationAsyncRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException This exception will be thrown when service quota is exceeded.
- AccessDeniedException This exception will be thrown when customer does not have access to API.
- ValidationException This exception will be thrown when customer provided invalid parameters.
- 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:
- AWS API Documentation
-
serviceClientConfiguration
default BedrockDataAutomationRuntimeServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static BedrockDataAutomationRuntimeAsyncClient create()
Create aBedrockDataAutomationRuntimeAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static BedrockDataAutomationRuntimeAsyncClientBuilder builder()
Create a builder that can be used to configure and create aBedrockDataAutomationRuntimeAsyncClient.
-
-