MetricQuery - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

MetricQuery

Specifies a query to retrieve training metrics from SageMaker.

Contents

MetricName

The name of the metric to retrieve.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: .+

Required: Yes

MetricStat

The metrics stat type of metrics to retrieve.

Type: String

Valid Values: Min | Max | Avg | Count | StdDev | Last

Required: Yes

Period

The time period of metrics to retrieve.

Type: String

Valid Values: OneMinute | FiveMinute | OneHour | IterationNumber

Required: Yes

ResourceArn

The ARN of the SageMaker resource to retrieve metrics for.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:[a-z\-].*/.*

Required: Yes

XAxisType

The x-axis type of metrics to retrieve.

Type: String

Valid Values: IterationNumber | Timestamp

Required: Yes

End

The end time of metrics to retrieve.

Type: Long

Required: No

Start

The start time of metrics to retrieve.

Type: Long

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: