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

Copyright(c) 2013-2016 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 .

Synopsis

Creating a Request

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 is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • dpgGroupName - The name of the placement group.

data DeletePlacementGroup #

Contains the parameters for DeletePlacementGroup.

See: deletePlacementGroup smart constructor.

Instances

Eq DeletePlacementGroup # 
Data DeletePlacementGroup # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeletePlacementGroup -> c DeletePlacementGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeletePlacementGroup #

toConstr :: DeletePlacementGroup -> Constr #

dataTypeOf :: DeletePlacementGroup -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeletePlacementGroup) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeletePlacementGroup) #

gmapT :: (forall b. Data b => b -> b) -> DeletePlacementGroup -> DeletePlacementGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeletePlacementGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeletePlacementGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeletePlacementGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeletePlacementGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeletePlacementGroup -> m DeletePlacementGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeletePlacementGroup -> m DeletePlacementGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeletePlacementGroup -> m DeletePlacementGroup #

Read DeletePlacementGroup # 
Show DeletePlacementGroup # 
Generic DeletePlacementGroup # 
Hashable DeletePlacementGroup # 
NFData DeletePlacementGroup # 

Methods

rnf :: DeletePlacementGroup -> () #

AWSRequest DeletePlacementGroup # 
ToQuery DeletePlacementGroup # 
ToPath DeletePlacementGroup # 
ToHeaders DeletePlacementGroup # 
type Rep DeletePlacementGroup # 
type Rep DeletePlacementGroup = D1 (MetaData "DeletePlacementGroup" "Network.AWS.EC2.DeletePlacementGroup" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeletePlacementGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dpgDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dpgGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeletePlacementGroup # 

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.

Instances

Eq DeletePlacementGroupResponse # 
Data DeletePlacementGroupResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeletePlacementGroupResponse -> c DeletePlacementGroupResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeletePlacementGroupResponse #

toConstr :: DeletePlacementGroupResponse -> Constr #

dataTypeOf :: DeletePlacementGroupResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeletePlacementGroupResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeletePlacementGroupResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeletePlacementGroupResponse -> DeletePlacementGroupResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeletePlacementGroupResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeletePlacementGroupResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeletePlacementGroupResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeletePlacementGroupResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeletePlacementGroupResponse -> m DeletePlacementGroupResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeletePlacementGroupResponse -> m DeletePlacementGroupResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeletePlacementGroupResponse -> m DeletePlacementGroupResponse #

Read DeletePlacementGroupResponse # 
Show DeletePlacementGroupResponse # 
Generic DeletePlacementGroupResponse # 
NFData DeletePlacementGroupResponse # 
type Rep DeletePlacementGroupResponse # 
type Rep DeletePlacementGroupResponse = D1 (MetaData "DeletePlacementGroupResponse" "Network.AWS.EC2.DeletePlacementGroup" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeletePlacementGroupResponse'" PrefixI False) U1)