| 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.DeletePlacement
Description
Deletes a placement. To delete a placement, it must not have any devices associated with it.
When you delete a placement, all associated data becomes irretrievable.
Synopsis
- data DeletePlacement = DeletePlacement' {
- placementName :: Text
- projectName :: Text
- newDeletePlacement :: Text -> Text -> DeletePlacement
- deletePlacement_placementName :: Lens' DeletePlacement Text
- deletePlacement_projectName :: Lens' DeletePlacement Text
- data DeletePlacementResponse = DeletePlacementResponse' {
- httpStatus :: Int
- newDeletePlacementResponse :: Int -> DeletePlacementResponse
- deletePlacementResponse_httpStatus :: Lens' DeletePlacementResponse Int
Creating a Request
data DeletePlacement Source #
See: newDeletePlacement smart constructor.
Constructors
| DeletePlacement' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeletePlacement |
Create a value of DeletePlacement 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:
DeletePlacement, deletePlacement_placementName - The name of the empty placement to delete.
DeletePlacement, deletePlacement_projectName - The project containing the empty placement to delete.
Request Lenses
deletePlacement_placementName :: Lens' DeletePlacement Text Source #
The name of the empty placement to delete.
deletePlacement_projectName :: Lens' DeletePlacement Text Source #
The project containing the empty placement to delete.
Destructuring the Response
data DeletePlacementResponse Source #
See: newDeletePlacementResponse smart constructor.
Constructors
| DeletePlacementResponse' | |
Fields
| |
Instances
newDeletePlacementResponse Source #
Create a value of DeletePlacementResponse 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:DeletePlacementResponse', deletePlacementResponse_httpStatus - The response's http status code.
Response Lenses
deletePlacementResponse_httpStatus :: Lens' DeletePlacementResponse Int Source #
The response's http status code.