| 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.AlexaBusiness.DisassociateContactFromAddressBook
Description
Disassociates a contact from a given address book.
Synopsis
- data DisassociateContactFromAddressBook = DisassociateContactFromAddressBook' {
- contactArn :: Text
- addressBookArn :: Text
- newDisassociateContactFromAddressBook :: Text -> Text -> DisassociateContactFromAddressBook
- disassociateContactFromAddressBook_contactArn :: Lens' DisassociateContactFromAddressBook Text
- disassociateContactFromAddressBook_addressBookArn :: Lens' DisassociateContactFromAddressBook Text
- data DisassociateContactFromAddressBookResponse = DisassociateContactFromAddressBookResponse' {
- httpStatus :: Int
- newDisassociateContactFromAddressBookResponse :: Int -> DisassociateContactFromAddressBookResponse
- disassociateContactFromAddressBookResponse_httpStatus :: Lens' DisassociateContactFromAddressBookResponse Int
Creating a Request
data DisassociateContactFromAddressBook Source #
See: newDisassociateContactFromAddressBook smart constructor.
Constructors
| DisassociateContactFromAddressBook' | |
Fields
| |
Instances
newDisassociateContactFromAddressBook Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisassociateContactFromAddressBook |
Create a value of DisassociateContactFromAddressBook 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:
DisassociateContactFromAddressBook, disassociateContactFromAddressBook_contactArn - The ARN of the contact to disassociate from an address book.
DisassociateContactFromAddressBook, disassociateContactFromAddressBook_addressBookArn - The ARN of the address from which to disassociate the contact.
Request Lenses
disassociateContactFromAddressBook_contactArn :: Lens' DisassociateContactFromAddressBook Text Source #
The ARN of the contact to disassociate from an address book.
disassociateContactFromAddressBook_addressBookArn :: Lens' DisassociateContactFromAddressBook Text Source #
The ARN of the address from which to disassociate the contact.
Destructuring the Response
data DisassociateContactFromAddressBookResponse Source #
See: newDisassociateContactFromAddressBookResponse smart constructor.
Constructors
| DisassociateContactFromAddressBookResponse' | |
Fields
| |
Instances
newDisassociateContactFromAddressBookResponse Source #
Arguments
| :: Int | |
| -> DisassociateContactFromAddressBookResponse |
Create a value of DisassociateContactFromAddressBookResponse 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:DisassociateContactFromAddressBookResponse', disassociateContactFromAddressBookResponse_httpStatus - The response's http status code.
Response Lenses
disassociateContactFromAddressBookResponse_httpStatus :: Lens' DisassociateContactFromAddressBookResponse Int Source #
The response's http status code.