Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Associates a contact with a given address book.
Synopsis
- associateContactWithAddressBook :: Text -> Text -> AssociateContactWithAddressBook
- data AssociateContactWithAddressBook
- acwabContactARN :: Lens' AssociateContactWithAddressBook Text
- acwabAddressBookARN :: Lens' AssociateContactWithAddressBook Text
- associateContactWithAddressBookResponse :: Int -> AssociateContactWithAddressBookResponse
- data AssociateContactWithAddressBookResponse
- acwabrsResponseStatus :: Lens' AssociateContactWithAddressBookResponse Int
Creating a Request
associateContactWithAddressBook Source #
Creates a value of AssociateContactWithAddressBook
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acwabContactARN
- The ARN of the contact to associate with an address book.acwabAddressBookARN
- The ARN of the address book with which to associate the contact.
data AssociateContactWithAddressBook Source #
See: associateContactWithAddressBook
smart constructor.
Instances
Request Lenses
acwabContactARN :: Lens' AssociateContactWithAddressBook Text Source #
The ARN of the contact to associate with an address book.
acwabAddressBookARN :: Lens' AssociateContactWithAddressBook Text Source #
The ARN of the address book with which to associate the contact.
Destructuring the Response
associateContactWithAddressBookResponse Source #
Creates a value of AssociateContactWithAddressBookResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acwabrsResponseStatus
- -- | The response status code.
data AssociateContactWithAddressBookResponse Source #
See: associateContactWithAddressBookResponse
smart constructor.
Instances
Response Lenses
acwabrsResponseStatus :: Lens' AssociateContactWithAddressBookResponse Int Source #
- - | The response status code.