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.IoT1ClickProjects.DisassociateDeviceFromPlacement
Description
Removes a physical device from a placement.
Synopsis
- data DisassociateDeviceFromPlacement = DisassociateDeviceFromPlacement' {}
- newDisassociateDeviceFromPlacement :: Text -> Text -> Text -> DisassociateDeviceFromPlacement
- disassociateDeviceFromPlacement_projectName :: Lens' DisassociateDeviceFromPlacement Text
- disassociateDeviceFromPlacement_placementName :: Lens' DisassociateDeviceFromPlacement Text
- disassociateDeviceFromPlacement_deviceTemplateName :: Lens' DisassociateDeviceFromPlacement Text
- data DisassociateDeviceFromPlacementResponse = DisassociateDeviceFromPlacementResponse' {
- httpStatus :: Int
- newDisassociateDeviceFromPlacementResponse :: Int -> DisassociateDeviceFromPlacementResponse
- disassociateDeviceFromPlacementResponse_httpStatus :: Lens' DisassociateDeviceFromPlacementResponse Int
Creating a Request
data DisassociateDeviceFromPlacement Source #
See: newDisassociateDeviceFromPlacement
smart constructor.
Constructors
DisassociateDeviceFromPlacement' | |
Fields
|
Instances
newDisassociateDeviceFromPlacement Source #
Arguments
:: Text | |
-> Text | |
-> Text | |
-> DisassociateDeviceFromPlacement |
Create a value of DisassociateDeviceFromPlacement
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:
DisassociateDeviceFromPlacement
, disassociateDeviceFromPlacement_projectName
- The name of the project that contains the placement.
DisassociateDeviceFromPlacement
, disassociateDeviceFromPlacement_placementName
- The name of the placement that the device should be removed from.
$sel:deviceTemplateName:DisassociateDeviceFromPlacement'
, disassociateDeviceFromPlacement_deviceTemplateName
- The device ID that should be removed from the placement.
Request Lenses
disassociateDeviceFromPlacement_projectName :: Lens' DisassociateDeviceFromPlacement Text Source #
The name of the project that contains the placement.
disassociateDeviceFromPlacement_placementName :: Lens' DisassociateDeviceFromPlacement Text Source #
The name of the placement that the device should be removed from.
disassociateDeviceFromPlacement_deviceTemplateName :: Lens' DisassociateDeviceFromPlacement Text Source #
The device ID that should be removed from the placement.
Destructuring the Response
data DisassociateDeviceFromPlacementResponse Source #
See: newDisassociateDeviceFromPlacementResponse
smart constructor.
Constructors
DisassociateDeviceFromPlacementResponse' | |
Fields
|
Instances
newDisassociateDeviceFromPlacementResponse Source #
Arguments
:: Int | |
-> DisassociateDeviceFromPlacementResponse |
Create a value of DisassociateDeviceFromPlacementResponse
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:DisassociateDeviceFromPlacementResponse'
, disassociateDeviceFromPlacementResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateDeviceFromPlacementResponse_httpStatus :: Lens' DisassociateDeviceFromPlacementResponse Int Source #
The response's http status code.