CmdID

CmdID / aws / aws s3api

aws s3api put-object-retention

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

9 options Its page in the AWS CLI reference

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

Options

9 in the AWS CLI reference
--bucketThe bucket name that contains the object you want to apply this Object Retention configuration to.
--bypass-governance-retentionIndicates whether this action should bypass Governance-mode restrictions.
--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 apply this Object Retention configuration to.
--request-payerConfirms that the requester knows that they will be charged for the request.
--retentionThe container element for the Object Retention configuration.
--version-idThe version ID for the object that you want to apply this Object Retention configuration to.