Copyright | (c) 2013-2016 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 .
- 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:
cpgDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.cpgGroupName
- A name for the placement group. Constraints: Up to 255 ASCII characterscpgStrategy
- The placement strategy.
data CreatePlacementGroup Source #
Contains the parameters for CreatePlacementGroup.
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.