Skip to end of banner Go to start of banner Skip to end of metadata Go to start of metadata
To enable or disable the versioning of a bucket, use the put-bucket-versioning command following this syntax:
This command contains the following attributes that you need to specify:
profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
bucket: The name of the bucket for which you want to enable or disable the versioning.
versioning-configuration: The configuration of the versioning. This element contains the following attribute you need to specify:
Status: The versioning state you want to apply to your bucket (
endpoint: The endpoint corresponding to the service (
osu) and Region you want to send the request to, in the following format: https://<SERVICE>.<REGION>.outscale.com