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

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

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

Overview

Note:

When making an API call, you may pass AddHeaderAction data as a 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.

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)


42
43
44
45
46
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 42

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

#header_valueString

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

Returns:

  • (String)


42
43
44
45
46
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 42

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