You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AddHeaderAction as input to an Aws::Client method, you can use a vanilla Hash:

{
  header_name: "HeaderName", # required
  header_value: "HeaderValue", # required
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#header_nameString

The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

Returns:

  • (String)

    The name of the header to add.

#header_valueString

Must be less than 2048 characters, and must not contain newline characters (\"\r\" or \"\n\").

Returns:

  • (String)

    Must be less than 2048 characters, and must not contain newline characters (\"\r\" or \"\n\").