| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Once you enable versioning on a bucket, Amazon S3 automatically adds a unique version
ID to every object stored (using PUT, POST, or
COPY) in the bucket.
The following figure shows that Amazon S3 adds a unique version ID to an object when it is added to a versioning-enabled bucket.

Adding Objects to Versioning-Enabled Buckets
| 1 | Enable versioning on a bucket using a PUT Bucket
versioning request. For more information, go to PUT Bucket
versioning. |
| 2 | Send a PUT, POST, or
COPY request to store an object in the
bucket. |
When you add an object to a versioning-enabled bucket, Amazon S3 returns the version
ID of the object in the x-amz-versionid response header, for
example:
x-amz-version-id: 3/L4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY
Note
Normal Amazon S3 rates apply for every version of an object stored and transferred. Each version of an object is the entire object; it is not just a diff from the previous version. Thus, if you have three versions of an object stored, you are charged for three objects.