@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface SageMakerMetricsClient extends AwsClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default BatchPutMetricsResponse |
batchPutMetrics(BatchPutMetricsRequest batchPutMetricsRequest)
Used to ingest training metrics into SageMaker.
|
default BatchPutMetricsResponse |
batchPutMetrics(Consumer<BatchPutMetricsRequest.Builder> batchPutMetricsRequest)
Used to ingest training metrics into SageMaker.
|
static SageMakerMetricsClientBuilder |
builder()
Create a builder that can be used to configure and create a
SageMakerMetricsClient. |
static SageMakerMetricsClient |
create()
Create a
SageMakerMetricsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default SageMakerMetricsServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default BatchPutMetricsResponse batchPutMetrics(BatchPutMetricsRequest batchPutMetricsRequest) throws AwsServiceException, SdkClientException, SageMakerMetricsException
Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio and retrieved
with the GetMetrics API.
batchPutMetricsRequest - 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.AwsServiceExceptiondefault BatchPutMetricsResponse batchPutMetrics(Consumer<BatchPutMetricsRequest.Builder> batchPutMetricsRequest) throws AwsServiceException, SdkClientException, SageMakerMetricsException
Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio and retrieved
with the GetMetrics API.
This is a convenience which creates an instance of the BatchPutMetricsRequest.Builder avoiding the need
to create one manually via BatchPutMetricsRequest.builder()
batchPutMetricsRequest - A Consumer that will call methods on BatchPutMetricsRequest.Builder to create a request.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.AwsServiceExceptionstatic SageMakerMetricsClient create()
SageMakerMetricsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static SageMakerMetricsClientBuilder builder()
SageMakerMetricsClient.static ServiceMetadata serviceMetadata()
default SageMakerMetricsServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.