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

Description

 
Synopsis

Documentation

data Destination Source #

Represents the destination of the message, consisting of To:, CC:, and BCC: fields.

Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.

See: newDestination smart constructor.

Constructors

Destination' 

Fields

Instances

Instances details
Eq Destination Source # 
Instance details

Defined in Amazonka.SES.Types.Destination

Read Destination Source # 
Instance details

Defined in Amazonka.SES.Types.Destination

Show Destination Source # 
Instance details

Defined in Amazonka.SES.Types.Destination

Generic Destination Source # 
Instance details

Defined in Amazonka.SES.Types.Destination

Associated Types

type Rep Destination :: Type -> Type #

NFData Destination Source # 
Instance details

Defined in Amazonka.SES.Types.Destination

Methods

rnf :: Destination -> () #

Hashable Destination Source # 
Instance details

Defined in Amazonka.SES.Types.Destination

ToQuery Destination Source # 
Instance details

Defined in Amazonka.SES.Types.Destination

type Rep Destination Source # 
Instance details

Defined in Amazonka.SES.Types.Destination

type Rep Destination = D1 ('MetaData "Destination" "Amazonka.SES.Types.Destination" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "Destination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bccAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "ccAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "toAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newDestination :: Destination Source #

Create a value of Destination 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:bccAddresses:Destination', destination_bccAddresses - The recipients to place on the BCC: line of the message.

$sel:ccAddresses:Destination', destination_ccAddresses - The recipients to place on the CC: line of the message.

$sel:toAddresses:Destination', destination_toAddresses - The recipients to place on the To: line of the message.

destination_bccAddresses :: Lens' Destination (Maybe [Text]) Source #

The recipients to place on the BCC: line of the message.

destination_ccAddresses :: Lens' Destination (Maybe [Text]) Source #

The recipients to place on the CC: line of the message.

destination_toAddresses :: Lens' Destination (Maybe [Text]) Source #

The recipients to place on the To: line of the message.