Fixed example output for list-buckets --details

pull/62/head
Simon Willison 2022-01-17 18:18:23 -08:00 zatwierdzone przez GitHub
rodzic 6d3fa9283e
commit d90ebd12d7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 27 dodań i 25 usunięć

Wyświetl plik

@ -241,7 +241,8 @@ Add `--details` to include details of the bucket ACL, website configuration and
Using `--details` adds three additional API calls for each bucket, so it is advisable to use it with one or more explicit bucket names. Using `--details` adds three additional API calls for each bucket, so it is advisable to use it with one or more explicit bucket names.
``` ```
% s3-credentials list-buckets simonw-test-public-website-bucket --details % s3-credentials list-buckets simonw-test-public-website-bucket --details
{ [
{
"Name": "simonw-test-public-website-bucket", "Name": "simonw-test-public-website-bucket",
"CreationDate": "2021-11-08 22:53:30+00:00", "CreationDate": "2021-11-08 22:53:30+00:00",
"bucket_acl": { "bucket_acl": {
@ -269,7 +270,8 @@ Using `--details` adds three additional API calls for each bucket, so it is advi
"Key": "error.html" "Key": "error.html"
} }
} }
} }
]
``` ```
A bucket with `public_access_block` might look like this: A bucket with `public_access_block` might look like this:
```json ```json