MetricToRetain - Amazon IoT
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.

MetricToRetain

The metric you want to retain. Dimensions are optional.

Contents

metric

What is measured by the behavior.

Type: String

Required: Yes

metricDimension

The dimension of a metric. This can't be used with custom metrics.

Type: MetricDimension object

Required: No

See Also

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