Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates contact list metadata. This operation does a complete replacement.
Synopsis
- data UpdateContactList = UpdateContactList' {
- topics :: Maybe [Topic]
- description :: Maybe Text
- contactListName :: Text
- newUpdateContactList :: Text -> UpdateContactList
- updateContactList_topics :: Lens' UpdateContactList (Maybe [Topic])
- updateContactList_description :: Lens' UpdateContactList (Maybe Text)
- 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.
UpdateContactList' | |
|
Instances
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:
$sel:topics:UpdateContactList'
, updateContactList_topics
- An interest group, theme, or label within a list. A contact list can
have multiple topics.
$sel:description:UpdateContactList'
, updateContactList_description
- A description of what the contact list is about.
$sel:contactListName:UpdateContactList'
, updateContactList_contactListName
- The name of the contact list.
Request Lenses
updateContactList_topics :: Lens' UpdateContactList (Maybe [Topic]) Source #
An interest group, theme, or label within a list. A contact list can have multiple topics.
updateContactList_description :: Lens' UpdateContactList (Maybe Text) Source #
A description of what the contact list is about.
updateContactList_contactListName :: Lens' UpdateContactList Text Source #
The name of the contact list.
Destructuring the Response
data UpdateContactListResponse Source #
See: newUpdateContactListResponse
smart constructor.
UpdateContactListResponse' | |
|
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.