Command option Sample:aws s3api head-bucket

Search command sample in the internet.It is the result.

This operation is useful to determine if a bucket exists and you havepermission to access it.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/s3api/head-bucket.html

aws s3api head-bucket --bucket my-logs-bucket
     Splunk Add-on for Amazon Web Services: How to setup a cloudtrail/s3 input? - Question | Splunk Answers : http://answers.splunk.com/answers/541344/splunk-add-on-for-amazon-web-services-how-to-setup.html
aws s3api head-bucket --bucket my-bucket
    head-object — AWS CLI 1.16.13 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/s3api/head-bucket.html
aws s3api head-bucket --bucket docker-elasticsearch-index
    No Registry Docker Deployments → pckl.me : http://ravi.pckl.me/short/no-registry-docker-deployments
aws s3api head-bucket --bucket "
    bash - How do I use shell script to check if a bucket exists? - Stack Overflow : http://stackoverflow.com/questions/31077593/how-do-i-use-shell-script-to-check-if-a-bucket-exists
aws s3api head-bucket --bucket
    AWS Restore all glacier objects in a bucket - Kecklers.com : http://www.kecklers.com/aws-restore-all-glacier-objects-in-a-bucket/
aws s3api head-bucket --bucket
     subprocess.SubprocessError Python Example : http://www.programcreek.com/python/example/94466/subprocess.SubprocessError

aws のオプション一覧