| 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.EMR.Types.MetricDimension
Description
Synopsis
Documentation
data MetricDimension Source #
A CloudWatch dimension, which is specified using a Key (known as a
Name in CloudWatch), Value pair. By default, Amazon EMR uses one
dimension whose Key is JobFlowID and Value is a variable
representing the cluster ID, which is ${emr.clusterId}. This enables
the rule to bootstrap when the cluster ID becomes available.
See: newMetricDimension smart constructor.
Constructors
| MetricDimension' | |
Instances
newMetricDimension :: MetricDimension Source #
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:key:MetricDimension', metricDimension_key - The dimension name.
$sel:value:MetricDimension', metricDimension_value - The dimension value.
metricDimension_key :: Lens' MetricDimension (Maybe Text) Source #
The dimension name.
metricDimension_value :: Lens' MetricDimension (Maybe Text) Source #
The dimension value.