PUT Bucket consistency request

The PUT Bucket consistency request allows you to specify the consistency level to apply to operations performed on a bucket.

The default consistency controls are set to guarantee read-after-write for newly created objects. For more information on the Consistency-Control header, see information about how StorageGRID Webscale implements the S3 REST API.

You must have the s3:PutBucketConsistency permission to complete this operation.


Request HTTP Header Description
Authorization Specifies the AWS signature and the access key ID for the account to use for the request.
Date The date and time of the request.
Host The host name to which the request is directed.

The x-ntap-sg-consistency parameter must contain one of the following values:

Note: In general, you should use the default consistency control value. If requests are not working correctly, change the application client behavior if possible. Or, configure the client to specify the consistency control for each API request. Set the consistency control at the bucket level only as a last resort.

Request example

PUT /bucket?x-ntap-sg-consistency=strong-global HTTP/1.1
Date: Sat, 29 Nov 2015 01:02:17 GMT
Authorization: AWS 9MOYPG9ACWPAJA1S72R5:jUGbYkLdBApjCWBgK4TxvOjfock=
Host: test.com