amazonka-ec2-1.2.0.1: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeletePlacementGroup

Contents

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.

See: AWS API Reference for DeletePlacementGroup.

Synopsis

Creating a Request

deletePlacementGroup Source

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:

Request Lenses

dpgDryRun :: 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.

dpgGroupName :: Lens' DeletePlacementGroup Text Source

The name of the placement group.

Destructuring the Response

deletePlacementGroupResponse :: DeletePlacementGroupResponse Source

Creates a value of DeletePlacementGroupResponse with the minimum fields required to make a request.