Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets room details by room ARN.
Synopsis
- getRoom :: GetRoom
- data GetRoom
- grRoomARN :: Lens' GetRoom (Maybe Text)
- getRoomResponse :: Int -> GetRoomResponse
- data GetRoomResponse
- grrsRoom :: Lens' GetRoomResponse (Maybe Room)
- grrsResponseStatus :: Lens' GetRoomResponse Int
Creating a Request
See: getRoom
smart constructor.
Instances
Request Lenses
grRoomARN :: Lens' GetRoom (Maybe Text) Source #
The ARN of the room for which to request details. Required.
Destructuring the Response
Creates a value of GetRoomResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grrsRoom
- The details of the room requested.grrsResponseStatus
- -- | The response status code.
data GetRoomResponse Source #
See: getRoomResponse
smart constructor.
Instances
Response Lenses
grrsResponseStatus :: Lens' GetRoomResponse Int Source #
- - | The response status code.