aws ec2 cancel-capacity-reservation
Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to cancelled. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--apply-cancellation-chargesSpecifies the cancellation charge type to apply when cancelling a future-dated Capacity Reservation during its commitment duration.--capacity-reservation-idThe ID of the Capacity Reservation to be cancelled.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--quote-idThe ID of the cancellation quote to use for the cancellation.