| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SESV2.UpdateContactList
Description
Updates contact list metadata. This operation does a complete replacement.
Synopsis
- data UpdateContactList = UpdateContactList' {
- description :: Maybe Text
- topics :: Maybe [Topic]
- contactListName :: Text
- newUpdateContactList :: Text -> UpdateContactList
- updateContactList_description :: Lens' UpdateContactList (Maybe Text)
- updateContactList_topics :: Lens' UpdateContactList (Maybe [Topic])
- updateContactList_contactListName :: Lens' UpdateContactList Text
- data UpdateContactListResponse = UpdateContactListResponse' {
- httpStatus :: Int
- newUpdateContactListResponse :: Int -> UpdateContactListResponse
- updateContactListResponse_httpStatus :: Lens' UpdateContactListResponse Int
Creating a Request
data UpdateContactList Source #
See: newUpdateContactList smart constructor.
Constructors
| UpdateContactList' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateContactList |
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.
updateContactList_contactListName :: Lens' UpdateContactList Text Source #
The name of the contact list.
Destructuring the Response
data UpdateContactListResponse Source #
See: newUpdateContactListResponse smart constructor.
Constructors
| UpdateContactListResponse' | |
Fields
| |
Instances
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
updateContactListResponse_httpStatus :: Lens' UpdateContactListResponse Int Source #
The response's http status code.