Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for CreatePlacementGroup.
- createPlacementGroup :: Text -> PlacementStrategy -> CreatePlacementGroup
- data CreatePlacementGroup
- cpgDryRun :: Lens' CreatePlacementGroup (Maybe Bool)
- cpgGroupName :: Lens' CreatePlacementGroup Text
- cpgStrategy :: Lens' CreatePlacementGroup PlacementStrategy
- createPlacementGroupResponse :: CreatePlacementGroupResponse
- data CreatePlacementGroupResponse
Creating a Request
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
See: createPlacementGroup
smart constructor.
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
cpgStrategy :: Lens' CreatePlacementGroup PlacementStrategy Source
The placement strategy.
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.