@aws-sdk/client-cloudwatch 3.1139.0 → 3.1140.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 (40) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +186 -12
  3. package/dist-es/CloudWatch.js +10 -0
  4. package/dist-es/commands/CreateResourceMetricsConfigurationCommand.js +4 -0
  5. package/dist-es/commands/DeleteResourceMetricsConfigurationCommand.js +4 -0
  6. package/dist-es/commands/GetResourceMetricsConfigurationCommand.js +4 -0
  7. package/dist-es/commands/UpdateOTelEnrichmentCommand.js +4 -0
  8. package/dist-es/commands/UpdateResourceMetricsConfigurationCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/errors.js +12 -0
  11. package/dist-es/schemas/schemas_0.js +131 -12
  12. package/dist-types/CloudWatch.d.ts +36 -0
  13. package/dist-types/CloudWatchClient.d.ts +7 -2
  14. package/dist-types/commands/CreateResourceMetricsConfigurationCommand.d.ts +108 -0
  15. package/dist-types/commands/DeleteResourceMetricsConfigurationCommand.d.ts +82 -0
  16. package/dist-types/commands/GetDashboardCommand.d.ts +7 -0
  17. package/dist-types/commands/GetMetricDataCommand.d.ts +4 -2
  18. package/dist-types/commands/GetOTelEnrichmentCommand.d.ts +18 -0
  19. package/dist-types/commands/GetResourceMetricsConfigurationCommand.d.ts +93 -0
  20. package/dist-types/commands/ListDashboardsCommand.d.ts +7 -0
  21. package/dist-types/commands/StartOTelEnrichmentCommand.d.ts +49 -4
  22. package/dist-types/commands/UpdateOTelEnrichmentCommand.d.ts +118 -0
  23. package/dist-types/commands/UpdateResourceMetricsConfigurationCommand.d.ts +104 -0
  24. package/dist-types/commands/index.d.ts +5 -0
  25. package/dist-types/models/errors.d.ts +13 -0
  26. package/dist-types/models/models_0.d.ts +301 -0
  27. package/dist-types/schemas/schemas_0.d.ts +19 -0
  28. package/dist-types/ts3.4/CloudWatch.d.ts +86 -0
  29. package/dist-types/ts3.4/CloudWatchClient.d.ts +32 -2
  30. package/dist-types/ts3.4/commands/CreateResourceMetricsConfigurationCommand.d.ts +42 -0
  31. package/dist-types/ts3.4/commands/DeleteResourceMetricsConfigurationCommand.d.ts +42 -0
  32. package/dist-types/ts3.4/commands/GetResourceMetricsConfigurationCommand.d.ts +42 -0
  33. package/dist-types/ts3.4/commands/StartOTelEnrichmentCommand.d.ts +2 -2
  34. package/dist-types/ts3.4/commands/UpdateOTelEnrichmentCommand.d.ts +39 -0
  35. package/dist-types/ts3.4/commands/UpdateResourceMetricsConfigurationCommand.d.ts +42 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  37. package/dist-types/ts3.4/models/errors.d.ts +5 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +61 -2
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
  40. package/package.json +1 -1
package/README.md CHANGED
@@ -299,6 +299,13 @@ AssociateDatasetKmsKey
299
299
  </details>
300
300
  <details>
301
301
  <summary>
302
+ CreateResourceMetricsConfiguration
303
+ </summary>
304
+
305
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/CreateResourceMetricsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/CreateResourceMetricsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/CreateResourceMetricsConfigurationCommandOutput/)
306
+ </details>
307
+ <details>
308
+ <summary>
302
309
  DeleteAlarmMuteRule
303
310
  </summary>
304
311
 
@@ -341,6 +348,13 @@ DeleteMetricStream
341
348
  </details>
342
349
  <details>
343
350
  <summary>
351
+ DeleteResourceMetricsConfiguration
352
+ </summary>
353
+
354
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/DeleteResourceMetricsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/DeleteResourceMetricsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/DeleteResourceMetricsConfigurationCommandOutput/)
355
+ </details>
356
+ <details>
357
+ <summary>
344
358
  DescribeAlarmContributors
345
359
  </summary>
346
360
 
@@ -481,6 +495,13 @@ GetOTelEnrichment
481
495
  </details>
482
496
  <details>
483
497
  <summary>
498
+ GetResourceMetricsConfiguration
499
+ </summary>
500
+
501
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/GetResourceMetricsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/GetResourceMetricsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/GetResourceMetricsConfigurationCommandOutput/)
502
+ </details>
503
+ <details>
504
+ <summary>
484
505
  ListAlarmMuteRules
485
506
  </summary>
486
507
 
@@ -640,3 +661,17 @@ UntagResource
640
661
 
641
662
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/UntagResourceCommandOutput/)
642
663
  </details>
664
+ <details>
665
+ <summary>
666
+ UpdateOTelEnrichment
667
+ </summary>
668
+
669
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/UpdateOTelEnrichmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/UpdateOTelEnrichmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/UpdateOTelEnrichmentCommandOutput/)
670
+ </details>
671
+ <details>
672
+ <summary>
673
+ UpdateResourceMetricsConfiguration
674
+ </summary>
675
+
676
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/UpdateResourceMetricsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/UpdateResourceMetricsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/UpdateResourceMetricsConfigurationCommandOutput/)
677
+ </details>
package/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1138.0";
73
+ var version = "3.1139.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -380,6 +380,18 @@ class InvalidFormatFault extends CloudWatchServiceException {
380
380
  Object.setPrototypeOf(this, InvalidFormatFault.prototype);
381
381
  }
382
382
  }
383
+ class ValidationException extends CloudWatchServiceException {
384
+ name = "ValidationException";
385
+ $fault = "client";
386
+ constructor(opts) {
387
+ super({
388
+ name: "ValidationException",
389
+ $fault: "client",
390
+ ...opts,
391
+ });
392
+ Object.setPrototypeOf(this, ValidationException.prototype);
393
+ }
394
+ }
383
395
 
384
396
  const _A = "Average";
385
397
  const _AA = "AlarmActions";
@@ -438,12 +450,16 @@ const _C = "Configuration";
438
450
  const _CA = "ContributorAttributes";
439
451
  const _CAo = "CompositeAlarm";
440
452
  const _CAom = "CompositeAlarms";
453
+ const _CAr = "CreatedAt";
441
454
  const _CD = "CreationDate";
442
455
  const _CE = "ConflictException";
443
456
  const _CI = "ContributorId";
444
457
  const _CME = "ConcurrentModificationException";
445
458
  const _CO = "ComparisonOperator";
446
459
  const _COAN = "ChildrenOfAlarmName";
460
+ const _CRMC = "CreateResourceMetricsConfiguration";
461
+ const _CRMCI = "CreateResourceMetricsConfigurationInput";
462
+ const _CRMCO = "CreateResourceMetricsConfigurationOutput";
447
463
  const _Co = "Contributors";
448
464
  const _Cod = "Code";
449
465
  const _Cou = "Counts";
@@ -504,6 +520,9 @@ const _DNFE = "DashboardNotFoundError";
504
520
  const _DNP = "DashboardNamePrefix";
505
521
  const _DNa = "DashboardNames";
506
522
  const _DP = "DataPath";
523
+ const _DRMC = "DeleteResourceMetricsConfiguration";
524
+ const _DRMCI = "DeleteResourceMetricsConfigurationInput";
525
+ const _DRMCO = "DeleteResourceMetricsConfigurationOutput";
507
526
  const _DTA = "DatapointsToAlarm";
508
527
  const _DVM = "DashboardValidationMessage";
509
528
  const _DVMa = "DashboardValidationMessages";
@@ -570,6 +589,9 @@ const _GMWIO = "GetMetricWidgetImageOutput";
570
589
  const _GOTE = "GetOTelEnrichment";
571
590
  const _GOTEI = "GetOTelEnrichmentInput";
572
591
  const _GOTEO = "GetOTelEnrichmentOutput";
592
+ const _GRMC = "GetResourceMetricsConfiguration";
593
+ const _GRMCI = "GetResourceMetricsConfigurationInput";
594
+ const _GRMCO = "GetResourceMetricsConfigurationOutput";
573
595
  const _HD = "HistoryData";
574
596
  const _HIT = "HistoryItemType";
575
597
  const _HS = "HistorySummary";
@@ -655,7 +677,7 @@ const _MRS = "ManagedRuleState";
655
677
  const _MRa = "MaxResults";
656
678
  const _MRan = "ManagedRule";
657
679
  const _MRana = "ManagedRules";
658
- const _MS = "MetricStat";
680
+ const _MS = "MetricSelections";
659
681
  const _MSE = "MetricStreamEntry";
660
682
  const _MSEe = "MetricStreamEntries";
661
683
  const _MSF = "MetricStreamFilter";
@@ -664,6 +686,7 @@ const _MSSC = "MetricStreamStatisticsConfiguration";
664
686
  const _MSSCe = "MetricStreamStatisticsConfigurations";
665
687
  const _MSSIM = "MetricStreamStatisticsIncludeMetrics";
666
688
  const _MSSM = "MetricStreamStatisticsMetric";
689
+ const _MSe = "MetricStat";
667
690
  const _MT = "MuteType";
668
691
  const _MTe = "MetricTimezone";
669
692
  const _MTu = "MuteTargets";
@@ -684,6 +707,8 @@ const _OB = "OrderBy";
684
707
  const _OF = "OutputFormat";
685
708
  const _OKA = "OKActions";
686
709
  const _OSEAWUPE = "OnlyStartEvaluatingAfterWarmUpPeriodEnds";
710
+ const _OTEMS = "OTelEnrichmentMetricSelector";
711
+ const _OTEMSL = "OTelEnrichmentMetricSelectorList";
687
712
  const _P = "Period";
688
713
  const _PAD = "PutAnomalyDetector";
689
714
  const _PADI = "PutAnomalyDetectorInput";
@@ -721,13 +746,17 @@ const _QRTA = "QueryResultsToAlarm";
721
746
  const _QRTE = "QueryResultsToEvaluate";
722
747
  const _QS = "QueryString";
723
748
  const _R = "Rule";
724
- const _RA = "RoleArn";
749
+ const _RA = "ResourceArn";
725
750
  const _RARN = "ResourceARN";
726
751
  const _RAe = "RecentlyActive";
752
+ const _RAo = "RoleArn";
727
753
  const _RC = "ResourceConflict";
728
754
  const _RD = "ReturnData";
729
755
  const _RDu = "RuleDefinition";
730
756
  const _RI = "ResourceId";
757
+ const _RMC = "ResourceMetricsConfiguration";
758
+ const _RMS = "ResourceMetricSelection";
759
+ const _RMSL = "ResourceMetricSelectionList";
731
760
  const _RN = "RuleNames";
732
761
  const _RNF = "ResourceNotFound";
733
762
  const _RNFE = "ResourceNotFoundException";
@@ -797,11 +826,19 @@ const _Th = "Threshold";
797
826
  const _Ti = "Timezone";
798
827
  const _Tim = "Timestamps";
799
828
  const _U = "Unit";
829
+ const _UA = "UpdatedAt";
800
830
  const _UC = "UniqueContributors";
831
+ const _UOTE = "UpdateOTelEnrichment";
832
+ const _UOTEI = "UpdateOTelEnrichmentInput";
833
+ const _UOTEO = "UpdateOTelEnrichmentOutput";
801
834
  const _UR = "UntagResource";
802
835
  const _URI = "UntagResourceInput";
836
+ const _URMC = "UpdateResourceMetricsConfiguration";
837
+ const _URMCI = "UpdateResourceMetricsConfigurationInput";
838
+ const _URMCO = "UpdateResourceMetricsConfigurationOutput";
803
839
  const _URO = "UntagResourceOutput";
804
840
  const _V = "Value";
841
+ const _VE = "ValidationException";
805
842
  const _Va = "Values";
806
843
  const _WCW = "WallClockWindow";
807
844
  const _WUC = "WarmUpConfiguration";
@@ -927,6 +964,12 @@ var ResourceNotFoundException$ = [-3, n0, _RNFE,
927
964
  [0, 0, 0]
928
965
  ];
929
966
  n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
967
+ var ValidationException$ = [-3, n0, _VE,
968
+ { [_aQE]: [`ValidationError`, 400], [_e]: _c, [_hE]: 400 },
969
+ [_m],
970
+ [0]
971
+ ];
972
+ n0_registry.registerError(ValidationException$, ValidationException);
930
973
  const errorTypeRegistries = [
931
974
  _s_registry,
932
975
  n0_registry,
@@ -976,6 +1019,16 @@ var CompositeAlarm$ = [3, n0, _CAo,
976
1019
  [_AE, _AA, _AAl, _ACUT, _ADl, _AN, _AR, _IDA, _OKA, _SR, _SRD, _SUT, _SV, _STT, _ASB, _ASR, _AS, _ASWP, _ASEP],
977
1020
  [2, 64 | 0, 0, 4, 0, 0, 0, 64 | 0, 64 | 0, 0, 0, 4, 0, 4, 0, 0, 0, 1, 1]
978
1021
  ];
1022
+ var CreateResourceMetricsConfigurationInput$ = [3, n0, _CRMCI,
1023
+ 0,
1024
+ [_RA, _MS],
1025
+ [0, () => ResourceMetricSelectionList], 1
1026
+ ];
1027
+ var CreateResourceMetricsConfigurationOutput$ = [3, n0, _CRMCO,
1028
+ 0,
1029
+ [_RMC],
1030
+ [() => ResourceMetricsConfiguration$], 1
1031
+ ];
979
1032
  var DashboardEntry$ = [3, n0, _DE,
980
1033
  0,
981
1034
  [_DN, _DA, _LM, _Si],
@@ -1041,6 +1094,16 @@ var DeleteMetricStreamOutput$ = [3, n0, _DMSO,
1041
1094
  [],
1042
1095
  []
1043
1096
  ];
1097
+ var DeleteResourceMetricsConfigurationInput$ = [3, n0, _DRMCI,
1098
+ 0,
1099
+ [_RA],
1100
+ [0], 1
1101
+ ];
1102
+ var DeleteResourceMetricsConfigurationOutput$ = [3, n0, _DRMCO,
1103
+ 0,
1104
+ [],
1105
+ []
1106
+ ];
1044
1107
  var DescribeAlarmContributorsInput$ = [3, n0, _DACI,
1045
1108
  0,
1046
1109
  [_AN, _NT],
@@ -1228,7 +1291,7 @@ var GetMetricStreamInput$ = [3, n0, _GMSIe,
1228
1291
  ];
1229
1292
  var GetMetricStreamOutput$ = [3, n0, _GMSOe,
1230
1293
  0,
1231
- [_Ar, _Na, _IF, _EF, _FA, _RA, _State, _CD, _LUD, _OF, _SCt, _ILAM],
1294
+ [_Ar, _Na, _IF, _EF, _FA, _RAo, _State, _CD, _LUD, _OF, _SCt, _ILAM],
1232
1295
  [0, 0, () => MetricStreamFilters, () => MetricStreamFilters, 0, 0, 0, 4, 4, 0, () => MetricStreamStatisticsConfigurations, 2]
1233
1296
  ];
1234
1297
  var GetMetricWidgetImageInput$ = [3, n0, _GMWII,
@@ -1248,9 +1311,19 @@ var GetOTelEnrichmentInput$ = [3, n0, _GOTEI,
1248
1311
  ];
1249
1312
  var GetOTelEnrichmentOutput$ = [3, n0, _GOTEO,
1250
1313
  0,
1251
- [_S],
1314
+ [_S, _IF, _EF, _CAr, _UA],
1315
+ [0, () => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4], 1
1316
+ ];
1317
+ var GetResourceMetricsConfigurationInput$ = [3, n0, _GRMCI,
1318
+ 0,
1319
+ [_RA],
1252
1320
  [0], 1
1253
1321
  ];
1322
+ var GetResourceMetricsConfigurationOutput$ = [3, n0, _GRMCO,
1323
+ 0,
1324
+ [_RMC],
1325
+ [() => ResourceMetricsConfiguration$], 1
1326
+ ];
1254
1327
  var InsightRule$ = [3, n0, _IRn,
1255
1328
  0,
1256
1329
  [_Na, _State, _Sc, _Def, _MRan, _AOTL],
@@ -1378,7 +1451,7 @@ var MetricCharacteristics$ = [3, n0, _MC,
1378
1451
  ];
1379
1452
  var MetricDataQuery$ = [3, n0, _MDQe,
1380
1453
  0,
1381
- [_I, _MS, _Ex, _L, _RD, _P, _AI],
1454
+ [_I, _MSe, _Ex, _L, _RD, _P, _AI],
1382
1455
  [0, () => MetricStat$, 0, 0, 2, 1, 0], 1
1383
1456
  ];
1384
1457
  var MetricDataResult$ = [3, n0, _MDRe,
@@ -1396,7 +1469,7 @@ var MetricMathAnomalyDetector$ = [3, n0, _MMAD,
1396
1469
  [_MDQ],
1397
1470
  [() => MetricDataQueries]
1398
1471
  ];
1399
- var MetricStat$ = [3, n0, _MS,
1472
+ var MetricStat$ = [3, n0, _MSe,
1400
1473
  0,
1401
1474
  [_Met, _P, _St, _U],
1402
1475
  [() => Metric$, 1, 0, 0], 3
@@ -1426,6 +1499,11 @@ var MuteTargets$ = [3, n0, _MTu,
1426
1499
  [_ANl],
1427
1500
  [64 | 0], 1
1428
1501
  ];
1502
+ var OTelEnrichmentMetricSelector$ = [3, n0, _OTEMS,
1503
+ 0,
1504
+ [_N, _MNe],
1505
+ [0, 64 | 0], 1
1506
+ ];
1429
1507
  var PartialFailure$ = [3, n0, _PF,
1430
1508
  0,
1431
1509
  [_FR, _ETx, _FC, _FD],
@@ -1498,7 +1576,7 @@ var PutMetricDataInput$ = [3, n0, _PMDI,
1498
1576
  ];
1499
1577
  var PutMetricStreamInput$ = [3, n0, _PMSI,
1500
1578
  0,
1501
- [_Na, _FA, _RA, _OF, _IF, _EF, _Ta, _SCt, _ILAM],
1579
+ [_Na, _FA, _RAo, _OF, _IF, _EF, _Ta, _SCt, _ILAM],
1502
1580
  [0, 0, 0, 0, () => MetricStreamFilters, () => MetricStreamFilters, () => TagList, () => MetricStreamStatisticsConfigurations, 2], 4
1503
1581
  ];
1504
1582
  var PutMetricStreamOutput$ = [3, n0, _PMSO,
@@ -1511,6 +1589,16 @@ var Range$ = [3, n0, _Ra,
1511
1589
  [_ST, _ET],
1512
1590
  [4, 4], 2
1513
1591
  ];
1592
+ var ResourceMetricsConfiguration$ = [3, n0, _RMC,
1593
+ 0,
1594
+ [_RA, _CAr, _UA, _MS],
1595
+ [0, 4, 4, () => ResourceMetricSelectionList], 3
1596
+ ];
1597
+ var ResourceMetricSelection$ = [3, n0, _RMS,
1598
+ 0,
1599
+ [_IM],
1600
+ [64 | 0], 1
1601
+ ];
1514
1602
  var Rule$ = [3, n0, _R,
1515
1603
  0,
1516
1604
  [_Sch],
@@ -1558,13 +1646,13 @@ var StartMetricStreamsOutput$ = [3, n0, _SMSO,
1558
1646
  ];
1559
1647
  var StartOTelEnrichmentInput$ = [3, n0, _SOTEI,
1560
1648
  0,
1561
- [],
1562
- []
1649
+ [_IF, _EF],
1650
+ [() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList]
1563
1651
  ];
1564
1652
  var StartOTelEnrichmentOutput$ = [3, n0, _SOTEO,
1565
1653
  0,
1566
- [],
1567
- []
1654
+ [_IF, _EF, _CAr, _UA],
1655
+ [() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4]
1568
1656
  ];
1569
1657
  var StatisticSet$ = [3, n0, _SS,
1570
1658
  0,
@@ -1616,6 +1704,26 @@ var UntagResourceOutput$ = [3, n0, _URO,
1616
1704
  [],
1617
1705
  []
1618
1706
  ];
1707
+ var UpdateOTelEnrichmentInput$ = [3, n0, _UOTEI,
1708
+ 0,
1709
+ [_IF, _EF],
1710
+ [() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList]
1711
+ ];
1712
+ var UpdateOTelEnrichmentOutput$ = [3, n0, _UOTEO,
1713
+ 0,
1714
+ [_IF, _EF, _CAr, _UA],
1715
+ [() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4]
1716
+ ];
1717
+ var UpdateResourceMetricsConfigurationInput$ = [3, n0, _URMCI,
1718
+ 0,
1719
+ [_RA, _MS],
1720
+ [0, () => ResourceMetricSelectionList], 1
1721
+ ];
1722
+ var UpdateResourceMetricsConfigurationOutput$ = [3, n0, _URMCO,
1723
+ 0,
1724
+ [_RMC],
1725
+ [() => ResourceMetricsConfiguration$], 1
1726
+ ];
1619
1727
  var WallClockWindow$ = [3, n0, _WCW,
1620
1728
  0,
1621
1729
  [_Ti],
@@ -1717,6 +1825,12 @@ var MetricStreamStatisticsConfigurations = [1, n0, _MSSCe,
1717
1825
  var MetricStreamStatisticsIncludeMetrics = [1, n0, _MSSIM,
1718
1826
  0, () => MetricStreamStatisticsMetric$
1719
1827
  ];
1828
+ var OTelEnrichmentMetricSelectorList = [1, n0, _OTEMSL,
1829
+ 0, () => OTelEnrichmentMetricSelector$
1830
+ ];
1831
+ var ResourceMetricSelectionList = [1, n0, _RMSL,
1832
+ 0, () => ResourceMetricSelection$
1833
+ ];
1720
1834
  var TagList = [1, n0, _TL,
1721
1835
  0, () => Tag$
1722
1836
  ];
@@ -1733,6 +1847,9 @@ var EvaluationWindow$ = [4, n0, _EW,
1733
1847
  var AssociateDatasetKmsKey$ = [9, n0, _ADKK,
1734
1848
  0, () => AssociateDatasetKmsKeyInput$, () => AssociateDatasetKmsKeyOutput$
1735
1849
  ];
1850
+ var CreateResourceMetricsConfiguration$ = [9, n0, _CRMC,
1851
+ 0, () => CreateResourceMetricsConfigurationInput$, () => CreateResourceMetricsConfigurationOutput$
1852
+ ];
1736
1853
  var DeleteAlarmMuteRule$ = [9, n0, _DAMR,
1737
1854
  0, () => DeleteAlarmMuteRuleInput$, () => __Unit
1738
1855
  ];
@@ -1751,6 +1868,9 @@ var DeleteInsightRules$ = [9, n0, _DIR,
1751
1868
  var DeleteMetricStream$ = [9, n0, _DMS,
1752
1869
  0, () => DeleteMetricStreamInput$, () => DeleteMetricStreamOutput$
1753
1870
  ];
1871
+ var DeleteResourceMetricsConfiguration$ = [9, n0, _DRMC,
1872
+ 0, () => DeleteResourceMetricsConfigurationInput$, () => DeleteResourceMetricsConfigurationOutput$
1873
+ ];
1754
1874
  var DescribeAlarmContributors$ = [9, n0, _DAC,
1755
1875
  0, () => DescribeAlarmContributorsInput$, () => DescribeAlarmContributorsOutput$
1756
1876
  ];
@@ -1811,6 +1931,9 @@ var GetMetricWidgetImage$ = [9, n0, _GMWI,
1811
1931
  var GetOTelEnrichment$ = [9, n0, _GOTE,
1812
1932
  0, () => GetOTelEnrichmentInput$, () => GetOTelEnrichmentOutput$
1813
1933
  ];
1934
+ var GetResourceMetricsConfiguration$ = [9, n0, _GRMC,
1935
+ 0, () => GetResourceMetricsConfigurationInput$, () => GetResourceMetricsConfigurationOutput$
1936
+ ];
1814
1937
  var ListAlarmMuteRules$ = [9, n0, _LAMR,
1815
1938
  0, () => ListAlarmMuteRulesInput$, () => ListAlarmMuteRulesOutput$
1816
1939
  ];
@@ -1880,6 +2003,12 @@ var TagResource$ = [9, n0, _TR,
1880
2003
  var UntagResource$ = [9, n0, _UR,
1881
2004
  0, () => UntagResourceInput$, () => UntagResourceOutput$
1882
2005
  ];
2006
+ var UpdateOTelEnrichment$ = [9, n0, _UOTE,
2007
+ 0, () => UpdateOTelEnrichmentInput$, () => UpdateOTelEnrichmentOutput$
2008
+ ];
2009
+ var UpdateResourceMetricsConfiguration$ = [9, n0, _URMC,
2010
+ 0, () => UpdateResourceMetricsConfigurationInput$, () => UpdateResourceMetricsConfigurationOutput$
2011
+ ];
1883
2012
 
1884
2013
  const getRuntimeConfig$1 = (config) => {
1885
2014
  return {
@@ -2044,6 +2173,9 @@ const _mw1 = (Command, cs, config, o) => [
2044
2173
  class AssociateDatasetKmsKeyCommand extends command(_ep0, _mw0, "AssociateDatasetKmsKey", AssociateDatasetKmsKey$) {
2045
2174
  }
2046
2175
 
2176
+ class CreateResourceMetricsConfigurationCommand extends command(_ep0, _mw0, "CreateResourceMetricsConfiguration", CreateResourceMetricsConfiguration$) {
2177
+ }
2178
+
2047
2179
  class DeleteAlarmMuteRuleCommand extends command(_ep0, _mw0, "DeleteAlarmMuteRule", DeleteAlarmMuteRule$) {
2048
2180
  }
2049
2181
 
@@ -2062,6 +2194,9 @@ class DeleteInsightRulesCommand extends command(_ep0, _mw0, "DeleteInsightRules"
2062
2194
  class DeleteMetricStreamCommand extends command(_ep0, _mw0, "DeleteMetricStream", DeleteMetricStream$) {
2063
2195
  }
2064
2196
 
2197
+ class DeleteResourceMetricsConfigurationCommand extends command(_ep0, _mw0, "DeleteResourceMetricsConfiguration", DeleteResourceMetricsConfiguration$) {
2198
+ }
2199
+
2065
2200
  class DescribeAlarmContributorsCommand extends command(_ep0, _mw0, "DescribeAlarmContributors", DescribeAlarmContributors$) {
2066
2201
  }
2067
2202
 
@@ -2122,6 +2257,9 @@ class GetMetricWidgetImageCommand extends command(_ep0, _mw0, "GetMetricWidgetIm
2122
2257
  class GetOTelEnrichmentCommand extends command(_ep0, _mw0, "GetOTelEnrichment", GetOTelEnrichment$) {
2123
2258
  }
2124
2259
 
2260
+ class GetResourceMetricsConfigurationCommand extends command(_ep0, _mw0, "GetResourceMetricsConfiguration", GetResourceMetricsConfiguration$) {
2261
+ }
2262
+
2125
2263
  class ListAlarmMuteRulesCommand extends command(_ep0, _mw0, "ListAlarmMuteRules", ListAlarmMuteRules$) {
2126
2264
  }
2127
2265
 
@@ -2191,6 +2329,12 @@ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$
2191
2329
  class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2192
2330
  }
2193
2331
 
2332
+ class UpdateOTelEnrichmentCommand extends command(_ep0, _mw0, "UpdateOTelEnrichment", UpdateOTelEnrichment$) {
2333
+ }
2334
+
2335
+ class UpdateResourceMetricsConfigurationCommand extends command(_ep0, _mw0, "UpdateResourceMetricsConfiguration", UpdateResourceMetricsConfiguration$) {
2336
+ }
2337
+
2194
2338
  const paginateDescribeAlarmHistory = createPaginator(CloudWatchClient, DescribeAlarmHistoryCommand, "NextToken", "NextToken", "MaxRecords");
2195
2339
 
2196
2340
  const paginateDescribeAlarms = createPaginator(CloudWatchClient, DescribeAlarmsCommand, "NextToken", "NextToken", "MaxRecords");
@@ -2331,12 +2475,14 @@ const waitUntilLogAlarmExists = async (params, input) => {
2331
2475
 
2332
2476
  const commands = {
2333
2477
  AssociateDatasetKmsKeyCommand,
2478
+ CreateResourceMetricsConfigurationCommand,
2334
2479
  DeleteAlarmMuteRuleCommand,
2335
2480
  DeleteAlarmsCommand,
2336
2481
  DeleteAnomalyDetectorCommand,
2337
2482
  DeleteDashboardsCommand,
2338
2483
  DeleteInsightRulesCommand,
2339
2484
  DeleteMetricStreamCommand,
2485
+ DeleteResourceMetricsConfigurationCommand,
2340
2486
  DescribeAlarmContributorsCommand,
2341
2487
  DescribeAlarmHistoryCommand,
2342
2488
  DescribeAlarmsCommand,
@@ -2357,6 +2503,7 @@ const commands = {
2357
2503
  GetMetricStreamCommand,
2358
2504
  GetMetricWidgetImageCommand,
2359
2505
  GetOTelEnrichmentCommand,
2506
+ GetResourceMetricsConfigurationCommand,
2360
2507
  ListAlarmMuteRulesCommand,
2361
2508
  ListDashboardsCommand,
2362
2509
  ListManagedInsightRulesCommand,
@@ -2380,6 +2527,8 @@ const commands = {
2380
2527
  StopOTelEnrichmentCommand,
2381
2528
  TagResourceCommand,
2382
2529
  UntagResourceCommand,
2530
+ UpdateOTelEnrichmentCommand,
2531
+ UpdateResourceMetricsConfigurationCommand,
2383
2532
  };
2384
2533
  const paginators = {
2385
2534
  paginateDescribeAlarmHistory,
@@ -2537,6 +2686,10 @@ exports.ConcurrentModificationException = ConcurrentModificationException;
2537
2686
  exports.ConcurrentModificationException$ = ConcurrentModificationException$;
2538
2687
  exports.ConflictException = ConflictException;
2539
2688
  exports.ConflictException$ = ConflictException$;
2689
+ exports.CreateResourceMetricsConfiguration$ = CreateResourceMetricsConfiguration$;
2690
+ exports.CreateResourceMetricsConfigurationCommand = CreateResourceMetricsConfigurationCommand;
2691
+ exports.CreateResourceMetricsConfigurationInput$ = CreateResourceMetricsConfigurationInput$;
2692
+ exports.CreateResourceMetricsConfigurationOutput$ = CreateResourceMetricsConfigurationOutput$;
2540
2693
  exports.DashboardEntry$ = DashboardEntry$;
2541
2694
  exports.DashboardInvalidInputError = DashboardInvalidInputError;
2542
2695
  exports.DashboardInvalidInputError$ = DashboardInvalidInputError$;
@@ -2566,6 +2719,10 @@ exports.DeleteMetricStream$ = DeleteMetricStream$;
2566
2719
  exports.DeleteMetricStreamCommand = DeleteMetricStreamCommand;
2567
2720
  exports.DeleteMetricStreamInput$ = DeleteMetricStreamInput$;
2568
2721
  exports.DeleteMetricStreamOutput$ = DeleteMetricStreamOutput$;
2722
+ exports.DeleteResourceMetricsConfiguration$ = DeleteResourceMetricsConfiguration$;
2723
+ exports.DeleteResourceMetricsConfigurationCommand = DeleteResourceMetricsConfigurationCommand;
2724
+ exports.DeleteResourceMetricsConfigurationInput$ = DeleteResourceMetricsConfigurationInput$;
2725
+ exports.DeleteResourceMetricsConfigurationOutput$ = DeleteResourceMetricsConfigurationOutput$;
2569
2726
  exports.DescribeAlarmContributors$ = DescribeAlarmContributors$;
2570
2727
  exports.DescribeAlarmContributorsCommand = DescribeAlarmContributorsCommand;
2571
2728
  exports.DescribeAlarmContributorsInput$ = DescribeAlarmContributorsInput$;
@@ -2651,6 +2808,10 @@ exports.GetOTelEnrichment$ = GetOTelEnrichment$;
2651
2808
  exports.GetOTelEnrichmentCommand = GetOTelEnrichmentCommand;
2652
2809
  exports.GetOTelEnrichmentInput$ = GetOTelEnrichmentInput$;
2653
2810
  exports.GetOTelEnrichmentOutput$ = GetOTelEnrichmentOutput$;
2811
+ exports.GetResourceMetricsConfiguration$ = GetResourceMetricsConfiguration$;
2812
+ exports.GetResourceMetricsConfigurationCommand = GetResourceMetricsConfigurationCommand;
2813
+ exports.GetResourceMetricsConfigurationInput$ = GetResourceMetricsConfigurationInput$;
2814
+ exports.GetResourceMetricsConfigurationOutput$ = GetResourceMetricsConfigurationOutput$;
2654
2815
  exports.HistoryItemType = HistoryItemType;
2655
2816
  exports.InsightRule$ = InsightRule$;
2656
2817
  exports.InsightRuleContributor$ = InsightRuleContributor$;
@@ -2722,6 +2883,7 @@ exports.MetricStreamStatisticsMetric$ = MetricStreamStatisticsMetric$;
2722
2883
  exports.MissingRequiredParameterException = MissingRequiredParameterException;
2723
2884
  exports.MissingRequiredParameterException$ = MissingRequiredParameterException$;
2724
2885
  exports.MuteTargets$ = MuteTargets$;
2886
+ exports.OTelEnrichmentMetricSelector$ = OTelEnrichmentMetricSelector$;
2725
2887
  exports.OTelEnrichmentStatus = OTelEnrichmentStatus;
2726
2888
  exports.PartialFailure$ = PartialFailure$;
2727
2889
  exports.PutAlarmMuteRule$ = PutAlarmMuteRule$;
@@ -2763,6 +2925,8 @@ exports.Range$ = Range$;
2763
2925
  exports.RecentlyActive = RecentlyActive;
2764
2926
  exports.ResourceConflict = ResourceConflict;
2765
2927
  exports.ResourceConflict$ = ResourceConflict$;
2928
+ exports.ResourceMetricSelection$ = ResourceMetricSelection$;
2929
+ exports.ResourceMetricsConfiguration$ = ResourceMetricsConfiguration$;
2766
2930
  exports.ResourceNotFound = ResourceNotFound;
2767
2931
  exports.ResourceNotFound$ = ResourceNotFound$;
2768
2932
  exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -2807,6 +2971,16 @@ exports.UntagResource$ = UntagResource$;
2807
2971
  exports.UntagResourceCommand = UntagResourceCommand;
2808
2972
  exports.UntagResourceInput$ = UntagResourceInput$;
2809
2973
  exports.UntagResourceOutput$ = UntagResourceOutput$;
2974
+ exports.UpdateOTelEnrichment$ = UpdateOTelEnrichment$;
2975
+ exports.UpdateOTelEnrichmentCommand = UpdateOTelEnrichmentCommand;
2976
+ exports.UpdateOTelEnrichmentInput$ = UpdateOTelEnrichmentInput$;
2977
+ exports.UpdateOTelEnrichmentOutput$ = UpdateOTelEnrichmentOutput$;
2978
+ exports.UpdateResourceMetricsConfiguration$ = UpdateResourceMetricsConfiguration$;
2979
+ exports.UpdateResourceMetricsConfigurationCommand = UpdateResourceMetricsConfigurationCommand;
2980
+ exports.UpdateResourceMetricsConfigurationInput$ = UpdateResourceMetricsConfigurationInput$;
2981
+ exports.UpdateResourceMetricsConfigurationOutput$ = UpdateResourceMetricsConfigurationOutput$;
2982
+ exports.ValidationException = ValidationException;
2983
+ exports.ValidationException$ = ValidationException$;
2810
2984
  exports.WallClockWindow$ = WallClockWindow$;
2811
2985
  exports.WarmUpConfiguration$ = WarmUpConfiguration$;
2812
2986
  exports.errorTypeRegistries = errorTypeRegistries;
@@ -1,12 +1,14 @@
1
1
  import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { CloudWatchClient } from "./CloudWatchClient";
3
3
  import { AssociateDatasetKmsKeyCommand, } from "./commands/AssociateDatasetKmsKeyCommand";
4
+ import { CreateResourceMetricsConfigurationCommand, } from "./commands/CreateResourceMetricsConfigurationCommand";
4
5
  import { DeleteAlarmMuteRuleCommand, } from "./commands/DeleteAlarmMuteRuleCommand";
5
6
  import { DeleteAlarmsCommand, } from "./commands/DeleteAlarmsCommand";
6
7
  import { DeleteAnomalyDetectorCommand, } from "./commands/DeleteAnomalyDetectorCommand";
7
8
  import { DeleteDashboardsCommand, } from "./commands/DeleteDashboardsCommand";
8
9
  import { DeleteInsightRulesCommand, } from "./commands/DeleteInsightRulesCommand";
9
10
  import { DeleteMetricStreamCommand, } from "./commands/DeleteMetricStreamCommand";
11
+ import { DeleteResourceMetricsConfigurationCommand, } from "./commands/DeleteResourceMetricsConfigurationCommand";
10
12
  import { DescribeAlarmContributorsCommand, } from "./commands/DescribeAlarmContributorsCommand";
11
13
  import { DescribeAlarmHistoryCommand, } from "./commands/DescribeAlarmHistoryCommand";
12
14
  import { DescribeAlarmsCommand, } from "./commands/DescribeAlarmsCommand";
@@ -27,6 +29,7 @@ import { GetMetricStatisticsCommand, } from "./commands/GetMetricStatisticsComma
27
29
  import { GetMetricStreamCommand, } from "./commands/GetMetricStreamCommand";
28
30
  import { GetMetricWidgetImageCommand, } from "./commands/GetMetricWidgetImageCommand";
29
31
  import { GetOTelEnrichmentCommand, } from "./commands/GetOTelEnrichmentCommand";
32
+ import { GetResourceMetricsConfigurationCommand, } from "./commands/GetResourceMetricsConfigurationCommand";
30
33
  import { ListAlarmMuteRulesCommand, } from "./commands/ListAlarmMuteRulesCommand";
31
34
  import { ListDashboardsCommand, } from "./commands/ListDashboardsCommand";
32
35
  import { ListManagedInsightRulesCommand, } from "./commands/ListManagedInsightRulesCommand";
@@ -50,6 +53,8 @@ import { StopMetricStreamsCommand, } from "./commands/StopMetricStreamsCommand";
50
53
  import { StopOTelEnrichmentCommand, } from "./commands/StopOTelEnrichmentCommand";
51
54
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
52
55
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
56
+ import { UpdateOTelEnrichmentCommand, } from "./commands/UpdateOTelEnrichmentCommand";
57
+ import { UpdateResourceMetricsConfigurationCommand, } from "./commands/UpdateResourceMetricsConfigurationCommand";
53
58
  import { paginateDescribeAlarmHistory } from "./pagination/DescribeAlarmHistoryPaginator";
54
59
  import { paginateDescribeAlarms } from "./pagination/DescribeAlarmsPaginator";
55
60
  import { paginateDescribeAnomalyDetectors } from "./pagination/DescribeAnomalyDetectorsPaginator";
@@ -66,12 +71,14 @@ import { waitUntilCompositeAlarmExists } from "./waiters/waitForCompositeAlarmEx
66
71
  import { waitUntilLogAlarmExists } from "./waiters/waitForLogAlarmExists";
67
72
  const commands = {
68
73
  AssociateDatasetKmsKeyCommand,
74
+ CreateResourceMetricsConfigurationCommand,
69
75
  DeleteAlarmMuteRuleCommand,
70
76
  DeleteAlarmsCommand,
71
77
  DeleteAnomalyDetectorCommand,
72
78
  DeleteDashboardsCommand,
73
79
  DeleteInsightRulesCommand,
74
80
  DeleteMetricStreamCommand,
81
+ DeleteResourceMetricsConfigurationCommand,
75
82
  DescribeAlarmContributorsCommand,
76
83
  DescribeAlarmHistoryCommand,
77
84
  DescribeAlarmsCommand,
@@ -92,6 +99,7 @@ const commands = {
92
99
  GetMetricStreamCommand,
93
100
  GetMetricWidgetImageCommand,
94
101
  GetOTelEnrichmentCommand,
102
+ GetResourceMetricsConfigurationCommand,
95
103
  ListAlarmMuteRulesCommand,
96
104
  ListDashboardsCommand,
97
105
  ListManagedInsightRulesCommand,
@@ -115,6 +123,8 @@ const commands = {
115
123
  StopOTelEnrichmentCommand,
116
124
  TagResourceCommand,
117
125
  UntagResourceCommand,
126
+ UpdateOTelEnrichmentCommand,
127
+ UpdateResourceMetricsConfigurationCommand,
118
128
  };
119
129
  const paginators = {
120
130
  paginateDescribeAlarmHistory,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateResourceMetricsConfiguration$ } from "../schemas/schemas_0";
3
+ export class CreateResourceMetricsConfigurationCommand extends command(_ep0, _mw0, "CreateResourceMetricsConfiguration", CreateResourceMetricsConfiguration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteResourceMetricsConfiguration$ } from "../schemas/schemas_0";
3
+ export class DeleteResourceMetricsConfigurationCommand extends command(_ep0, _mw0, "DeleteResourceMetricsConfiguration", DeleteResourceMetricsConfiguration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetResourceMetricsConfiguration$ } from "../schemas/schemas_0";
3
+ export class GetResourceMetricsConfigurationCommand extends command(_ep0, _mw0, "GetResourceMetricsConfiguration", GetResourceMetricsConfiguration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateOTelEnrichment$ } from "../schemas/schemas_0";
3
+ export class UpdateOTelEnrichmentCommand extends command(_ep0, _mw0, "UpdateOTelEnrichment", UpdateOTelEnrichment$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateResourceMetricsConfiguration$ } from "../schemas/schemas_0";
3
+ export class UpdateResourceMetricsConfigurationCommand extends command(_ep0, _mw0, "UpdateResourceMetricsConfiguration", UpdateResourceMetricsConfiguration$) {
4
+ }
@@ -1,10 +1,12 @@
1
1
  export * from "./AssociateDatasetKmsKeyCommand";
2
+ export * from "./CreateResourceMetricsConfigurationCommand";
2
3
  export * from "./DeleteAlarmMuteRuleCommand";
3
4
  export * from "./DeleteAlarmsCommand";
4
5
  export * from "./DeleteAnomalyDetectorCommand";
5
6
  export * from "./DeleteDashboardsCommand";
6
7
  export * from "./DeleteInsightRulesCommand";
7
8
  export * from "./DeleteMetricStreamCommand";
9
+ export * from "./DeleteResourceMetricsConfigurationCommand";
8
10
  export * from "./DescribeAlarmContributorsCommand";
9
11
  export * from "./DescribeAlarmHistoryCommand";
10
12
  export * from "./DescribeAlarmsCommand";
@@ -25,6 +27,7 @@ export * from "./GetMetricStatisticsCommand";
25
27
  export * from "./GetMetricStreamCommand";
26
28
  export * from "./GetMetricWidgetImageCommand";
27
29
  export * from "./GetOTelEnrichmentCommand";
30
+ export * from "./GetResourceMetricsConfigurationCommand";
28
31
  export * from "./ListAlarmMuteRulesCommand";
29
32
  export * from "./ListDashboardsCommand";
30
33
  export * from "./ListManagedInsightRulesCommand";
@@ -48,3 +51,5 @@ export * from "./StopMetricStreamsCommand";
48
51
  export * from "./StopOTelEnrichmentCommand";
49
52
  export * from "./TagResourceCommand";
50
53
  export * from "./UntagResourceCommand";
54
+ export * from "./UpdateOTelEnrichmentCommand";
55
+ export * from "./UpdateResourceMetricsConfigurationCommand";