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.IoTWireless.DisassociateWirelessDeviceFromThing
Description
Disassociates a wireless device from its currently associated thing.
Synopsis
- data DisassociateWirelessDeviceFromThing = DisassociateWirelessDeviceFromThing' {}
- newDisassociateWirelessDeviceFromThing :: Text -> DisassociateWirelessDeviceFromThing
- disassociateWirelessDeviceFromThing_id :: Lens' DisassociateWirelessDeviceFromThing Text
- data DisassociateWirelessDeviceFromThingResponse = DisassociateWirelessDeviceFromThingResponse' {
- httpStatus :: Int
- newDisassociateWirelessDeviceFromThingResponse :: Int -> DisassociateWirelessDeviceFromThingResponse
- disassociateWirelessDeviceFromThingResponse_httpStatus :: Lens' DisassociateWirelessDeviceFromThingResponse Int
Creating a Request
data DisassociateWirelessDeviceFromThing Source #
See: newDisassociateWirelessDeviceFromThing
smart constructor.
Constructors
DisassociateWirelessDeviceFromThing' | |
Instances
newDisassociateWirelessDeviceFromThing Source #
Create a value of DisassociateWirelessDeviceFromThing
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:id:DisassociateWirelessDeviceFromThing'
, disassociateWirelessDeviceFromThing_id
- The ID of the resource to update.
Request Lenses
disassociateWirelessDeviceFromThing_id :: Lens' DisassociateWirelessDeviceFromThing Text Source #
The ID of the resource to update.
Destructuring the Response
data DisassociateWirelessDeviceFromThingResponse Source #
See: newDisassociateWirelessDeviceFromThingResponse
smart constructor.
Constructors
DisassociateWirelessDeviceFromThingResponse' | |
Fields
|
Instances
newDisassociateWirelessDeviceFromThingResponse Source #
Arguments
:: Int |
|
-> DisassociateWirelessDeviceFromThingResponse |
Create a value of DisassociateWirelessDeviceFromThingResponse
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:DisassociateWirelessDeviceFromThingResponse'
, disassociateWirelessDeviceFromThingResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateWirelessDeviceFromThingResponse_httpStatus :: Lens' DisassociateWirelessDeviceFromThingResponse Int Source #
The response's http status code.