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

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

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

  • recipient :: Text

    The email address of the recipient of the bounced email.

Instances

Instances details
Eq BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

Read BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

Show 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 #

NFData BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

Methods

rnf :: BouncedRecipientInfo -> () #

Hashable BouncedRecipientInfo Source # 
Instance details

Defined in Amazonka.SES.Types.BouncedRecipientInfo

ToQuery 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" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "BouncedRecipientInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bounceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BounceType)) :*: S1 ('MetaSel ('Just "recipientDsnFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecipientDsnFields))) :*: (S1 ('MetaSel ('Just "recipientArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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: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: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: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_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_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_recipient :: Lens' BouncedRecipientInfo Text Source #

The email address of the recipient of the bounced email.