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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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, see Placement Groups 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 # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Data DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.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 # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Show DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Generic DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Associated Types

type Rep DeletePlacementGroup :: Type -> Type #

Hashable DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

AWSRequest DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Associated Types

type Rs DeletePlacementGroup :: Type #

ToHeaders DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

ToPath DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

ToQuery DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

NFData DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Methods

rnf :: DeletePlacementGroup -> () #

type Rep DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

type Rep DeletePlacementGroup = D1 (MetaData "DeletePlacementGroup" "Network.AWS.EC2.DeletePlacementGroup" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "DeletePlacementGroup'" PrefixI True) (S1 (MetaSel (Just "_dpgDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dpgGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeletePlacementGroup # 
Instance details

Defined in Network.AWS.EC2.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 # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Data DeletePlacementGroupResponse # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

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 # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Show DeletePlacementGroupResponse # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Generic DeletePlacementGroupResponse # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Associated Types

type Rep DeletePlacementGroupResponse :: Type -> Type #

NFData DeletePlacementGroupResponse # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

type Rep DeletePlacementGroupResponse # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

type Rep DeletePlacementGroupResponse = D1 (MetaData "DeletePlacementGroupResponse" "Network.AWS.EC2.DeletePlacementGroup" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "DeletePlacementGroupResponse'" PrefixI False) (U1 :: Type -> Type))