Class: Aws::Pinpoint::Types::DefaultMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass DefaultMessage data as a hash:

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

Default Message across push notification, email, and sms.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

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

Returns:

  • (String)


1108
1109
1110
1111
1112
# File 'lib/aws-sdk-pinpoint/types.rb', line 1108

class DefaultMessage < Struct.new(
  :body,
  :substitutions)
  include Aws::Structure
end

#substitutionsHash<String,Array<String>>

Returns:

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


1108
1109
1110
1111
1112
# File 'lib/aws-sdk-pinpoint/types.rb', line 1108

class DefaultMessage < Struct.new(
  :body,
  :substitutions)
  include Aws::Structure
end