You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pinpoint::Types::CampaignSmsMessage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CampaignSmsMessage as input to an Aws::Client method, you can use a vanilla Hash:

{
  body: "__string",
  message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
  sender_id: "__string",
}

Specifies the content and settings for an SMS message that's sent to recipients of a campaign.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The body of the SMS message.

Returns:

  • (String)

    The body of the SMS message.

#message_typeString

The type of SMS message. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message isn\'t critical or time-sensitive, such as a marketing message.

Possible values:

  • TRANSACTIONAL
  • PROMOTIONAL

Returns:

  • (String)

    The type of SMS message.

#sender_idString

The sender ID to display on recipients\' devices when they receive the SMS message.

Returns:

  • (String)

    The sender ID to display on recipients\' devices when they receive the SMS message.