Skip to content

Commit a49c669

Browse files
Add support for SQ Dashboard Api
1 parent faa5736 commit a49c669

21 files changed

+2692
-3
lines changed

generator/ServiceModels/service-quotas/service-quotas-2019-06-24.api.json

Lines changed: 146 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,22 @@
142142
{"shape":"ServiceException"}
143143
]
144144
},
145+
"GetQuotaUtilizationReport":{
146+
"name":"GetQuotaUtilizationReport",
147+
"http":{
148+
"method":"POST",
149+
"requestUri":"/"
150+
},
151+
"input":{"shape":"GetQuotaUtilizationReportRequest"},
152+
"output":{"shape":"GetQuotaUtilizationReportResponse"},
153+
"errors":[
154+
{"shape":"TooManyRequestsException"},
155+
{"shape":"NoSuchResourceException"},
156+
{"shape":"IllegalArgumentException"},
157+
{"shape":"AccessDeniedException"},
158+
{"shape":"ServiceException"}
159+
]
160+
},
145161
"GetRequestedServiceQuotaChange":{
146162
"name":"GetRequestedServiceQuotaChange",
147163
"http":{
@@ -370,6 +386,23 @@
370386
{"shape":"ServiceException"}
371387
]
372388
},
389+
"StartQuotaUtilizationReport":{
390+
"name":"StartQuotaUtilizationReport",
391+
"http":{
392+
"method":"POST",
393+
"requestUri":"/"
394+
},
395+
"input":{"shape":"StartQuotaUtilizationReportRequest"},
396+
"output":{"shape":"StartQuotaUtilizationReportResponse"},
397+
"errors":[
398+
{"shape":"TooManyRequestsException"},
399+
{"shape":"NoSuchResourceException"},
400+
{"shape":"IllegalArgumentException"},
401+
{"shape":"AccessDeniedException"},
402+
{"shape":"ServiceException"},
403+
{"shape":"InvalidPaginationTokenException"}
404+
]
405+
},
373406
"StopAutoManagement":{
374407
"name":"StopAutoManagement",
375408
"http":{
@@ -466,6 +499,11 @@
466499
"ALL"
467500
]
468501
},
502+
"AppliedValue":{
503+
"type":"double",
504+
"max":10000000000,
505+
"min":0
506+
},
469507
"AssociateServiceQuotaTemplateRequest":{
470508
"type":"structure",
471509
"members":{}
@@ -493,6 +531,11 @@
493531
},
494532
"CustomerServiceEngagementId":{"type":"string"},
495533
"DateTime":{"type":"timestamp"},
534+
"DefaultValue":{
535+
"type":"double",
536+
"max":10000000000,
537+
"min":0
538+
},
496539
"DeleteServiceQuotaIncreaseRequestFromTemplateRequest":{
497540
"type":"structure",
498541
"required":[
@@ -610,6 +653,28 @@
610653
"ExclusionList":{"shape":"ExclusionQuotaList"}
611654
}
612655
},
656+
"GetQuotaUtilizationReportRequest":{
657+
"type":"structure",
658+
"required":["ReportId"],
659+
"members":{
660+
"ReportId":{"shape":"ReportId"},
661+
"NextToken":{"shape":"NextToken"},
662+
"MaxResults":{"shape":"MaxResultsUtilization"}
663+
}
664+
},
665+
"GetQuotaUtilizationReportResponse":{
666+
"type":"structure",
667+
"members":{
668+
"ReportId":{"shape":"ReportId"},
669+
"Status":{"shape":"ReportStatus"},
670+
"GeneratedAt":{"shape":"DateTime"},
671+
"TotalCount":{"shape":"TotalCount"},
672+
"Quotas":{"shape":"QuotaUtilizationInfoList"},
673+
"NextToken":{"shape":"NextToken"},
674+
"ErrorCode":{"shape":"ReportErrorCode"},
675+
"ErrorMessage":{"shape":"ReportErrorMessage"}
676+
}
677+
},
613678
"GetRequestedServiceQuotaChangeRequest":{
614679
"type":"structure",
615680
"required":["RequestId"],
@@ -812,6 +877,11 @@
812877
"max":100,
813878
"min":1
814879
},
880+
"MaxResultsUtilization":{
881+
"type":"integer",
882+
"max":1000,
883+
"min":1
884+
},
815885
"MetricDimensionName":{"type":"string"},
816886
"MetricDimensionValue":{"type":"string"},
817887
"MetricDimensionsMapDefinition":{
@@ -972,11 +1042,63 @@
9721042
}
9731043
},
9741044
"QuotaUnit":{"type":"string"},
1045+
"QuotaUtilizationInfo":{
1046+
"type":"structure",
1047+
"members":{
1048+
"QuotaCode":{"shape":"QuotaCode"},
1049+
"ServiceCode":{"shape":"ServiceCode"},
1050+
"QuotaName":{"shape":"QuotaName"},
1051+
"Namespace":{"shape":"QuotaMetricNamespace"},
1052+
"Utilization":{"shape":"UtilizationPct"},
1053+
"DefaultValue":{"shape":"DefaultValue"},
1054+
"AppliedValue":{"shape":"AppliedValue"},
1055+
"ServiceName":{"shape":"ServiceName"},
1056+
"Adjustable":{"shape":"QuotaAdjustable"}
1057+
}
1058+
},
1059+
"QuotaUtilizationInfoList":{
1060+
"type":"list",
1061+
"member":{"shape":"QuotaUtilizationInfo"},
1062+
"max":1000
1063+
},
9751064
"QuotaValue":{
9761065
"type":"double",
9771066
"max":10000000000,
9781067
"min":0
9791068
},
1069+
"ReportErrorCode":{
1070+
"type":"string",
1071+
"max":128,
1072+
"min":1,
1073+
"pattern":"[a-zA-Z][a-zA-Z0-9]*"
1074+
},
1075+
"ReportErrorMessage":{
1076+
"type":"string",
1077+
"max":1024,
1078+
"min":0,
1079+
"pattern":"^.*$"
1080+
},
1081+
"ReportId":{
1082+
"type":"string",
1083+
"max":128,
1084+
"min":1,
1085+
"pattern":"[0-9a-zA-Z][a-zA-Z0-9-]{1,128}"
1086+
},
1087+
"ReportMessage":{
1088+
"type":"string",
1089+
"max":350,
1090+
"min":0,
1091+
"pattern":"^.{0,350}$"
1092+
},
1093+
"ReportStatus":{
1094+
"type":"string",
1095+
"enum":[
1096+
"PENDING",
1097+
"IN_PROGRESS",
1098+
"COMPLETED",
1099+
"FAILED"
1100+
]
1101+
},
9801102
"RequestId":{
9811103
"type":"string",
9821104
"max":128,
@@ -1016,10 +1138,15 @@
10161138
"INVALID_REQUEST"
10171139
]
10181140
},
1141+
"RequestType":{
1142+
"type":"string",
1143+
"enum":["AutomaticManagement"]
1144+
},
10191145
"RequestedServiceQuotaChange":{
10201146
"type":"structure",
10211147
"members":{
10221148
"Id":{"shape":"RequestId"},
1149+
"RequestType":{"shape":"RequestType"},
10231150
"CaseId":{"shape":"CustomerServiceEngagementId"},
10241151
"ServiceCode":{"shape":"ServiceCode"},
10251152
"ServiceName":{"shape":"ServiceName"},
@@ -1147,6 +1274,18 @@
11471274
"type":"structure",
11481275
"members":{}
11491276
},
1277+
"StartQuotaUtilizationReportRequest":{
1278+
"type":"structure",
1279+
"members":{}
1280+
},
1281+
"StartQuotaUtilizationReportResponse":{
1282+
"type":"structure",
1283+
"members":{
1284+
"ReportId":{"shape":"ReportId"},
1285+
"Status":{"shape":"ReportStatus"},
1286+
"Message":{"shape":"ReportMessage"}
1287+
}
1288+
},
11501289
"Statistic":{
11511290
"type":"string",
11521291
"max":256,
@@ -1228,6 +1367,11 @@
12281367
},
12291368
"exception":true
12301369
},
1370+
"TotalCount":{
1371+
"type":"integer",
1372+
"max":2147483647,
1373+
"min":0
1374+
},
12311375
"UntagResourceRequest":{
12321376
"type":"structure",
12331377
"required":[
@@ -1254,6 +1398,7 @@
12541398
"UpdateAutoManagementResponse":{
12551399
"type":"structure",
12561400
"members":{}
1257-
}
1401+
},
1402+
"UtilizationPct":{"type":"double"}
12581403
}
12591404
}

0 commit comments

Comments
 (0)