当我尝试在其上执行get对象时,我可以使用'aws cp'从S 3存储桶中复制文件,出现MethodNotAllowed错误
[root@ip-10-205-142-73 rshan]# aws s3api --region "us-east-1" get-object --bucket mys3bucket-us-east-1-pp --key file1.encrypted --version-id oRhjdDYkojS5X_rj1jj /home/file1.encrypted
An error occurred (MethodNotAllowed) when calling the GetObject operation: The specified method is not allowed against this resource.