CmdID

CmdID / aws / aws s3api

aws s3api put-object-legal-hold

This operation is not supported for directory buckets. AWS CLI reference

8 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

8 in the AWS CLI reference
--bucketThe bucket name containing the object that you want to place a legal hold on.
--checksum-algorithmIndicates the algorithm used to create the checksum for the object when you use the SDK.
--content-md5The MD5 hash for the request body.
--expected-bucket-ownerThe account ID of the expected bucket owner.
--keyThe key name for the object that you want to place a legal hold on.
--legal-holdContainer element for the legal hold configuration you want to apply to the specified object.
--request-payerConfirms that the requester knows that they will be charged for the request.
--version-idThe version ID of the object that you want to place a legal hold on.