Difference between revisions of "Aws s3api get-bucket-acl"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<code>[[aws s3api]] get-bucket-acl</code> | <code>[[aws s3api]] get-bucket-acl</code> | ||
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/get-bucket-acl.html | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/get-bucket-acl.html | ||
+ | |||
+ | == Examples == | ||
+ | Amazon doc example: | ||
+ | aws s3api get-bucket-acl --bucket MY-BUCKET | ||
+ | { | ||
+ | "Owner": { | ||
+ | "DisplayName": "my-username", | ||
+ | "ID": "7009a8971cd538e11f6b6606438875e7c86c5b672f46db45460ddcd087d36c32" | ||
+ | }, | ||
+ | "Grants": [ | ||
+ | { | ||
+ | "Grantee": { | ||
+ | "DisplayName": "my-username", | ||
+ | "ID": "7009a8971cd538e11f6b6606438875e7c86c5b672f46db45460ddcd087d36c32" | ||
+ | }, | ||
+ | "Permission": "FULL_CONTROL" | ||
+ | } | ||
+ | ] | ||
+ | } | ||
Line 23: | Line 42: | ||
* <code>[[aws s3api get-bucket-policy]]</code> | * <code>[[aws s3api get-bucket-policy]]</code> | ||
* <code>[[aws s3api create-bucket]]</code> | * <code>[[aws s3api create-bucket]]</code> | ||
+ | ** <code>[[aws s3api create-bucket --acl]]</code> | ||
+ | * <code>[[google_storage_bucket_acl]]</code> | ||
==See also== | ==See also== |
Latest revision as of 02:54, 6 June 2024
aws s3api get-bucket-acl
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/get-bucket-acl.html
Examples[edit]
Amazon doc example:
aws s3api get-bucket-acl --bucket MY-BUCKET { "Owner": { "DisplayName": "my-username", "ID": "7009a8971cd538e11f6b6606438875e7c86c5b672f46db45460ddcd087d36c32" }, "Grants": [ { "Grantee": { "DisplayName": "my-username", "ID": "7009a8971cd538e11f6b6606438875e7c86c5b672f46db45460ddcd087d36c32" }, "Permission": "FULL_CONTROL" } ] }
aws s3api get-bucket-acl --bucket MY-BUCKET { "Owner": { "ID": "672f6e982a19f45fb64dc74f7da2e5f57a82f61d6c0953f87d08dbb70547eb8t" }, "Grants": [ { "Grantee": { "ID": "742f6e982a19f45fb64dc74f7da2e5f57a82f61d6c0953f87d08dbb89547eb0t", "Type": "CanonicalUser" }, "Permission": "FULL_CONTROL" } ] }
Related[edit]
See also[edit]
Advertising: