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

Description

 
Synopsis

Documentation

data JourneyPushMessage Source #

Specifies the message configuration for a push notification that's sent to participants in a journey.

See: newJourneyPushMessage smart constructor.

Constructors

JourneyPushMessage' 

Fields

  • timeToLive :: Maybe Text

    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.

Instances

Instances details
Eq JourneyPushMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.JourneyPushMessage

Read JourneyPushMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.JourneyPushMessage

Show JourneyPushMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.JourneyPushMessage

Generic JourneyPushMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.JourneyPushMessage

Associated Types

type Rep JourneyPushMessage :: Type -> Type #

NFData JourneyPushMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.JourneyPushMessage

Methods

rnf :: JourneyPushMessage -> () #

Hashable JourneyPushMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.JourneyPushMessage

ToJSON JourneyPushMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.JourneyPushMessage

FromJSON JourneyPushMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.JourneyPushMessage

type Rep JourneyPushMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.JourneyPushMessage

type Rep JourneyPushMessage = D1 ('MetaData "JourneyPushMessage" "Amazonka.Pinpoint.Types.JourneyPushMessage" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "JourneyPushMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeToLive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.