Cancel Spot Instance Requests
ec2_cancel_spot_instance_requests | R Documentation |
Cancels one or more Spot Instance requests¶
Description¶
Cancels one or more Spot Instance requests.
Canceling a Spot Instance request does not terminate running Spot Instances associated with the request.
Usage¶
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 isUnauthorizedOperation
.SpotInstanceRequestIds
[required] The IDs of the Spot Instance requests.
Value¶
A list with the following syntax:
list(
CancelledSpotInstanceRequests = list(
list(
SpotInstanceRequestId = "string",
State = "active"|"open"|"closed"|"cancelled"|"completed"
)
)
)