View a markdown version of this page

MetricDataQueryDefinitionSummary - Amazon CloudWatch

MetricDataQueryDefinitionSummary

Summary information about a metric data query definition. To get the expression, call GetMetricDataQueryDefinition.

Contents

Id

The ID of the metric data query definition.

Type: String

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

Pattern: [a-zA-Z0-9-]{1,64}

Required: Yes

Path

The path of the metric data query definition.

Type: String

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

Pattern: [\p{L}\p{M}\p{N}\p{P}\p{S}\p{Zs}]+

Required: Yes

Type

The language of the expression. Valid values are the following:

  • PROMQL – A PromQL query.

  • SQL – A CloudWatch Metrics Insights query.

  • METRIC_MATH – A metric math expression.

Type: String

Valid Values: PROMQL | SQL | METRIC_MATH

Required: Yes

UpdatedAt

The date and time when you last updated the metric data query definition.

Type: Timestamp

Required: No

See Also

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