| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.MetricToRetain
Description
Documentation
data MetricToRetain Source #
The metric you want to retain. Dimensions are optional.
See: newMetricToRetain smart constructor.
Constructors
| MetricToRetain' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> MetricToRetain |
Create a value of MetricToRetain with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:metricDimension:MetricToRetain', metricToRetain_metricDimension - The dimension of a metric. This can't be used with custom metrics.
$sel:metric:MetricToRetain', metricToRetain_metric - What is measured by the behavior.
metricToRetain_metricDimension :: Lens' MetricToRetain (Maybe MetricDimension) Source #
The dimension of a metric. This can't be used with custom metrics.
metricToRetain_metric :: Lens' MetricToRetain Text Source #
What is measured by the behavior.