amazonka-sesv2-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SESV2.UpdateContactList

Description

Updates contact list metadata. This operation does a complete replacement.

Synopsis

Creating a Request

data UpdateContactList Source #

See: newUpdateContactList smart constructor.

Constructors

UpdateContactList' 

Fields

Instances

Instances details
ToJSON UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

ToHeaders UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

ToPath UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

ToQuery UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

AWSRequest UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

Associated Types

type AWSResponse UpdateContactList #

Generic UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

Associated Types

type Rep UpdateContactList :: Type -> Type #

Read UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

Show UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

NFData UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

Methods

rnf :: UpdateContactList -> () #

Eq UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

Hashable UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

type AWSResponse UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

type Rep UpdateContactList Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

type Rep UpdateContactList = D1 ('MetaData "UpdateContactList" "Amazonka.SESV2.UpdateContactList" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "UpdateContactList'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "topics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Topic])) :*: S1 ('MetaSel ('Just "contactListName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateContactList Source #

Create a value of UpdateContactList 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:

UpdateContactList, updateContactList_description - A description of what the contact list is about.

$sel:topics:UpdateContactList', updateContactList_topics - An interest group, theme, or label within a list. A contact list can have multiple topics.

UpdateContactList, updateContactList_contactListName - The name of the contact list.

Request Lenses

updateContactList_description :: Lens' UpdateContactList (Maybe Text) Source #

A description of what the contact list is about.

updateContactList_topics :: Lens' UpdateContactList (Maybe [Topic]) Source #

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

Destructuring the Response

data UpdateContactListResponse Source #

See: newUpdateContactListResponse smart constructor.

Constructors

UpdateContactListResponse' 

Fields

Instances

Instances details
Generic UpdateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

Associated Types

type Rep UpdateContactListResponse :: Type -> Type #

Read UpdateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

Show UpdateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

NFData UpdateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

Eq UpdateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

type Rep UpdateContactListResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateContactList

type Rep UpdateContactListResponse = D1 ('MetaData "UpdateContactListResponse" "Amazonka.SESV2.UpdateContactList" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "UpdateContactListResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateContactListResponse Source #

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

Response Lenses