CmdID

CmdID / aws / aws s3api

aws s3api head-bucket

You can use this operation to determine if a bucket exists and if you have permission to access it. AWS CLI reference

2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--bucketThe bucket name.
--expected-bucket-ownerThe account ID of the expected bucket owner.