EC2-CANCEL-S...ANCE-REQUESTS(1)
π EC2-CANCEL-SPOT-INSTANCE-REQUESTS(1) π
okay bestie, gather round, because today we're learning about ec2-cancel-spot-instance-requests β it's a User Commands page (section 1, if you're keeping score) and it's literally the girl whose whole job is cancelling spot instance requests. she's not complicated. she's iconic. let's go π¦
β¨ NAME β¨
ec2-cancel-spot-instance-requests β Cancel spot instance requests. that's it. that's the whole vibe. π
β¨ SYNOPSIS β¨
ec2csir ([ec2-cancel-spot-instance-requests])
ec2csir [GENERAL OPTIONS] [REQUEST_ID [REQUEST_ID ...]]
so you can call her by her short little nickname ec2csir, or spell out the whole thing like you're being dramatic. either way she pulls up π
β¨ GENERAL NOTES β¨
okay this part is lowkey important and honestly kinda slay:
any command option or parameter can be handed a value of - to say "hey, read the values for that thing from stdin instead." yes, any of them. go off, stdin. π«Ά
β¨ DESCRIPTION β¨
cancels one or more spot instance requests. that's the mission. that's the assignment. π―
the REQUESTID parameters are the IDs of the spot instance requests you want to cancel β so you just hand her the IDs and she handles it, no cap.
β¨ GENERAL OPTIONS β¨
every single one of these, bestie, because we do not skip options in this house π
-O,--aws-access-key KEYβ your AWS Access Key ID. if you don't pass one, it defaults to whatever's in theAWS_ACCESS_KEYenvironment variable (if it's set, that is).-W,--aws-secret-key KEYβ your AWS Secret Access Key. defaults to theAWS_SECRET_KEYenvironment variable (if set).-T,--security-token TOKENβ AWS delegation token. defaults to theAWS_DELEGATION_TOKENenvironment variable (if set).-K,--private-key KEYβ [DEPRECATED] β οΈ specifyKEYas the private key to use. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set), and it overrides the default. yes she still works, no she is not the moment anymore.-C,--cert CERTβ [DEPRECATED] β οΈ specifyCERTas the X509 certificate to use. defaults to the value of theEC2_CERTenvironment variable (if set), and it overrides the default. same energy as above, girlies.-U,--url URLβ specifyURLas the web service URL to use. defaults tohttps://ec2.amazonaws.com(that's us-east-1) or to the value of theEC2_URLenvironment variable (if set). overrides the default.--region REGIONβ specifyREGIONas the web service region to use. this one will override the URL you set with the-U URLoption and theEC2_URLenvironment variable. it defaults to the region specified by theEC2_URLenvironment variable, orus-east-1if that env var isn't set. she's bossy, we respect it π-D,--auth-dry-runβ checks whether you can perform the requested action instead of actually performing it. a little test run, a little vibe check, before you commit π-v,--verboseβ verbose output. she will tell you everything.-?,--helpβ display this help.-H,--headersβ display column headers.--debugβ display additional debugging information. for when you're in your detective era π--show-empty-fieldsβ indicate empty fields.--hide-tagsβ do not display tags for tagged resources.--connection-timeout TIMEOUTβ specify a connection timeoutTIMEOUT(in seconds).--request-timeout TIMEOUTβ specify a request timeoutTIMEOUT(in seconds).
β¨ SEE ALSO β¨
go read the lore, bestie, the docs are right there πβ¨
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
and that's the whole page, periodt π this little love letter comes to you courtesy of the EC2 API command line tools, version 1.6.14.1, with api=2014-05 β so yeah, she's been around a minute, and she still ate. mwah, bye bestie ππΈπ
π¦ where this page comes from
- ubuntu jammy: ec2-api-tools 1.6.14.1-0ubuntu1
- ubuntu noble: ec2-api-tools 1.6.14.1-0ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms