Copyright | (c) 2013-2021 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 |
Amazonka.AlexaBusiness.DisassociateDeviceFromRoom
Description
Disassociates a device from its current room. The device continues to be connected to the Wi-Fi network and is still registered to the account. The device settings and skills are removed from the room.
Synopsis
- data DisassociateDeviceFromRoom = DisassociateDeviceFromRoom' {}
- newDisassociateDeviceFromRoom :: DisassociateDeviceFromRoom
- disassociateDeviceFromRoom_deviceArn :: Lens' DisassociateDeviceFromRoom (Maybe Text)
- data DisassociateDeviceFromRoomResponse = DisassociateDeviceFromRoomResponse' {
- httpStatus :: Int
- newDisassociateDeviceFromRoomResponse :: Int -> DisassociateDeviceFromRoomResponse
- disassociateDeviceFromRoomResponse_httpStatus :: Lens' DisassociateDeviceFromRoomResponse Int
Creating a Request
data DisassociateDeviceFromRoom Source #
See: newDisassociateDeviceFromRoom
smart constructor.
Constructors
DisassociateDeviceFromRoom' | |
Instances
newDisassociateDeviceFromRoom :: DisassociateDeviceFromRoom Source #
Create a value of DisassociateDeviceFromRoom
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:deviceArn:DisassociateDeviceFromRoom'
, disassociateDeviceFromRoom_deviceArn
- The ARN of the device to disassociate from a room. Required.
Request Lenses
disassociateDeviceFromRoom_deviceArn :: Lens' DisassociateDeviceFromRoom (Maybe Text) Source #
The ARN of the device to disassociate from a room. Required.
Destructuring the Response
data DisassociateDeviceFromRoomResponse Source #
See: newDisassociateDeviceFromRoomResponse
smart constructor.
Constructors
DisassociateDeviceFromRoomResponse' | |
Fields
|
Instances
newDisassociateDeviceFromRoomResponse Source #
Arguments
:: Int | |
-> DisassociateDeviceFromRoomResponse |
Create a value of DisassociateDeviceFromRoomResponse
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:DisassociateDeviceFromRoomResponse'
, disassociateDeviceFromRoomResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateDeviceFromRoomResponse_httpStatus :: Lens' DisassociateDeviceFromRoomResponse Int Source #
The response's http status code.