paws.compute (version 0.1.0)

ec2_delete_fleets: Deletes the specified EC2 Fleet

Description

Deletes the specified EC2 Fleet.

Usage

ec2_delete_fleets(DryRun, FleetIds, 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.

FleetIds

[required] The IDs of the EC2 Fleets.

TerminateInstances

[required] Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.

Request syntax

svc$delete_fleets(
  DryRun = TRUE|FALSE,
  FleetIds = list(
    "string"
  ),
  TerminateInstances = TRUE|FALSE
)

Details

After you delete an EC2 Fleet, it launches no new instances. You must specify whether an EC2 Fleet should also terminate its instances. If you terminate the instances, the EC2 Fleet enters the deleted_terminating state. Otherwise, the EC2 Fleet enters the deleted_running state, and the instances continue to run until they are interrupted or you terminate them manually.