Learn R Programming

paws.compute (version 0.7.0)

ec2_cancel_spot_fleet_requests: Cancels the specified Spot Fleet requests

Description

Cancels the specified Spot Fleet requests.

See https://www.paws-r-sdk.com/docs/ec2_cancel_spot_fleet_requests/ for full documentation.

Usage

ec2_cancel_spot_fleet_requests(
  DryRun = NULL,
  SpotFleetRequestIds,
  TerminateInstances
)

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.

SpotFleetRequestIds

[required] The IDs of the Spot Fleet requests.

Constraint: You can specify up to 100 IDs in a single request.

TerminateInstances

[required] Indicates whether to terminate the associated instances when the Spot Fleet request is canceled. The default is to terminate the instances.

To let the instances continue to run after the Spot Fleet request is canceled, specify no-terminate-instances.