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

Description

 
Synopsis

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.

Constructors

DirectMessageConfiguration' 

Fields

  • aPNSMessage :: Maybe APNSMessage

    The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).

  • gCMMessage :: Maybe 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).

  • defaultMessage :: Maybe DefaultMessage

    The default message for all channels.

  • aDMMessage :: Maybe ADMMessage

    The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).

  • sMSMessage :: Maybe SMSMessage

    The default message for the SMS channel. This message overrides the default message (DefaultMessage).

  • emailMessage :: Maybe EmailMessage

    The default message for the email channel. This message overrides the default message (DefaultMessage).

  • voiceMessage :: Maybe VoiceMessage

    The default message for the voice channel. This message overrides the default message (DefaultMessage).

  • baiduMessage :: Maybe BaiduMessage

    The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).

  • defaultPushNotificationMessage :: Maybe DefaultPushNotificationMessage

    The default push notification message for all push notification channels.

Instances

Instances details
Eq DirectMessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DirectMessageConfiguration

Read DirectMessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DirectMessageConfiguration

Show DirectMessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DirectMessageConfiguration

Generic DirectMessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DirectMessageConfiguration

Associated Types

type Rep DirectMessageConfiguration :: Type -> Type #

NFData DirectMessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DirectMessageConfiguration

Hashable DirectMessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DirectMessageConfiguration

ToJSON DirectMessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DirectMessageConfiguration

type Rep DirectMessageConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DirectMessageConfiguration

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_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).