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

Description

 
Synopsis

Documentation

data SimpleCondition Source #

Specifies a condition to evaluate for an activity in a journey.

See: newSimpleCondition smart constructor.

Constructors

SimpleCondition' 

Fields

Instances

Instances details
FromJSON SimpleCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SimpleCondition

ToJSON SimpleCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SimpleCondition

Generic SimpleCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SimpleCondition

Associated Types

type Rep SimpleCondition :: Type -> Type #

Read SimpleCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SimpleCondition

Show SimpleCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SimpleCondition

NFData SimpleCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SimpleCondition

Methods

rnf :: SimpleCondition -> () #

Eq SimpleCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SimpleCondition

Hashable SimpleCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SimpleCondition

type Rep SimpleCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SimpleCondition

type Rep SimpleCondition = D1 ('MetaData "SimpleCondition" "Amazonka.Pinpoint.Types.SimpleCondition" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "SimpleCondition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventCondition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventCondition)) :*: (S1 ('MetaSel ('Just "segmentCondition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SegmentCondition)) :*: S1 ('MetaSel ('Just "segmentDimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SegmentDimensions)))))

newSimpleCondition :: SimpleCondition Source #

Create a value of SimpleCondition 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:eventCondition:SimpleCondition', simpleCondition_eventCondition - The dimension settings for the event that's associated with the activity.

$sel:segmentCondition:SimpleCondition', simpleCondition_segmentCondition - The segment that's associated with the activity.

$sel:segmentDimensions:SimpleCondition', simpleCondition_segmentDimensions - The dimension settings for the segment that's associated with the activity.

simpleCondition_eventCondition :: Lens' SimpleCondition (Maybe EventCondition) Source #

The dimension settings for the event that's associated with the activity.

simpleCondition_segmentCondition :: Lens' SimpleCondition (Maybe SegmentCondition) Source #

The segment that's associated with the activity.

simpleCondition_segmentDimensions :: Lens' SimpleCondition (Maybe SegmentDimensions) Source #

The dimension settings for the segment that's associated with the activity.