/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
examples
/
s3api
/
Upload File
HOME
**Retrieves the Legal Hold status of an object** The following ``get-object-legal-hold`` example retrieves the Legal Hold status for the specified object. :: aws s3api get-object-legal-hold \ --bucket my-bucket-with-object-lock \ --key doc1.rtf Output:: { "LegalHold": { "Status": "ON" } }