Places an object lock configuration on the specified bucket. The rule specified in the object lock configuration will be applied by default to every new object placed in the specified bucket.
s3_put_object_lock_configuration(Bucket, ObjectLockConfiguration,
RequestPayer, Token, ContentMD5)
[required] The bucket whose object lock configuration you want to create or replace.
The object lock configuration that you want to apply to the specified bucket.
A token to allow Amazon S3 object lock to be enabled for an existing bucket.
The MD5 hash for the request body.
svc$put_object_lock_configuration( Bucket = "string", ObjectLockConfiguration = list( ObjectLockEnabled = "Enabled", Rule = list( DefaultRetention = list( Mode = "GOVERNANCE"|"COMPLIANCE", Days = 123, Years = 123 ) ) ), RequestPayer = "requester", Token = "string", ContentMD5 = "string" )