AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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 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 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.