Class: Aws::Pinpoint::Types::EndpointSendConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::EndpointSendConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
When making an API call, you may pass EndpointSendConfiguration data as a hash:
{
body_override: "__string",
context: {
"__string" => "__string",
},
raw_content: "__string",
substitutions: {
"__string" => ["__string"],
},
title_override: "__string",
}
Specifies the content, including message variables and attributes, to use in a message that’s sent directly to an endpoint.
Instance Attribute Summary collapse
-
#body_override ⇒ String
The body of the message.
-
#context ⇒ Hash<String,String>
A map of custom attributes to attach to the message for the address.
-
#raw_content ⇒ String
The raw, JSON-formatted string to use as the payload for the message.
-
#substitutions ⇒ Hash<String,Array<String>>
A map of the message variables to merge with the variables specified for the default message (DefaultMessage.Substitutions).
-
#title_override ⇒ String
The title or subject line of the message.
Instance Attribute Details
#body_override ⇒ String
The body of the message. If specified, this value overrides the default message body.
6765 6766 6767 6768 6769 6770 6771 6772 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6765 class EndpointSendConfiguration < Struct.new( :body_override, :context, :raw_content, :substitutions, :title_override) include Aws::Structure end |
#context ⇒ Hash<String,String>
A map of custom attributes to attach to the message for the address. Attribute names are case sensitive.
For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.
6765 6766 6767 6768 6769 6770 6771 6772 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6765 class EndpointSendConfiguration < Struct.new( :body_override, :context, :raw_content, :substitutions, :title_override) include Aws::Structure end |
#raw_content ⇒ String
The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.
6765 6766 6767 6768 6769 6770 6771 6772 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6765 class EndpointSendConfiguration < Struct.new( :body_override, :context, :raw_content, :substitutions, :title_override) include Aws::Structure end |
#substitutions ⇒ Hash<String,Array<String>>
A map of the message variables to merge with the variables specified for the default message (DefaultMessage.Substitutions). The variables specified in this map take precedence over all other variables.
6765 6766 6767 6768 6769 6770 6771 6772 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6765 class EndpointSendConfiguration < Struct.new( :body_override, :context, :raw_content, :substitutions, :title_override) include Aws::Structure end |
#title_override ⇒ String
The title or subject line of the message. If specified, this value overrides the default message title or subject line.
6765 6766 6767 6768 6769 6770 6771 6772 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6765 class EndpointSendConfiguration < Struct.new( :body_override, :context, :raw_content, :substitutions, :title_override) include Aws::Structure end |