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 |
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:
$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.
DisassociateDeviceFromRoomResponse' | |
|
Instances
Eq DisassociateDeviceFromRoomResponse Source # | |
Read DisassociateDeviceFromRoomResponse Source # | |
Show DisassociateDeviceFromRoomResponse Source # | |
Generic DisassociateDeviceFromRoomResponse Source # | |
NFData DisassociateDeviceFromRoomResponse Source # | |
Defined in Amazonka.AlexaBusiness.DisassociateDeviceFromRoom rnf :: DisassociateDeviceFromRoomResponse -> () # | |
type Rep DisassociateDeviceFromRoomResponse Source # | |
Defined in Amazonka.AlexaBusiness.DisassociateDeviceFromRoom type Rep DisassociateDeviceFromRoomResponse = D1 ('MetaData "DisassociateDeviceFromRoomResponse" "Amazonka.AlexaBusiness.DisassociateDeviceFromRoom" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" '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.