Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Adds one or more instance groups to a running cluster.
Synopsis
- data AddInstanceGroups = AddInstanceGroups' {}
- newAddInstanceGroups :: Text -> AddInstanceGroups
- addInstanceGroups_instanceGroups :: Lens' AddInstanceGroups [InstanceGroupConfig]
- addInstanceGroups_jobFlowId :: Lens' AddInstanceGroups Text
- data AddInstanceGroupsResponse = AddInstanceGroupsResponse' {
- clusterArn :: Maybe Text
- jobFlowId :: Maybe Text
- instanceGroupIds :: Maybe [Text]
- httpStatus :: Int
- newAddInstanceGroupsResponse :: Int -> AddInstanceGroupsResponse
- addInstanceGroupsResponse_clusterArn :: Lens' AddInstanceGroupsResponse (Maybe Text)
- addInstanceGroupsResponse_jobFlowId :: Lens' AddInstanceGroupsResponse (Maybe Text)
- addInstanceGroupsResponse_instanceGroupIds :: Lens' AddInstanceGroupsResponse (Maybe [Text])
- addInstanceGroupsResponse_httpStatus :: Lens' AddInstanceGroupsResponse Int
Creating a Request
data AddInstanceGroups Source #
Input to an AddInstanceGroups call.
See: newAddInstanceGroups
smart constructor.
AddInstanceGroups' | |
|
Instances
Create a value of AddInstanceGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceGroups:AddInstanceGroups'
, addInstanceGroups_instanceGroups
- Instance groups to add.
$sel:jobFlowId:AddInstanceGroups'
, addInstanceGroups_jobFlowId
- Job flow in which to add the instance groups.
Request Lenses
addInstanceGroups_instanceGroups :: Lens' AddInstanceGroups [InstanceGroupConfig] Source #
Instance groups to add.
addInstanceGroups_jobFlowId :: Lens' AddInstanceGroups Text Source #
Job flow in which to add the instance groups.
Destructuring the Response
data AddInstanceGroupsResponse Source #
Output from an AddInstanceGroups call.
See: newAddInstanceGroupsResponse
smart constructor.
AddInstanceGroupsResponse' | |
|
Instances
newAddInstanceGroupsResponse Source #
Create a value of AddInstanceGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clusterArn:AddInstanceGroupsResponse'
, addInstanceGroupsResponse_clusterArn
- The Amazon Resource Name of the cluster.
$sel:jobFlowId:AddInstanceGroups'
, addInstanceGroupsResponse_jobFlowId
- The job flow ID in which the instance groups are added.
$sel:instanceGroupIds:AddInstanceGroupsResponse'
, addInstanceGroupsResponse_instanceGroupIds
- Instance group IDs of the newly created instance groups.
$sel:httpStatus:AddInstanceGroupsResponse'
, addInstanceGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
addInstanceGroupsResponse_clusterArn :: Lens' AddInstanceGroupsResponse (Maybe Text) Source #
The Amazon Resource Name of the cluster.
addInstanceGroupsResponse_jobFlowId :: Lens' AddInstanceGroupsResponse (Maybe Text) Source #
The job flow ID in which the instance groups are added.
addInstanceGroupsResponse_instanceGroupIds :: Lens' AddInstanceGroupsResponse (Maybe [Text]) Source #
Instance group IDs of the newly created instance groups.
addInstanceGroupsResponse_httpStatus :: Lens' AddInstanceGroupsResponse Int Source #
The response's http status code.