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 |
Documentation
data JourneyPushMessage Source #
Specifies the message configuration for a push notification that's sent to participants in a journey.
See: newJourneyPushMessage
smart constructor.
JourneyPushMessage' | |
|
Instances
newJourneyPushMessage :: JourneyPushMessage Source #
Create a value of JourneyPushMessage
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:timeToLive:JourneyPushMessage'
, journeyPushMessage_timeToLive
- The number of seconds that the push notification service should keep the
message, if the service is unable to deliver the notification the first
time. This value is converted to an expiration value when it's sent to
a push-notification service. If this value is 0, the service treats the
notification as if it expires immediately and the service doesn't store
or try to deliver the notification again.
This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
journeyPushMessage_timeToLive :: Lens' JourneyPushMessage (Maybe Text) Source #
The number of seconds that the push notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.
This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.