amazonka-ec2-1.4.2: 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 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:

data DeletePlacementGroup Source #

Contains the parameters for DeletePlacementGroup.

See: deletePlacementGroup smart constructor.

Instances

Eq DeletePlacementGroup Source # 
Data DeletePlacementGroup Source # 

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 Source # 
Show DeletePlacementGroup Source # 
Generic DeletePlacementGroup Source # 
Hashable DeletePlacementGroup Source # 
NFData DeletePlacementGroup Source # 

Methods

rnf :: DeletePlacementGroup -> () #

AWSRequest DeletePlacementGroup Source # 
ToPath DeletePlacementGroup Source # 
ToHeaders DeletePlacementGroup Source # 
ToQuery DeletePlacementGroup Source # 
type Rep DeletePlacementGroup Source # 
type Rep DeletePlacementGroup = D1 (MetaData "DeletePlacementGroup" "Network.AWS.EC2.DeletePlacementGroup" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" 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 Source # 

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.

data DeletePlacementGroupResponse Source #

See: deletePlacementGroupResponse smart constructor.

Instances

Eq DeletePlacementGroupResponse Source # 
Data DeletePlacementGroupResponse Source # 

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 Source # 
Show DeletePlacementGroupResponse Source # 
Generic DeletePlacementGroupResponse Source # 
NFData DeletePlacementGroupResponse Source # 
type Rep DeletePlacementGroupResponse Source # 
type Rep DeletePlacementGroupResponse = D1 (MetaData "DeletePlacementGroupResponse" "Network.AWS.EC2.DeletePlacementGroup" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "DeletePlacementGroupResponse'" PrefixI False) U1)