putObjectRetention
inline suspend fun S3Client.putObjectRetention(crossinline block: PutObjectRetentionRequest.Builder.() -> Unit): PutObjectRetentionResponse
This operation is not supported for directory buckets.
Places an Object Retention configuration on an object. For more information, see Locking Objects. Users or accounts require the s3:PutObjectRetention
permission in order to place an Object Retention configuration on objects. Bypassing a Governance Retention configuration requires the s3:BypassGovernanceRetention
permission.
This functionality is not supported for Amazon S3 on Outposts.