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 CampaignSmsMessage = CampaignSmsMessage' {
- originationNumber :: Maybe Text
- templateId :: Maybe Text
- body :: Maybe Text
- messageType :: Maybe MessageType
- senderId :: Maybe Text
- entityId :: Maybe Text
- newCampaignSmsMessage :: CampaignSmsMessage
- campaignSmsMessage_originationNumber :: Lens' CampaignSmsMessage (Maybe Text)
- campaignSmsMessage_templateId :: Lens' CampaignSmsMessage (Maybe Text)
- campaignSmsMessage_body :: Lens' CampaignSmsMessage (Maybe Text)
- campaignSmsMessage_messageType :: Lens' CampaignSmsMessage (Maybe MessageType)
- campaignSmsMessage_senderId :: Lens' CampaignSmsMessage (Maybe Text)
- campaignSmsMessage_entityId :: Lens' CampaignSmsMessage (Maybe Text)
Documentation
data CampaignSmsMessage Source #
Specifies the content and settings for an SMS message that's sent to recipients of a campaign.
See: newCampaignSmsMessage
smart constructor.
CampaignSmsMessage' | |
|
Instances
newCampaignSmsMessage :: CampaignSmsMessage Source #
Create a value of CampaignSmsMessage
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:originationNumber:CampaignSmsMessage'
, campaignSmsMessage_originationNumber
- The long code to send the SMS message from. This value should be one of
the dedicated long codes that's assigned to your AWS account. Although
it isn't required, we recommend that you specify the long code using an
E.164 format to ensure prompt and accurate delivery of the message. For
example, +12065550100.
$sel:templateId:CampaignSmsMessage'
, campaignSmsMessage_templateId
- The template ID received from the regulatory body for sending SMS in
your country.
$sel:body:CampaignSmsMessage'
, campaignSmsMessage_body
- The body of the SMS message.
$sel:messageType:CampaignSmsMessage'
, campaignSmsMessage_messageType
- The SMS message type. Valid values are TRANSACTIONAL (for messages that
are critical or time-sensitive, such as a one-time passwords) and
PROMOTIONAL (for messsages that aren't critical or time-sensitive, such
as marketing messages).
$sel:senderId:CampaignSmsMessage'
, campaignSmsMessage_senderId
- The sender ID to display on recipients' devices when they receive the
SMS message.
$sel:entityId:CampaignSmsMessage'
, campaignSmsMessage_entityId
- The entity ID or Principal Entity (PE) id received from the regulatory
body for sending SMS in your country.
campaignSmsMessage_originationNumber :: Lens' CampaignSmsMessage (Maybe Text) Source #
The long code to send the SMS message from. This value should be one of the dedicated long codes that's assigned to your AWS account. Although it isn't required, we recommend that you specify the long code using an E.164 format to ensure prompt and accurate delivery of the message. For example, +12065550100.
campaignSmsMessage_templateId :: Lens' CampaignSmsMessage (Maybe Text) Source #
The template ID received from the regulatory body for sending SMS in your country.
campaignSmsMessage_body :: Lens' CampaignSmsMessage (Maybe Text) Source #
The body of the SMS message.
campaignSmsMessage_messageType :: Lens' CampaignSmsMessage (Maybe MessageType) Source #
The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).
campaignSmsMessage_senderId :: Lens' CampaignSmsMessage (Maybe Text) Source #
The sender ID to display on recipients' devices when they receive the SMS message.
campaignSmsMessage_entityId :: Lens' CampaignSmsMessage (Maybe Text) Source #
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.