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

Description

 
Synopsis

Documentation

data SetDimension Source #

Specifies the dimension type and values for a segment dimension.

See: newSetDimension smart constructor.

Constructors

SetDimension' 

Fields

  • dimensionType :: Maybe DimensionType

    The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.

  • values :: [Text]

    The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.

Instances

Instances details
Eq SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

Read SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

Show SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

Generic SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

Associated Types

type Rep SetDimension :: Type -> Type #

NFData SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

Methods

rnf :: SetDimension -> () #

Hashable SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

ToJSON SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

FromJSON SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

type Rep SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

type Rep SetDimension = D1 ('MetaData "SetDimension" "Amazonka.Pinpoint.Types.SetDimension" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SetDimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DimensionType)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newSetDimension :: SetDimension Source #

Create a value of SetDimension 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:dimensionType:SetDimension', setDimension_dimensionType - The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.

$sel:values:SetDimension', setDimension_values - The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.

setDimension_dimensionType :: Lens' SetDimension (Maybe DimensionType) Source #

The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.

setDimension_values :: Lens' SetDimension [Text] Source #

The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.