Skip to content

Commit a2004f2

Browse files
author
AWS
committed
AWS S3 Control Update: Added 34 new S3 Storage Lens metrics to support additional customer use cases.
1 parent ca421e3 commit a2004f2

File tree

2 files changed

+80
-20
lines changed

2 files changed

+80
-20
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS S3 Control",
4+
"contributor": "",
5+
"description": "Added 34 new S3 Storage Lens metrics to support additional customer use cases."
6+
}

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

Lines changed: 74 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@
649649
},
650650
"input":{"shape":"GetStorageLensConfigurationRequest"},
651651
"output":{"shape":"GetStorageLensConfigurationResult"},
652-
"documentation":"<p>Gets the Amazon S3 Storage Lens configuration. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html\">Assessing your storage activity and usage with Amazon S3 Storage Lens </a> in the <i>Amazon S3 User Guide</i>.</p> <note> <p>To use this action, you must have permission to perform the <code>s3:GetStorageLensConfiguration</code> action. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html\">Setting permissions to use Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p> </note>",
652+
"documentation":"<p>Gets the Amazon S3 Storage Lens configuration. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html\">Assessing your storage activity and usage with Amazon S3 Storage Lens </a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html\">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p> <note> <p>To use this action, you must have permission to perform the <code>s3:GetStorageLensConfiguration</code> action. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html\">Setting permissions to use Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p> </note>",
653653
"endpoint":{
654654
"hostPrefix":"{AccountId}."
655655
},
@@ -970,7 +970,7 @@
970970
"locationName":"PutStorageLensConfigurationRequest",
971971
"xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"}
972972
},
973-
"documentation":"<p>Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html\">Working with Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p> <note> <p>To use this action, you must have permission to perform the <code>s3:PutStorageLensConfiguration</code> action. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html\">Setting permissions to use Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p> </note>",
973+
"documentation":"<p>Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html\">Working with Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html\">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p> <note> <p>To use this action, you must have permission to perform the <code>s3:PutStorageLensConfiguration</code> action. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html\">Setting permissions to use Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p> </note>",
974974
"endpoint":{
975975
"hostPrefix":"{AccountId}."
976976
},
@@ -1113,24 +1113,56 @@
11131113
"members":{
11141114
"ActivityMetrics":{
11151115
"shape":"ActivityMetrics",
1116-
"documentation":"<p>A container for the S3 Storage Lens activity metrics.</p>"
1116+
"documentation":"<p>A container for S3 Storage Lens activity metrics.</p>"
11171117
},
11181118
"BucketLevel":{
11191119
"shape":"BucketLevel",
11201120
"documentation":"<p>A container for the S3 Storage Lens bucket-level configuration.</p>"
1121+
},
1122+
"AdvancedCostOptimizationMetrics":{
1123+
"shape":"AdvancedCostOptimizationMetrics",
1124+
"documentation":"<p>A container for S3 Storage Lens advanced cost-optimization metrics.</p>"
1125+
},
1126+
"AdvancedDataProtectionMetrics":{
1127+
"shape":"AdvancedDataProtectionMetrics",
1128+
"documentation":"<p>A container for S3 Storage Lens advanced data-protection metrics.</p>"
1129+
},
1130+
"DetailedStatusCodesMetrics":{
1131+
"shape":"DetailedStatusCodesMetrics",
1132+
"documentation":"<p>A container for detailed status code metrics. </p>"
11211133
}
11221134
},
1123-
"documentation":"<p>A container for the account level Amazon S3 Storage Lens configuration.</p>"
1135+
"documentation":"<p>A container for the account-level Amazon S3 Storage Lens configuration.</p> <p>For more information about S3 Storage Lens, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html\">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html\">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>"
11241136
},
11251137
"ActivityMetrics":{
11261138
"type":"structure",
11271139
"members":{
11281140
"IsEnabled":{
11291141
"shape":"IsEnabled",
1130-
"documentation":"<p>A container for whether the activity metrics are enabled.</p>"
1142+
"documentation":"<p>A container that indicates whether activity metrics are enabled.</p>"
1143+
}
1144+
},
1145+
"documentation":"<p>The container element for Amazon S3 Storage Lens activity metrics. Activity metrics show details about how your storage is requested, such as requests (for example, All requests, Get requests, Put requests), bytes uploaded or downloaded, and errors.</p> <p>For more information about S3 Storage Lens, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html\">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html\">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>"
1146+
},
1147+
"AdvancedCostOptimizationMetrics":{
1148+
"type":"structure",
1149+
"members":{
1150+
"IsEnabled":{
1151+
"shape":"IsEnabled",
1152+
"documentation":"<p>A container that indicates whether advanced cost-optimization metrics are enabled.</p>"
1153+
}
1154+
},
1155+
"documentation":"<p>The container element for Amazon S3 Storage Lens advanced cost-optimization metrics. Advanced cost-optimization metrics provide insights that you can use to manage and optimize your storage costs, for example, lifecycle rule counts for transitions, expirations, and incomplete multipart uploads.</p> <p>For more information about S3 Storage Lens, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html\">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html\">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>"
1156+
},
1157+
"AdvancedDataProtectionMetrics":{
1158+
"type":"structure",
1159+
"members":{
1160+
"IsEnabled":{
1161+
"shape":"IsEnabled",
1162+
"documentation":"<p>A container that indicates whether advanced data-protection metrics are enabled.</p>"
11311163
}
11321164
},
1133-
"documentation":"<p>A container for the activity metrics.</p>"
1165+
"documentation":"<p>The container element for Amazon S3 Storage Lens advanced data-protection metrics. Advanced data-protection metrics provide insights that you can use to perform audits and protect your data, for example replication rule counts within and across Regions.</p> <p>For more information about S3 Storage Lens, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html\">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html\">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>"
11341166
},
11351167
"Alias":{
11361168
"type":"string",
@@ -1296,14 +1328,26 @@
12961328
"members":{
12971329
"ActivityMetrics":{
12981330
"shape":"ActivityMetrics",
1299-
"documentation":"<p>A container for the bucket-level activity metrics for Amazon S3 Storage Lens</p>"
1331+
"documentation":"<p>A container for the bucket-level activity metrics for S3 Storage Lens.</p>"
13001332
},
13011333
"PrefixLevel":{
13021334
"shape":"PrefixLevel",
1303-
"documentation":"<p>A container for the bucket-level prefix-level metrics for S3 Storage Lens</p>"
1335+
"documentation":"<p>A container for the prefix-level metrics for S3 Storage Lens. </p>"
1336+
},
1337+
"AdvancedCostOptimizationMetrics":{
1338+
"shape":"AdvancedCostOptimizationMetrics",
1339+
"documentation":"<p>A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.</p>"
1340+
},
1341+
"AdvancedDataProtectionMetrics":{
1342+
"shape":"AdvancedDataProtectionMetrics",
1343+
"documentation":"<p>A container for bucket-level advanced data-protection metrics for S3 Storage Lens.</p>"
1344+
},
1345+
"DetailedStatusCodesMetrics":{
1346+
"shape":"DetailedStatusCodesMetrics",
1347+
"documentation":"<p>A container for bucket-level detailed status code metrics for S3 Storage Lens.</p>"
13041348
}
13051349
},
1306-
"documentation":"<p>A container for the bucket-level configuration.</p>"
1350+
"documentation":"<p>A container for the bucket-level configuration for Amazon S3 Storage Lens.</p> <p>For more information about S3 Storage Lens, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html\">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p>"
13071351
},
13081352
"BucketLocationConstraint":{
13091353
"type":"string",
@@ -2068,6 +2112,16 @@
20682112
}
20692113
}
20702114
},
2115+
"DetailedStatusCodesMetrics":{
2116+
"type":"structure",
2117+
"members":{
2118+
"IsEnabled":{
2119+
"shape":"IsEnabled",
2120+
"documentation":"<p>A container that indicates whether detailed status code metrics are enabled.</p>"
2121+
}
2122+
},
2123+
"documentation":"<p>The container element for Amazon S3 Storage Lens detailed status code metrics. Detailed status code metrics generate metrics for HTTP status codes, such as <code>200 OK</code>, <code>403 Forbidden</code>, <code>503 Service Unavailable</code> and others. </p> <p>For more information about S3 Storage Lens, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html\">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html\">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>"
2124+
},
20712125
"Endpoints":{
20722126
"type":"map",
20732127
"key":{"shape":"NonEmptyMaxLength64String"},
@@ -3168,7 +3222,7 @@
31683222
},
31693223
"S3PutObjectAcl":{
31703224
"shape":"S3SetObjectAclOperation",
3171-
"documentation":"<p>Directs the specified job to run a PUT Object acl call on every object in the manifest.</p>",
3225+
"documentation":"<p>Directs the specified job to run a <code>PutObjectAcl</code> call on every object in the manifest.</p>",
31723226
"box":true
31733227
},
31743228
"S3PutObjectTagging":{
@@ -4172,26 +4226,26 @@
41724226
"members":{
41734227
"BlockPublicAcls":{
41744228
"shape":"Setting",
4175-
"documentation":"<p>Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets in this account. Setting this element to <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> <p>Enabling this setting doesn't affect existing policies or ACLs.</p> <p>This is not supported for Amazon S3 on Outposts.</p>",
4229+
"documentation":"<p>Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets in this account. Setting this element to <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p> <code>PutBucketAcl</code> and <code>PutObjectAcl</code> calls fail if the specified ACL is public.</p> </li> <li> <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> <p>Enabling this setting doesn't affect existing policies or ACLs.</p> <p>This property is not supported for Amazon S3 on Outposts.</p>",
41764230
"locationName":"BlockPublicAcls"
41774231
},
41784232
"IgnorePublicAcls":{
41794233
"shape":"Setting",
4180-
"documentation":"<p>Specifies whether Amazon S3 should ignore public ACLs for buckets in this account. Setting this element to <code>TRUE</code> causes Amazon S3 to ignore all public ACLs on buckets in this account and any objects that they contain. </p> <p>Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set.</p> <p>This is not supported for Amazon S3 on Outposts.</p>",
4234+
"documentation":"<p>Specifies whether Amazon S3 should ignore public ACLs for buckets in this account. Setting this element to <code>TRUE</code> causes Amazon S3 to ignore all public ACLs on buckets in this account and any objects that they contain. </p> <p>Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set.</p> <p>This property is not supported for Amazon S3 on Outposts.</p>",
41814235
"locationName":"IgnorePublicAcls"
41824236
},
41834237
"BlockPublicPolicy":{
41844238
"shape":"Setting",
4185-
"documentation":"<p>Specifies whether Amazon S3 should block public bucket policies for buckets in this account. Setting this element to <code>TRUE</code> causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public access. </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> <p>This is not supported for Amazon S3 on Outposts.</p>",
4239+
"documentation":"<p>Specifies whether Amazon S3 should block public bucket policies for buckets in this account. Setting this element to <code>TRUE</code> causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public access. </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> <p>This property is not supported for Amazon S3 on Outposts.</p>",
41864240
"locationName":"BlockPublicPolicy"
41874241
},
41884242
"RestrictPublicBuckets":{
41894243
"shape":"Setting",
4190-
"documentation":"<p>Specifies whether Amazon S3 should restrict public bucket policies for buckets in this account. Setting this element to <code>TRUE</code> restricts access to buckets with public policies to only Amazon Web Service principals and authorized users within this account.</p> <p>Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked.</p> <p>This is not supported for Amazon S3 on Outposts.</p>",
4244+
"documentation":"<p>Specifies whether Amazon S3 should restrict public bucket policies for buckets in this account. Setting this element to <code>TRUE</code> restricts access to buckets with public policies to only Amazon Web Service principals and authorized users within this account.</p> <p>Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked.</p> <p>This property is not supported for Amazon S3 on Outposts.</p>",
41914245
"locationName":"RestrictPublicBuckets"
41924246
}
41934247
},
4194-
"documentation":"<p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3 account. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status\">The Meaning of \"Public\"</a> in the <i>Amazon S3 User Guide</i>.</p> <p>This is not supported for Amazon S3 on Outposts.</p>"
4248+
"documentation":"<p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3 account. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status\">The Meaning of \"Public\"</a> in the <i>Amazon S3 User Guide</i>.</p> <p>This data type is not supported for Amazon S3 on Outposts.</p>"
41954249
},
41964250
"PublicAccessBlockEnabled":{"type":"boolean"},
41974251
"PutAccessPointConfigurationForObjectLambdaRequest":{
@@ -4817,7 +4871,7 @@
48174871
"members":{
48184872
"TargetResource":{
48194873
"shape":"S3BucketArnString",
4820-
"documentation":"<p>Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a bucket named \"destinationBucket\", set the TargetResource to \"arn:aws:s3:::destinationBucket\".</p>"
4874+
"documentation":"<p>Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a bucket named <code>destinationBucket</code>, set the <code>TargetResource</code> property to <code>arn:aws:s3:::destinationBucket</code>.</p>"
48214875
},
48224876
"CannedAccessControlList":{
48234877
"shape":"S3CannedAccessControlList",
@@ -5205,7 +5259,7 @@
52055259
"documentation":"<p/>"
52065260
}
52075261
},
5208-
"documentation":"<p>Contains the configuration parameters for a Set Object ACL operation. S3 Batch Operations passes every object to the underlying PUT Object acl API. For more information about the parameters for this operation, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html\">PUT Object acl</a>.</p>"
5262+
"documentation":"<p>Contains the configuration parameters for a Set Object ACL operation. S3 Batch Operations passes every object to the underlying <code>PutObjectAcl</code> API. For more information about the parameters for this operation, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html\"> <code>PutObjectAcl</code> </a>.</p>"
52095263
},
52105264
"S3SetObjectLegalHoldOperation":{
52115265
"type":"structure",
@@ -5265,14 +5319,14 @@
52655319
"members":{
52665320
"Key":{
52675321
"shape":"TagKeyString",
5268-
"documentation":"<p/>"
5322+
"documentation":"<p>Key of the tag</p>"
52695323
},
52705324
"Value":{
52715325
"shape":"TagValueString",
5272-
"documentation":"<p/>"
5326+
"documentation":"<p>Value of the tag</p>"
52735327
}
52745328
},
5275-
"documentation":"<p/>"
5329+
"documentation":"<p>A container for a key-value name pair.</p>"
52765330
},
52775331
"S3TagSet":{
52785332
"type":"list",

0 commit comments

Comments
 (0)