For the content of a versioning request body, you use XML in this format:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Status>versioning-status</Status>
</VersioningConfiguration>
The table below describes XML elements in a versioning request body. The elements are listed in alphabetical order.
Element | Description |
---|---|
Status |
Child of the VersioningConfiguration element. Valid values for the Status element are: •Enabled — Enables versioning for the bucket •Suspended — Disables versioning for the bucket |
Versioning Configuration |
Root element. This must be the first element in the versioning request body. The VersioningConfiguration element must include this XML namespace specification: xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> The VersioningConfiguration element is a container for the Status element. |
© 2015 Hitachi Data Systems Corporation. All rights reserved.