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.MessageDsn

Description

 
Synopsis

Documentation

data MessageDsn Source #

Message-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.

For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.

See: newMessageDsn smart constructor.

Constructors

MessageDsn' 

Fields

Instances

Instances details
Eq MessageDsn Source # 
Instance details

Defined in Amazonka.SES.Types.MessageDsn

Read MessageDsn Source # 
Instance details

Defined in Amazonka.SES.Types.MessageDsn

Show MessageDsn Source # 
Instance details

Defined in Amazonka.SES.Types.MessageDsn

Generic MessageDsn Source # 
Instance details

Defined in Amazonka.SES.Types.MessageDsn

Associated Types

type Rep MessageDsn :: Type -> Type #

NFData MessageDsn Source # 
Instance details

Defined in Amazonka.SES.Types.MessageDsn

Methods

rnf :: MessageDsn -> () #

Hashable MessageDsn Source # 
Instance details

Defined in Amazonka.SES.Types.MessageDsn

ToQuery MessageDsn Source # 
Instance details

Defined in Amazonka.SES.Types.MessageDsn

type Rep MessageDsn Source # 
Instance details

Defined in Amazonka.SES.Types.MessageDsn

type Rep MessageDsn = D1 ('MetaData "MessageDsn" "Amazonka.SES.Types.MessageDsn" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "MessageDsn'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arrivalDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "extensionFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExtensionField])) :*: S1 ('MetaSel ('Just "reportingMta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newMessageDsn Source #

Create a value of MessageDsn 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:arrivalDate:MessageDsn', messageDsn_arrivalDate - When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.

$sel:extensionFields:MessageDsn', messageDsn_extensionFields - Additional X-headers to include in the DSN.

$sel:reportingMta:MessageDsn', messageDsn_reportingMta - The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name). The default value is dns; inbound-smtp.[region].amazonaws.com.

messageDsn_arrivalDate :: Lens' MessageDsn (Maybe UTCTime) Source #

When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.

messageDsn_extensionFields :: Lens' MessageDsn (Maybe [ExtensionField]) Source #

Additional X-headers to include in the DSN.

messageDsn_reportingMta :: Lens' MessageDsn Text Source #

The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name). The default value is dns; inbound-smtp.[region].amazonaws.com.