Interface BedrockDataAutomationRuntimeAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aBedrockDataAutomationRuntimeAsyncClient
.create()
Create aBedrockDataAutomationRuntimeAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.getDataAutomationStatus
(Consumer<GetDataAutomationStatusRequest.Builder> getDataAutomationStatusRequest) API used to get data automation status.getDataAutomationStatus
(GetDataAutomationStatusRequest getDataAutomationStatusRequest) API used to get data automation status.invokeDataAutomationAsync
(Consumer<InvokeDataAutomationAsyncRequest.Builder> invokeDataAutomationAsyncRequest) Async API: Invoke data automation.invokeDataAutomationAsync
(InvokeDataAutomationAsyncRequest invokeDataAutomationAsyncRequest) Async API: Invoke data automation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List tags for an Amazon Bedrock Data Automation resourcelistTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) List tags for an Amazon Bedrock Data Automation resourceThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tag an Amazon Bedrock Data Automation resourcedefault CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Tag an Amazon Bedrock Data Automation resourcedefault CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Untag an Amazon Bedrock Data Automation resourcedefault CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Untag an Amazon Bedrock Data Automation resourceMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
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 invokeThrowable.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 viaGetDataAutomationStatusRequest.builder()
- Parameters:
getDataAutomationStatusRequest
- AConsumer
that will call methods onGetDataAutomationStatusRequest.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 invokeThrowable.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 invokeThrowable.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 viaInvokeDataAutomationAsyncRequest.builder()
- Parameters:
invokeDataAutomationAsyncRequest
- AConsumer
that will call methods onInvokeDataAutomationAsyncRequest.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 invokeThrowable.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 invokeThrowable.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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.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 invokeThrowable.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 invokeThrowable.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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.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 invokeThrowable.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
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aBedrockDataAutomationRuntimeAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aBedrockDataAutomationRuntimeAsyncClient
.
-