Versioning

S3.Bucket.Versioning()

Creates a BucketVersioning resource.:

bucket_versioning = bucket.Versioning()
Return type
S3.BucketVersioning
Returns
A BucketVersioning resource