Learn R Programming

paws.analytics (version 0.1.11)

emr_modify_instance_fleet: Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID

Description

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.

Usage

emr_modify_instance_fleet(ClusterId, InstanceFleet)

Arguments

ClusterId

[required] The unique identifier of the cluster.

InstanceFleet

[required] The unique identifier of the instance fleet.

Value

An empty list.

Request syntax

svc$modify_instance_fleet(
  ClusterId = "string",
  InstanceFleet = list(
    InstanceFleetId = "string",
    TargetOnDemandCapacity = 123,
    TargetSpotCapacity = 123
  )
)