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.