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 the 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 |
VersioningConfiguration |
Root element. This must be the first element in the versioning request body. The VersioningConfiguration element can optionally include this XML namespace specification: xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> |
© 2015, 2020 Hitachi Vantara LLC. All rights reserved.