Class: Aws::Pinpoint::Types::MessageRequest

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

Overview

Specifies the configuration and other settings for a message.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#addressesHash<String,Types::AddressConfiguration>

A map of key-value pairs, where each key is an address and each value is an AddressConfiguration object. An address can be a push notification token, a phone number, or an email address. You can use an AddressConfiguration object to tailor the message for an address by specifying settings such as content overrides and message variables.

Returns:



9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9438

class MessageRequest < Struct.new(
  :addresses,
  :context,
  :endpoints,
  :message_configuration,
  :template_configuration,
  :trace_id)
  SENSITIVE = []
  include Aws::Structure
end

#contextHash<String,String>

A map of custom attributes to attach to the message. 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>)


9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9438

class MessageRequest < Struct.new(
  :addresses,
  :context,
  :endpoints,
  :message_configuration,
  :template_configuration,
  :trace_id)
  SENSITIVE = []
  include Aws::Structure
end

#endpointsHash<String,Types::EndpointSendConfiguration>

A map of key-value pairs, where each key is an endpoint ID and each value is an EndpointSendConfiguration object. You can use an EndpointSendConfiguration object to tailor the message for an endpoint by specifying settings such as content overrides and message variables.

Returns:



9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9438

class MessageRequest < Struct.new(
  :addresses,
  :context,
  :endpoints,
  :message_configuration,
  :template_configuration,
  :trace_id)
  SENSITIVE = []
  include Aws::Structure
end

#message_configurationTypes::DirectMessageConfiguration

The settings and content for the default message and any default messages that you defined for specific channels.



9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9438

class MessageRequest < Struct.new(
  :addresses,
  :context,
  :endpoints,
  :message_configuration,
  :template_configuration,
  :trace_id)
  SENSITIVE = []
  include Aws::Structure
end

#template_configurationTypes::TemplateConfiguration

The message template to use for the message.



9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9438

class MessageRequest < Struct.new(
  :addresses,
  :context,
  :endpoints,
  :message_configuration,
  :template_configuration,
  :trace_id)
  SENSITIVE = []
  include Aws::Structure
end

#trace_idString

The unique identifier for tracing the message. This identifier is visible to message recipients.

Returns:

  • (String)


9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9438

class MessageRequest < Struct.new(
  :addresses,
  :context,
  :endpoints,
  :message_configuration,
  :template_configuration,
  :trace_id)
  SENSITIVE = []
  include Aws::Structure
end