@aws-sdk/client-service-quotas 3.947.0 → 3.952.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +96 -5
  3. package/dist-es/ServiceQuotas.js +4 -0
  4. package/dist-es/commands/GetQuotaUtilizationReportCommand.js +16 -0
  5. package/dist-es/commands/StartQuotaUtilizationReportCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +9 -0
  8. package/dist-es/schemas/schemas_0.js +57 -5
  9. package/dist-types/ServiceQuotas.d.ts +15 -0
  10. package/dist-types/ServiceQuotasClient.d.ts +4 -2
  11. package/dist-types/commands/GetQuotaUtilizationReportCommand.d.ts +120 -0
  12. package/dist-types/commands/GetRequestedServiceQuotaChangeCommand.d.ts +1 -0
  13. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.d.ts +1 -0
  14. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryCommand.d.ts +1 -0
  15. package/dist-types/commands/RequestServiceQuotaIncreaseCommand.d.ts +1 -0
  16. package/dist-types/commands/StartQuotaUtilizationReportCommand.d.ts +98 -0
  17. package/dist-types/commands/index.d.ts +2 -0
  18. package/dist-types/models/enums.d.ts +25 -0
  19. package/dist-types/models/models_0.d.ts +194 -1
  20. package/dist-types/schemas/schemas_0.d.ts +8 -0
  21. package/dist-types/ts3.4/ServiceQuotas.d.ts +35 -0
  22. package/dist-types/ts3.4/ServiceQuotasClient.d.ts +12 -0
  23. package/dist-types/ts3.4/commands/GetQuotaUtilizationReportCommand.d.ts +51 -0
  24. package/dist-types/ts3.4/commands/StartQuotaUtilizationReportCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  26. package/dist-types/ts3.4/models/enums.d.ts +11 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +35 -0
  28. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  29. package/package.json +3 -3
package/README.md CHANGED
@@ -262,6 +262,14 @@ GetAWSDefaultServiceQuota
262
262
 
263
263
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/service-quotas/command/GetAWSDefaultServiceQuotaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/GetAWSDefaultServiceQuotaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/GetAWSDefaultServiceQuotaCommandOutput/)
264
264
 
265
+ </details>
266
+ <details>
267
+ <summary>
268
+ GetQuotaUtilizationReport
269
+ </summary>
270
+
271
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/service-quotas/command/GetQuotaUtilizationReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/GetQuotaUtilizationReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/GetQuotaUtilizationReportCommandOutput/)
272
+
265
273
  </details>
266
274
  <details>
267
275
  <summary>
@@ -366,6 +374,14 @@ StartAutoManagement
366
374
 
367
375
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/service-quotas/command/StartAutoManagementCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/StartAutoManagementCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/StartAutoManagementCommandOutput/)
368
376
 
377
+ </details>
378
+ <details>
379
+ <summary>
380
+ StartQuotaUtilizationReport
381
+ </summary>
382
+
383
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/service-quotas/command/StartQuotaUtilizationReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/StartQuotaUtilizationReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/StartQuotaUtilizationReportCommandOutput/)
384
+
369
385
  </details>
370
386
  <details>
371
387
  <summary>
package/dist-cjs/index.js CHANGED
@@ -362,6 +362,7 @@ const _AR = "AwsRegion";
362
362
  const _ASQT = "AssociateServiceQuotaTemplate";
363
363
  const _ASQTR = "AssociateServiceQuotaTemplateRequest";
364
364
  const _ASQTRs = "AssociateServiceQuotaTemplateResponse";
365
+ const _AV = "AppliedValue";
365
366
  const _AWSSANEE = "AWSServiceAccessNotEnabledException";
366
367
  const _C = "Created";
367
368
  const _CI = "ContextId";
@@ -380,11 +381,13 @@ const _DSQT = "DisassociateServiceQuotaTemplate";
380
381
  const _DSQTR = "DisassociateServiceQuotaTemplateRequest";
381
382
  const _DSQTRi = "DisassociateServiceQuotaTemplateResponse";
382
383
  const _DV = "DesiredValue";
384
+ const _DVe = "DefaultValue";
383
385
  const _EC = "ErrorCode";
384
386
  const _EL = "ExclusionList";
385
387
  const _EM = "ErrorMessage";
386
388
  const _EQL = "ExclusionQuotaList";
387
389
  const _ER = "ErrorReason";
390
+ const _GA = "GeneratedAt";
388
391
  const _GAFSQT = "GetAssociationForServiceQuotaTemplate";
389
392
  const _GAFSQTR = "GetAssociationForServiceQuotaTemplateRequest";
390
393
  const _GAFSQTRe = "GetAssociationForServiceQuotaTemplateResponse";
@@ -395,6 +398,9 @@ const _GAWSDSQ = "GetAWSDefaultServiceQuota";
395
398
  const _GAWSDSQR = "GetAWSDefaultServiceQuotaRequest";
396
399
  const _GAWSDSQRe = "GetAWSDefaultServiceQuotaResponse";
397
400
  const _GQ = "GlobalQuota";
401
+ const _GQUR = "GetQuotaUtilizationReport";
402
+ const _GQURR = "GetQuotaUtilizationReportRequest";
403
+ const _GQURRe = "GetQuotaUtilizationReportResponse";
398
404
  const _GRSQC = "GetRequestedServiceQuotaChange";
399
405
  const _GRSQCR = "GetRequestedServiceQuotaChangeRequest";
400
406
  const _GRSQCRe = "GetRequestedServiceQuotaChangeResponse";
@@ -439,6 +445,7 @@ const _MN = "MetricNamespace";
439
445
  const _MNe = "MetricName";
440
446
  const _MR = "MaxResults";
441
447
  const _MSR = "MetricStatisticRecommendation";
448
+ const _N = "Namespace";
442
449
  const _NA = "NotificationArn";
443
450
  const _NAOE = "NoAvailableOrganizationException";
444
451
  const _NSRE = "NoSuchResourceException";
@@ -466,11 +473,14 @@ const _QIL = "QuotaInfoList";
466
473
  const _QN = "QuotaName";
467
474
  const _QP = "QuotaPeriod";
468
475
  const _QRAL = "QuotaRequestedAtLevel";
476
+ const _QUI = "QuotaUtilizationInfo";
477
+ const _QUIL = "QuotaUtilizationInfoList";
469
478
  const _Qu = "Quotas";
470
479
  const _R = "Requester";
471
480
  const _RAEE = "ResourceAlreadyExistsException";
472
481
  const _RARN = "ResourceARN";
473
482
  const _RI = "RequestId";
483
+ const _RIe = "ReportId";
474
484
  const _RQ = "RequestedQuota";
475
485
  const _RQe = "RequestedQuotas";
476
486
  const _RSQC = "RequestedServiceQuotaChange";
@@ -478,6 +488,7 @@ const _RSQCHLD = "RequestedServiceQuotaChangeHistoryListDefinition";
478
488
  const _RSQI = "RequestServiceQuotaIncrease";
479
489
  const _RSQIR = "RequestServiceQuotaIncreaseRequest";
480
490
  const _RSQIRe = "RequestServiceQuotaIncreaseResponse";
491
+ const _RT = "RequestType";
481
492
  const _S = "Status";
482
493
  const _SAM = "StartAutoManagement";
483
494
  const _SAMR = "StartAutoManagementRequest";
@@ -497,8 +508,12 @@ const _SQIRITL = "ServiceQuotaIncreaseRequestInTemplateList";
497
508
  const _SQLD = "ServiceQuotaListDefinition";
498
509
  const _SQTAS = "ServiceQuotaTemplateAssociationStatus";
499
510
  const _SQTNIUE = "ServiceQuotaTemplateNotInUseException";
511
+ const _SQUR = "StartQuotaUtilizationReport";
512
+ const _SQURR = "StartQuotaUtilizationReportRequest";
513
+ const _SQURRt = "StartQuotaUtilizationReportResponse";
500
514
  const _Se = "Services";
501
515
  const _T = "Tags";
516
+ const _TC = "TotalCount";
502
517
  const _TK = "TagKeys";
503
518
  const _TMRE = "TooManyRequestsException";
504
519
  const _TMTE = "TooManyTagsException";
@@ -508,7 +523,7 @@ const _TR = "TagResource";
508
523
  const _TRR = "TagResourceRequest";
509
524
  const _TRRa = "TagResourceResponse";
510
525
  const _Ta = "Tag";
511
- const _U = "Unit";
526
+ const _U = "Utilization";
512
527
  const _UAM = "UpdateAutoManagement";
513
528
  const _UAMR = "UpdateAutoManagementRequest";
514
529
  const _UAMRp = "UpdateAutoManagementResponse";
@@ -516,6 +531,7 @@ const _UM = "UsageMetric";
516
531
  const _UR = "UntagResource";
517
532
  const _URR = "UntagResourceRequest";
518
533
  const _URRn = "UntagResourceResponse";
534
+ const _Un = "Unit";
519
535
  const _V = "Value";
520
536
  const _c = "client";
521
537
  const _e = "error";
@@ -579,6 +595,15 @@ var GetAWSDefaultServiceQuotaResponse = [
579
595
  [_Q],
580
596
  [() => ServiceQuota],
581
597
  ];
598
+ var GetQuotaUtilizationReportRequest = [3, n0, _GQURR, 0, [_RIe, _NT, _MR], [0, 0, 1]];
599
+ var GetQuotaUtilizationReportResponse = [
600
+ 3,
601
+ n0,
602
+ _GQURRe,
603
+ 0,
604
+ [_RIe, _S, _GA, _TC, _Qu, _NT, _EC, _EM],
605
+ [0, 0, 4, 1, () => QuotaUtilizationInfoList, 0, 0, 0],
606
+ ];
582
607
  var GetRequestedServiceQuotaChangeRequest = [3, n0, _GRSQCR, 0, [_RI], [0]];
583
608
  var GetRequestedServiceQuotaChangeResponse = [
584
609
  3,
@@ -738,13 +763,21 @@ var QuotaExceededException = [-3, n0, _QEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]]
738
763
  schema.TypeRegistry.for(n0).registerError(QuotaExceededException, QuotaExceededException$1);
739
764
  var QuotaInfo = [3, n0, _QI, 0, [_QC, _QN], [0, 0]];
740
765
  var QuotaPeriod = [3, n0, _QP, 0, [_PV, _PU], [1, 0]];
766
+ var QuotaUtilizationInfo = [
767
+ 3,
768
+ n0,
769
+ _QUI,
770
+ 0,
771
+ [_QC, _SC, _QN, _N, _U, _DVe, _AV, _SN, _A],
772
+ [0, 0, 0, 0, 1, 1, 1, 0, 2],
773
+ ];
741
774
  var RequestedServiceQuotaChange = [
742
775
  3,
743
776
  n0,
744
777
  _RSQC,
745
778
  0,
746
- [_I, _CIa, _SC, _SN, _QC, _QN, _DV, _S, _C, _LU, _R, _QA, _GQ, _U, _QRAL, _QCu],
747
- [0, 0, 0, 0, 0, 0, 1, 0, 4, 4, 0, 0, 2, 0, 0, () => QuotaContextInfo],
779
+ [_I, _RT, _CIa, _SC, _SN, _QC, _QN, _DV, _S, _C, _LU, _R, _QA, _GQ, _Un, _QRAL, _QCu],
780
+ [0, 0, 0, 0, 0, 0, 0, 1, 0, 4, 4, 0, 0, 2, 0, 0, () => QuotaContextInfo],
748
781
  ];
749
782
  var RequestServiceQuotaIncreaseRequest = [
750
783
  3,
@@ -772,7 +805,7 @@ var ServiceQuota = [
772
805
  n0,
773
806
  _SQ,
774
807
  0,
775
- [_SC, _SN, _QA, _QC, _QN, _V, _U, _A, _GQ, _UM, _P, _ER, _QAAL, _QCu, _D],
808
+ [_SC, _SN, _QA, _QC, _QN, _V, _Un, _A, _GQ, _UM, _P, _ER, _QAAL, _QCu, _D],
776
809
  [0, 0, 0, 0, 0, 1, 0, 2, 2, () => MetricInfo, () => QuotaPeriod, () => ErrorReason, 0, () => QuotaContextInfo, 0],
777
810
  ];
778
811
  var ServiceQuotaIncreaseRequestInTemplate = [
@@ -780,7 +813,7 @@ var ServiceQuotaIncreaseRequestInTemplate = [
780
813
  n0,
781
814
  _SQIRIT,
782
815
  0,
783
- [_SC, _SN, _QC, _QN, _DV, _AR, _U, _GQ],
816
+ [_SC, _SN, _QC, _QN, _DV, _AR, _Un, _GQ],
784
817
  [0, 0, 0, 0, 1, 0, 0, 2],
785
818
  ];
786
819
  var ServiceQuotaTemplateNotInUseException = [
@@ -801,6 +834,8 @@ var StartAutoManagementRequest = [
801
834
  [0, 0, 0, [2, n0, _EL, 0, 0, 64 | 0]],
802
835
  ];
803
836
  var StartAutoManagementResponse = [3, n0, _SAMRt, 0, [], []];
837
+ var StartQuotaUtilizationReportRequest = [3, n0, _SQURR, 0, [], []];
838
+ var StartQuotaUtilizationReportResponse = [3, n0, _SQURRt, 0, [_RIe, _S, _M], [0, 0, 0]];
804
839
  var StopAutoManagementRequest = [3, n0, _SAMRto, 0, [], []];
805
840
  var StopAutoManagementResponse = [3, n0, _SAMRtop, 0, [], []];
806
841
  var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
@@ -837,6 +872,7 @@ schema.TypeRegistry.for(_sm).registerError(ServiceQuotasServiceException, Servic
837
872
  var InputTags = [1, n0, _IT, 0, () => Tag];
838
873
  var OutputTags = [1, n0, _OT, 0, () => Tag];
839
874
  var QuotaInfoList = [1, n0, _QIL, 0, () => QuotaInfo];
875
+ var QuotaUtilizationInfoList = [1, n0, _QUIL, 0, () => QuotaUtilizationInfo];
840
876
  var RequestedServiceQuotaChangeHistoryListDefinition = [
841
877
  1,
842
878
  n0,
@@ -910,6 +946,14 @@ var GetAWSDefaultServiceQuota = [
910
946
  () => GetAWSDefaultServiceQuotaRequest,
911
947
  () => GetAWSDefaultServiceQuotaResponse,
912
948
  ];
949
+ var GetQuotaUtilizationReport = [
950
+ 9,
951
+ n0,
952
+ _GQUR,
953
+ 0,
954
+ () => GetQuotaUtilizationReportRequest,
955
+ () => GetQuotaUtilizationReportResponse,
956
+ ];
913
957
  var GetRequestedServiceQuotaChange = [
914
958
  9,
915
959
  n0,
@@ -1007,6 +1051,14 @@ var StartAutoManagement = [
1007
1051
  () => StartAutoManagementRequest,
1008
1052
  () => StartAutoManagementResponse,
1009
1053
  ];
1054
+ var StartQuotaUtilizationReport = [
1055
+ 9,
1056
+ n0,
1057
+ _SQUR,
1058
+ 0,
1059
+ () => StartQuotaUtilizationReportRequest,
1060
+ () => StartQuotaUtilizationReportResponse,
1061
+ ];
1010
1062
  var StopAutoManagement = [
1011
1063
  9,
1012
1064
  n0,
@@ -1117,6 +1169,18 @@ class GetAWSDefaultServiceQuotaCommand extends smithyClient.Command
1117
1169
  .build() {
1118
1170
  }
1119
1171
 
1172
+ class GetQuotaUtilizationReportCommand extends smithyClient.Command
1173
+ .classBuilder()
1174
+ .ep(commonParams)
1175
+ .m(function (Command, cs, config, o) {
1176
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1177
+ })
1178
+ .s("ServiceQuotasV20190624", "GetQuotaUtilizationReport", {})
1179
+ .n("ServiceQuotasClient", "GetQuotaUtilizationReportCommand")
1180
+ .sc(GetQuotaUtilizationReport)
1181
+ .build() {
1182
+ }
1183
+
1120
1184
  class GetRequestedServiceQuotaChangeCommand extends smithyClient.Command
1121
1185
  .classBuilder()
1122
1186
  .ep(commonParams)
@@ -1273,6 +1337,18 @@ class StartAutoManagementCommand extends smithyClient.Command
1273
1337
  .build() {
1274
1338
  }
1275
1339
 
1340
+ class StartQuotaUtilizationReportCommand extends smithyClient.Command
1341
+ .classBuilder()
1342
+ .ep(commonParams)
1343
+ .m(function (Command, cs, config, o) {
1344
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1345
+ })
1346
+ .s("ServiceQuotasV20190624", "StartQuotaUtilizationReport", {})
1347
+ .n("ServiceQuotasClient", "StartQuotaUtilizationReportCommand")
1348
+ .sc(StartQuotaUtilizationReport)
1349
+ .build() {
1350
+ }
1351
+
1276
1352
  class StopAutoManagementCommand extends smithyClient.Command
1277
1353
  .classBuilder()
1278
1354
  .ep(commonParams)
@@ -1329,6 +1405,7 @@ const commands = {
1329
1405
  GetAssociationForServiceQuotaTemplateCommand,
1330
1406
  GetAutoManagementConfigurationCommand,
1331
1407
  GetAWSDefaultServiceQuotaCommand,
1408
+ GetQuotaUtilizationReportCommand,
1332
1409
  GetRequestedServiceQuotaChangeCommand,
1333
1410
  GetServiceQuotaCommand,
1334
1411
  GetServiceQuotaIncreaseRequestFromTemplateCommand,
@@ -1342,6 +1419,7 @@ const commands = {
1342
1419
  PutServiceQuotaIncreaseRequestIntoTemplateCommand,
1343
1420
  RequestServiceQuotaIncreaseCommand,
1344
1421
  StartAutoManagementCommand,
1422
+ StartQuotaUtilizationReportCommand,
1345
1423
  StopAutoManagementCommand,
1346
1424
  TagResourceCommand,
1347
1425
  UntagResourceCommand,
@@ -1402,6 +1480,15 @@ const QuotaContextScope = {
1402
1480
  ACCOUNT: "ACCOUNT",
1403
1481
  RESOURCE: "RESOURCE",
1404
1482
  };
1483
+ const ReportStatus = {
1484
+ COMPLETED: "COMPLETED",
1485
+ FAILED: "FAILED",
1486
+ IN_PROGRESS: "IN_PROGRESS",
1487
+ PENDING: "PENDING",
1488
+ };
1489
+ const RequestType = {
1490
+ AutomaticManagement: "AutomaticManagement",
1491
+ };
1405
1492
  const RequestStatus = {
1406
1493
  APPROVED: "APPROVED",
1407
1494
  CASE_CLOSED: "CASE_CLOSED",
@@ -1432,6 +1519,7 @@ exports.ErrorCode = ErrorCode;
1432
1519
  exports.GetAWSDefaultServiceQuotaCommand = GetAWSDefaultServiceQuotaCommand;
1433
1520
  exports.GetAssociationForServiceQuotaTemplateCommand = GetAssociationForServiceQuotaTemplateCommand;
1434
1521
  exports.GetAutoManagementConfigurationCommand = GetAutoManagementConfigurationCommand;
1522
+ exports.GetQuotaUtilizationReportCommand = GetQuotaUtilizationReportCommand;
1435
1523
  exports.GetRequestedServiceQuotaChangeCommand = GetRequestedServiceQuotaChangeCommand;
1436
1524
  exports.GetServiceQuotaCommand = GetServiceQuotaCommand;
1437
1525
  exports.GetServiceQuotaIncreaseRequestFromTemplateCommand = GetServiceQuotaIncreaseRequestFromTemplateCommand;
@@ -1455,8 +1543,10 @@ exports.PeriodUnit = PeriodUnit;
1455
1543
  exports.PutServiceQuotaIncreaseRequestIntoTemplateCommand = PutServiceQuotaIncreaseRequestIntoTemplateCommand;
1456
1544
  exports.QuotaContextScope = QuotaContextScope;
1457
1545
  exports.QuotaExceededException = QuotaExceededException$1;
1546
+ exports.ReportStatus = ReportStatus;
1458
1547
  exports.RequestServiceQuotaIncreaseCommand = RequestServiceQuotaIncreaseCommand;
1459
1548
  exports.RequestStatus = RequestStatus;
1549
+ exports.RequestType = RequestType;
1460
1550
  exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
1461
1551
  exports.ServiceException = ServiceException$1;
1462
1552
  exports.ServiceQuotaTemplateAssociationStatus = ServiceQuotaTemplateAssociationStatus;
@@ -1465,6 +1555,7 @@ exports.ServiceQuotas = ServiceQuotas;
1465
1555
  exports.ServiceQuotasClient = ServiceQuotasClient;
1466
1556
  exports.ServiceQuotasServiceException = ServiceQuotasServiceException$1;
1467
1557
  exports.StartAutoManagementCommand = StartAutoManagementCommand;
1558
+ exports.StartQuotaUtilizationReportCommand = StartQuotaUtilizationReportCommand;
1468
1559
  exports.StopAutoManagementCommand = StopAutoManagementCommand;
1469
1560
  exports.TagPolicyViolationException = TagPolicyViolationException$1;
1470
1561
  exports.TagResourceCommand = TagResourceCommand;
@@ -6,6 +6,7 @@ import { DisassociateServiceQuotaTemplateCommand, } from "./commands/Disassociat
6
6
  import { GetAssociationForServiceQuotaTemplateCommand, } from "./commands/GetAssociationForServiceQuotaTemplateCommand";
7
7
  import { GetAutoManagementConfigurationCommand, } from "./commands/GetAutoManagementConfigurationCommand";
8
8
  import { GetAWSDefaultServiceQuotaCommand, } from "./commands/GetAWSDefaultServiceQuotaCommand";
9
+ import { GetQuotaUtilizationReportCommand, } from "./commands/GetQuotaUtilizationReportCommand";
9
10
  import { GetRequestedServiceQuotaChangeCommand, } from "./commands/GetRequestedServiceQuotaChangeCommand";
10
11
  import { GetServiceQuotaCommand, } from "./commands/GetServiceQuotaCommand";
11
12
  import { GetServiceQuotaIncreaseRequestFromTemplateCommand, } from "./commands/GetServiceQuotaIncreaseRequestFromTemplateCommand";
@@ -19,6 +20,7 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
19
20
  import { PutServiceQuotaIncreaseRequestIntoTemplateCommand, } from "./commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand";
20
21
  import { RequestServiceQuotaIncreaseCommand, } from "./commands/RequestServiceQuotaIncreaseCommand";
21
22
  import { StartAutoManagementCommand, } from "./commands/StartAutoManagementCommand";
23
+ import { StartQuotaUtilizationReportCommand, } from "./commands/StartQuotaUtilizationReportCommand";
22
24
  import { StopAutoManagementCommand, } from "./commands/StopAutoManagementCommand";
23
25
  import { TagResourceCommand } from "./commands/TagResourceCommand";
24
26
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
@@ -32,6 +34,7 @@ const commands = {
32
34
  GetAssociationForServiceQuotaTemplateCommand,
33
35
  GetAutoManagementConfigurationCommand,
34
36
  GetAWSDefaultServiceQuotaCommand,
37
+ GetQuotaUtilizationReportCommand,
35
38
  GetRequestedServiceQuotaChangeCommand,
36
39
  GetServiceQuotaCommand,
37
40
  GetServiceQuotaIncreaseRequestFromTemplateCommand,
@@ -45,6 +48,7 @@ const commands = {
45
48
  PutServiceQuotaIncreaseRequestIntoTemplateCommand,
46
49
  RequestServiceQuotaIncreaseCommand,
47
50
  StartAutoManagementCommand,
51
+ StartQuotaUtilizationReportCommand,
48
52
  StopAutoManagementCommand,
49
53
  TagResourceCommand,
50
54
  UntagResourceCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetQuotaUtilizationReport } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetQuotaUtilizationReportCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ServiceQuotasV20190624", "GetQuotaUtilizationReport", {})
13
+ .n("ServiceQuotasClient", "GetQuotaUtilizationReportCommand")
14
+ .sc(GetQuotaUtilizationReport)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StartQuotaUtilizationReport } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StartQuotaUtilizationReportCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ServiceQuotasV20190624", "StartQuotaUtilizationReport", {})
13
+ .n("ServiceQuotasClient", "StartQuotaUtilizationReportCommand")
14
+ .sc(StartQuotaUtilizationReport)
15
+ .build() {
16
+ }
@@ -5,6 +5,7 @@ export * from "./DisassociateServiceQuotaTemplateCommand";
5
5
  export * from "./GetAWSDefaultServiceQuotaCommand";
6
6
  export * from "./GetAssociationForServiceQuotaTemplateCommand";
7
7
  export * from "./GetAutoManagementConfigurationCommand";
8
+ export * from "./GetQuotaUtilizationReportCommand";
8
9
  export * from "./GetRequestedServiceQuotaChangeCommand";
9
10
  export * from "./GetServiceQuotaCommand";
10
11
  export * from "./GetServiceQuotaIncreaseRequestFromTemplateCommand";
@@ -18,6 +19,7 @@ export * from "./ListTagsForResourceCommand";
18
19
  export * from "./PutServiceQuotaIncreaseRequestIntoTemplateCommand";
19
20
  export * from "./RequestServiceQuotaIncreaseCommand";
20
21
  export * from "./StartAutoManagementCommand";
22
+ export * from "./StartQuotaUtilizationReportCommand";
21
23
  export * from "./StopAutoManagementCommand";
22
24
  export * from "./TagResourceCommand";
23
25
  export * from "./UntagResourceCommand";
@@ -37,6 +37,15 @@ export const QuotaContextScope = {
37
37
  ACCOUNT: "ACCOUNT",
38
38
  RESOURCE: "RESOURCE",
39
39
  };
40
+ export const ReportStatus = {
41
+ COMPLETED: "COMPLETED",
42
+ FAILED: "FAILED",
43
+ IN_PROGRESS: "IN_PROGRESS",
44
+ PENDING: "PENDING",
45
+ };
46
+ export const RequestType = {
47
+ AutomaticManagement: "AutomaticManagement",
48
+ };
40
49
  export const RequestStatus = {
41
50
  APPROVED: "APPROVED",
42
51
  CASE_CLOSED: "CASE_CLOSED",
@@ -4,6 +4,7 @@ const _AR = "AwsRegion";
4
4
  const _ASQT = "AssociateServiceQuotaTemplate";
5
5
  const _ASQTR = "AssociateServiceQuotaTemplateRequest";
6
6
  const _ASQTRs = "AssociateServiceQuotaTemplateResponse";
7
+ const _AV = "AppliedValue";
7
8
  const _AWSSANEE = "AWSServiceAccessNotEnabledException";
8
9
  const _C = "Created";
9
10
  const _CI = "ContextId";
@@ -22,11 +23,13 @@ const _DSQT = "DisassociateServiceQuotaTemplate";
22
23
  const _DSQTR = "DisassociateServiceQuotaTemplateRequest";
23
24
  const _DSQTRi = "DisassociateServiceQuotaTemplateResponse";
24
25
  const _DV = "DesiredValue";
26
+ const _DVe = "DefaultValue";
25
27
  const _EC = "ErrorCode";
26
28
  const _EL = "ExclusionList";
27
29
  const _EM = "ErrorMessage";
28
30
  const _EQL = "ExclusionQuotaList";
29
31
  const _ER = "ErrorReason";
32
+ const _GA = "GeneratedAt";
30
33
  const _GAFSQT = "GetAssociationForServiceQuotaTemplate";
31
34
  const _GAFSQTR = "GetAssociationForServiceQuotaTemplateRequest";
32
35
  const _GAFSQTRe = "GetAssociationForServiceQuotaTemplateResponse";
@@ -37,6 +40,9 @@ const _GAWSDSQ = "GetAWSDefaultServiceQuota";
37
40
  const _GAWSDSQR = "GetAWSDefaultServiceQuotaRequest";
38
41
  const _GAWSDSQRe = "GetAWSDefaultServiceQuotaResponse";
39
42
  const _GQ = "GlobalQuota";
43
+ const _GQUR = "GetQuotaUtilizationReport";
44
+ const _GQURR = "GetQuotaUtilizationReportRequest";
45
+ const _GQURRe = "GetQuotaUtilizationReportResponse";
40
46
  const _GRSQC = "GetRequestedServiceQuotaChange";
41
47
  const _GRSQCR = "GetRequestedServiceQuotaChangeRequest";
42
48
  const _GRSQCRe = "GetRequestedServiceQuotaChangeResponse";
@@ -81,6 +87,7 @@ const _MN = "MetricNamespace";
81
87
  const _MNe = "MetricName";
82
88
  const _MR = "MaxResults";
83
89
  const _MSR = "MetricStatisticRecommendation";
90
+ const _N = "Namespace";
84
91
  const _NA = "NotificationArn";
85
92
  const _NAOE = "NoAvailableOrganizationException";
86
93
  const _NSRE = "NoSuchResourceException";
@@ -108,11 +115,14 @@ const _QIL = "QuotaInfoList";
108
115
  const _QN = "QuotaName";
109
116
  const _QP = "QuotaPeriod";
110
117
  const _QRAL = "QuotaRequestedAtLevel";
118
+ const _QUI = "QuotaUtilizationInfo";
119
+ const _QUIL = "QuotaUtilizationInfoList";
111
120
  const _Qu = "Quotas";
112
121
  const _R = "Requester";
113
122
  const _RAEE = "ResourceAlreadyExistsException";
114
123
  const _RARN = "ResourceARN";
115
124
  const _RI = "RequestId";
125
+ const _RIe = "ReportId";
116
126
  const _RQ = "RequestedQuota";
117
127
  const _RQe = "RequestedQuotas";
118
128
  const _RSQC = "RequestedServiceQuotaChange";
@@ -120,6 +130,7 @@ const _RSQCHLD = "RequestedServiceQuotaChangeHistoryListDefinition";
120
130
  const _RSQI = "RequestServiceQuotaIncrease";
121
131
  const _RSQIR = "RequestServiceQuotaIncreaseRequest";
122
132
  const _RSQIRe = "RequestServiceQuotaIncreaseResponse";
133
+ const _RT = "RequestType";
123
134
  const _S = "Status";
124
135
  const _SAM = "StartAutoManagement";
125
136
  const _SAMR = "StartAutoManagementRequest";
@@ -139,8 +150,12 @@ const _SQIRITL = "ServiceQuotaIncreaseRequestInTemplateList";
139
150
  const _SQLD = "ServiceQuotaListDefinition";
140
151
  const _SQTAS = "ServiceQuotaTemplateAssociationStatus";
141
152
  const _SQTNIUE = "ServiceQuotaTemplateNotInUseException";
153
+ const _SQUR = "StartQuotaUtilizationReport";
154
+ const _SQURR = "StartQuotaUtilizationReportRequest";
155
+ const _SQURRt = "StartQuotaUtilizationReportResponse";
142
156
  const _Se = "Services";
143
157
  const _T = "Tags";
158
+ const _TC = "TotalCount";
144
159
  const _TK = "TagKeys";
145
160
  const _TMRE = "TooManyRequestsException";
146
161
  const _TMTE = "TooManyTagsException";
@@ -150,7 +165,7 @@ const _TR = "TagResource";
150
165
  const _TRR = "TagResourceRequest";
151
166
  const _TRRa = "TagResourceResponse";
152
167
  const _Ta = "Tag";
153
- const _U = "Unit";
168
+ const _U = "Utilization";
154
169
  const _UAM = "UpdateAutoManagement";
155
170
  const _UAMR = "UpdateAutoManagementRequest";
156
171
  const _UAMRp = "UpdateAutoManagementResponse";
@@ -158,6 +173,7 @@ const _UM = "UsageMetric";
158
173
  const _UR = "UntagResource";
159
174
  const _URR = "UntagResourceRequest";
160
175
  const _URRn = "UntagResourceResponse";
176
+ const _Un = "Unit";
161
177
  const _V = "Value";
162
178
  const _c = "client";
163
179
  const _e = "error";
@@ -224,6 +240,15 @@ export var GetAWSDefaultServiceQuotaResponse = [
224
240
  [_Q],
225
241
  [() => ServiceQuota],
226
242
  ];
243
+ export var GetQuotaUtilizationReportRequest = [3, n0, _GQURR, 0, [_RIe, _NT, _MR], [0, 0, 1]];
244
+ export var GetQuotaUtilizationReportResponse = [
245
+ 3,
246
+ n0,
247
+ _GQURRe,
248
+ 0,
249
+ [_RIe, _S, _GA, _TC, _Qu, _NT, _EC, _EM],
250
+ [0, 0, 4, 1, () => QuotaUtilizationInfoList, 0, 0, 0],
251
+ ];
227
252
  export var GetRequestedServiceQuotaChangeRequest = [3, n0, _GRSQCR, 0, [_RI], [0]];
228
253
  export var GetRequestedServiceQuotaChangeResponse = [
229
254
  3,
@@ -383,13 +408,21 @@ export var QuotaExceededException = [-3, n0, _QEE, { [_e]: _c, [_hE]: 409 }, [_M
383
408
  TypeRegistry.for(n0).registerError(QuotaExceededException, __QuotaExceededException);
384
409
  export var QuotaInfo = [3, n0, _QI, 0, [_QC, _QN], [0, 0]];
385
410
  export var QuotaPeriod = [3, n0, _QP, 0, [_PV, _PU], [1, 0]];
411
+ export var QuotaUtilizationInfo = [
412
+ 3,
413
+ n0,
414
+ _QUI,
415
+ 0,
416
+ [_QC, _SC, _QN, _N, _U, _DVe, _AV, _SN, _A],
417
+ [0, 0, 0, 0, 1, 1, 1, 0, 2],
418
+ ];
386
419
  export var RequestedServiceQuotaChange = [
387
420
  3,
388
421
  n0,
389
422
  _RSQC,
390
423
  0,
391
- [_I, _CIa, _SC, _SN, _QC, _QN, _DV, _S, _C, _LU, _R, _QA, _GQ, _U, _QRAL, _QCu],
392
- [0, 0, 0, 0, 0, 0, 1, 0, 4, 4, 0, 0, 2, 0, 0, () => QuotaContextInfo],
424
+ [_I, _RT, _CIa, _SC, _SN, _QC, _QN, _DV, _S, _C, _LU, _R, _QA, _GQ, _Un, _QRAL, _QCu],
425
+ [0, 0, 0, 0, 0, 0, 0, 1, 0, 4, 4, 0, 0, 2, 0, 0, () => QuotaContextInfo],
393
426
  ];
394
427
  export var RequestServiceQuotaIncreaseRequest = [
395
428
  3,
@@ -417,7 +450,7 @@ export var ServiceQuota = [
417
450
  n0,
418
451
  _SQ,
419
452
  0,
420
- [_SC, _SN, _QA, _QC, _QN, _V, _U, _A, _GQ, _UM, _P, _ER, _QAAL, _QCu, _D],
453
+ [_SC, _SN, _QA, _QC, _QN, _V, _Un, _A, _GQ, _UM, _P, _ER, _QAAL, _QCu, _D],
421
454
  [0, 0, 0, 0, 0, 1, 0, 2, 2, () => MetricInfo, () => QuotaPeriod, () => ErrorReason, 0, () => QuotaContextInfo, 0],
422
455
  ];
423
456
  export var ServiceQuotaIncreaseRequestInTemplate = [
@@ -425,7 +458,7 @@ export var ServiceQuotaIncreaseRequestInTemplate = [
425
458
  n0,
426
459
  _SQIRIT,
427
460
  0,
428
- [_SC, _SN, _QC, _QN, _DV, _AR, _U, _GQ],
461
+ [_SC, _SN, _QC, _QN, _DV, _AR, _Un, _GQ],
429
462
  [0, 0, 0, 0, 1, 0, 0, 2],
430
463
  ];
431
464
  export var ServiceQuotaTemplateNotInUseException = [
@@ -446,6 +479,8 @@ export var StartAutoManagementRequest = [
446
479
  [0, 0, 0, [2, n0, _EL, 0, 0, 64 | 0]],
447
480
  ];
448
481
  export var StartAutoManagementResponse = [3, n0, _SAMRt, 0, [], []];
482
+ export var StartQuotaUtilizationReportRequest = [3, n0, _SQURR, 0, [], []];
483
+ export var StartQuotaUtilizationReportResponse = [3, n0, _SQURRt, 0, [_RIe, _S, _M], [0, 0, 0]];
449
484
  export var StopAutoManagementRequest = [3, n0, _SAMRto, 0, [], []];
450
485
  export var StopAutoManagementResponse = [3, n0, _SAMRtop, 0, [], []];
451
486
  export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
@@ -484,6 +519,7 @@ export var InputTagKeys = 64 | 0;
484
519
  export var InputTags = [1, n0, _IT, 0, () => Tag];
485
520
  export var OutputTags = [1, n0, _OT, 0, () => Tag];
486
521
  export var QuotaInfoList = [1, n0, _QIL, 0, () => QuotaInfo];
522
+ export var QuotaUtilizationInfoList = [1, n0, _QUIL, 0, () => QuotaUtilizationInfo];
487
523
  export var RequestedServiceQuotaChangeHistoryListDefinition = [
488
524
  1,
489
525
  n0,
@@ -559,6 +595,14 @@ export var GetAWSDefaultServiceQuota = [
559
595
  () => GetAWSDefaultServiceQuotaRequest,
560
596
  () => GetAWSDefaultServiceQuotaResponse,
561
597
  ];
598
+ export var GetQuotaUtilizationReport = [
599
+ 9,
600
+ n0,
601
+ _GQUR,
602
+ 0,
603
+ () => GetQuotaUtilizationReportRequest,
604
+ () => GetQuotaUtilizationReportResponse,
605
+ ];
562
606
  export var GetRequestedServiceQuotaChange = [
563
607
  9,
564
608
  n0,
@@ -656,6 +700,14 @@ export var StartAutoManagement = [
656
700
  () => StartAutoManagementRequest,
657
701
  () => StartAutoManagementResponse,
658
702
  ];
703
+ export var StartQuotaUtilizationReport = [
704
+ 9,
705
+ n0,
706
+ _SQUR,
707
+ 0,
708
+ () => StartQuotaUtilizationReportRequest,
709
+ () => StartQuotaUtilizationReportResponse,
710
+ ];
659
711
  export var StopAutoManagement = [
660
712
  9,
661
713
  n0,
@@ -6,6 +6,7 @@ import { DisassociateServiceQuotaTemplateCommandInput, DisassociateServiceQuotaT
6
6
  import { GetAssociationForServiceQuotaTemplateCommandInput, GetAssociationForServiceQuotaTemplateCommandOutput } from "./commands/GetAssociationForServiceQuotaTemplateCommand";
7
7
  import { GetAutoManagementConfigurationCommandInput, GetAutoManagementConfigurationCommandOutput } from "./commands/GetAutoManagementConfigurationCommand";
8
8
  import { GetAWSDefaultServiceQuotaCommandInput, GetAWSDefaultServiceQuotaCommandOutput } from "./commands/GetAWSDefaultServiceQuotaCommand";
9
+ import { GetQuotaUtilizationReportCommandInput, GetQuotaUtilizationReportCommandOutput } from "./commands/GetQuotaUtilizationReportCommand";
9
10
  import { GetRequestedServiceQuotaChangeCommandInput, GetRequestedServiceQuotaChangeCommandOutput } from "./commands/GetRequestedServiceQuotaChangeCommand";
10
11
  import { GetServiceQuotaCommandInput, GetServiceQuotaCommandOutput } from "./commands/GetServiceQuotaCommand";
11
12
  import { GetServiceQuotaIncreaseRequestFromTemplateCommandInput, GetServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/GetServiceQuotaIncreaseRequestFromTemplateCommand";
@@ -19,6 +20,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
19
20
  import { PutServiceQuotaIncreaseRequestIntoTemplateCommandInput, PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput } from "./commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand";
20
21
  import { RequestServiceQuotaIncreaseCommandInput, RequestServiceQuotaIncreaseCommandOutput } from "./commands/RequestServiceQuotaIncreaseCommand";
21
22
  import { StartAutoManagementCommandInput, StartAutoManagementCommandOutput } from "./commands/StartAutoManagementCommand";
23
+ import { StartQuotaUtilizationReportCommandInput, StartQuotaUtilizationReportCommandOutput } from "./commands/StartQuotaUtilizationReportCommand";
22
24
  import { StopAutoManagementCommandInput, StopAutoManagementCommandOutput } from "./commands/StopAutoManagementCommand";
23
25
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
24
26
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -71,6 +73,12 @@ export interface ServiceQuotas {
71
73
  getAWSDefaultServiceQuota(args: GetAWSDefaultServiceQuotaCommandInput, options?: __HttpHandlerOptions): Promise<GetAWSDefaultServiceQuotaCommandOutput>;
72
74
  getAWSDefaultServiceQuota(args: GetAWSDefaultServiceQuotaCommandInput, cb: (err: any, data?: GetAWSDefaultServiceQuotaCommandOutput) => void): void;
73
75
  getAWSDefaultServiceQuota(args: GetAWSDefaultServiceQuotaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAWSDefaultServiceQuotaCommandOutput) => void): void;
76
+ /**
77
+ * @see {@link GetQuotaUtilizationReportCommand}
78
+ */
79
+ getQuotaUtilizationReport(args: GetQuotaUtilizationReportCommandInput, options?: __HttpHandlerOptions): Promise<GetQuotaUtilizationReportCommandOutput>;
80
+ getQuotaUtilizationReport(args: GetQuotaUtilizationReportCommandInput, cb: (err: any, data?: GetQuotaUtilizationReportCommandOutput) => void): void;
81
+ getQuotaUtilizationReport(args: GetQuotaUtilizationReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQuotaUtilizationReportCommandOutput) => void): void;
74
82
  /**
75
83
  * @see {@link GetRequestedServiceQuotaChangeCommand}
76
84
  */
@@ -152,6 +160,13 @@ export interface ServiceQuotas {
152
160
  startAutoManagement(args: StartAutoManagementCommandInput, options?: __HttpHandlerOptions): Promise<StartAutoManagementCommandOutput>;
153
161
  startAutoManagement(args: StartAutoManagementCommandInput, cb: (err: any, data?: StartAutoManagementCommandOutput) => void): void;
154
162
  startAutoManagement(args: StartAutoManagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAutoManagementCommandOutput) => void): void;
163
+ /**
164
+ * @see {@link StartQuotaUtilizationReportCommand}
165
+ */
166
+ startQuotaUtilizationReport(): Promise<StartQuotaUtilizationReportCommandOutput>;
167
+ startQuotaUtilizationReport(args: StartQuotaUtilizationReportCommandInput, options?: __HttpHandlerOptions): Promise<StartQuotaUtilizationReportCommandOutput>;
168
+ startQuotaUtilizationReport(args: StartQuotaUtilizationReportCommandInput, cb: (err: any, data?: StartQuotaUtilizationReportCommandOutput) => void): void;
169
+ startQuotaUtilizationReport(args: StartQuotaUtilizationReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartQuotaUtilizationReportCommandOutput) => void): void;
155
170
  /**
156
171
  * @see {@link StopAutoManagementCommand}
157
172
  */