amazonka-ses-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SES.Types.BouncedRecipientInfo

Description

 
Synopsis

Documentation

data BouncedRecipientInfo Source #

Recipient-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: newBouncedRecipientInfo smart constructor.

Constructors

BouncedRecipientInfo' 

Fields

  • bounceType :: Maybe BounceType

    The reason for the bounce. You must provide either this parameter or RecipientDsnFields.

  • recipientArn :: Maybe Text

    This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.

  • recipientDsnFields :: Maybe RecipientDsnFields

    Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType. You must provide either this parameter or BounceType.

  • recipient :: Text

    The email address of the recipient of the bounced email.

Instances

Instances details
ToQuery BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

Generic BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

Associated Types

type Rep BouncedRecipientInfo :: Type -> Type #

Read BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

Show BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

NFData BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

Methods

rnf :: BouncedRecipientInfo -> () #

Eq BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

Hashable BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

type Rep BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

type Rep BouncedRecipientInfo = D1 ('MetaData "BouncedRecipientInfo" "Amazonka.SES.Types.BouncedRecipientInfo" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "BouncedRecipientInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bounceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BounceType)) :*: S1 ('MetaSel ('Just "recipientArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "recipientDsnFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecipientDsnFields)) :*: S1 ('MetaSel ('Just "recipient") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newBouncedRecipientInfo Source #

Create a value of BouncedRecipientInfo 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:bounceType:BouncedRecipientInfo', bouncedRecipientInfo_bounceType - The reason for the bounce. You must provide either this parameter or RecipientDsnFields.

$sel:recipientArn:BouncedRecipientInfo', bouncedRecipientInfo_recipientArn - This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.

$sel:recipientDsnFields:BouncedRecipientInfo', bouncedRecipientInfo_recipientDsnFields - Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType. You must provide either this parameter or BounceType.

$sel:recipient:BouncedRecipientInfo', bouncedRecipientInfo_recipient - The email address of the recipient of the bounced email.

bouncedRecipientInfo_bounceType :: Lens' BouncedRecipientInfo (Maybe BounceType) Source #

The reason for the bounce. You must provide either this parameter or RecipientDsnFields.

bouncedRecipientInfo_recipientArn :: Lens' BouncedRecipientInfo (Maybe Text) Source #

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.

bouncedRecipientInfo_recipientDsnFields :: Lens' BouncedRecipientInfo (Maybe RecipientDsnFields) Source #

Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType. You must provide either this parameter or BounceType.

bouncedRecipientInfo_recipient :: Lens' BouncedRecipientInfo Text Source #

The email address of the recipient of the bounced email.