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 |
Gets address the book details by the address book ARN.
Synopsis
- getAddressBook :: Text -> GetAddressBook
- data GetAddressBook
- gabAddressBookARN :: Lens' GetAddressBook Text
- getAddressBookResponse :: Int -> GetAddressBookResponse
- data GetAddressBookResponse
- gabrsAddressBook :: Lens' GetAddressBookResponse (Maybe AddressBook)
- gabrsResponseStatus :: Lens' GetAddressBookResponse Int
Creating a Request
Creates a value of GetAddressBook
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gabAddressBookARN
- The ARN of the address book for which to request details.
data GetAddressBook Source #
See: getAddressBook
smart constructor.
Instances
Request Lenses
gabAddressBookARN :: Lens' GetAddressBook Text Source #
The ARN of the address book for which to request details.
Destructuring the Response
getAddressBookResponse Source #
Creates a value of GetAddressBookResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gabrsAddressBook
- The details of the requested address book.gabrsResponseStatus
- -- | The response status code.
data GetAddressBookResponse Source #
See: getAddressBookResponse
smart constructor.
Instances
Response Lenses
gabrsAddressBook :: Lens' GetAddressBookResponse (Maybe AddressBook) Source #
The details of the requested address book.
gabrsResponseStatus :: Lens' GetAddressBookResponse Int Source #
- - | The response status code.