Struct aws_sdk_pinpoint::model::JourneySmsMessage
source · [−]#[non_exhaustive]pub struct JourneySmsMessage {
pub message_type: Option<MessageType>,
pub origination_number: Option<String>,
pub sender_id: Option<String>,
pub entity_id: Option<String>,
pub template_id: Option<String>,
}
Expand description
Specifies the sender ID and message type for an SMS message that's sent to participants in a journey.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.message_type: Option<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).
origination_number: Option<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.
sender_id: Option<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.
entity_id: Option<String>
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
template_id: Option<String>
The template ID received from the regulatory body for sending SMS in your country.
Implementations
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).
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.
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.
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
The template ID received from the regulatory body for sending SMS in your country.
Creates a new builder-style object to manufacture JourneySmsMessage
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for JourneySmsMessage
impl Send for JourneySmsMessage
impl Sync for JourneySmsMessage
impl Unpin for JourneySmsMessage
impl UnwindSafe for JourneySmsMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more