Skip to content

Commit

Permalink
S3 on Outposts launches support for Lifecycle configuration for Outpo…
Browse files Browse the repository at this point in the history
…sts buckets. With S3 Lifecycle configuration, you can mange objects so they are stored cost effectively. You can manage objects using size-based rules and specify how many noncurrent versions bucket will retain.
  • Loading branch information
aws-sdk-dotnet-automation committed Nov 2, 2022
1 parent 8c697c9 commit 4b76539
Show file tree
Hide file tree
Showing 17 changed files with 285 additions and 97 deletions.
29 changes: 26 additions & 3 deletions generator/ServiceModels/s3control/s3control-2018-08-20.api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2808,15 +2808,31 @@
"type":"structure",
"members":{
"Prefix":{"shape":"Prefix"},
"Tags":{"shape":"S3TagSet"}
"Tags":{"shape":"S3TagSet"},
"ObjectSizeGreaterThan":{
"shape":"ObjectSizeGreaterThanBytes",
"box":true
},
"ObjectSizeLessThan":{
"shape":"ObjectSizeLessThanBytes",
"box":true
}
}
},
"LifecycleRuleFilter":{
"type":"structure",
"members":{
"Prefix":{"shape":"Prefix"},
"Tag":{"shape":"S3Tag"},
"And":{"shape":"LifecycleRuleAndOperator"}
"And":{"shape":"LifecycleRuleAndOperator"},
"ObjectSizeGreaterThan":{
"shape":"ObjectSizeGreaterThanBytes",
"box":true
},
"ObjectSizeLessThan":{
"shape":"ObjectSizeLessThanBytes",
"box":true
}
}
},
"LifecycleRules":{
Expand Down Expand Up @@ -3175,10 +3191,15 @@
"max":64,
"min":1
},
"NoncurrentVersionCount":{"type":"integer"},
"NoncurrentVersionExpiration":{
"type":"structure",
"members":{
"NoncurrentDays":{"shape":"Days"}
"NoncurrentDays":{"shape":"Days"},
"NewerNoncurrentVersions":{
"shape":"NoncurrentVersionCount",
"box":true
}
}
},
"NoncurrentVersionTransition":{
Expand Down Expand Up @@ -3308,6 +3329,8 @@
}
},
"ObjectLockEnabledForBucket":{"type":"boolean"},
"ObjectSizeGreaterThanBytes":{"type":"long"},
"ObjectSizeLessThanBytes":{"type":"long"},
"OperationName":{
"type":"string",
"enum":[
Expand Down
26 changes: 23 additions & 3 deletions generator/ServiceModels/s3control/s3control-2018-08-20.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1471,10 +1471,16 @@
"RegionalBucket$OutpostId": "<p>The Outposts ID of the regional bucket.</p>"
}
},
"NoncurrentVersionCount": {
"base": null,
"refs": {
"NoncurrentVersionExpiration$NewerNoncurrentVersions": "<p>Specifies how many noncurrent versions S3 on Outposts will retain. If there are this many more recent noncurrent versions, S3 on Outposts will take the associated action. For more information about noncurrent versions, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html\">Lifecycle configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p>"
}
},
"NoncurrentVersionExpiration": {
"base": "<p>The container of the noncurrent version expiration.</p>",
"refs": {
"LifecycleRule$NoncurrentVersionExpiration": "<p>The noncurrent version expiration of the lifecycle rule.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"
"LifecycleRule$NoncurrentVersionExpiration": "<p>The noncurrent version expiration of the lifecycle rule.</p>"
}
},
"NoncurrentVersionTransition": {
Expand Down Expand Up @@ -1545,7 +1551,7 @@
"ObjectLambdaAllowedFeaturesList": {
"base": null,
"refs": {
"ObjectLambdaConfiguration$AllowedFeatures": "<p>A container for allowed features. Valid inputs are <code>GetObject-Range</code> and <code>GetObject-PartNumber</code>.</p>"
"ObjectLambdaConfiguration$AllowedFeatures": "<p>A container for allowed features. Valid inputs are <code>GetObject-Range</code>, <code>GetObject-PartNumber</code>, <code>HeadObject-Range</code>, and <code>HeadObject-PartNumber</code>.</p>"
}
},
"ObjectLambdaConfiguration": {
Expand Down Expand Up @@ -1590,7 +1596,7 @@
"ObjectLambdaTransformationConfigurationActionsList": {
"base": null,
"refs": {
"ObjectLambdaTransformationConfiguration$Actions": "<p>A container for the action of an Object Lambda Access Point configuration. Valid input is <code>GetObject</code>.</p>"
"ObjectLambdaTransformationConfiguration$Actions": "<p>A container for the action of an Object Lambda Access Point configuration. Valid inputs are <code>GetObject</code>, <code>ListObjects</code>, <code>HeadObject</code>, and <code>ListObjectsV2</code>.</p>"
}
},
"ObjectLambdaTransformationConfigurationsList": {
Expand All @@ -1605,6 +1611,20 @@
"CreateBucketRequest$ObjectLockEnabledForBucket": "<p>Specifies whether you want S3 Object Lock to be enabled for the new bucket.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"
}
},
"ObjectSizeGreaterThanBytes": {
"base": null,
"refs": {
"LifecycleRuleAndOperator$ObjectSizeGreaterThan": "<p>Minimum object size to which the rule applies.</p>",
"LifecycleRuleFilter$ObjectSizeGreaterThan": "<p>Minimum object size to which the rule applies.</p>"
}
},
"ObjectSizeLessThanBytes": {
"base": null,
"refs": {
"LifecycleRuleAndOperator$ObjectSizeLessThan": "<p>Maximum object size to which the rule applies.</p>",
"LifecycleRuleFilter$ObjectSizeLessThan": "<p>Maximum object size to which the rule applies.</p>"
}
},
"OperationName": {
"base": null,
"refs": {
Expand Down
Loading

0 comments on commit 4b76539

Please sign in to comment.