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

Description

Creates a contact list.

Synopsis

Creating a Request

data CreateContactList Source #

See: newCreateContactList smart constructor.

Constructors

CreateContactList' 

Fields

Instances

Instances details
Eq CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Read CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Show CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Generic CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Associated Types

type Rep CreateContactList :: Type -> Type #

NFData CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Methods

rnf :: CreateContactList -> () #

Hashable CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

ToJSON CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

AWSRequest CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Associated Types

type AWSResponse CreateContactList #

ToHeaders CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

ToPath CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

ToQuery CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

type Rep CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

type Rep CreateContactList = D1 ('MetaData "CreateContactList" "Amazonka.SESV2.CreateContactList" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "CreateContactList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "topics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Topic])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "contactListName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateContactList Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

newCreateContactList Source #

Create a value of CreateContactList 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:topics:CreateContactList', createContactList_topics - An interest group, theme, or label within a list. A contact list can have multiple topics.

$sel:description:CreateContactList', createContactList_description - A description of what the contact list is about.

$sel:tags:CreateContactList', createContactList_tags - The tags associated with a contact list.

$sel:contactListName:CreateContactList', createContactList_contactListName - The name of the contact list.

Request Lenses

createContactList_topics :: Lens' CreateContactList (Maybe [Topic]) Source #

An interest group, theme, or label within a list. A contact list can have multiple topics.

createContactList_description :: Lens' CreateContactList (Maybe Text) Source #

A description of what the contact list is about.

createContactList_tags :: Lens' CreateContactList (Maybe [Tag]) Source #

The tags associated with a contact list.

Destructuring the Response

data CreateContactListResponse Source #

See: newCreateContactListResponse smart constructor.

Constructors

CreateContactListResponse' 

Fields

Instances

Instances details
Eq CreateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Read CreateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Show CreateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Generic CreateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

Associated Types

type Rep CreateContactListResponse :: Type -> Type #

NFData CreateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

type Rep CreateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateContactList

type Rep CreateContactListResponse = D1 ('MetaData "CreateContactListResponse" "Amazonka.SESV2.CreateContactList" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "CreateContactListResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateContactListResponse Source #

Create a value of CreateContactListResponse 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:httpStatus:CreateContactListResponse', createContactListResponse_httpStatus - The response's http status code.

Response Lenses