GET Object legal hold
Gets an object's current Legal Hold status.
Request Syntax
GET /<object-key>?legal-hold&versionId=<version-id>HTTP/1.1 Host:<bucket-name>.s3.amazonaws.com Date:<Thu, 15 Nov 2016 00:17:21 GMT>Authorization:<authorization-string>(see Authenticating Requests (AWS Signature Version 4))
URI Request Parameters
- versionId
-
The version ID for the object version whose retention settings you want to retrieve.
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <LegalHold> <Status>string</Status> </LegalHold>
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
For more information about the response elements that this operation returns, see ObjectLockLegalHold.
Related Resources
Locking Objects in the Amazon Simple Storage Service Developer Guide.


