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 |
Deletes a contact list and all of the contacts on that list.
Synopsis
- data DeleteContactList = DeleteContactList' {}
- newDeleteContactList :: Text -> DeleteContactList
- deleteContactList_contactListName :: Lens' DeleteContactList Text
- data DeleteContactListResponse = DeleteContactListResponse' {
- httpStatus :: Int
- newDeleteContactListResponse :: Int -> DeleteContactListResponse
- deleteContactListResponse_httpStatus :: Lens' DeleteContactListResponse Int
Creating a Request
data DeleteContactList Source #
See: newDeleteContactList
smart constructor.
DeleteContactList' | |
|
Instances
Create a value of DeleteContactList
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:DeleteContactList'
, deleteContactList_contactListName
- The name of the contact list.
Request Lenses
deleteContactList_contactListName :: Lens' DeleteContactList Text Source #
The name of the contact list.
Destructuring the Response
data DeleteContactListResponse Source #
See: newDeleteContactListResponse
smart constructor.
DeleteContactListResponse' | |
|
Instances
newDeleteContactListResponse Source #
Create a value of DeleteContactListResponse
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:DeleteContactListResponse'
, deleteContactListResponse_httpStatus
- The response's http status code.
Response Lenses
deleteContactListResponse_httpStatus :: Lens' DeleteContactListResponse Int Source #
The response's http status code.