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 an instance fleet to a running cluster.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x.
Synopsis
- data AddInstanceFleet = AddInstanceFleet' {}
- newAddInstanceFleet :: Text -> InstanceFleetConfig -> AddInstanceFleet
- addInstanceFleet_clusterId :: Lens' AddInstanceFleet Text
- addInstanceFleet_instanceFleet :: Lens' AddInstanceFleet InstanceFleetConfig
- data AddInstanceFleetResponse = AddInstanceFleetResponse' {
- clusterArn :: Maybe Text
- clusterId :: Maybe Text
- instanceFleetId :: Maybe Text
- httpStatus :: Int
- newAddInstanceFleetResponse :: Int -> AddInstanceFleetResponse
- addInstanceFleetResponse_clusterArn :: Lens' AddInstanceFleetResponse (Maybe Text)
- addInstanceFleetResponse_clusterId :: Lens' AddInstanceFleetResponse (Maybe Text)
- addInstanceFleetResponse_instanceFleetId :: Lens' AddInstanceFleetResponse (Maybe Text)
- addInstanceFleetResponse_httpStatus :: Lens' AddInstanceFleetResponse Int
Creating a Request
data AddInstanceFleet Source #
See: newAddInstanceFleet
smart constructor.
AddInstanceFleet' | |
|
Instances
Create a value of AddInstanceFleet
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:clusterId:AddInstanceFleet'
, addInstanceFleet_clusterId
- The unique identifier of the cluster.
$sel:instanceFleet:AddInstanceFleet'
, addInstanceFleet_instanceFleet
- Specifies the configuration of the instance fleet.
Request Lenses
addInstanceFleet_clusterId :: Lens' AddInstanceFleet Text Source #
The unique identifier of the cluster.
addInstanceFleet_instanceFleet :: Lens' AddInstanceFleet InstanceFleetConfig Source #
Specifies the configuration of the instance fleet.
Destructuring the Response
data AddInstanceFleetResponse Source #
See: newAddInstanceFleetResponse
smart constructor.
AddInstanceFleetResponse' | |
|
Instances
newAddInstanceFleetResponse Source #
Create a value of AddInstanceFleetResponse
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:AddInstanceFleetResponse'
, addInstanceFleetResponse_clusterArn
- The Amazon Resource Name of the cluster.
$sel:clusterId:AddInstanceFleet'
, addInstanceFleetResponse_clusterId
- The unique identifier of the cluster.
$sel:instanceFleetId:AddInstanceFleetResponse'
, addInstanceFleetResponse_instanceFleetId
- The unique identifier of the instance fleet.
$sel:httpStatus:AddInstanceFleetResponse'
, addInstanceFleetResponse_httpStatus
- The response's http status code.
Response Lenses
addInstanceFleetResponse_clusterArn :: Lens' AddInstanceFleetResponse (Maybe Text) Source #
The Amazon Resource Name of the cluster.
addInstanceFleetResponse_clusterId :: Lens' AddInstanceFleetResponse (Maybe Text) Source #
The unique identifier of the cluster.
addInstanceFleetResponse_instanceFleetId :: Lens' AddInstanceFleetResponse (Maybe Text) Source #
The unique identifier of the instance fleet.
addInstanceFleetResponse_httpStatus :: Lens' AddInstanceFleetResponse Int Source #
The response's http status code.