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 by room ARN.
Synopsis
- data UpdateRoom = UpdateRoom' {
- profileArn :: Maybe Text
- providerCalendarId :: Maybe Text
- roomArn :: Maybe Text
- roomName :: Maybe Text
- description :: Maybe Text
- newUpdateRoom :: UpdateRoom
- updateRoom_profileArn :: Lens' UpdateRoom (Maybe Text)
- updateRoom_providerCalendarId :: Lens' UpdateRoom (Maybe Text)
- updateRoom_roomArn :: Lens' UpdateRoom (Maybe Text)
- updateRoom_roomName :: Lens' UpdateRoom (Maybe Text)
- updateRoom_description :: Lens' UpdateRoom (Maybe Text)
- data UpdateRoomResponse = UpdateRoomResponse' {
- httpStatus :: Int
- newUpdateRoomResponse :: Int -> UpdateRoomResponse
- updateRoomResponse_httpStatus :: Lens' UpdateRoomResponse Int
Creating a Request
data UpdateRoom Source #
See: newUpdateRoom
smart constructor.
UpdateRoom' | |
|
Instances
newUpdateRoom :: UpdateRoom Source #
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:profileArn:UpdateRoom'
, updateRoom_profileArn
- The updated profile ARN for the room.
$sel:providerCalendarId:UpdateRoom'
, updateRoom_providerCalendarId
- The updated provider calendar ARN for the room.
$sel:roomArn:UpdateRoom'
, updateRoom_roomArn
- The ARN of the room to update.
$sel:roomName:UpdateRoom'
, updateRoom_roomName
- The updated name for the room.
$sel:description:UpdateRoom'
, updateRoom_description
- The updated description for the room.
Request Lenses
updateRoom_profileArn :: Lens' UpdateRoom (Maybe Text) Source #
The updated profile ARN for the room.
updateRoom_providerCalendarId :: Lens' UpdateRoom (Maybe Text) Source #
The updated provider calendar ARN for the room.
updateRoom_roomArn :: Lens' UpdateRoom (Maybe Text) Source #
The ARN of the room to update.
updateRoom_roomName :: Lens' UpdateRoom (Maybe Text) Source #
The updated name for the room.
updateRoom_description :: Lens' UpdateRoom (Maybe Text) Source #
The updated description for the room.
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:httpStatus:UpdateRoomResponse'
, updateRoomResponse_httpStatus
- The response's http status code.
Response Lenses
updateRoomResponse_httpStatus :: Lens' UpdateRoomResponse Int Source #
The response's http status code.