Repository URL to install this package:
|
Version:
1.21.11 ▾
|
The following command enables versioning on a bucket named ``my-bucket``::
aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled
The following command enables versioning, and uses an mfa code ::
aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled --mfa "SERIAL 123456"