You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Pinpoint::Types::JourneySMSMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::JourneySMSMessage
- Defined in:
- (unknown)
Overview
When passing JourneySMSMessage as input to an Aws::Client method, you can use a vanilla Hash:
{
message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
sender_id: "__string",
}
Specifies the sender ID and message type for an SMS message that's sent to participants in a journey.
Returned by:
Instance Attribute Summary collapse
-
#message_type ⇒ String
The SMS message type.
-
#sender_id ⇒ String
The sender ID to display as the sender of the message on a recipient\'s device.
Instance Attribute Details
#message_type ⇒ String
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).
Possible values:
- TRANSACTIONAL
- PROMOTIONAL
#sender_id ⇒ 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.