libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.MetricToRetain

Description

 
Synopsis

Documentation

data MetricToRetain Source #

The metric you want to retain. Dimensions are optional.

See: newMetricToRetain smart constructor.

Constructors

MetricToRetain' 

Fields

Instances

Instances details
Eq MetricToRetain Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricToRetain

Read MetricToRetain Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricToRetain

Show MetricToRetain Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricToRetain

Generic MetricToRetain Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricToRetain

Associated Types

type Rep MetricToRetain :: Type -> Type #

NFData MetricToRetain Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricToRetain

Methods

rnf :: MetricToRetain -> () #

Hashable MetricToRetain Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricToRetain

ToJSON MetricToRetain Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricToRetain

FromJSON MetricToRetain Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricToRetain

type Rep MetricToRetain Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricToRetain

type Rep MetricToRetain = D1 ('MetaData "MetricToRetain" "Amazonka.IoT.Types.MetricToRetain" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "MetricToRetain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricDimension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricDimension)) :*: S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newMetricToRetain Source #

Create a value of MetricToRetain 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:metricDimension:MetricToRetain', metricToRetain_metricDimension - The dimension of a metric. This can't be used with custom metrics.

$sel:metric:MetricToRetain', metricToRetain_metric - What is measured by the behavior.

metricToRetain_metricDimension :: Lens' MetricToRetain (Maybe MetricDimension) Source #

The dimension of a metric. This can't be used with custom metrics.

metricToRetain_metric :: Lens' MetricToRetain Text Source #

What is measured by the behavior.