Returns the versioning state of a bucket.
Usage
put-bucket-versioning --bucket <value> --versioning-configuration <value>
Supported Options
--bucket: Bucket name
--versioning-configuration <value>: Versioning configuration
<value> can be one of the following:
'{"Status": "Enabled"}'
'{"Status": "Suspended"}'
Example
aws s3api put-bucket-versioning --endpoint http://<hostname>:<port_number> --profile testuser1 --bucket example_bucket