/AWS1/CL_PPTJOURNEYSMSMESSAGE¶
Specifies the sender ID and message type for an SMS message that's sent to participants in a journey.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_messagetype
TYPE /AWS1/PPTMESSAGETYPE
/AWS1/PPTMESSAGETYPE
¶
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).
iv_originationnumber
TYPE /AWS1/PPT__STRING
/AWS1/PPT__STRING
¶
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.
iv_senderid
TYPE /AWS1/PPT__STRING
/AWS1/PPT__STRING
¶
The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide.
iv_entityid
TYPE /AWS1/PPT__STRING
/AWS1/PPT__STRING
¶
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
iv_templateid
TYPE /AWS1/PPT__STRING
/AWS1/PPT__STRING
¶
The template ID received from the regulatory body for sending SMS in your country.
Queryable Attributes¶
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).
Accessible with the following methods¶
Method | Description |
---|---|
GET_MESSAGETYPE() |
Getter for MESSAGETYPE, with configurable default |
ASK_MESSAGETYPE() |
Getter for MESSAGETYPE w/ exceptions if field has no value |
HAS_MESSAGETYPE() |
Determine if MESSAGETYPE has a value |
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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ORIGINATIONNUMBER() |
Getter for ORIGINATIONNUMBER, with configurable default |
ASK_ORIGINATIONNUMBER() |
Getter for ORIGINATIONNUMBER w/ exceptions if field has no v |
HAS_ORIGINATIONNUMBER() |
Determine if ORIGINATIONNUMBER has a value |
SenderId¶
The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SENDERID() |
Getter for SENDERID, with configurable default |
ASK_SENDERID() |
Getter for SENDERID w/ exceptions if field has no value |
HAS_SENDERID() |
Determine if SENDERID has a value |
EntityId¶
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENTITYID() |
Getter for ENTITYID, with configurable default |
ASK_ENTITYID() |
Getter for ENTITYID w/ exceptions if field has no value |
HAS_ENTITYID() |
Determine if ENTITYID has a value |
TemplateId¶
The template ID received from the regulatory body for sending SMS in your country.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TEMPLATEID() |
Getter for TEMPLATEID, with configurable default |
ASK_TEMPLATEID() |
Getter for TEMPLATEID w/ exceptions if field has no value |
HAS_TEMPLATEID() |
Determine if TEMPLATEID has a value |