Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PushMessageActivity = PushMessageActivity' {}
- newPushMessageActivity :: PushMessageActivity
- pushMessageActivity_messageConfig :: Lens' PushMessageActivity (Maybe JourneyPushMessage)
- pushMessageActivity_nextActivity :: Lens' PushMessageActivity (Maybe Text)
- pushMessageActivity_templateName :: Lens' PushMessageActivity (Maybe Text)
- pushMessageActivity_templateVersion :: Lens' PushMessageActivity (Maybe Text)
Documentation
data PushMessageActivity Source #
Specifies the settings for a push notification activity in a journey. This type of activity sends a push notification to participants.
See: newPushMessageActivity
smart constructor.
PushMessageActivity' | |
|
Instances
newPushMessageActivity :: PushMessageActivity Source #
Create a value of PushMessageActivity
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:messageConfig:PushMessageActivity'
, pushMessageActivity_messageConfig
- Specifies the time to live (TTL) value for push notifications that are
sent to participants in a journey.
$sel:nextActivity:PushMessageActivity'
, pushMessageActivity_nextActivity
- The unique identifier for the next activity to perform, after the
message is sent.
$sel:templateName:PushMessageActivity'
, pushMessageActivity_templateName
- The name of the push notification template to use for the message. If
specified, this value must match the name of an existing message
template.
$sel:templateVersion:PushMessageActivity'
, pushMessageActivity_templateVersion
- The unique identifier for the version of the push notification template
to use for the message. If specified, this value must match the
identifier for an existing template version. To retrieve a list of
versions and version identifiers for a template, use the Template
Versions resource.
If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
pushMessageActivity_messageConfig :: Lens' PushMessageActivity (Maybe JourneyPushMessage) Source #
Specifies the time to live (TTL) value for push notifications that are sent to participants in a journey.
pushMessageActivity_nextActivity :: Lens' PushMessageActivity (Maybe Text) Source #
The unique identifier for the next activity to perform, after the message is sent.
pushMessageActivity_templateName :: Lens' PushMessageActivity (Maybe Text) Source #
The name of the push notification template to use for the message. If specified, this value must match the name of an existing message template.
pushMessageActivity_templateVersion :: Lens' PushMessageActivity (Maybe Text) Source #
The unique identifier for the version of the push notification template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.