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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/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)


1691
1692
1693
1694
1695
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1691

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

#substitutionsHash<String,Array<String>>

Returns:

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


1691
1692
1693
1694
1695
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1691

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