| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Chime.UpdateRoom
Description
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.
Constructors
| UpdateRoom' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateRoom |
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:
UpdateRoom, updateRoom_name - The room name.
UpdateRoom, updateRoom_accountId - The Amazon Chime account ID.
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.
Constructors
| UpdateRoomResponse' | |
Fields
| |
Instances
newUpdateRoomResponse Source #
Arguments
| :: Int | |
| -> UpdateRoomResponse |
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.