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 |
Updates address book details by the address book ARN.
Synopsis
- data UpdateAddressBook = UpdateAddressBook' {
- name :: Maybe Text
- description :: Maybe Text
- addressBookArn :: Text
- newUpdateAddressBook :: Text -> UpdateAddressBook
- updateAddressBook_name :: Lens' UpdateAddressBook (Maybe Text)
- updateAddressBook_description :: Lens' UpdateAddressBook (Maybe Text)
- updateAddressBook_addressBookArn :: Lens' UpdateAddressBook Text
- data UpdateAddressBookResponse = UpdateAddressBookResponse' {
- httpStatus :: Int
- newUpdateAddressBookResponse :: Int -> UpdateAddressBookResponse
- updateAddressBookResponse_httpStatus :: Lens' UpdateAddressBookResponse Int
Creating a Request
data UpdateAddressBook Source #
See: newUpdateAddressBook
smart constructor.
UpdateAddressBook' | |
|
Instances
Create a value of UpdateAddressBook
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:name:UpdateAddressBook'
, updateAddressBook_name
- The updated name of the room.
$sel:description:UpdateAddressBook'
, updateAddressBook_description
- The updated description of the room.
$sel:addressBookArn:UpdateAddressBook'
, updateAddressBook_addressBookArn
- The ARN of the room to update.
Request Lenses
updateAddressBook_name :: Lens' UpdateAddressBook (Maybe Text) Source #
The updated name of the room.
updateAddressBook_description :: Lens' UpdateAddressBook (Maybe Text) Source #
The updated description of the room.
updateAddressBook_addressBookArn :: Lens' UpdateAddressBook Text Source #
The ARN of the room to update.
Destructuring the Response
data UpdateAddressBookResponse Source #
See: newUpdateAddressBookResponse
smart constructor.
UpdateAddressBookResponse' | |
|
Instances
newUpdateAddressBookResponse Source #
Create a value of UpdateAddressBookResponse
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:UpdateAddressBookResponse'
, updateAddressBookResponse_httpStatus
- The response's http status code.
Response Lenses
updateAddressBookResponse_httpStatus :: Lens' UpdateAddressBookResponse Int Source #
The response's http status code.