Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data MetricDimension Source #
The dimension of a metric.
See: newMetricDimension
smart constructor.
MetricDimension' | |
|
Instances
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.