Dashboard
PHP:
8.3.30
OS:
Linux
User:
dh_mnqueb
/
/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
examples
/
s3api
📤 Upload
📝 New File
📁 New Folder
Close
Editing: put-object-retention.rst
**To set an object retention configuration for an object** The following ``put-object-retention`` example sets an object retention configuration for the specified object until 2025-01-01. :: aws s3api put-object-retention \ --bucket my-bucket-with-object-lock \ --key doc1.rtf \ --retention '{ "Mode": "GOVERNANCE", "RetainUntilDate": "2025-01-01T00:00:00" }' This command produces no output.
Save
Cancel