Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Activity = Activity' {
- conditionalSplit :: Maybe ConditionalSplitActivity
- email :: Maybe EmailMessageActivity
- multiCondition :: Maybe MultiConditionalSplitActivity
- contactCenter :: Maybe ContactCenterActivity
- custom :: Maybe CustomMessageActivity
- wait :: Maybe WaitActivity
- randomSplit :: Maybe RandomSplitActivity
- holdout :: Maybe HoldoutActivity
- sms :: Maybe SMSMessageActivity
- push :: Maybe PushMessageActivity
- description :: Maybe Text
- newActivity :: Activity
- activity_conditionalSplit :: Lens' Activity (Maybe ConditionalSplitActivity)
- activity_email :: Lens' Activity (Maybe EmailMessageActivity)
- activity_multiCondition :: Lens' Activity (Maybe MultiConditionalSplitActivity)
- activity_contactCenter :: Lens' Activity (Maybe ContactCenterActivity)
- activity_custom :: Lens' Activity (Maybe CustomMessageActivity)
- activity_wait :: Lens' Activity (Maybe WaitActivity)
- activity_randomSplit :: Lens' Activity (Maybe RandomSplitActivity)
- activity_holdout :: Lens' Activity (Maybe HoldoutActivity)
- activity_sms :: Lens' Activity (Maybe SMSMessageActivity)
- activity_push :: Lens' Activity (Maybe PushMessageActivity)
- activity_description :: Lens' Activity (Maybe Text)
Documentation
Specifies the configuration and other settings for an activity in a journey.
See: newActivity
smart constructor.
Activity' | |
|
Instances
newActivity :: Activity Source #
Create a value of Activity
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:conditionalSplit:Activity'
, activity_conditionalSplit
- The settings for a yes/no split activity. This type of activity sends
participants down one of two paths in a journey, based on conditions
that you specify.
$sel:email:Activity'
, activity_email
- The settings for an email activity. This type of activity sends an email
message to participants.
$sel:multiCondition:Activity'
, activity_multiCondition
- The settings for a multivariate split activity. This type of activity
sends participants down one of as many as five paths (including a
default Else path) in a journey, based on conditions that you specify.
$sel:contactCenter:Activity'
, activity_contactCenter
- The settings for a connect activity. This type of activity initiates a
contact center call to participants.
$sel:custom:Activity'
, activity_custom
- The settings for a custom message activity. This type of activity calls
an AWS Lambda function or web hook that sends messages to participants.
$sel:wait:Activity'
, activity_wait
- The settings for a wait activity. This type of activity waits for a
certain amount of time or until a specific date and time before moving
participants to the next activity in a journey.
$sel:randomSplit:Activity'
, activity_randomSplit
- The settings for a random split activity. This type of activity randomly
sends specified percentages of participants down one of as many as five
paths in a journey, based on conditions that you specify.
$sel:holdout:Activity'
, activity_holdout
- The settings for a holdout activity. This type of activity stops a
journey for a specified percentage of participants.
$sel:sms:Activity'
, activity_sms
- The settings for an SMS activity. This type of activity sends a text
message to participants.
$sel:push:Activity'
, activity_push
- The settings for a push notification activity. This type of activity
sends a push notification to participants.
$sel:description:Activity'
, activity_description
- The custom description of the activity.
activity_conditionalSplit :: Lens' Activity (Maybe ConditionalSplitActivity) Source #
The settings for a yes/no split activity. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.
activity_email :: Lens' Activity (Maybe EmailMessageActivity) Source #
The settings for an email activity. This type of activity sends an email message to participants.
activity_multiCondition :: Lens' Activity (Maybe MultiConditionalSplitActivity) Source #
The settings for a multivariate split activity. This type of activity sends participants down one of as many as five paths (including a default Else path) in a journey, based on conditions that you specify.
activity_contactCenter :: Lens' Activity (Maybe ContactCenterActivity) Source #
The settings for a connect activity. This type of activity initiates a contact center call to participants.
activity_custom :: Lens' Activity (Maybe CustomMessageActivity) Source #
The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.
activity_wait :: Lens' Activity (Maybe WaitActivity) Source #
The settings for a wait activity. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
activity_randomSplit :: Lens' Activity (Maybe RandomSplitActivity) Source #
The settings for a random split activity. This type of activity randomly sends specified percentages of participants down one of as many as five paths in a journey, based on conditions that you specify.
activity_holdout :: Lens' Activity (Maybe HoldoutActivity) Source #
The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
activity_sms :: Lens' Activity (Maybe SMSMessageActivity) Source #
The settings for an SMS activity. This type of activity sends a text message to participants.
activity_push :: Lens' Activity (Maybe PushMessageActivity) Source #
The settings for a push notification activity. This type of activity sends a push notification to participants.