Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.EC2.DeletePlacementGroup
Description
Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide .
Creating a Request
Arguments
:: Text | |
-> DeletePlacementGroup |
Creates a value of DeletePlacementGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpgDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dpgGroupName
- The name of the placement group.
data DeletePlacementGroup #
Contains the parameters for DeletePlacementGroup.
See: deletePlacementGroup
smart constructor.
Instances
Request Lenses
dpgDryRun :: Lens' DeletePlacementGroup (Maybe Bool) #
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
.
dpgGroupName :: Lens' DeletePlacementGroup Text #
The name of the placement group.
Destructuring the Response
deletePlacementGroupResponse :: DeletePlacementGroupResponse #
Creates a value of DeletePlacementGroupResponse
with the minimum fields required to make a request.
data DeletePlacementGroupResponse #
See: deletePlacementGroupResponse
smart constructor.