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::DefaultMessage

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

Overview

Note:

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

{
  body: "__string",
  substitutions: {
    "__string" => ["__string"],
  },
}

Specifies the default message for all channels.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The default body of the message.

Returns:

  • (String)

    The default body of the message.

#substitutionsHash<String,Array<String>>

The default message variables to use in the message. You can override these default variables with individual address variables.

Returns:

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

    The default message variables to use in the message.