libZSservicesZSamazonka-sesZSamazonka-ses
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SES.Types.AddHeaderAction

Description

 
Synopsis

Documentation

data AddHeaderAction Source #

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.

See: newAddHeaderAction smart constructor.

Constructors

AddHeaderAction' 

Fields

  • headerName :: Text

    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.

  • headerValue :: Text

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

Instances

Instances details
Eq AddHeaderAction Source # 
Instance details

Defined in Amazonka.SES.Types.AddHeaderAction

Read AddHeaderAction Source # 
Instance details

Defined in Amazonka.SES.Types.AddHeaderAction

Show AddHeaderAction Source # 
Instance details

Defined in Amazonka.SES.Types.AddHeaderAction

Generic AddHeaderAction Source # 
Instance details

Defined in Amazonka.SES.Types.AddHeaderAction

Associated Types

type Rep AddHeaderAction :: Type -> Type #

NFData AddHeaderAction Source # 
Instance details

Defined in Amazonka.SES.Types.AddHeaderAction

Methods

rnf :: AddHeaderAction -> () #

Hashable AddHeaderAction Source # 
Instance details

Defined in Amazonka.SES.Types.AddHeaderAction

ToQuery AddHeaderAction Source # 
Instance details

Defined in Amazonka.SES.Types.AddHeaderAction

FromXML AddHeaderAction Source # 
Instance details

Defined in Amazonka.SES.Types.AddHeaderAction

type Rep AddHeaderAction Source # 
Instance details

Defined in Amazonka.SES.Types.AddHeaderAction

type Rep AddHeaderAction = D1 ('MetaData "AddHeaderAction" "Amazonka.SES.Types.AddHeaderAction" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "AddHeaderAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "headerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAddHeaderAction Source #

Create a value of AddHeaderAction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:headerName:AddHeaderAction', addHeaderAction_headerName - 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.

$sel:headerValue:AddHeaderAction', addHeaderAction_headerValue - Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").

addHeaderAction_headerName :: Lens' AddHeaderAction Text Source #

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.

addHeaderAction_headerValue :: Lens' AddHeaderAction Text Source #

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