MetricToRetain - AWS IoT

MetricToRetain

The metric you want to retain. Dimensions are optional.

Contents

metric

What is measured by the behavior.

Type: String

Required: Yes

exportMetric

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

Type: Boolean

Required: No

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 AWS SDKs, see the following: