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 DirectMessageConfiguration = DirectMessageConfiguration' {
- aPNSMessage :: Maybe APNSMessage
- gCMMessage :: Maybe GCMMessage
- defaultMessage :: Maybe DefaultMessage
- aDMMessage :: Maybe ADMMessage
- sMSMessage :: Maybe SMSMessage
- emailMessage :: Maybe EmailMessage
- voiceMessage :: Maybe VoiceMessage
- baiduMessage :: Maybe BaiduMessage
- defaultPushNotificationMessage :: Maybe DefaultPushNotificationMessage
- newDirectMessageConfiguration :: DirectMessageConfiguration
- directMessageConfiguration_aPNSMessage :: Lens' DirectMessageConfiguration (Maybe APNSMessage)
- directMessageConfiguration_gCMMessage :: Lens' DirectMessageConfiguration (Maybe GCMMessage)
- directMessageConfiguration_defaultMessage :: Lens' DirectMessageConfiguration (Maybe DefaultMessage)
- directMessageConfiguration_aDMMessage :: Lens' DirectMessageConfiguration (Maybe ADMMessage)
- directMessageConfiguration_sMSMessage :: Lens' DirectMessageConfiguration (Maybe SMSMessage)
- directMessageConfiguration_emailMessage :: Lens' DirectMessageConfiguration (Maybe EmailMessage)
- directMessageConfiguration_voiceMessage :: Lens' DirectMessageConfiguration (Maybe VoiceMessage)
- directMessageConfiguration_baiduMessage :: Lens' DirectMessageConfiguration (Maybe BaiduMessage)
- directMessageConfiguration_defaultPushNotificationMessage :: Lens' DirectMessageConfiguration (Maybe DefaultPushNotificationMessage)
Documentation
data DirectMessageConfiguration Source #
Specifies the settings and content for the default message and any default messages that you tailored for specific channels.
See: newDirectMessageConfiguration
smart constructor.
DirectMessageConfiguration' | |
|
Instances
newDirectMessageConfiguration :: DirectMessageConfiguration Source #
Create a value of DirectMessageConfiguration
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:DirectMessageConfiguration'
, directMessageConfiguration_aPNSMessage
- The default push notification message for the APNs (Apple Push
Notification service) channel. This message overrides the default push
notification message (DefaultPushNotificationMessage).
$sel:gCMMessage:DirectMessageConfiguration'
, directMessageConfiguration_gCMMessage
- The default push notification message for the GCM channel, which is used
to send notifications through the Firebase Cloud Messaging (FCM),
formerly Google Cloud Messaging (GCM), service. This message overrides
the default push notification message (DefaultPushNotificationMessage).
$sel:defaultMessage:DirectMessageConfiguration'
, directMessageConfiguration_defaultMessage
- The default message for all channels.
$sel:aDMMessage:DirectMessageConfiguration'
, directMessageConfiguration_aDMMessage
- The default push notification message for the ADM (Amazon Device
Messaging) channel. This message overrides the default push notification
message (DefaultPushNotificationMessage).
$sel:sMSMessage:DirectMessageConfiguration'
, directMessageConfiguration_sMSMessage
- The default message for the SMS channel. This message overrides the
default message (DefaultMessage).
$sel:emailMessage:DirectMessageConfiguration'
, directMessageConfiguration_emailMessage
- The default message for the email channel. This message overrides the
default message (DefaultMessage).
$sel:voiceMessage:DirectMessageConfiguration'
, directMessageConfiguration_voiceMessage
- The default message for the voice channel. This message overrides the
default message (DefaultMessage).
$sel:baiduMessage:DirectMessageConfiguration'
, directMessageConfiguration_baiduMessage
- The default push notification message for the Baidu (Baidu Cloud Push)
channel. This message overrides the default push notification message
(DefaultPushNotificationMessage).
$sel:defaultPushNotificationMessage:DirectMessageConfiguration'
, directMessageConfiguration_defaultPushNotificationMessage
- The default push notification message for all push notification
channels.
directMessageConfiguration_aPNSMessage :: Lens' DirectMessageConfiguration (Maybe APNSMessage) Source #
The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
directMessageConfiguration_gCMMessage :: Lens' DirectMessageConfiguration (Maybe GCMMessage) Source #
The default push notification message for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default push notification message (DefaultPushNotificationMessage).
directMessageConfiguration_defaultMessage :: Lens' DirectMessageConfiguration (Maybe DefaultMessage) Source #
The default message for all channels.
directMessageConfiguration_aDMMessage :: Lens' DirectMessageConfiguration (Maybe ADMMessage) Source #
The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
directMessageConfiguration_sMSMessage :: Lens' DirectMessageConfiguration (Maybe SMSMessage) Source #
The default message for the SMS channel. This message overrides the default message (DefaultMessage).
directMessageConfiguration_emailMessage :: Lens' DirectMessageConfiguration (Maybe EmailMessage) Source #
The default message for the email channel. This message overrides the default message (DefaultMessage).
directMessageConfiguration_voiceMessage :: Lens' DirectMessageConfiguration (Maybe VoiceMessage) Source #
The default message for the voice channel. This message overrides the default message (DefaultMessage).
directMessageConfiguration_baiduMessage :: Lens' DirectMessageConfiguration (Maybe BaiduMessage) Source #
The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
directMessageConfiguration_defaultPushNotificationMessage :: Lens' DirectMessageConfiguration (Maybe DefaultPushNotificationMessage) Source #
The default push notification message for all push notification channels.