| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EMR.AddInstanceGroups
Description
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
- instanceGroupIds :: Maybe [Text]
- jobFlowId :: Maybe Text
- httpStatus :: Int
- newAddInstanceGroupsResponse :: Int -> AddInstanceGroupsResponse
- addInstanceGroupsResponse_clusterArn :: Lens' AddInstanceGroupsResponse (Maybe Text)
- addInstanceGroupsResponse_instanceGroupIds :: Lens' AddInstanceGroupsResponse (Maybe [Text])
- addInstanceGroupsResponse_jobFlowId :: Lens' AddInstanceGroupsResponse (Maybe Text)
- addInstanceGroupsResponse_httpStatus :: Lens' AddInstanceGroupsResponse Int
Creating a Request
data AddInstanceGroups Source #
Input to an AddInstanceGroups call.
See: newAddInstanceGroups smart constructor.
Constructors
| AddInstanceGroups' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> AddInstanceGroups |
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:
AddInstanceGroups, addInstanceGroups_instanceGroups - Instance groups to add.
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.
Constructors
| AddInstanceGroupsResponse' | |
Fields
| |
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:
AddInstanceGroupsResponse, addInstanceGroupsResponse_clusterArn - The Amazon Resource Name of the cluster.
$sel:instanceGroupIds:AddInstanceGroupsResponse', addInstanceGroupsResponse_instanceGroupIds - Instance group IDs of the newly created instance groups.
AddInstanceGroups, addInstanceGroupsResponse_jobFlowId - The job flow ID in which the instance groups are added.
$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_instanceGroupIds :: Lens' AddInstanceGroupsResponse (Maybe [Text]) Source #
Instance group IDs of the newly created instance groups.
addInstanceGroupsResponse_jobFlowId :: Lens' AddInstanceGroupsResponse (Maybe Text) Source #
The job flow ID in which the instance groups are added.
addInstanceGroupsResponse_httpStatus :: Lens' AddInstanceGroupsResponse Int Source #
The response's http status code.