libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
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.SESV2.Types.ContactListDestination

Description

 
Synopsis

Documentation

data ContactListDestination Source #

An object that contains details about the action of a contact list.

See: newContactListDestination smart constructor.

Constructors

ContactListDestination' 

Fields

  • contactListName :: Text

    The name of the contact list.

  • contactListImportAction :: ContactListImportAction
    The type of action to perform on the addresses. The following are the

    possible values:

    • PUT: add the addresses to the contact list. If the record already exists, it will override it with the new value.
    • DELETE: remove the addresses from the contact list.

Instances

Instances details
Eq ContactListDestination Source # 
Instance details

Defined in Amazonka.SESV2.Types.ContactListDestination

Read ContactListDestination Source # 
Instance details

Defined in Amazonka.SESV2.Types.ContactListDestination

Show ContactListDestination Source # 
Instance details

Defined in Amazonka.SESV2.Types.ContactListDestination

Generic ContactListDestination Source # 
Instance details

Defined in Amazonka.SESV2.Types.ContactListDestination

Associated Types

type Rep ContactListDestination :: Type -> Type #

NFData ContactListDestination Source # 
Instance details

Defined in Amazonka.SESV2.Types.ContactListDestination

Methods

rnf :: ContactListDestination -> () #

Hashable ContactListDestination Source # 
Instance details

Defined in Amazonka.SESV2.Types.ContactListDestination

ToJSON ContactListDestination Source # 
Instance details

Defined in Amazonka.SESV2.Types.ContactListDestination

FromJSON ContactListDestination Source # 
Instance details

Defined in Amazonka.SESV2.Types.ContactListDestination

type Rep ContactListDestination Source # 
Instance details

Defined in Amazonka.SESV2.Types.ContactListDestination

type Rep ContactListDestination = D1 ('MetaData "ContactListDestination" "Amazonka.SESV2.Types.ContactListDestination" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "ContactListDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactListName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contactListImportAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContactListImportAction)))

newContactListDestination Source #

Create a value of ContactListDestination 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:contactListName:ContactListDestination', contactListDestination_contactListName - The name of the contact list.

$sel:contactListImportAction:ContactListDestination', contactListDestination_contactListImportAction - >The type of action to perform on the addresses. The following are the possible values:

  • PUT: add the addresses to the contact list. If the record already exists, it will override it with the new value.
  • DELETE: remove the addresses from the contact list.

contactListDestination_contactListImportAction :: Lens' ContactListDestination ContactListImportAction Source #

The type of action to perform on the addresses. The following are the

possible values:

  • PUT: add the addresses to the contact list. If the record already exists, it will override it with the new value.
  • DELETE: remove the addresses from the contact list.