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

  • 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 Source #

Contains the parameters for DeletePlacementGroup.

See: deletePlacementGroup smart constructor.

Instances
Eq DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Data DeletePlacementGroup Source # 
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 Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Show DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Generic DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Associated Types

type Rep DeletePlacementGroup :: Type -> Type #

Hashable DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

AWSRequest DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Associated Types

type Rs DeletePlacementGroup :: Type #

ToHeaders DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

ToPath DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

ToQuery DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

NFData DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Methods

rnf :: DeletePlacementGroup -> () #

type Rep DeletePlacementGroup Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

type Rep DeletePlacementGroup = D1 (MetaData "DeletePlacementGroup" "Network.AWS.EC2.DeletePlacementGroup" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" 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 Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

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

Defined in Network.AWS.EC2.DeletePlacementGroup

Data DeletePlacementGroupResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Show DeletePlacementGroupResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Generic DeletePlacementGroupResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

Associated Types

type Rep DeletePlacementGroupResponse :: Type -> Type #

NFData DeletePlacementGroupResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

type Rep DeletePlacementGroupResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeletePlacementGroup

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