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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南