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 |
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.
DisassociateDeviceFromPlacement' | |
|
Instances
newDisassociateDeviceFromPlacement Source #
:: 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:
$sel:projectName:DisassociateDeviceFromPlacement'
, disassociateDeviceFromPlacement_projectName
- The name of the project that contains the placement.
$sel:placementName: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.
DisassociateDeviceFromPlacementResponse' | |
|
Instances
Eq DisassociateDeviceFromPlacementResponse Source # | |
Read DisassociateDeviceFromPlacementResponse Source # | |
Show DisassociateDeviceFromPlacementResponse Source # | |
Generic DisassociateDeviceFromPlacementResponse Source # | |
NFData DisassociateDeviceFromPlacementResponse Source # | |
type Rep DisassociateDeviceFromPlacementResponse Source # | |
Defined in Amazonka.IoT1ClickProjects.DisassociateDeviceFromPlacement type Rep DisassociateDeviceFromPlacementResponse = D1 ('MetaData "DisassociateDeviceFromPlacementResponse" "Amazonka.IoT1ClickProjects.DisassociateDeviceFromPlacement" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" 'False) (C1 ('MetaCons "DisassociateDeviceFromPlacementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateDeviceFromPlacementResponse Source #
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.