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 réponse
0
Réponse acceptée

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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions