| 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 |
Network.AWS.AlexaBusiness.ResolveRoom
Description
Determines the details for the room from which a skill request was invoked. This operation is used by skill developers.
- resolveRoom :: Text -> Text -> ResolveRoom
- data ResolveRoom
- rrUserId :: Lens' ResolveRoom Text
- rrSkillId :: Lens' ResolveRoom Text
- resolveRoomResponse :: Int -> ResolveRoomResponse
- data ResolveRoomResponse
- rrrsRoomSkillParameters :: Lens' ResolveRoomResponse [RoomSkillParameter]
- rrrsRoomARN :: Lens' ResolveRoomResponse (Maybe Text)
- rrrsRoomName :: Lens' ResolveRoomResponse (Maybe Text)
- rrrsResponseStatus :: Lens' ResolveRoomResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> ResolveRoom |
Creates a value of ResolveRoom with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResolveRoom Source #
See: resolveRoom smart constructor.
Instances
Request Lenses
Destructuring the Response
Arguments
| :: Int | |
| -> ResolveRoomResponse |
Creates a value of ResolveRoomResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrrsRoomSkillParameters- Response to get the room profile request. Required.rrrsRoomARN- The ARN of the room from which the skill request was invoked.rrrsRoomName- The name of the room from which the skill request was invoked.rrrsResponseStatus- -- | The response status code.
data ResolveRoomResponse Source #
See: resolveRoomResponse smart constructor.
Response Lenses
rrrsRoomSkillParameters :: Lens' ResolveRoomResponse [RoomSkillParameter] Source #
Response to get the room profile request. Required.
rrrsRoomARN :: Lens' ResolveRoomResponse (Maybe Text) Source #
The ARN of the room from which the skill request was invoked.
rrrsRoomName :: Lens' ResolveRoomResponse (Maybe Text) Source #
The name of the room from which the skill request was invoked.
rrrsResponseStatus :: Lens' ResolveRoomResponse Int Source #
- - | The response status code.