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 |
Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information, see Placement groups in the Amazon EC2 User Guide.
Synopsis
- data DeletePlacementGroup = DeletePlacementGroup' {}
- newDeletePlacementGroup :: Text -> DeletePlacementGroup
- deletePlacementGroup_dryRun :: Lens' DeletePlacementGroup (Maybe Bool)
- deletePlacementGroup_groupName :: Lens' DeletePlacementGroup Text
- data DeletePlacementGroupResponse = DeletePlacementGroupResponse' {
- newDeletePlacementGroupResponse :: DeletePlacementGroupResponse
Creating a Request
data DeletePlacementGroup Source #
See: newDeletePlacementGroup
smart constructor.
DeletePlacementGroup' | |
|
Instances
newDeletePlacementGroup Source #
Create a value of DeletePlacementGroup
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:dryRun:DeletePlacementGroup'
, deletePlacementGroup_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
DeletePlacementGroup
, deletePlacementGroup_groupName
- The name of the placement group.
Request Lenses
deletePlacementGroup_dryRun :: Lens' DeletePlacementGroup (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
deletePlacementGroup_groupName :: Lens' DeletePlacementGroup Text Source #
The name of the placement group.
Destructuring the Response
data DeletePlacementGroupResponse Source #
See: newDeletePlacementGroupResponse
smart constructor.
Instances
newDeletePlacementGroupResponse :: DeletePlacementGroupResponse Source #
Create a value of DeletePlacementGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.