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.
emr_modify_instance_fleet(ClusterId, InstanceFleet)[required] The unique identifier of the cluster.
[required] The unique identifier of the instance fleet.
svc$modify_instance_fleet(
ClusterId = "string",
InstanceFleet = list(
InstanceFleetId = "string",
TargetOnDemandCapacity = 123,
TargetSpotCapacity = 123
)
)
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.