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 |
AddInstanceGroups adds an instance group to a running cluster.
See: AWS API Reference for AddInstanceGroups.
- 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:
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:
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.