Skip to main content

The sample request/response pair below shows how to PUT a bucket storage type configuration. The bucket name in this example is buser1. With the bucket storage type configuration in this example, all S3 objects larger than 20 bytes will be stored in the Vault File System.

# Request

PUT /?hyperstore HTTP/1.1
Host: buser1.s3.nicmanlab.com
Content-Length: 111
Date: Wed, 15 Jan 2014 22:11:40 GMT
Authorization: AWS 0089edbee087309aabfb:dsDauMNvstO4cZ4TGeXXXXoLNnQ=

<?xml version="1.0" encoding="UTF-8"?>
<HSConfiguration xmlns="http://s3.nicmanlab.com/doc/2013-10-01/">
<LargeStorage>HSFS</LargeStorage>
<Threshold>20</Threshold>
</HSConfiguration>

# Response

HTTP/1.1 200 OK.
Date: Wed, 15 Jan 2014 22:11:40 GMT.
x-amz-request-id: 27A49407E3211E3.
Content-Length: 0.
Server: nicmanlab.

Connect with Us on LinkedIn

Follow Us on LinkedIn to find out what is currently going on and link with our Consultants!