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 |
Associates a device with a given room. This applies all the settings from the room profile to the device, and all the skills in any skill groups added to that room. This operation requires the device to be online, or else a manual sync is required.
Synopsis
- associateDeviceWithRoom :: AssociateDeviceWithRoom
- data AssociateDeviceWithRoom
- adwrDeviceARN :: Lens' AssociateDeviceWithRoom (Maybe Text)
- adwrRoomARN :: Lens' AssociateDeviceWithRoom (Maybe Text)
- associateDeviceWithRoomResponse :: Int -> AssociateDeviceWithRoomResponse
- data AssociateDeviceWithRoomResponse
- adwrrsResponseStatus :: Lens' AssociateDeviceWithRoomResponse Int
Creating a Request
associateDeviceWithRoom :: AssociateDeviceWithRoom Source #
Creates a value of AssociateDeviceWithRoom
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adwrDeviceARN
- The ARN of the device to associate to a room. Required.adwrRoomARN
- The ARN of the room with which to associate the device. Required.
data AssociateDeviceWithRoom Source #
See: associateDeviceWithRoom
smart constructor.
Instances
Request Lenses
adwrDeviceARN :: Lens' AssociateDeviceWithRoom (Maybe Text) Source #
The ARN of the device to associate to a room. Required.
adwrRoomARN :: Lens' AssociateDeviceWithRoom (Maybe Text) Source #
The ARN of the room with which to associate the device. Required.
Destructuring the Response
associateDeviceWithRoomResponse Source #
Creates a value of AssociateDeviceWithRoomResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adwrrsResponseStatus
- -- | The response status code.
data AssociateDeviceWithRoomResponse Source #
See: associateDeviceWithRoomResponse
smart constructor.
Instances
Response Lenses
adwrrsResponseStatus :: Lens' AssociateDeviceWithRoomResponse Int Source #
- - | The response status code.