S3.ServiceResource.
BucketVersioning
Creates a BucketVersioning resource.:
bucket_versioning = s3.BucketVersioning('bucket_name')
S3.BucketVersioning