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

Copyright(c) 2013-2015 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.

See: AWS API Reference for DescribePlacementGroups.

Synopsis

Creating a Request

describePlacementGroups :: DescribePlacementGroups Source

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:

Request Lenses

dpgsGroupNames :: Lens' DescribePlacementGroups [Text] Source

One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.

dpgsFilters :: Lens' DescribePlacementGroups [Filter] Source

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

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

Destructuring the Response

describePlacementGroupsResponse Source

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:

Response Lenses