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",
}

SMS message configuration.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The SMS text body.

Returns:

  • (String)

    The SMS text body.

#message_typeString

Is this is a transactional SMS message, otherwise a promotional message.

Possible values:

  • TRANSACTIONAL
  • PROMOTIONAL

Returns:

  • (String)

    Is this is a transactional SMS message, otherwise a promotional message.

#sender_idString

Sender ID of sent message.

Returns:

  • (String)

    Sender ID of sent message.