amazonka-ec2-1.4.1: 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.CreatePlacementGroup

Contents

Description

Creates a placement group that you launch cluster instances into. You must give the group a name that's unique within the scope of your account.

For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide.

Synopsis

Creating a Request

createPlacementGroup Source #

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

Use one of the following lenses to modify other fields as desired:

data CreatePlacementGroup Source #

Contains the parameters for CreatePlacementGroup.

See: createPlacementGroup smart constructor.

Instances

Eq CreatePlacementGroup Source # 
Data CreatePlacementGroup Source # 

Methods

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

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

toConstr :: CreatePlacementGroup -> Constr #

dataTypeOf :: CreatePlacementGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePlacementGroup Source # 
Show CreatePlacementGroup Source # 
Generic CreatePlacementGroup Source # 
Hashable CreatePlacementGroup Source # 
NFData CreatePlacementGroup Source # 

Methods

rnf :: CreatePlacementGroup -> () #

AWSRequest CreatePlacementGroup Source # 
ToQuery CreatePlacementGroup Source # 
ToPath CreatePlacementGroup Source # 
ToHeaders CreatePlacementGroup Source # 
type Rep CreatePlacementGroup Source # 
type Rep CreatePlacementGroup = D1 (MetaData "CreatePlacementGroup" "Network.AWS.EC2.CreatePlacementGroup" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "CreatePlacementGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cpgDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_cpgGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cpgStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PlacementStrategy)))))
type Rs CreatePlacementGroup Source # 

Request Lenses

cpgDryRun :: Lens' CreatePlacementGroup (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.

cpgGroupName :: Lens' CreatePlacementGroup Text Source #

A name for the placement group.

Constraints: Up to 255 ASCII characters

Destructuring the Response

createPlacementGroupResponse :: CreatePlacementGroupResponse Source #

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

data CreatePlacementGroupResponse Source #

See: createPlacementGroupResponse smart constructor.

Instances

Eq CreatePlacementGroupResponse Source # 
Data CreatePlacementGroupResponse Source # 

Methods

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

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

toConstr :: CreatePlacementGroupResponse -> Constr #

dataTypeOf :: CreatePlacementGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePlacementGroupResponse Source # 
Show CreatePlacementGroupResponse Source # 
Generic CreatePlacementGroupResponse Source # 
NFData CreatePlacementGroupResponse Source # 
type Rep CreatePlacementGroupResponse Source # 
type Rep CreatePlacementGroupResponse = D1 (MetaData "CreatePlacementGroupResponse" "Network.AWS.EC2.CreatePlacementGroup" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "CreatePlacementGroupResponse'" PrefixI False) U1)