Interface SageMakerMetricsClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
@Generated("software.amazon.awssdk:codegen")
@ThreadSafe
public interface SageMakerMetricsClient
extends AwsClient
Service client for accessing SageMaker Metrics. This can be created using the static
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchPutMetricsResponse
batchPutMetrics
(Consumer<BatchPutMetricsRequest.Builder> batchPutMetricsRequest) Used to ingest training metrics into SageMaker.default BatchPutMetricsResponse
batchPutMetrics
(BatchPutMetricsRequest batchPutMetricsRequest) Used to ingest training metrics into SageMaker.builder()
Create a builder that can be used to configure and create aSageMakerMetricsClient
.static SageMakerMetricsClient
create()
Create aSageMakerMetricsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
Methods 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
-
batchPutMetrics
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.- Parameters:
batchPutMetricsRequest
-- Returns:
- Result of the BatchPutMetrics operation returned by the service.
- See Also:
-
batchPutMetrics
default 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 viaBatchPutMetricsRequest.builder()
- Parameters:
batchPutMetricsRequest
- AConsumer
that will call methods onBatchPutMetricsRequest.Builder
to create a request.- Returns:
- Result of the BatchPutMetrics operation returned by the service.
- See Also:
-
create
Create aSageMakerMetricsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSageMakerMetricsClient
. -
serviceMetadata
-
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
-