Interface SageMakerMetricsAsyncClient
- 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.
 Contains all data plane API operations and data types for Amazon SageMaker Metrics. Use these APIs to put and retrieve (get) features related to your training run.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String
- 
Method SummaryModifier and TypeMethodDescriptiondefault CompletableFuture<BatchGetMetricsResponse> batchGetMetrics(Consumer<BatchGetMetricsRequest.Builder> batchGetMetricsRequest) Used to retrieve training metrics from SageMaker.default CompletableFuture<BatchGetMetricsResponse> batchGetMetrics(BatchGetMetricsRequest batchGetMetricsRequest) Used to retrieve training metrics from SageMaker.default CompletableFuture<BatchPutMetricsResponse> batchPutMetrics(Consumer<BatchPutMetricsRequest.Builder> batchPutMetricsRequest) Used to ingest training metrics into SageMaker.default CompletableFuture<BatchPutMetricsResponse> batchPutMetrics(BatchPutMetricsRequest batchPutMetricsRequest) Used to ingest training metrics into SageMaker.builder()Create a builder that can be used to configure and create aSageMakerMetricsAsyncClient.static SageMakerMetricsAsyncClientcreate()Create aSageMakerMetricsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseablecloseMethods inherited from interface software.amazon.awssdk.core.SdkClientserviceName
- 
Field Details- 
SERVICE_NAME- See Also:
 
- 
SERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.- See Also:
 
 
- 
- 
Method Details- 
batchGetMetricsdefault CompletableFuture<BatchGetMetricsResponse> batchGetMetrics(BatchGetMetricsRequest batchGetMetricsRequest) Used to retrieve training metrics from SageMaker. - Parameters:
- batchGetMetricsRequest-
- Returns:
- A Java Future containing the result of the BatchGetMetrics 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.- 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.
- SageMakerMetricsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
batchGetMetricsdefault CompletableFuture<BatchGetMetricsResponse> batchGetMetrics(Consumer<BatchGetMetricsRequest.Builder> batchGetMetricsRequest) Used to retrieve training metrics from SageMaker. 
 This is a convenience which creates an instance of the BatchGetMetricsRequest.Builderavoiding the need to create one manually viaBatchGetMetricsRequest.builder()- Parameters:
- batchGetMetricsRequest- A- Consumerthat will call methods on- BatchGetMetricsRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the BatchGetMetrics 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.- 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.
- SageMakerMetricsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
batchPutMetricsdefault CompletableFuture<BatchPutMetricsResponse> batchPutMetrics(BatchPutMetricsRequest batchPutMetricsRequest) Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio. - Parameters:
- batchPutMetricsRequest-
- Returns:
- A Java Future containing the result of the BatchPutMetrics 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.- 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.
- SageMakerMetricsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
batchPutMetricsdefault CompletableFuture<BatchPutMetricsResponse> batchPutMetrics(Consumer<BatchPutMetricsRequest.Builder> batchPutMetricsRequest) Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio. 
 This is a convenience which creates an instance of the BatchPutMetricsRequest.Builderavoiding the need to create one manually viaBatchPutMetricsRequest.builder()- Parameters:
- batchPutMetricsRequest- A- Consumerthat will call methods on- BatchPutMetricsRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the BatchPutMetrics 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.- 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.
- SageMakerMetricsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
serviceClientConfigurationDescription copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
- serviceClientConfigurationin interface- AwsClient
- Specified by:
- serviceClientConfigurationin interface- SdkClient
- Returns:
- SdkServiceClientConfiguration
 
- 
createCreate aSageMakerMetricsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
- 
builderCreate a builder that can be used to configure and create aSageMakerMetricsAsyncClient.
 
-