Class: Aws::SES::Types::AddHeaderAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::SES::Types::AddHeaderAction
- Includes:
- Aws::Structure
- Defined in:
- 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].
[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-add-header.html
Instance Attribute Summary collapse
-
#header_name ⇒ String
The name of the header to add.
-
#header_value ⇒ String
Must be less than 2048 characters, and must not contain newline characters (“\r” or “\n”).
Instance Attribute Details
#header_name ⇒ String
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.
42 43 44 45 46 |
# File 'lib/aws-sdk-ses/types.rb', line 42 class AddHeaderAction < Struct.new( :header_name, :header_value) include Aws::Structure end |
#header_value ⇒ String
Must be less than 2048 characters, and must not contain newline characters (“\r” or “\n”).
42 43 44 45 46 |
# File 'lib/aws-sdk-ses/types.rb', line 42 class AddHeaderAction < Struct.new( :header_name, :header_value) include Aws::Structure end |