EC2-CANCEL-S...ANCE-REQUESTS(1)

πŸ“¦ version 1.6.14.1, in ubuntu jammy, ubuntu noble

πŸ’… 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 the AWS_ACCESS_KEY environment variable (if it's set, that is).
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to the AWS_SECRET_KEY environment variable (if set).
  • -T, --security-token TOKEN β€” AWS delegation token. defaults to the AWS_DELEGATION_TOKEN environment variable (if set).
  • -K, --private-key KEY β€” [DEPRECATED] ⚠️ specify KEY as the private key to use. defaults to the value of the EC2_PRIVATE_KEY environment variable (if set), and it overrides the default. yes she still works, no she is not the moment anymore.
  • -C, --cert CERT β€” [DEPRECATED] ⚠️ specify CERT as the X509 certificate to use. defaults to the value of the EC2_CERT environment variable (if set), and it overrides the default. same energy as above, girlies.
  • -U, --url URL β€” specify URL as the web service URL to use. defaults to https://ec2.amazonaws.com (that's us-east-1) or to the value of the EC2_URL environment variable (if set). overrides the default.
  • --region REGION β€” specify REGION as the web service region to use. this one will override the URL you set with the -U URL option and the EC2_URL environment variable. it defaults to the region specified by the EC2_URL environment variable, or us-east-1 if 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 timeout TIMEOUT (in seconds).
  • --request-timeout TIMEOUT β€” specify a request timeout TIMEOUT (in seconds).

✨ SEE ALSO ✨

go read the lore, bestie, the docs are right there πŸ“šβœ¨


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