libZSservicesZSamazonka-emrZSamazonka-emr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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' 

Fields

Instances

Instances details
Eq MetricDimension Source # 
Instance details

Defined in Amazonka.EMR.Types.MetricDimension

Read MetricDimension Source # 
Instance details

Defined in Amazonka.EMR.Types.MetricDimension

Show MetricDimension Source # 
Instance details

Defined in Amazonka.EMR.Types.MetricDimension

Generic MetricDimension Source # 
Instance details

Defined in Amazonka.EMR.Types.MetricDimension

Associated Types

type Rep MetricDimension :: Type -> Type #

NFData MetricDimension Source # 
Instance details

Defined in Amazonka.EMR.Types.MetricDimension

Methods

rnf :: MetricDimension -> () #

Hashable MetricDimension Source # 
Instance details

Defined in Amazonka.EMR.Types.MetricDimension

ToJSON MetricDimension Source # 
Instance details

Defined in Amazonka.EMR.Types.MetricDimension

FromJSON MetricDimension Source # 
Instance details

Defined in Amazonka.EMR.Types.MetricDimension

type Rep MetricDimension Source # 
Instance details

Defined in Amazonka.EMR.Types.MetricDimension

type Rep MetricDimension = D1 ('MetaData "MetricDimension" "Amazonka.EMR.Types.MetricDimension" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "MetricDimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.