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 |
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.
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:
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.
DisassociateDeviceFromRoomResponse' | |
|
Instances
Generic DisassociateDeviceFromRoomResponse Source # | |
Read DisassociateDeviceFromRoomResponse Source # | |
Show DisassociateDeviceFromRoomResponse Source # | |
NFData DisassociateDeviceFromRoomResponse Source # | |
Defined in Amazonka.AlexaBusiness.DisassociateDeviceFromRoom rnf :: DisassociateDeviceFromRoomResponse -> () # | |
Eq DisassociateDeviceFromRoomResponse Source # | |
type Rep DisassociateDeviceFromRoomResponse Source # | |
Defined in Amazonka.AlexaBusiness.DisassociateDeviceFromRoom type Rep DisassociateDeviceFromRoomResponse = D1 ('MetaData "DisassociateDeviceFromRoomResponse" "Amazonka.AlexaBusiness.DisassociateDeviceFromRoom" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "DisassociateDeviceFromRoomResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateDeviceFromRoomResponse Source #
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.