s3 list object versions documentation is wrong

0

This documentation says you need read access to the bucket, but you also need the ListBucketVersions permission, too. Could someone please correct this from AWS?

Here's the documentation that's wrong. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.list_object_versions

1 回答
0
已接受的回答

Thank you for pointing it out.

Not sure if it has been fixed afterwards, but we could see a warning indicating that s3:ListBucketVersions is required for the operation, in accordance with API documentation https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions.html.

--

ListBucketVersions

AWS
weidi
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容