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 |
Gets address the book details by the address book ARN.
Synopsis
- data GetAddressBook = GetAddressBook' {}
- newGetAddressBook :: Text -> GetAddressBook
- getAddressBook_addressBookArn :: Lens' GetAddressBook Text
- data GetAddressBookResponse = GetAddressBookResponse' {}
- newGetAddressBookResponse :: Int -> GetAddressBookResponse
- getAddressBookResponse_addressBook :: Lens' GetAddressBookResponse (Maybe AddressBook)
- getAddressBookResponse_httpStatus :: Lens' GetAddressBookResponse Int
Creating a Request
data GetAddressBook Source #
See: newGetAddressBook
smart constructor.
GetAddressBook' | |
|
Instances
Create a value of GetAddressBook
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:GetAddressBook'
, getAddressBook_addressBookArn
- The ARN of the address book for which to request details.
Request Lenses
getAddressBook_addressBookArn :: Lens' GetAddressBook Text Source #
The ARN of the address book for which to request details.
Destructuring the Response
data GetAddressBookResponse Source #
See: newGetAddressBookResponse
smart constructor.
GetAddressBookResponse' | |
|
Instances
newGetAddressBookResponse Source #
Create a value of GetAddressBookResponse
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:addressBook:GetAddressBookResponse'
, getAddressBookResponse_addressBook
- The details of the requested address book.
$sel:httpStatus:GetAddressBookResponse'
, getAddressBookResponse_httpStatus
- The response's http status code.
Response Lenses
getAddressBookResponse_addressBook :: Lens' GetAddressBookResponse (Maybe AddressBook) Source #
The details of the requested address book.
getAddressBookResponse_httpStatus :: Lens' GetAddressBookResponse Int Source #
The response's http status code.