amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

ToJSON 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 #

Read SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

Show SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

NFData SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

Methods

rnf :: SetDimension -> () #

Eq SetDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SetDimension

Hashable 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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.