CmdID / aws / aws s3control
aws s3control put-bucket-versioning
This operation sets the versioning state for S3 on Outposts buckets only. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--account-idThe Amazon Web Services account ID of the S3 on Outposts bucket.--bucketThe S3 on Outposts bucket to set the versioning state for.--mfaThe concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.--versioning-configurationThe root-level tag for the VersioningConfiguration parameters.