libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.MetricDimension

Description

 
Synopsis

Documentation

data MetricDimension Source #

Specifies metric-based criteria for including or excluding endpoints from a segment. These criteria derive from custom metrics that you define for endpoints.

See: newMetricDimension smart constructor.

Constructors

MetricDimension' 

Fields

  • comparisonOperator :: Text

    The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.

  • value :: Double

    The value to compare.

Instances

Instances details
Eq MetricDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MetricDimension

Read MetricDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MetricDimension

Show MetricDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MetricDimension

Generic MetricDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MetricDimension

Associated Types

type Rep MetricDimension :: Type -> Type #

NFData MetricDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MetricDimension

Methods

rnf :: MetricDimension -> () #

Hashable MetricDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MetricDimension

ToJSON MetricDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MetricDimension

FromJSON MetricDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MetricDimension

type Rep MetricDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MetricDimension

type Rep MetricDimension = D1 ('MetaData "MetricDimension" "Amazonka.Pinpoint.Types.MetricDimension" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "MetricDimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comparisonOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))

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:comparisonOperator:MetricDimension', metricDimension_comparisonOperator - The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.

$sel:value:MetricDimension', metricDimension_value - The value to compare.

metricDimension_comparisonOperator :: Lens' MetricDimension Text Source #

The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.