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 an address book by the address book ARN.
Synopsis
- data DeleteAddressBook = DeleteAddressBook' {}
- newDeleteAddressBook :: Text -> DeleteAddressBook
- deleteAddressBook_addressBookArn :: Lens' DeleteAddressBook Text
- data DeleteAddressBookResponse = DeleteAddressBookResponse' {
- httpStatus :: Int
- newDeleteAddressBookResponse :: Int -> DeleteAddressBookResponse
- deleteAddressBookResponse_httpStatus :: Lens' DeleteAddressBookResponse Int
Creating a Request
data DeleteAddressBook Source #
See: newDeleteAddressBook
smart constructor.
DeleteAddressBook' | |
|
Instances
Create a value of DeleteAddressBook
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:addressBookArn:DeleteAddressBook'
, deleteAddressBook_addressBookArn
- The ARN of the address book to delete.
Request Lenses
deleteAddressBook_addressBookArn :: Lens' DeleteAddressBook Text Source #
The ARN of the address book to delete.
Destructuring the Response
data DeleteAddressBookResponse Source #
See: newDeleteAddressBookResponse
smart constructor.
DeleteAddressBookResponse' | |
|
Instances
newDeleteAddressBookResponse Source #
Create a value of DeleteAddressBookResponse
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:DeleteAddressBookResponse'
, deleteAddressBookResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAddressBookResponse_httpStatus :: Lens' DeleteAddressBookResponse Int Source #
The response's http status code.