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 |
Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID. The call either succeeds or fails atomically.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Synopsis
- data ModifyInstanceFleet = ModifyInstanceFleet' {}
- newModifyInstanceFleet :: Text -> InstanceFleetModifyConfig -> ModifyInstanceFleet
- modifyInstanceFleet_clusterId :: Lens' ModifyInstanceFleet Text
- modifyInstanceFleet_instanceFleet :: Lens' ModifyInstanceFleet InstanceFleetModifyConfig
- data ModifyInstanceFleetResponse = ModifyInstanceFleetResponse' {
- newModifyInstanceFleetResponse :: ModifyInstanceFleetResponse
Creating a Request
data ModifyInstanceFleet Source #
See: newModifyInstanceFleet
smart constructor.
ModifyInstanceFleet' | |
|
Instances
newModifyInstanceFleet Source #
Create a value of ModifyInstanceFleet
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:ModifyInstanceFleet'
, modifyInstanceFleet_clusterId
- The unique identifier of the cluster.
$sel:instanceFleet:ModifyInstanceFleet'
, modifyInstanceFleet_instanceFleet
- The configuration parameters of the instance fleet.
Request Lenses
modifyInstanceFleet_clusterId :: Lens' ModifyInstanceFleet Text Source #
The unique identifier of the cluster.
modifyInstanceFleet_instanceFleet :: Lens' ModifyInstanceFleet InstanceFleetModifyConfig Source #
The configuration parameters of the instance fleet.
Destructuring the Response
data ModifyInstanceFleetResponse Source #
See: newModifyInstanceFleetResponse
smart constructor.
Instances
newModifyInstanceFleetResponse :: ModifyInstanceFleetResponse Source #
Create a value of ModifyInstanceFleetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.