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 room details, such as the room name, for a room in an Amazon Chime Enterprise account.
Synopsis
- data UpdateRoom = UpdateRoom' {}
- newUpdateRoom :: Text -> Text -> UpdateRoom
- updateRoom_name :: Lens' UpdateRoom (Maybe Text)
- updateRoom_accountId :: Lens' UpdateRoom Text
- updateRoom_roomId :: Lens' UpdateRoom Text
- data UpdateRoomResponse = UpdateRoomResponse' {
- room :: Maybe Room
- httpStatus :: Int
- newUpdateRoomResponse :: Int -> UpdateRoomResponse
- updateRoomResponse_room :: Lens' UpdateRoomResponse (Maybe Room)
- updateRoomResponse_httpStatus :: Lens' UpdateRoomResponse Int
Creating a Request
data UpdateRoom Source #
See: newUpdateRoom
smart constructor.
Instances
Create a value of UpdateRoom
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:UpdateRoom'
, updateRoom_name
- The room name.
$sel:accountId:UpdateRoom'
, updateRoom_accountId
- The Amazon Chime account ID.
$sel:roomId:UpdateRoom'
, updateRoom_roomId
- The room ID.
Request Lenses
updateRoom_name :: Lens' UpdateRoom (Maybe Text) Source #
The room name.
updateRoom_accountId :: Lens' UpdateRoom Text Source #
The Amazon Chime account ID.
updateRoom_roomId :: Lens' UpdateRoom Text Source #
The room ID.
Destructuring the Response
data UpdateRoomResponse Source #
See: newUpdateRoomResponse
smart constructor.
UpdateRoomResponse' | |
|
Instances
newUpdateRoomResponse Source #
Create a value of UpdateRoomResponse
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:room:UpdateRoomResponse'
, updateRoomResponse_room
- The room details.
$sel:httpStatus:UpdateRoomResponse'
, updateRoomResponse_httpStatus
- The response's http status code.
Response Lenses
updateRoomResponse_room :: Lens' UpdateRoomResponse (Maybe Room) Source #
The room details.
updateRoomResponse_httpStatus :: Lens' UpdateRoomResponse Int Source #
The response's http status code.