Skip to content

Commit 54074a2

Browse files
author
AWS
committed
Amazon Simple Storage Service Update: This release updates the Amazon S3 PUT Bucket replication API to include a new optional field named token, which allows you to add a replication configuration to an S3 bucket that has Object Lock enabled.
1 parent f1bd388 commit 54074a2

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"category": "Amazon Simple Storage Service",
3+
"type": "feature",
4+
"description": "This release updates the Amazon S3 PUT Bucket replication API to include a new optional field named token, which allows you to add a replication configuration to an S3 bucket that has Object Lock enabled."
5+
}

services/s3/src/main/resources/codegen-resources/service-2.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5489,7 +5489,7 @@
54895489
"members":{
54905490
"NoncurrentDays":{
54915491
"shape":"Days",
5492-
"documentation":"<p>Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the Amazon Simple Storage Service Developer Guide.</p>"
5492+
"documentation":"<p>Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the Amazon Simple Storage Service Developer Guide.</p>"
54935493
}
54945494
},
54955495
"documentation":"<p>Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.</p>"
@@ -6362,6 +6362,12 @@
63626362
"shape":"ReplicationConfiguration",
63636363
"locationName":"ReplicationConfiguration",
63646364
"xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"}
6365+
},
6366+
"Token":{
6367+
"shape":"ObjectLockToken",
6368+
"documentation":"<p/>",
6369+
"location":"header",
6370+
"locationName":"x-amz-bucket-object-lock-token"
63656371
}
63666372
},
63676373
"payload":"ReplicationConfiguration"

0 commit comments

Comments
 (0)