| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AlexaBusiness.StartDeviceSync
Description
Resets a device and its account to the known default settings. This clears all information and settings set by previous users in the following ways:
- Bluetooth - This unpairs all bluetooth devices paired with your echo device.
- Volume - This resets the echo device's volume to the default value.
- Notifications - This clears all notifications from your echo device.
- Lists - This clears all to-do items from your echo device.
- Settings - This internally syncs the room's profile (if the device is assigned to a room), contacts, address books, delegation access for account linking, and communications (if enabled on the room profile).
Synopsis
- data StartDeviceSync = StartDeviceSync' {}
- newStartDeviceSync :: StartDeviceSync
- startDeviceSync_deviceArn :: Lens' StartDeviceSync (Maybe Text)
- startDeviceSync_roomArn :: Lens' StartDeviceSync (Maybe Text)
- startDeviceSync_features :: Lens' StartDeviceSync [Feature]
- data StartDeviceSyncResponse = StartDeviceSyncResponse' {
- httpStatus :: Int
- newStartDeviceSyncResponse :: Int -> StartDeviceSyncResponse
- startDeviceSyncResponse_httpStatus :: Lens' StartDeviceSyncResponse Int
Creating a Request
data StartDeviceSync Source #
See: newStartDeviceSync smart constructor.
Constructors
| StartDeviceSync' | |
Instances
newStartDeviceSync :: StartDeviceSync Source #
Create a value of StartDeviceSync 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:
StartDeviceSync, startDeviceSync_deviceArn - The ARN of the device to sync. Required.
StartDeviceSync, startDeviceSync_roomArn - The ARN of the room with which the device to sync is associated.
Required.
$sel:features:StartDeviceSync', startDeviceSync_features - Request structure to start the device sync. Required.
Request Lenses
startDeviceSync_deviceArn :: Lens' StartDeviceSync (Maybe Text) Source #
The ARN of the device to sync. Required.
startDeviceSync_roomArn :: Lens' StartDeviceSync (Maybe Text) Source #
The ARN of the room with which the device to sync is associated. Required.
startDeviceSync_features :: Lens' StartDeviceSync [Feature] Source #
Request structure to start the device sync. Required.
Destructuring the Response
data StartDeviceSyncResponse Source #
See: newStartDeviceSyncResponse smart constructor.
Constructors
| StartDeviceSyncResponse' | |
Fields
| |
Instances
newStartDeviceSyncResponse Source #
Create a value of StartDeviceSyncResponse 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:httpStatus:StartDeviceSyncResponse', startDeviceSyncResponse_httpStatus - The response's http status code.
Response Lenses
startDeviceSyncResponse_httpStatus :: Lens' StartDeviceSyncResponse Int Source #
The response's http status code.