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 MessageConfiguration = MessageConfiguration' {
- aPNSMessage :: Maybe Message
- gCMMessage :: Maybe Message
- defaultMessage :: Maybe Message
- customMessage :: Maybe CampaignCustomMessage
- aDMMessage :: Maybe Message
- sMSMessage :: Maybe CampaignSmsMessage
- emailMessage :: Maybe CampaignEmailMessage
- inAppMessage :: Maybe CampaignInAppMessage
- baiduMessage :: Maybe Message
- newMessageConfiguration :: MessageConfiguration
- messageConfiguration_aPNSMessage :: Lens' MessageConfiguration (Maybe Message)
- messageConfiguration_gCMMessage :: Lens' MessageConfiguration (Maybe Message)
- messageConfiguration_defaultMessage :: Lens' MessageConfiguration (Maybe Message)
- messageConfiguration_customMessage :: Lens' MessageConfiguration (Maybe CampaignCustomMessage)
- messageConfiguration_aDMMessage :: Lens' MessageConfiguration (Maybe Message)
- messageConfiguration_sMSMessage :: Lens' MessageConfiguration (Maybe CampaignSmsMessage)
- messageConfiguration_emailMessage :: Lens' MessageConfiguration (Maybe CampaignEmailMessage)
- messageConfiguration_inAppMessage :: Lens' MessageConfiguration (Maybe CampaignInAppMessage)
- messageConfiguration_baiduMessage :: Lens' MessageConfiguration (Maybe Message)
Documentation
data MessageConfiguration Source #
Specifies the message configuration settings for a campaign.
See: newMessageConfiguration
smart constructor.
MessageConfiguration' | |
|
Instances
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_inAppMessage :: Lens' MessageConfiguration (Maybe CampaignInAppMessage) Source #
The in-app message configuration.
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.