This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the AWS category.
Last Updated: 2024-11-21
Often I try a command-line command for AWS and they fail.
The reason is because aws cli has two modes. E.g. with the s3 service you can choose between:
The latter has far more commands and is often what you want if the first fails