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 Answer
0
Accepted Answer

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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions