Probe a bucket with HEAD.
Section: S3API Bucket Commands
Check whether a bucket exists
bash
bash
aws s3api head-bucket --bucket my-bucketExplanation
Common in scripts that verify access or existence.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing S3API Bucket Commands