| 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.MetricDimension
Description
Documentation
data MetricDimension Source #
The dimension of a metric.
See: newMetricDimension smart constructor.
Constructors
| MetricDimension' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> MetricDimension |
Create a value of MetricDimension 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:operator:MetricDimension', metricDimension_operator - Defines how the dimensionValues of a dimension are interpreted. For
example, for dimension type TOPIC_FILTER, the IN operator, a message
will be counted only if its topic matches one of the topic filters. With
NOT_IN operator, a message will be counted only if it doesn't match
any of the topic filters. The operator is optional: if it's not
provided (is null), it will be interpreted as IN.
$sel:dimensionName:MetricDimension', metricDimension_dimensionName - A unique identifier for the dimension.
metricDimension_operator :: Lens' MetricDimension (Maybe DimensionValueOperator) Source #
Defines how the dimensionValues of a dimension are interpreted. For
example, for dimension type TOPIC_FILTER, the IN operator, a message
will be counted only if its topic matches one of the topic filters. With
NOT_IN operator, a message will be counted only if it doesn't match
any of the topic filters. The operator is optional: if it's not
provided (is null), it will be interpreted as IN.
metricDimension_dimensionName :: Lens' MetricDimension Text Source #
A unique identifier for the dimension.