Difference between revisions of "Aws s3api list-buckets"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
<code>[[aws s3api]] list-buckets [[--output=text]]</code> <ref> https://docs.aws.amazon.com/cli/latest/reference/s3api/list-buckets.html </ref>
 
<code>[[aws s3api]] list-buckets [[--output=text]]</code> <ref> https://docs.aws.amazon.com/cli/latest/reference/s3api/list-buckets.html </ref>
 +
 +
aws s3api list-buckets --query "Buckets[].Name"
  
 
  aws s3api list-buckets
 
  aws s3api list-buckets

Revision as of 11:47, 17 September 2021

aws s3api list-buckets --output=text [1]

aws s3api list-buckets --query "Buckets[].Name"
aws s3api list-buckets
{
    "Buckets": [],
    "Owner": {
        "DisplayName": "your_name",
        "ID": "89094145c8599971367dbaedba5e3f08b9d6bbd1036ed1089fb102f0b407b648"
    }
}
ID is the ID of the Owner


Related terms

See also

  • https://docs.aws.amazon.com/cli/latest/reference/s3api/list-buckets.html
  • Advertising: