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

Description

 
Synopsis

Documentation

data ConditionalSplitActivity Source #

Specifies the settings for a yes/no split activity in a journey. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.

To create yes/no split activities that send participants down different paths based on push notification events (such as Open or Received events), your mobile app has to specify the User ID and Endpoint ID values. For more information, see Integrating Amazon Pinpoint with your application in the Amazon Pinpoint Developer Guide.

See: newConditionalSplitActivity smart constructor.

Constructors

ConditionalSplitActivity' 

Fields

  • condition :: Maybe Condition

    The conditions that define the paths for the activity, and the relationship between the conditions.

  • evaluationWaitTime :: Maybe WaitTime

    The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.

  • falseActivity :: Maybe Text

    The unique identifier for the activity to perform if the conditions aren't met.

  • trueActivity :: Maybe Text

    The unique identifier for the activity to perform if the conditions are met.

Instances

Instances details
FromJSON ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

ToJSON ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

Generic ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

Associated Types

type Rep ConditionalSplitActivity :: Type -> Type #

Read ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

Show ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

NFData ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

Eq ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

Hashable ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

type Rep ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

type Rep ConditionalSplitActivity = D1 ('MetaData "ConditionalSplitActivity" "Amazonka.Pinpoint.Types.ConditionalSplitActivity" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "ConditionalSplitActivity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Condition)) :*: S1 ('MetaSel ('Just "evaluationWaitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WaitTime))) :*: (S1 ('MetaSel ('Just "falseActivity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "trueActivity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newConditionalSplitActivity :: ConditionalSplitActivity Source #

Create a value of ConditionalSplitActivity 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:condition:ConditionalSplitActivity', conditionalSplitActivity_condition - The conditions that define the paths for the activity, and the relationship between the conditions.

$sel:evaluationWaitTime:ConditionalSplitActivity', conditionalSplitActivity_evaluationWaitTime - The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.

$sel:falseActivity:ConditionalSplitActivity', conditionalSplitActivity_falseActivity - The unique identifier for the activity to perform if the conditions aren't met.

$sel:trueActivity:ConditionalSplitActivity', conditionalSplitActivity_trueActivity - The unique identifier for the activity to perform if the conditions are met.

conditionalSplitActivity_condition :: Lens' ConditionalSplitActivity (Maybe Condition) Source #

The conditions that define the paths for the activity, and the relationship between the conditions.

conditionalSplitActivity_evaluationWaitTime :: Lens' ConditionalSplitActivity (Maybe WaitTime) Source #

The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.

conditionalSplitActivity_falseActivity :: Lens' ConditionalSplitActivity (Maybe Text) Source #

The unique identifier for the activity to perform if the conditions aren't met.

conditionalSplitActivity_trueActivity :: Lens' ConditionalSplitActivity (Maybe Text) Source #

The unique identifier for the activity to perform if the conditions are met.