paws.compute (version 0.1.0)

ec2_modify_fleet: Modifies the specified EC2 Fleet

Description

Modifies the specified EC2 Fleet.

Usage

ec2_modify_fleet(DryRun, ExcessCapacityTerminationPolicy, FleetId,
  TargetCapacitySpecification)

Arguments

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

ExcessCapacityTerminationPolicy

Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

FleetId

[required] The ID of the EC2 Fleet.

TargetCapacitySpecification

[required] The size of the EC2 Fleet.

Request syntax

svc$modify_fleet(
  DryRun = TRUE|FALSE,
  ExcessCapacityTerminationPolicy = "no-termination"|"termination",
  FleetId = "string",
  TargetCapacitySpecification = list(
    TotalTargetCapacity = 123,
    OnDemandTargetCapacity = 123,
    SpotTargetCapacity = 123,
    DefaultTargetCapacityType = "spot"|"on-demand"
  )
)

Details

While the EC2 Fleet is being modified, it is in the modifying state.