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 |
Adds one or more instance groups to a running cluster.
- addInstanceGroups :: Text -> AddInstanceGroups
- data AddInstanceGroups
- aigInstanceGroups :: Lens' AddInstanceGroups [InstanceGroupConfig]
- aigJobFlowId :: Lens' AddInstanceGroups Text
- addInstanceGroupsResponse :: Int -> AddInstanceGroupsResponse
- data AddInstanceGroupsResponse
- aigrsJobFlowId :: Lens' AddInstanceGroupsResponse (Maybe Text)
- aigrsInstanceGroupIds :: Lens' AddInstanceGroupsResponse [Text]
- aigrsResponseStatus :: Lens' AddInstanceGroupsResponse Int
Creating a Request
Creates a value of AddInstanceGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aigInstanceGroups
- Instance groups to add.aigJobFlowId
- Job flow in which to add the instance groups.
data AddInstanceGroups Source #
Input to an AddInstanceGroups call.
See: addInstanceGroups
smart constructor.
Request Lenses
aigInstanceGroups :: Lens' AddInstanceGroups [InstanceGroupConfig] Source #
Instance groups to add.
aigJobFlowId :: Lens' AddInstanceGroups Text Source #
Job flow in which to add the instance groups.
Destructuring the Response
addInstanceGroupsResponse Source #
Creates a value of AddInstanceGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aigrsJobFlowId
- The job flow ID in which the instance groups are added.aigrsInstanceGroupIds
- Instance group IDs of the newly created instance groups.aigrsResponseStatus
- -- | The response status code.
data AddInstanceGroupsResponse Source #
Output from an AddInstanceGroups call.
See: addInstanceGroupsResponse
smart constructor.
Response Lenses
aigrsJobFlowId :: Lens' AddInstanceGroupsResponse (Maybe Text) Source #
The job flow ID in which the instance groups are added.
aigrsInstanceGroupIds :: Lens' AddInstanceGroupsResponse [Text] Source #
Instance group IDs of the newly created instance groups.
aigrsResponseStatus :: Lens' AddInstanceGroupsResponse Int Source #
- - | The response status code.