Skip to content

Modify Instance Fleet

emr_modify_instance_fleet R Documentation

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 releases 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 configuration parameters of the instance fleet.

Value

An empty list.

Request syntax

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