Hi, this didn't work for me:
but this did:
import boto3
bucket_name = 'mybucket'
s3 = boto3.resource('s3')
versioning = s3.BucketVersioning(bucket_name)
# check status
print(versioning.status)
# enable versioning
versioning.enable()
# disable versioning
versioning.suspend()
as described here and S3 Docs
The docs might need a fix.
Hi, this didn't work for me:
gecio.github.io/docs/_optimist/storage/s3_documentation/versioning/index.en.md
Line 134 in f64f77b
but this did:
as described here and S3 Docs
The docs might need a fix.