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

Description

 
Synopsis

Documentation

data MessageConfiguration Source #

Specifies the message configuration settings for a campaign.

See: newMessageConfiguration smart constructor.

Constructors

MessageConfiguration' 

Fields

  • aPNSMessage :: Maybe Message

    The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.

  • gCMMessage :: Maybe Message

    The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. If specified, this message overrides the default message.

  • defaultMessage :: Maybe Message

    The default message that the campaign sends through all the channels that are configured for the campaign.

  • customMessage :: Maybe CampaignCustomMessage

    The message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign. If specified, this message overrides the default message.

  • aDMMessage :: Maybe Message

    The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.

  • sMSMessage :: Maybe CampaignSmsMessage

    The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.

  • emailMessage :: Maybe CampaignEmailMessage

    The message that the campaign sends through the email channel. If specified, this message overrides the default message.

  • inAppMessage :: Maybe CampaignInAppMessage

    The in-app message configuration.

  • baiduMessage :: Maybe Message

    The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.

Instances

Instances details
Eq MessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageConfiguration

Read MessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageConfiguration

Show MessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageConfiguration

Generic MessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageConfiguration

Associated Types

type Rep MessageConfiguration :: Type -> Type #

NFData MessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageConfiguration

Methods

rnf :: MessageConfiguration -> () #

Hashable MessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageConfiguration

ToJSON MessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageConfiguration

FromJSON MessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageConfiguration

type Rep MessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageConfiguration

newMessageConfiguration :: MessageConfiguration Source #

Create a value of MessageConfiguration 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:aPNSMessage:MessageConfiguration', messageConfiguration_aPNSMessage - The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.

$sel:gCMMessage:MessageConfiguration', messageConfiguration_gCMMessage - The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. If specified, this message overrides the default message.

$sel:defaultMessage:MessageConfiguration', messageConfiguration_defaultMessage - The default message that the campaign sends through all the channels that are configured for the campaign.

$sel:customMessage:MessageConfiguration', messageConfiguration_customMessage - The message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign. If specified, this message overrides the default message.

$sel:aDMMessage:MessageConfiguration', messageConfiguration_aDMMessage - The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.

$sel:sMSMessage:MessageConfiguration', messageConfiguration_sMSMessage - The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.

$sel:emailMessage:MessageConfiguration', messageConfiguration_emailMessage - The message that the campaign sends through the email channel. If specified, this message overrides the default message.

$sel:inAppMessage:MessageConfiguration', messageConfiguration_inAppMessage - The in-app message configuration.

$sel:baiduMessage:MessageConfiguration', messageConfiguration_baiduMessage - The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.

messageConfiguration_aPNSMessage :: Lens' MessageConfiguration (Maybe Message) Source #

The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.

messageConfiguration_gCMMessage :: Lens' MessageConfiguration (Maybe Message) Source #

The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. If specified, this message overrides the default message.

messageConfiguration_defaultMessage :: Lens' MessageConfiguration (Maybe Message) Source #

The default message that the campaign sends through all the channels that are configured for the campaign.

messageConfiguration_customMessage :: Lens' MessageConfiguration (Maybe CampaignCustomMessage) Source #

The message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign. If specified, this message overrides the default message.

messageConfiguration_aDMMessage :: Lens' MessageConfiguration (Maybe Message) Source #

The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.

messageConfiguration_sMSMessage :: Lens' MessageConfiguration (Maybe CampaignSmsMessage) Source #

The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.

messageConfiguration_emailMessage :: Lens' MessageConfiguration (Maybe CampaignEmailMessage) Source #

The message that the campaign sends through the email channel. If specified, this message overrides the default message.

messageConfiguration_baiduMessage :: Lens' MessageConfiguration (Maybe Message) Source #

The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.