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

Class: Aws::Pinpoint::Types::SMSMessage

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

Overview

Note:

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

{
  body: "__string",
  message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
  sender_id: "__string",
  substitutions: {
    "__string" => ["__string"],
  },
}

SMS Message.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The message body of the notification, the email body or the text message.

Returns:

  • (String)

    The message body of the notification, the email body or the text message.

#message_typeString

Is this a transaction priority message or lower priority.

Possible values:

  • TRANSACTIONAL
  • PROMOTIONAL

Returns:

  • (String)

    Is this a transaction priority message or lower priority.

#sender_idString

Sender ID of sent message.

Returns:

  • (String)

    Sender ID of sent message.

#substitutionsHash<String,Array<String>>

Returns:

  • (Hash<String,Array<String>>)