Skip to content

Commit 1efcd04

Browse files
author
AWS
committed
Amazon S3 Tables Update: Adds support for request metrics metrics APIs for S3 Tables
1 parent c4ed388 commit 1efcd04

File tree

2 files changed

+114
-0
lines changed

2 files changed

+114
-0
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": "Amazon S3 Tables",
4+
"contributor": "",
5+
"description": "Adds support for request metrics metrics APIs for S3 Tables"
6+
}

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

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,25 @@
146146
"documentation":"<p>Deletes the encryption configuration for a table bucket.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:DeleteTableBucketEncryption</code> permission to use this operation.</p> </dd> </dl>",
147147
"idempotent":true
148148
},
149+
"DeleteTableBucketMetricsConfiguration":{
150+
"name":"DeleteTableBucketMetricsConfiguration",
151+
"http":{
152+
"method":"DELETE",
153+
"requestUri":"/buckets/{tableBucketARN}/metrics",
154+
"responseCode":204
155+
},
156+
"input":{"shape":"DeleteTableBucketMetricsConfigurationRequest"},
157+
"errors":[
158+
{"shape":"InternalServerErrorException"},
159+
{"shape":"ForbiddenException"},
160+
{"shape":"NotFoundException"},
161+
{"shape":"TooManyRequestsException"},
162+
{"shape":"ConflictException"},
163+
{"shape":"BadRequestException"}
164+
],
165+
"documentation":"<p>Deletes the metrics configuration for a table bucket.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:DeleteTableBucketMetricsConfiguration</code> permission to use this operation.</p> </dd> </dl>",
166+
"idempotent":true
167+
},
149168
"DeleteTableBucketPolicy":{
150169
"name":"DeleteTableBucketPolicy",
151170
"http":{
@@ -287,6 +306,26 @@
287306
"documentation":"<p>Gets details about a maintenance configuration for a given table bucket. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html\">Amazon S3 table bucket maintenance</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:GetTableBucketMaintenanceConfiguration</code> permission to use this operation. </p> </dd> </dl>",
288307
"readonly":true
289308
},
309+
"GetTableBucketMetricsConfiguration":{
310+
"name":"GetTableBucketMetricsConfiguration",
311+
"http":{
312+
"method":"GET",
313+
"requestUri":"/buckets/{tableBucketARN}/metrics",
314+
"responseCode":200
315+
},
316+
"input":{"shape":"GetTableBucketMetricsConfigurationRequest"},
317+
"output":{"shape":"GetTableBucketMetricsConfigurationResponse"},
318+
"errors":[
319+
{"shape":"InternalServerErrorException"},
320+
{"shape":"ForbiddenException"},
321+
{"shape":"NotFoundException"},
322+
{"shape":"TooManyRequestsException"},
323+
{"shape":"ConflictException"},
324+
{"shape":"BadRequestException"}
325+
],
326+
"documentation":"<p>Gets the metrics configuration for a table bucket.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:GetTableBucketMetricsConfiguration</code> permission to use this operation.</p> </dd> </dl>",
327+
"readonly":true
328+
},
290329
"GetTableBucketPolicy":{
291330
"name":"GetTableBucketPolicy",
292331
"http":{
@@ -526,6 +565,25 @@
526565
],
527566
"documentation":"<p>Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html\">Amazon S3 table bucket maintenance</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:PutTableBucketMaintenanceConfiguration</code> permission to use this operation. </p> </dd> </dl>"
528567
},
568+
"PutTableBucketMetricsConfiguration":{
569+
"name":"PutTableBucketMetricsConfiguration",
570+
"http":{
571+
"method":"PUT",
572+
"requestUri":"/buckets/{tableBucketARN}/metrics",
573+
"responseCode":204
574+
},
575+
"input":{"shape":"PutTableBucketMetricsConfigurationRequest"},
576+
"errors":[
577+
{"shape":"InternalServerErrorException"},
578+
{"shape":"ForbiddenException"},
579+
{"shape":"NotFoundException"},
580+
{"shape":"TooManyRequestsException"},
581+
{"shape":"ConflictException"},
582+
{"shape":"BadRequestException"}
583+
],
584+
"documentation":"<p>Sets the metrics configuration for a table bucket.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:PutTableBucketMetricsConfiguration</code> permission to use this operation.</p> </dd> </dl>",
585+
"idempotent":true
586+
},
529587
"PutTableBucketPolicy":{
530588
"name":"PutTableBucketPolicy",
531589
"http":{
@@ -870,6 +928,18 @@
870928
}
871929
}
872930
},
931+
"DeleteTableBucketMetricsConfigurationRequest":{
932+
"type":"structure",
933+
"required":["tableBucketARN"],
934+
"members":{
935+
"tableBucketARN":{
936+
"shape":"TableBucketARN",
937+
"documentation":"<p>The Amazon Resource Name (ARN) of the table bucket.</p>",
938+
"location":"uri",
939+
"locationName":"tableBucketARN"
940+
}
941+
}
942+
},
873943
"DeleteTableBucketPolicyRequest":{
874944
"type":"structure",
875945
"required":["tableBucketARN"],
@@ -1097,6 +1167,32 @@
10971167
}
10981168
}
10991169
},
1170+
"GetTableBucketMetricsConfigurationRequest":{
1171+
"type":"structure",
1172+
"required":["tableBucketARN"],
1173+
"members":{
1174+
"tableBucketARN":{
1175+
"shape":"TableBucketARN",
1176+
"documentation":"<p>The Amazon Resource Name (ARN) of the table bucket.</p>",
1177+
"location":"uri",
1178+
"locationName":"tableBucketARN"
1179+
}
1180+
}
1181+
},
1182+
"GetTableBucketMetricsConfigurationResponse":{
1183+
"type":"structure",
1184+
"required":["tableBucketARN"],
1185+
"members":{
1186+
"tableBucketARN":{
1187+
"shape":"TableBucketARN",
1188+
"documentation":"<p>The Amazon Resource Name (ARN) of the table bucket.</p>"
1189+
},
1190+
"id":{
1191+
"shape":"String",
1192+
"documentation":"<p>The unique identifier of the metrics configuration.</p>"
1193+
}
1194+
}
1195+
},
11001196
"GetTableBucketPolicyRequest":{
11011197
"type":"structure",
11021198
"required":["tableBucketARN"],
@@ -1911,6 +2007,18 @@
19112007
}
19122008
}
19132009
},
2010+
"PutTableBucketMetricsConfigurationRequest":{
2011+
"type":"structure",
2012+
"required":["tableBucketARN"],
2013+
"members":{
2014+
"tableBucketARN":{
2015+
"shape":"TableBucketARN",
2016+
"documentation":"<p>The Amazon Resource Name (ARN) of the table bucket.</p>",
2017+
"location":"uri",
2018+
"locationName":"tableBucketARN"
2019+
}
2020+
}
2021+
},
19142022
"PutTableBucketPolicyRequest":{
19152023
"type":"structure",
19162024
"required":[

0 commit comments

Comments
 (0)