Class: Aws::Pinpoint::Types::EndpointSendConfiguration

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

Overview

Specifies the content, including message variables and attributes, to use in a message that’s sent directly to an endpoint.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#body_overrideString

The body of the message. If specified, this value overrides the default message body.

Returns:

  • (String)


5136
5137
5138
5139
5140
5141
5142
5143
5144
# File 'lib/aws-sdk-pinpoint/types.rb', line 5136

class EndpointSendConfiguration < Struct.new(
  :body_override,
  :context,
  :raw_content,
  :substitutions,
  :title_override)
  SENSITIVE = []
  include Aws::Structure
end

#contextHash<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.

Returns:

  • (Hash<String,String>)


5136
5137
5138
5139
5140
5141
5142
5143
5144
# File 'lib/aws-sdk-pinpoint/types.rb', line 5136

class EndpointSendConfiguration < Struct.new(
  :body_override,
  :context,
  :raw_content,
  :substitutions,
  :title_override)
  SENSITIVE = []
  include Aws::Structure
end

#raw_contentString

The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.

Returns:

  • (String)


5136
5137
5138
5139
5140
5141
5142
5143
5144
# File 'lib/aws-sdk-pinpoint/types.rb', line 5136

class EndpointSendConfiguration < Struct.new(
  :body_override,
  :context,
  :raw_content,
  :substitutions,
  :title_override)
  SENSITIVE = []
  include Aws::Structure
end

#substitutionsHash<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.

Returns:

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


5136
5137
5138
5139
5140
5141
5142
5143
5144
# File 'lib/aws-sdk-pinpoint/types.rb', line 5136

class EndpointSendConfiguration < Struct.new(
  :body_override,
  :context,
  :raw_content,
  :substitutions,
  :title_override)
  SENSITIVE = []
  include Aws::Structure
end

#title_overrideString

The title or subject line of the message. If specified, this value overrides the default message title or subject line.

Returns:

  • (String)


5136
5137
5138
5139
5140
5141
5142
5143
5144
# File 'lib/aws-sdk-pinpoint/types.rb', line 5136

class EndpointSendConfiguration < Struct.new(
  :body_override,
  :context,
  :raw_content,
  :substitutions,
  :title_override)
  SENSITIVE = []
  include Aws::Structure
end