Class: Aws::SES::Types::AddHeaderAction

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

Overview

When included in a receipt rule, this action adds a header to the received email.

For information about adding a header using a receipt rule, see the [Amazon SES Developer Guide].

[1]: docs.aws.amazon.com/ses/latest/dg/receiving-email-action-add-header.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#header_nameString

The name of the header to add to the incoming message. The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.

Returns:

  • (String)


47
48
49
50
51
52
# File 'lib/aws-sdk-ses/types.rb', line 47

class AddHeaderAction < Struct.new(
  :header_name,
  :header_value)
  SENSITIVE = []
  include Aws::Structure
end

#header_valueString

The content to include in the header. This value can contain up to 2048 characters. It can’t contain newline (‘n`) or carriage return (`r`) characters.

Returns:

  • (String)


47
48
49
50
51
52
# File 'lib/aws-sdk-ses/types.rb', line 47

class AddHeaderAction < Struct.new(
  :header_name,
  :header_value)
  SENSITIVE = []
  include Aws::Structure
end