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 |
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.
DeletePlacement' | |
|
Instances
:: 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:
$sel:placementName:DeletePlacement'
, deletePlacement_placementName
- The name of the empty placement to delete.
$sel:projectName: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.
DeletePlacementResponse' | |
|
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.