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 room details by room ARN.
Synopsis
- data GetRoom = GetRoom' {}
- newGetRoom :: GetRoom
- getRoom_roomArn :: Lens' GetRoom (Maybe Text)
- data GetRoomResponse = GetRoomResponse' {
- room :: Maybe Room
- httpStatus :: Int
- newGetRoomResponse :: Int -> GetRoomResponse
- getRoomResponse_room :: Lens' GetRoomResponse (Maybe Room)
- getRoomResponse_httpStatus :: Lens' GetRoomResponse Int
Creating a Request
See: newGetRoom
smart constructor.
Instances
newGetRoom :: GetRoom Source #
Create a value of GetRoom
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:roomArn:GetRoom'
, getRoom_roomArn
- The ARN of the room for which to request details. Required.
Request Lenses
getRoom_roomArn :: Lens' GetRoom (Maybe Text) Source #
The ARN of the room for which to request details. Required.
Destructuring the Response
data GetRoomResponse Source #
See: newGetRoomResponse
smart constructor.
GetRoomResponse' | |
|
Instances
Create a value of GetRoomResponse
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:GetRoomResponse'
, getRoomResponse_room
- The details of the room requested.
$sel:httpStatus:GetRoomResponse'
, getRoomResponse_httpStatus
- The response's http status code.
Response Lenses
getRoomResponse_room :: Lens' GetRoomResponse (Maybe Room) Source #
The details of the room requested.
getRoomResponse_httpStatus :: Lens' GetRoomResponse Int Source #
The response's http status code.