Deletes the specified EC2 Fleet.
ec2_delete_fleets(DryRun, FleetIds, TerminateInstances)
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
.
[required] The IDs of the EC2 Fleets.
[required] Indicates whether to terminate instances for an EC2 Fleet if it is deleted successfully.
svc$delete_fleets( DryRun = TRUE|FALSE, FleetIds = list( "string" ), TerminateInstances = TRUE|FALSE )
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.