libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email
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.PinpointEmail.Types.Destination

Description

 
Synopsis

Documentation

data Destination Source #

An object that describes the recipients for an email.

See: newDestination smart constructor.

Constructors

Destination' 

Fields

  • bccAddresses :: Maybe [Text]

    An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.

  • ccAddresses :: Maybe [Text]

    An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.

  • toAddresses :: Maybe [Text]

    An array that contains the email addresses of the "To" recipients for the email.

Instances

Instances details
Eq Destination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.Destination

Read Destination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.Destination

Show Destination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.Destination

Generic Destination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.Destination

Associated Types

type Rep Destination :: Type -> Type #

NFData Destination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.Destination

Methods

rnf :: Destination -> () #

Hashable Destination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.Destination

ToJSON Destination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.Destination

type Rep Destination Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.Destination

type Rep Destination = D1 ('MetaData "Destination" "Amazonka.PinpointEmail.Types.Destination" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" '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 - An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.

$sel:ccAddresses:Destination', destination_ccAddresses - An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.

$sel:toAddresses:Destination', destination_toAddresses - An array that contains the email addresses of the "To" recipients for the email.

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

An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.

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

An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.

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

An array that contains the email addresses of the "To" recipients for the email.