@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonSageMakerMetricsAsyncClient extends AmazonSageMakerMetricsClient implements AmazonSageMakerMetricsAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonSageMakerMetricsAsyncClientBuilder |
asyncBuilder() |
Future<BatchPutMetricsResult> |
batchPutMetricsAsync(BatchPutMetricsRequest request)
Used to ingest training metrics into SageMaker.
|
Future<BatchPutMetricsResult> |
batchPutMetricsAsync(BatchPutMetricsRequest request,
AsyncHandler<BatchPutMetricsRequest,BatchPutMetricsResult> asyncHandler)
Used to ingest training metrics into SageMaker.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
batchPutMetrics, builder, getCachedResponseMetadata
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchPutMetrics, getCachedResponseMetadata
public static AmazonSageMakerMetricsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchPutMetricsResult> batchPutMetricsAsync(BatchPutMetricsRequest request)
AmazonSageMakerMetricsAsync
Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio and retrieved
with the GetMetrics
API.
batchPutMetricsAsync
in interface AmazonSageMakerMetricsAsync
public Future<BatchPutMetricsResult> batchPutMetricsAsync(BatchPutMetricsRequest request, AsyncHandler<BatchPutMetricsRequest,BatchPutMetricsResult> asyncHandler)
AmazonSageMakerMetricsAsync
Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio and retrieved
with the GetMetrics
API.
batchPutMetricsAsync
in interface AmazonSageMakerMetricsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonSageMakerMetrics
shutdown
in class AmazonSageMakerMetricsClient