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.MetricDimension

Description

 
Synopsis

Documentation

data MetricDimension Source #

The dimension of a metric.

See: newMetricDimension smart constructor.

Constructors

MetricDimension' 

Fields

  • operator :: Maybe DimensionValueOperator

    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.

  • dimensionName :: Text

    A unique identifier for the dimension.

Instances

Instances details
Eq MetricDimension Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricDimension

Read MetricDimension Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricDimension

Show MetricDimension Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricDimension

Generic MetricDimension Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricDimension

Associated Types

type Rep MetricDimension :: Type -> Type #

NFData MetricDimension Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricDimension

Methods

rnf :: MetricDimension -> () #

Hashable MetricDimension Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricDimension

ToJSON MetricDimension Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricDimension

FromJSON MetricDimension Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricDimension

type Rep MetricDimension Source # 
Instance details

Defined in Amazonka.IoT.Types.MetricDimension

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

newMetricDimension 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: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.