Object Lock Configuration

GET https://s3.amazonaws.com/?object-lock

Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see Locking Objects.

Request Params

KeyDatatypeRequiredDescription
object-locknull

HEADERS

KeyDatatypeRequiredDescription
x-amz-content-sha256string

RESPONSES

status: OK

"\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cListAllMyBucketsResult xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"\u003e\n    \u003cOwner\u003e\n        \u003cID\u003e94aebaef4c4fbbe84a36f076a1adbf6208742d219ac1cecb29939e262efabf56\u003c/ID\u003e\n        \u003cDisplayName\u003ekinlane\u003c/DisplayName\u003e\n    \u003c/Owner\u003e\n    \u003cBuckets\u003e\n        \u003cBucket\u003e\n            \u003cName\u003eworking-demo-2\u003c/Name\u003e\n            \u003cCreationDate\u003e2019-11-17T04:45:13.000Z\u003c/CreationDate\u003e\n        \u003c/Bucket\u003e\n    \u003c/Buckets\u003e\n\u003c/ListAllMyBucketsResult\u003e"