aws ec2 cancel-spot-instance-requests
Cancels one or more Spot Instance requests. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--spot-instance-request-idsThe IDs of the Spot Instance requests.