-1
我可以通過AWS S3設置對象的權限,單擊對象,選擇權限(例如Grantee和Open/Download)。通過CLI的aws s3對象權限
但是,我似乎無法通過s3api
看到這些權限。例如。如果我跑
aws s3api get-object-acl --bucket <my bucket> --key <my file>
我得到:
An error occurred (NoSuchKey) when calling the GetObjectAcl operation: The specified key does not exist.
有什麼建議?
您爲''指定了什麼值。無需提供實際價值。 –
helloV
--key numbers3.txt – Snowcrash
「my-bucket」中是否有名爲'numbers3.txt'的對象? – helloV