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

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

  • trueActivity :: Maybe Text

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

  • falseActivity :: Maybe Text

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

  • condition :: Maybe Condition

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

Instances

Instances details
Eq ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

Read ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

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

NFData ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

Hashable ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

ToJSON ConditionalSplitActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ConditionalSplitActivity

FromJSON 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" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "ConditionalSplitActivity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evaluationWaitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WaitTime)) :*: S1 ('MetaSel ('Just "trueActivity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "falseActivity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Condition)))))

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: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:trueActivity:ConditionalSplitActivity', conditionalSplitActivity_trueActivity - The unique identifier for the activity to perform if the conditions are met.

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

$sel:condition:ConditionalSplitActivity', conditionalSplitActivity_condition - 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_trueActivity :: Lens' ConditionalSplitActivity (Maybe Text) Source #

The unique identifier for the activity to perform if 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_condition :: Lens' ConditionalSplitActivity (Maybe Condition) Source #

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