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 |
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.
DisassociateContactFromAddressBook' | |
|
Instances
newDisassociateContactFromAddressBook Source #
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:
$sel:contactArn:DisassociateContactFromAddressBook'
, disassociateContactFromAddressBook_contactArn
- The ARN of the contact to disassociate from an address book.
$sel:addressBookArn: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.
DisassociateContactFromAddressBookResponse' | |
|
Instances
Eq DisassociateContactFromAddressBookResponse Source # | |
Read DisassociateContactFromAddressBookResponse Source # | |
Show DisassociateContactFromAddressBookResponse Source # | |
Generic DisassociateContactFromAddressBookResponse Source # | |
NFData DisassociateContactFromAddressBookResponse Source # | |
type Rep DisassociateContactFromAddressBookResponse Source # | |
Defined in Amazonka.AlexaBusiness.DisassociateContactFromAddressBook type Rep DisassociateContactFromAddressBookResponse = D1 ('MetaData "DisassociateContactFromAddressBookResponse" "Amazonka.AlexaBusiness.DisassociateContactFromAddressBook" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "DisassociateContactFromAddressBookResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateContactFromAddressBookResponse Source #
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.