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.DescribePlacementGroups

Contents

Description

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

Synopsis

Creating a Request

describePlacementGroups :: DescribePlacementGroups #

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

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

  • dpgsFilters - One or more filters. * group-name - The name of the placement group. * state - The state of the placement group (pending | available | deleting | deleted ). * strategy - The strategy of the placement group (cluster ).
  • dpgsGroupNames - One or more placement group names. Default: Describes all your placement groups, or only those otherwise specified.
  • dpgsDryRun - 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 .

data DescribePlacementGroups #

Contains the parameters for DescribePlacementGroups.

See: describePlacementGroups smart constructor.

Instances

Eq DescribePlacementGroups # 
Data DescribePlacementGroups # 

Methods

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

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

toConstr :: DescribePlacementGroups -> Constr #

dataTypeOf :: DescribePlacementGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribePlacementGroups # 
Show DescribePlacementGroups # 
Generic DescribePlacementGroups # 
Hashable DescribePlacementGroups # 
NFData DescribePlacementGroups # 

Methods

rnf :: DescribePlacementGroups -> () #

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

Request Lenses

dpgsFilters :: Lens' DescribePlacementGroups [Filter] #

One or more filters. * group-name - The name of the placement group. * state - The state of the placement group (pending | available | deleting | deleted ). * strategy - The strategy of the placement group (cluster ).

dpgsGroupNames :: Lens' DescribePlacementGroups [Text] #

One or more placement group names. Default: Describes all your placement groups, or only those otherwise specified.

dpgsDryRun :: Lens' DescribePlacementGroups (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 .

Destructuring the Response

describePlacementGroupsResponse #

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

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

data DescribePlacementGroupsResponse #

Contains the output of DescribePlacementGroups.

See: describePlacementGroupsResponse smart constructor.

Instances

Eq DescribePlacementGroupsResponse # 
Data DescribePlacementGroupsResponse # 

Methods

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

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

toConstr :: DescribePlacementGroupsResponse -> Constr #

dataTypeOf :: DescribePlacementGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribePlacementGroupsResponse # 
Show DescribePlacementGroupsResponse # 
Generic DescribePlacementGroupsResponse # 
NFData DescribePlacementGroupsResponse # 
type Rep DescribePlacementGroupsResponse # 
type Rep DescribePlacementGroupsResponse = D1 (MetaData "DescribePlacementGroupsResponse" "Network.AWS.EC2.DescribePlacementGroups" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribePlacementGroupsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dpgrsPlacementGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PlacementGroup]))) (S1 (MetaSel (Just Symbol "_dpgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses