|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
To set the storage class of an object you upload to RRS, you set
REDUCED_REDUNDANCY in a
How to Set the Storage Class of an Object You're Uploading to RRS
PUT Object request setting the
x-amz-storage-class request header to
You must have the correct permissions on the bucket to perform the
PUT operation. The default value for the storage
STANDARD (for regular Amazon S3 storage).
The following example sets the storage class of
my-image.jpg to RRS.
PUT /my-image.jpg HTTP/1.1 Host: myBucket.s3.amazonaws.com Date: Wed, 12 Oct 2009 17:50:00 GMT Authorization: AWS AKIAIOSFODNN7EXAMPLE:xQE0diMbLRepdf3YB+FIEXAMPLE= Content-Type: image/jpeg Content-Length: 11434 Expect: 100-continue x-amz-storage-class: REDUCED_REDUNDANCY