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 |
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.
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:value:MetricDimension'
, metricDimension_value
- The dimension value.
$sel:key:MetricDimension'
, metricDimension_key
- The dimension name.
metricDimension_value :: Lens' MetricDimension (Maybe Text) Source #
The dimension value.
metricDimension_key :: Lens' MetricDimension (Maybe Text) Source #
The dimension name.