Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#message_typeString

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

Returns:

  • (String)

    The SMS message type.

#sender_idString

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.

Returns:

  • (String)

    The sender ID to display as the sender of the message on a recipient\'s device.