| 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.StartDeviceSync
Description
Resets a device and its account to the known default settings, by clearing all information and settings set by previous users.
- startDeviceSync :: StartDeviceSync
- data StartDeviceSync
- sdsDeviceARN :: Lens' StartDeviceSync (Maybe Text)
- sdsRoomARN :: Lens' StartDeviceSync (Maybe Text)
- sdsFeatures :: Lens' StartDeviceSync [Feature]
- startDeviceSyncResponse :: Int -> StartDeviceSyncResponse
- data StartDeviceSyncResponse
- sdsrsResponseStatus :: Lens' StartDeviceSyncResponse Int
Creating a Request
startDeviceSync :: StartDeviceSync Source #
Creates a value of StartDeviceSync with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdsDeviceARN- The ARN of the device to sync. Required.sdsRoomARN- The ARN of the room with which the device to sync is associated. Required.sdsFeatures- Request structure to start the device sync. Required.
data StartDeviceSync Source #
See: startDeviceSync smart constructor.
Instances
Request Lenses
sdsDeviceARN :: Lens' StartDeviceSync (Maybe Text) Source #
The ARN of the device to sync. Required.
sdsRoomARN :: Lens' StartDeviceSync (Maybe Text) Source #
The ARN of the room with which the device to sync is associated. Required.
sdsFeatures :: Lens' StartDeviceSync [Feature] Source #
Request structure to start the device sync. Required.
Destructuring the Response
startDeviceSyncResponse Source #
Arguments
| :: Int | |
| -> StartDeviceSyncResponse |
Creates a value of StartDeviceSyncResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdsrsResponseStatus- -- | The response status code.
data StartDeviceSyncResponse Source #
See: startDeviceSyncResponse smart constructor.
Response Lenses
sdsrsResponseStatus :: Lens' StartDeviceSyncResponse Int Source #
- - | The response status code.