Class: Aws::Pinpoint::Types::MessageHeader

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

Overview

Contains the name and value pair of an email header to add to your email. You can have up to 15 MessageHeaders. A header can contain information such as the sender, receiver, route, or timestamp.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the message header. The header name can contain up to 126 characters.

Returns:

  • (String)


11777
11778
11779
11780
11781
11782
# File 'lib/aws-sdk-pinpoint/types.rb', line 11777

class MessageHeader < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the CreationDate attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.

Returns:

  • (String)


11777
11778
11779
11780
11781
11782
# File 'lib/aws-sdk-pinpoint/types.rb', line 11777

class MessageHeader < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end