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 (PDF).


The metric you want to retain. Dimensions are optional.



What is measured by the behavior.

Type: String

Required: Yes


The value indicates exporting metrics related to the MetricToRetain when it's true.

Type: Boolean

Required: No


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: