@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
@@ -237,3 +237,15 @@ export class InvalidFormatFault extends __BaseException {
237
237
  Object.setPrototypeOf(this, InvalidFormatFault.prototype);
238
238
  }
239
239
  }
240
+ export class ValidationException extends __BaseException {
241
+ name = "ValidationException";
242
+ $fault = "client";
243
+ constructor(opts) {
244
+ super({
245
+ name: "ValidationException",
246
+ $fault: "client",
247
+ ...opts,
248
+ });
249
+ Object.setPrototypeOf(this, ValidationException.prototype);
250
+ }
251
+ }
@@ -55,12 +55,16 @@ const _C = "Configuration";
55
55
  const _CA = "ContributorAttributes";
56
56
  const _CAo = "CompositeAlarm";
57
57
  const _CAom = "CompositeAlarms";
58
+ const _CAr = "CreatedAt";
58
59
  const _CD = "CreationDate";
59
60
  const _CE = "ConflictException";
60
61
  const _CI = "ContributorId";
61
62
  const _CME = "ConcurrentModificationException";
62
63
  const _CO = "ComparisonOperator";
63
64
  const _COAN = "ChildrenOfAlarmName";
65
+ const _CRMC = "CreateResourceMetricsConfiguration";
66
+ const _CRMCI = "CreateResourceMetricsConfigurationInput";
67
+ const _CRMCO = "CreateResourceMetricsConfigurationOutput";
64
68
  const _Co = "Contributors";
65
69
  const _Cod = "Code";
66
70
  const _Cou = "Counts";
@@ -121,6 +125,9 @@ const _DNFE = "DashboardNotFoundError";
121
125
  const _DNP = "DashboardNamePrefix";
122
126
  const _DNa = "DashboardNames";
123
127
  const _DP = "DataPath";
128
+ const _DRMC = "DeleteResourceMetricsConfiguration";
129
+ const _DRMCI = "DeleteResourceMetricsConfigurationInput";
130
+ const _DRMCO = "DeleteResourceMetricsConfigurationOutput";
124
131
  const _DTA = "DatapointsToAlarm";
125
132
  const _DVM = "DashboardValidationMessage";
126
133
  const _DVMa = "DashboardValidationMessages";
@@ -187,6 +194,9 @@ const _GMWIO = "GetMetricWidgetImageOutput";
187
194
  const _GOTE = "GetOTelEnrichment";
188
195
  const _GOTEI = "GetOTelEnrichmentInput";
189
196
  const _GOTEO = "GetOTelEnrichmentOutput";
197
+ const _GRMC = "GetResourceMetricsConfiguration";
198
+ const _GRMCI = "GetResourceMetricsConfigurationInput";
199
+ const _GRMCO = "GetResourceMetricsConfigurationOutput";
190
200
  const _HD = "HistoryData";
191
201
  const _HIT = "HistoryItemType";
192
202
  const _HS = "HistorySummary";
@@ -272,7 +282,7 @@ const _MRS = "ManagedRuleState";
272
282
  const _MRa = "MaxResults";
273
283
  const _MRan = "ManagedRule";
274
284
  const _MRana = "ManagedRules";
275
- const _MS = "MetricStat";
285
+ const _MS = "MetricSelections";
276
286
  const _MSE = "MetricStreamEntry";
277
287
  const _MSEe = "MetricStreamEntries";
278
288
  const _MSF = "MetricStreamFilter";
@@ -281,6 +291,7 @@ const _MSSC = "MetricStreamStatisticsConfiguration";
281
291
  const _MSSCe = "MetricStreamStatisticsConfigurations";
282
292
  const _MSSIM = "MetricStreamStatisticsIncludeMetrics";
283
293
  const _MSSM = "MetricStreamStatisticsMetric";
294
+ const _MSe = "MetricStat";
284
295
  const _MT = "MuteType";
285
296
  const _MTe = "MetricTimezone";
286
297
  const _MTu = "MuteTargets";
@@ -301,6 +312,8 @@ const _OB = "OrderBy";
301
312
  const _OF = "OutputFormat";
302
313
  const _OKA = "OKActions";
303
314
  const _OSEAWUPE = "OnlyStartEvaluatingAfterWarmUpPeriodEnds";
315
+ const _OTEMS = "OTelEnrichmentMetricSelector";
316
+ const _OTEMSL = "OTelEnrichmentMetricSelectorList";
304
317
  const _P = "Period";
305
318
  const _PAD = "PutAnomalyDetector";
306
319
  const _PADI = "PutAnomalyDetectorInput";
@@ -338,13 +351,17 @@ const _QRTA = "QueryResultsToAlarm";
338
351
  const _QRTE = "QueryResultsToEvaluate";
339
352
  const _QS = "QueryString";
340
353
  const _R = "Rule";
341
- const _RA = "RoleArn";
354
+ const _RA = "ResourceArn";
342
355
  const _RARN = "ResourceARN";
343
356
  const _RAe = "RecentlyActive";
357
+ const _RAo = "RoleArn";
344
358
  const _RC = "ResourceConflict";
345
359
  const _RD = "ReturnData";
346
360
  const _RDu = "RuleDefinition";
347
361
  const _RI = "ResourceId";
362
+ const _RMC = "ResourceMetricsConfiguration";
363
+ const _RMS = "ResourceMetricSelection";
364
+ const _RMSL = "ResourceMetricSelectionList";
348
365
  const _RN = "RuleNames";
349
366
  const _RNF = "ResourceNotFound";
350
367
  const _RNFE = "ResourceNotFoundException";
@@ -414,11 +431,19 @@ const _Th = "Threshold";
414
431
  const _Ti = "Timezone";
415
432
  const _Tim = "Timestamps";
416
433
  const _U = "Unit";
434
+ const _UA = "UpdatedAt";
417
435
  const _UC = "UniqueContributors";
436
+ const _UOTE = "UpdateOTelEnrichment";
437
+ const _UOTEI = "UpdateOTelEnrichmentInput";
438
+ const _UOTEO = "UpdateOTelEnrichmentOutput";
418
439
  const _UR = "UntagResource";
419
440
  const _URI = "UntagResourceInput";
441
+ const _URMC = "UpdateResourceMetricsConfiguration";
442
+ const _URMCI = "UpdateResourceMetricsConfigurationInput";
443
+ const _URMCO = "UpdateResourceMetricsConfigurationOutput";
420
444
  const _URO = "UntagResourceOutput";
421
445
  const _V = "Value";
446
+ const _VE = "ValidationException";
422
447
  const _Va = "Values";
423
448
  const _WCW = "WallClockWindow";
424
449
  const _WUC = "WarmUpConfiguration";
@@ -434,7 +459,7 @@ const _se = "server";
434
459
  const n0 = "com.amazonaws.cloudwatch";
435
460
  import { TypeRegistry } from "@smithy/core/schema";
436
461
  import { CloudWatchServiceException } from "../models/CloudWatchServiceException";
437
- import { ConcurrentModificationException, ConflictException, DashboardInvalidInputError, DashboardNotFoundError, InternalServiceFault, InvalidFormatFault, InvalidNextToken, InvalidParameterCombinationException, InvalidParameterValueException, KmsAccessDeniedException, KmsKeyDisabledException, KmsKeyNotFoundException, LimitExceededException, LimitExceededFault, MissingRequiredParameterException, ResourceConflict, ResourceNotFound, ResourceNotFoundException, } from "../models/errors";
462
+ import { ConcurrentModificationException, ConflictException, DashboardInvalidInputError, DashboardNotFoundError, InternalServiceFault, InvalidFormatFault, InvalidNextToken, InvalidParameterCombinationException, InvalidParameterValueException, KmsAccessDeniedException, KmsKeyDisabledException, KmsKeyNotFoundException, LimitExceededException, LimitExceededFault, MissingRequiredParameterException, ResourceConflict, ResourceNotFound, ResourceNotFoundException, ValidationException, } from "../models/errors";
438
463
  const _s_registry = new TypeRegistry(_s);
439
464
  export var CloudWatchServiceException$ = [-3, _s, "CloudWatchServiceException", 0, [], []];
440
465
  _s_registry.registerError(CloudWatchServiceException$, CloudWatchServiceException);
@@ -547,6 +572,12 @@ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
547
572
  [0, 0, 0]
548
573
  ];
549
574
  n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
575
+ export var ValidationException$ = [-3, n0, _VE,
576
+ { [_aQE]: [`ValidationError`, 400], [_e]: _c, [_hE]: 400 },
577
+ [_m],
578
+ [0]
579
+ ];
580
+ n0_registry.registerError(ValidationException$, ValidationException);
550
581
  export const errorTypeRegistries = [
551
582
  _s_registry,
552
583
  n0_registry,
@@ -596,6 +627,16 @@ export var CompositeAlarm$ = [3, n0, _CAo,
596
627
  [_AE, _AA, _AAl, _ACUT, _ADl, _AN, _AR, _IDA, _OKA, _SR, _SRD, _SUT, _SV, _STT, _ASB, _ASR, _AS, _ASWP, _ASEP],
597
628
  [2, 64 | 0, 0, 4, 0, 0, 0, 64 | 0, 64 | 0, 0, 0, 4, 0, 4, 0, 0, 0, 1, 1]
598
629
  ];
630
+ export var CreateResourceMetricsConfigurationInput$ = [3, n0, _CRMCI,
631
+ 0,
632
+ [_RA, _MS],
633
+ [0, () => ResourceMetricSelectionList], 1
634
+ ];
635
+ export var CreateResourceMetricsConfigurationOutput$ = [3, n0, _CRMCO,
636
+ 0,
637
+ [_RMC],
638
+ [() => ResourceMetricsConfiguration$], 1
639
+ ];
599
640
  export var DashboardEntry$ = [3, n0, _DE,
600
641
  0,
601
642
  [_DN, _DA, _LM, _Si],
@@ -661,6 +702,16 @@ export var DeleteMetricStreamOutput$ = [3, n0, _DMSO,
661
702
  [],
662
703
  []
663
704
  ];
705
+ export var DeleteResourceMetricsConfigurationInput$ = [3, n0, _DRMCI,
706
+ 0,
707
+ [_RA],
708
+ [0], 1
709
+ ];
710
+ export var DeleteResourceMetricsConfigurationOutput$ = [3, n0, _DRMCO,
711
+ 0,
712
+ [],
713
+ []
714
+ ];
664
715
  export var DescribeAlarmContributorsInput$ = [3, n0, _DACI,
665
716
  0,
666
717
  [_AN, _NT],
@@ -848,7 +899,7 @@ export var GetMetricStreamInput$ = [3, n0, _GMSIe,
848
899
  ];
849
900
  export var GetMetricStreamOutput$ = [3, n0, _GMSOe,
850
901
  0,
851
- [_Ar, _Na, _IF, _EF, _FA, _RA, _State, _CD, _LUD, _OF, _SCt, _ILAM],
902
+ [_Ar, _Na, _IF, _EF, _FA, _RAo, _State, _CD, _LUD, _OF, _SCt, _ILAM],
852
903
  [0, 0, () => MetricStreamFilters, () => MetricStreamFilters, 0, 0, 0, 4, 4, 0, () => MetricStreamStatisticsConfigurations, 2]
853
904
  ];
854
905
  export var GetMetricWidgetImageInput$ = [3, n0, _GMWII,
@@ -868,9 +919,19 @@ export var GetOTelEnrichmentInput$ = [3, n0, _GOTEI,
868
919
  ];
869
920
  export var GetOTelEnrichmentOutput$ = [3, n0, _GOTEO,
870
921
  0,
871
- [_S],
922
+ [_S, _IF, _EF, _CAr, _UA],
923
+ [0, () => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4], 1
924
+ ];
925
+ export var GetResourceMetricsConfigurationInput$ = [3, n0, _GRMCI,
926
+ 0,
927
+ [_RA],
872
928
  [0], 1
873
929
  ];
930
+ export var GetResourceMetricsConfigurationOutput$ = [3, n0, _GRMCO,
931
+ 0,
932
+ [_RMC],
933
+ [() => ResourceMetricsConfiguration$], 1
934
+ ];
874
935
  export var InsightRule$ = [3, n0, _IRn,
875
936
  0,
876
937
  [_Na, _State, _Sc, _Def, _MRan, _AOTL],
@@ -998,7 +1059,7 @@ export var MetricCharacteristics$ = [3, n0, _MC,
998
1059
  ];
999
1060
  export var MetricDataQuery$ = [3, n0, _MDQe,
1000
1061
  0,
1001
- [_I, _MS, _Ex, _L, _RD, _P, _AI],
1062
+ [_I, _MSe, _Ex, _L, _RD, _P, _AI],
1002
1063
  [0, () => MetricStat$, 0, 0, 2, 1, 0], 1
1003
1064
  ];
1004
1065
  export var MetricDataResult$ = [3, n0, _MDRe,
@@ -1016,7 +1077,7 @@ export var MetricMathAnomalyDetector$ = [3, n0, _MMAD,
1016
1077
  [_MDQ],
1017
1078
  [() => MetricDataQueries]
1018
1079
  ];
1019
- export var MetricStat$ = [3, n0, _MS,
1080
+ export var MetricStat$ = [3, n0, _MSe,
1020
1081
  0,
1021
1082
  [_Met, _P, _St, _U],
1022
1083
  [() => Metric$, 1, 0, 0], 3
@@ -1046,6 +1107,11 @@ export var MuteTargets$ = [3, n0, _MTu,
1046
1107
  [_ANl],
1047
1108
  [64 | 0], 1
1048
1109
  ];
1110
+ export var OTelEnrichmentMetricSelector$ = [3, n0, _OTEMS,
1111
+ 0,
1112
+ [_N, _MNe],
1113
+ [0, 64 | 0], 1
1114
+ ];
1049
1115
  export var PartialFailure$ = [3, n0, _PF,
1050
1116
  0,
1051
1117
  [_FR, _ETx, _FC, _FD],
@@ -1118,7 +1184,7 @@ export var PutMetricDataInput$ = [3, n0, _PMDI,
1118
1184
  ];
1119
1185
  export var PutMetricStreamInput$ = [3, n0, _PMSI,
1120
1186
  0,
1121
- [_Na, _FA, _RA, _OF, _IF, _EF, _Ta, _SCt, _ILAM],
1187
+ [_Na, _FA, _RAo, _OF, _IF, _EF, _Ta, _SCt, _ILAM],
1122
1188
  [0, 0, 0, 0, () => MetricStreamFilters, () => MetricStreamFilters, () => TagList, () => MetricStreamStatisticsConfigurations, 2], 4
1123
1189
  ];
1124
1190
  export var PutMetricStreamOutput$ = [3, n0, _PMSO,
@@ -1131,6 +1197,16 @@ export var Range$ = [3, n0, _Ra,
1131
1197
  [_ST, _ET],
1132
1198
  [4, 4], 2
1133
1199
  ];
1200
+ export var ResourceMetricsConfiguration$ = [3, n0, _RMC,
1201
+ 0,
1202
+ [_RA, _CAr, _UA, _MS],
1203
+ [0, 4, 4, () => ResourceMetricSelectionList], 3
1204
+ ];
1205
+ export var ResourceMetricSelection$ = [3, n0, _RMS,
1206
+ 0,
1207
+ [_IM],
1208
+ [64 | 0], 1
1209
+ ];
1134
1210
  export var Rule$ = [3, n0, _R,
1135
1211
  0,
1136
1212
  [_Sch],
@@ -1178,13 +1254,13 @@ export var StartMetricStreamsOutput$ = [3, n0, _SMSO,
1178
1254
  ];
1179
1255
  export var StartOTelEnrichmentInput$ = [3, n0, _SOTEI,
1180
1256
  0,
1181
- [],
1182
- []
1257
+ [_IF, _EF],
1258
+ [() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList]
1183
1259
  ];
1184
1260
  export var StartOTelEnrichmentOutput$ = [3, n0, _SOTEO,
1185
1261
  0,
1186
- [],
1187
- []
1262
+ [_IF, _EF, _CAr, _UA],
1263
+ [() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4]
1188
1264
  ];
1189
1265
  export var StatisticSet$ = [3, n0, _SS,
1190
1266
  0,
@@ -1236,6 +1312,26 @@ export var UntagResourceOutput$ = [3, n0, _URO,
1236
1312
  [],
1237
1313
  []
1238
1314
  ];
1315
+ export var UpdateOTelEnrichmentInput$ = [3, n0, _UOTEI,
1316
+ 0,
1317
+ [_IF, _EF],
1318
+ [() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList]
1319
+ ];
1320
+ export var UpdateOTelEnrichmentOutput$ = [3, n0, _UOTEO,
1321
+ 0,
1322
+ [_IF, _EF, _CAr, _UA],
1323
+ [() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4]
1324
+ ];
1325
+ export var UpdateResourceMetricsConfigurationInput$ = [3, n0, _URMCI,
1326
+ 0,
1327
+ [_RA, _MS],
1328
+ [0, () => ResourceMetricSelectionList], 1
1329
+ ];
1330
+ export var UpdateResourceMetricsConfigurationOutput$ = [3, n0, _URMCO,
1331
+ 0,
1332
+ [_RMC],
1333
+ [() => ResourceMetricsConfiguration$], 1
1334
+ ];
1239
1335
  export var WallClockWindow$ = [3, n0, _WCW,
1240
1336
  0,
1241
1337
  [_Ti],
@@ -1336,6 +1432,7 @@ var MetricDataResultMessages = [1, n0, _MDRM,
1336
1432
  var MetricDataResults = [1, n0, _MDR,
1337
1433
  0, () => MetricDataResult$
1338
1434
  ];
1435
+ var MetricNameList = 64 | 0;
1339
1436
  var Metrics = [1, n0, _Me,
1340
1437
  0, () => Metric$
1341
1438
  ];
@@ -1355,8 +1452,15 @@ var MetricStreamStatisticsIncludeMetrics = [1, n0, _MSSIM,
1355
1452
  0, () => MetricStreamStatisticsMetric$
1356
1453
  ];
1357
1454
  var MuteTargetAlarmNameList = 64 | 0;
1455
+ var OTelEnrichmentMetricNameList = 64 | 0;
1456
+ var OTelEnrichmentMetricSelectorList = [1, n0, _OTEMSL,
1457
+ 0, () => OTelEnrichmentMetricSelector$
1458
+ ];
1358
1459
  var OwningAccounts = 64 | 0;
1359
1460
  var ResourceList = 64 | 0;
1461
+ var ResourceMetricSelectionList = [1, n0, _RMSL,
1462
+ 0, () => ResourceMetricSelection$
1463
+ ];
1360
1464
  var Statistics = 64 | 0;
1361
1465
  var TagKeyList = 64 | 0;
1362
1466
  var TagList = [1, n0, _TL,
@@ -1381,6 +1485,9 @@ export var EvaluationWindow$ = [4, n0, _EW,
1381
1485
  export var AssociateDatasetKmsKey$ = [9, n0, _ADKK,
1382
1486
  0, () => AssociateDatasetKmsKeyInput$, () => AssociateDatasetKmsKeyOutput$
1383
1487
  ];
1488
+ export var CreateResourceMetricsConfiguration$ = [9, n0, _CRMC,
1489
+ 0, () => CreateResourceMetricsConfigurationInput$, () => CreateResourceMetricsConfigurationOutput$
1490
+ ];
1384
1491
  export var DeleteAlarmMuteRule$ = [9, n0, _DAMR,
1385
1492
  0, () => DeleteAlarmMuteRuleInput$, () => __Unit
1386
1493
  ];
@@ -1399,6 +1506,9 @@ export var DeleteInsightRules$ = [9, n0, _DIR,
1399
1506
  export var DeleteMetricStream$ = [9, n0, _DMS,
1400
1507
  0, () => DeleteMetricStreamInput$, () => DeleteMetricStreamOutput$
1401
1508
  ];
1509
+ export var DeleteResourceMetricsConfiguration$ = [9, n0, _DRMC,
1510
+ 0, () => DeleteResourceMetricsConfigurationInput$, () => DeleteResourceMetricsConfigurationOutput$
1511
+ ];
1402
1512
  export var DescribeAlarmContributors$ = [9, n0, _DAC,
1403
1513
  0, () => DescribeAlarmContributorsInput$, () => DescribeAlarmContributorsOutput$
1404
1514
  ];
@@ -1459,6 +1569,9 @@ export var GetMetricWidgetImage$ = [9, n0, _GMWI,
1459
1569
  export var GetOTelEnrichment$ = [9, n0, _GOTE,
1460
1570
  0, () => GetOTelEnrichmentInput$, () => GetOTelEnrichmentOutput$
1461
1571
  ];
1572
+ export var GetResourceMetricsConfiguration$ = [9, n0, _GRMC,
1573
+ 0, () => GetResourceMetricsConfigurationInput$, () => GetResourceMetricsConfigurationOutput$
1574
+ ];
1462
1575
  export var ListAlarmMuteRules$ = [9, n0, _LAMR,
1463
1576
  0, () => ListAlarmMuteRulesInput$, () => ListAlarmMuteRulesOutput$
1464
1577
  ];
@@ -1528,3 +1641,9 @@ export var TagResource$ = [9, n0, _TR,
1528
1641
  export var UntagResource$ = [9, n0, _UR,
1529
1642
  0, () => UntagResourceInput$, () => UntagResourceOutput$
1530
1643
  ];
1644
+ export var UpdateOTelEnrichment$ = [9, n0, _UOTE,
1645
+ 0, () => UpdateOTelEnrichmentInput$, () => UpdateOTelEnrichmentOutput$
1646
+ ];
1647
+ export var UpdateResourceMetricsConfiguration$ = [9, n0, _URMC,
1648
+ 0, () => UpdateResourceMetricsConfigurationInput$, () => UpdateResourceMetricsConfigurationOutput$
1649
+ ];
@@ -2,12 +2,14 @@ import { type WaiterResult } from "@smithy/core/client";
2
2
  import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { CloudWatchClient } from "./CloudWatchClient";
4
4
  import { type AssociateDatasetKmsKeyCommandInput, type AssociateDatasetKmsKeyCommandOutput } from "./commands/AssociateDatasetKmsKeyCommand";
5
+ import { type CreateResourceMetricsConfigurationCommandInput, type CreateResourceMetricsConfigurationCommandOutput } from "./commands/CreateResourceMetricsConfigurationCommand";
5
6
  import { type DeleteAlarmMuteRuleCommandInput, type DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
6
7
  import { type DeleteAlarmsCommandInput, type DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
7
8
  import { type DeleteAnomalyDetectorCommandInput, type DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
8
9
  import { type DeleteDashboardsCommandInput, type DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
9
10
  import { type DeleteInsightRulesCommandInput, type DeleteInsightRulesCommandOutput } from "./commands/DeleteInsightRulesCommand";
10
11
  import { type DeleteMetricStreamCommandInput, type DeleteMetricStreamCommandOutput } from "./commands/DeleteMetricStreamCommand";
12
+ import { type DeleteResourceMetricsConfigurationCommandInput, type DeleteResourceMetricsConfigurationCommandOutput } from "./commands/DeleteResourceMetricsConfigurationCommand";
11
13
  import { type DescribeAlarmContributorsCommandInput, type DescribeAlarmContributorsCommandOutput } from "./commands/DescribeAlarmContributorsCommand";
12
14
  import { type DescribeAlarmHistoryCommandInput, type DescribeAlarmHistoryCommandOutput } from "./commands/DescribeAlarmHistoryCommand";
13
15
  import { type DescribeAlarmsCommandInput, type DescribeAlarmsCommandOutput } from "./commands/DescribeAlarmsCommand";
@@ -28,6 +30,7 @@ import { type GetMetricStatisticsCommandInput, type GetMetricStatisticsCommandOu
28
30
  import { type GetMetricStreamCommandInput, type GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
29
31
  import { type GetMetricWidgetImageCommandInput, type GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
30
32
  import { type GetOTelEnrichmentCommandInput, type GetOTelEnrichmentCommandOutput } from "./commands/GetOTelEnrichmentCommand";
33
+ import { type GetResourceMetricsConfigurationCommandInput, type GetResourceMetricsConfigurationCommandOutput } from "./commands/GetResourceMetricsConfigurationCommand";
31
34
  import { type ListAlarmMuteRulesCommandInput, type ListAlarmMuteRulesCommandOutput } from "./commands/ListAlarmMuteRulesCommand";
32
35
  import { type ListDashboardsCommandInput, type ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
33
36
  import { type ListManagedInsightRulesCommandInput, type ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
@@ -51,6 +54,8 @@ import { type StopMetricStreamsCommandInput, type StopMetricStreamsCommandOutput
51
54
  import { type StopOTelEnrichmentCommandInput, type StopOTelEnrichmentCommandOutput } from "./commands/StopOTelEnrichmentCommand";
52
55
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
53
56
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
57
+ import { type UpdateOTelEnrichmentCommandInput, type UpdateOTelEnrichmentCommandOutput } from "./commands/UpdateOTelEnrichmentCommand";
58
+ import { type UpdateResourceMetricsConfigurationCommandInput, type UpdateResourceMetricsConfigurationCommandOutput } from "./commands/UpdateResourceMetricsConfigurationCommand";
54
59
  /**
55
60
  * @public
56
61
  */
@@ -64,6 +69,12 @@ export interface CloudWatch {
64
69
  associateDatasetKmsKey(args: AssociateDatasetKmsKeyCommandInput, options?: CloudWatchRequestOptions): Promise<AssociateDatasetKmsKeyCommandOutput>;
65
70
  associateDatasetKmsKey(args: AssociateDatasetKmsKeyCommandInput, cb: (err: any, data?: AssociateDatasetKmsKeyCommandOutput) => void): void;
66
71
  associateDatasetKmsKey(args: AssociateDatasetKmsKeyCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: AssociateDatasetKmsKeyCommandOutput) => void): void;
72
+ /**
73
+ * @see {@link CreateResourceMetricsConfigurationCommand}
74
+ */
75
+ createResourceMetricsConfiguration(args: CreateResourceMetricsConfigurationCommandInput, options?: CloudWatchRequestOptions): Promise<CreateResourceMetricsConfigurationCommandOutput>;
76
+ createResourceMetricsConfiguration(args: CreateResourceMetricsConfigurationCommandInput, cb: (err: any, data?: CreateResourceMetricsConfigurationCommandOutput) => void): void;
77
+ createResourceMetricsConfiguration(args: CreateResourceMetricsConfigurationCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: CreateResourceMetricsConfigurationCommandOutput) => void): void;
67
78
  /**
68
79
  * @see {@link DeleteAlarmMuteRuleCommand}
69
80
  */
@@ -101,6 +112,12 @@ export interface CloudWatch {
101
112
  deleteMetricStream(args: DeleteMetricStreamCommandInput, options?: CloudWatchRequestOptions): Promise<DeleteMetricStreamCommandOutput>;
102
113
  deleteMetricStream(args: DeleteMetricStreamCommandInput, cb: (err: any, data?: DeleteMetricStreamCommandOutput) => void): void;
103
114
  deleteMetricStream(args: DeleteMetricStreamCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DeleteMetricStreamCommandOutput) => void): void;
115
+ /**
116
+ * @see {@link DeleteResourceMetricsConfigurationCommand}
117
+ */
118
+ deleteResourceMetricsConfiguration(args: DeleteResourceMetricsConfigurationCommandInput, options?: CloudWatchRequestOptions): Promise<DeleteResourceMetricsConfigurationCommandOutput>;
119
+ deleteResourceMetricsConfiguration(args: DeleteResourceMetricsConfigurationCommandInput, cb: (err: any, data?: DeleteResourceMetricsConfigurationCommandOutput) => void): void;
120
+ deleteResourceMetricsConfiguration(args: DeleteResourceMetricsConfigurationCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DeleteResourceMetricsConfigurationCommandOutput) => void): void;
104
121
  /**
105
122
  * @see {@link DescribeAlarmContributorsCommand}
106
123
  */
@@ -226,6 +243,12 @@ export interface CloudWatch {
226
243
  getOTelEnrichment(args: GetOTelEnrichmentCommandInput, options?: CloudWatchRequestOptions): Promise<GetOTelEnrichmentCommandOutput>;
227
244
  getOTelEnrichment(args: GetOTelEnrichmentCommandInput, cb: (err: any, data?: GetOTelEnrichmentCommandOutput) => void): void;
228
245
  getOTelEnrichment(args: GetOTelEnrichmentCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetOTelEnrichmentCommandOutput) => void): void;
246
+ /**
247
+ * @see {@link GetResourceMetricsConfigurationCommand}
248
+ */
249
+ getResourceMetricsConfiguration(args: GetResourceMetricsConfigurationCommandInput, options?: CloudWatchRequestOptions): Promise<GetResourceMetricsConfigurationCommandOutput>;
250
+ getResourceMetricsConfiguration(args: GetResourceMetricsConfigurationCommandInput, cb: (err: any, data?: GetResourceMetricsConfigurationCommandOutput) => void): void;
251
+ getResourceMetricsConfiguration(args: GetResourceMetricsConfigurationCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetResourceMetricsConfigurationCommandOutput) => void): void;
229
252
  /**
230
253
  * @see {@link ListAlarmMuteRulesCommand}
231
254
  */
@@ -371,6 +394,19 @@ export interface CloudWatch {
371
394
  untagResource(args: UntagResourceCommandInput, options?: CloudWatchRequestOptions): Promise<UntagResourceCommandOutput>;
372
395
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
373
396
  untagResource(args: UntagResourceCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
397
+ /**
398
+ * @see {@link UpdateOTelEnrichmentCommand}
399
+ */
400
+ updateOTelEnrichment(): Promise<UpdateOTelEnrichmentCommandOutput>;
401
+ updateOTelEnrichment(args: UpdateOTelEnrichmentCommandInput, options?: CloudWatchRequestOptions): Promise<UpdateOTelEnrichmentCommandOutput>;
402
+ updateOTelEnrichment(args: UpdateOTelEnrichmentCommandInput, cb: (err: any, data?: UpdateOTelEnrichmentCommandOutput) => void): void;
403
+ updateOTelEnrichment(args: UpdateOTelEnrichmentCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: UpdateOTelEnrichmentCommandOutput) => void): void;
404
+ /**
405
+ * @see {@link UpdateResourceMetricsConfigurationCommand}
406
+ */
407
+ updateResourceMetricsConfiguration(args: UpdateResourceMetricsConfigurationCommandInput, options?: CloudWatchRequestOptions): Promise<UpdateResourceMetricsConfigurationCommandOutput>;
408
+ updateResourceMetricsConfiguration(args: UpdateResourceMetricsConfigurationCommandInput, cb: (err: any, data?: UpdateResourceMetricsConfigurationCommandOutput) => void): void;
409
+ updateResourceMetricsConfiguration(args: UpdateResourceMetricsConfigurationCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: UpdateResourceMetricsConfigurationCommandOutput) => void): void;
374
410
  /**
375
411
  * @see {@link DescribeAlarmHistoryCommand}
376
412
  * @param args - command input.
@@ -8,12 +8,14 @@ import { type CompressionInputConfig, type CompressionResolvedConfig } from "@sm
8
8
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import type { AssociateDatasetKmsKeyCommandInput, AssociateDatasetKmsKeyCommandOutput } from "./commands/AssociateDatasetKmsKeyCommand";
11
+ import type { CreateResourceMetricsConfigurationCommandInput, CreateResourceMetricsConfigurationCommandOutput } from "./commands/CreateResourceMetricsConfigurationCommand";
11
12
  import type { DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
12
13
  import type { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
13
14
  import type { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
14
15
  import type { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
15
16
  import type { DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput } from "./commands/DeleteInsightRulesCommand";
16
17
  import type { DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput } from "./commands/DeleteMetricStreamCommand";
18
+ import type { DeleteResourceMetricsConfigurationCommandInput, DeleteResourceMetricsConfigurationCommandOutput } from "./commands/DeleteResourceMetricsConfigurationCommand";
17
19
  import type { DescribeAlarmContributorsCommandInput, DescribeAlarmContributorsCommandOutput } from "./commands/DescribeAlarmContributorsCommand";
18
20
  import type { DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput } from "./commands/DescribeAlarmHistoryCommand";
19
21
  import type { DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput } from "./commands/DescribeAlarmsCommand";
@@ -34,6 +36,7 @@ import type { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput
34
36
  import type { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
35
37
  import type { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
36
38
  import type { GetOTelEnrichmentCommandInput, GetOTelEnrichmentCommandOutput } from "./commands/GetOTelEnrichmentCommand";
39
+ import type { GetResourceMetricsConfigurationCommandInput, GetResourceMetricsConfigurationCommandOutput } from "./commands/GetResourceMetricsConfigurationCommand";
37
40
  import type { ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput } from "./commands/ListAlarmMuteRulesCommand";
38
41
  import type { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
39
42
  import type { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
@@ -57,17 +60,19 @@ import type { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput } fr
57
60
  import type { StopOTelEnrichmentCommandInput, StopOTelEnrichmentCommandOutput } from "./commands/StopOTelEnrichmentCommand";
58
61
  import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
59
62
  import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
63
+ import type { UpdateOTelEnrichmentCommandInput, UpdateOTelEnrichmentCommandOutput } from "./commands/UpdateOTelEnrichmentCommand";
64
+ import type { UpdateResourceMetricsConfigurationCommandInput, UpdateResourceMetricsConfigurationCommandOutput } from "./commands/UpdateResourceMetricsConfigurationCommand";
60
65
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
61
66
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
62
67
  export { __Client };
63
68
  /**
64
69
  * @public
65
70
  */
66
- export type ServiceInputTypes = AssociateDatasetKmsKeyCommandInput | DeleteAlarmMuteRuleCommandInput | DeleteAlarmsCommandInput | DeleteAnomalyDetectorCommandInput | DeleteDashboardsCommandInput | DeleteInsightRulesCommandInput | DeleteMetricStreamCommandInput | DescribeAlarmContributorsCommandInput | DescribeAlarmHistoryCommandInput | DescribeAlarmsCommandInput | DescribeAlarmsForMetricCommandInput | DescribeAnomalyDetectorsCommandInput | DescribeInsightRulesCommandInput | DisableAlarmActionsCommandInput | DisableInsightRulesCommandInput | DisassociateDatasetKmsKeyCommandInput | EnableAlarmActionsCommandInput | EnableInsightRulesCommandInput | GetAlarmMuteRuleCommandInput | GetDashboardCommandInput | GetDatasetCommandInput | GetInsightRuleReportCommandInput | GetMetricDataCommandInput | GetMetricStatisticsCommandInput | GetMetricStreamCommandInput | GetMetricWidgetImageCommandInput | GetOTelEnrichmentCommandInput | ListAlarmMuteRulesCommandInput | ListDashboardsCommandInput | ListManagedInsightRulesCommandInput | ListMetricStreamsCommandInput | ListMetricsCommandInput | ListTagsForResourceCommandInput | PutAlarmMuteRuleCommandInput | PutAnomalyDetectorCommandInput | PutCompositeAlarmCommandInput | PutDashboardCommandInput | PutInsightRuleCommandInput | PutLogAlarmCommandInput | PutManagedInsightRulesCommandInput | PutMetricAlarmCommandInput | PutMetricDataCommandInput | PutMetricStreamCommandInput | SetAlarmStateCommandInput | StartMetricStreamsCommandInput | StartOTelEnrichmentCommandInput | StopMetricStreamsCommandInput | StopOTelEnrichmentCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
71
+ export type ServiceInputTypes = AssociateDatasetKmsKeyCommandInput | CreateResourceMetricsConfigurationCommandInput | DeleteAlarmMuteRuleCommandInput | DeleteAlarmsCommandInput | DeleteAnomalyDetectorCommandInput | DeleteDashboardsCommandInput | DeleteInsightRulesCommandInput | DeleteMetricStreamCommandInput | DeleteResourceMetricsConfigurationCommandInput | DescribeAlarmContributorsCommandInput | DescribeAlarmHistoryCommandInput | DescribeAlarmsCommandInput | DescribeAlarmsForMetricCommandInput | DescribeAnomalyDetectorsCommandInput | DescribeInsightRulesCommandInput | DisableAlarmActionsCommandInput | DisableInsightRulesCommandInput | DisassociateDatasetKmsKeyCommandInput | EnableAlarmActionsCommandInput | EnableInsightRulesCommandInput | GetAlarmMuteRuleCommandInput | GetDashboardCommandInput | GetDatasetCommandInput | GetInsightRuleReportCommandInput | GetMetricDataCommandInput | GetMetricStatisticsCommandInput | GetMetricStreamCommandInput | GetMetricWidgetImageCommandInput | GetOTelEnrichmentCommandInput | GetResourceMetricsConfigurationCommandInput | ListAlarmMuteRulesCommandInput | ListDashboardsCommandInput | ListManagedInsightRulesCommandInput | ListMetricStreamsCommandInput | ListMetricsCommandInput | ListTagsForResourceCommandInput | PutAlarmMuteRuleCommandInput | PutAnomalyDetectorCommandInput | PutCompositeAlarmCommandInput | PutDashboardCommandInput | PutInsightRuleCommandInput | PutLogAlarmCommandInput | PutManagedInsightRulesCommandInput | PutMetricAlarmCommandInput | PutMetricDataCommandInput | PutMetricStreamCommandInput | SetAlarmStateCommandInput | StartMetricStreamsCommandInput | StartOTelEnrichmentCommandInput | StopMetricStreamsCommandInput | StopOTelEnrichmentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOTelEnrichmentCommandInput | UpdateResourceMetricsConfigurationCommandInput;
67
72
  /**
68
73
  * @public
69
74
  */
70
- export type ServiceOutputTypes = AssociateDatasetKmsKeyCommandOutput | DeleteAlarmMuteRuleCommandOutput | DeleteAlarmsCommandOutput | DeleteAnomalyDetectorCommandOutput | DeleteDashboardsCommandOutput | DeleteInsightRulesCommandOutput | DeleteMetricStreamCommandOutput | DescribeAlarmContributorsCommandOutput | DescribeAlarmHistoryCommandOutput | DescribeAlarmsCommandOutput | DescribeAlarmsForMetricCommandOutput | DescribeAnomalyDetectorsCommandOutput | DescribeInsightRulesCommandOutput | DisableAlarmActionsCommandOutput | DisableInsightRulesCommandOutput | DisassociateDatasetKmsKeyCommandOutput | EnableAlarmActionsCommandOutput | EnableInsightRulesCommandOutput | GetAlarmMuteRuleCommandOutput | GetDashboardCommandOutput | GetDatasetCommandOutput | GetInsightRuleReportCommandOutput | GetMetricDataCommandOutput | GetMetricStatisticsCommandOutput | GetMetricStreamCommandOutput | GetMetricWidgetImageCommandOutput | GetOTelEnrichmentCommandOutput | ListAlarmMuteRulesCommandOutput | ListDashboardsCommandOutput | ListManagedInsightRulesCommandOutput | ListMetricStreamsCommandOutput | ListMetricsCommandOutput | ListTagsForResourceCommandOutput | PutAlarmMuteRuleCommandOutput | PutAnomalyDetectorCommandOutput | PutCompositeAlarmCommandOutput | PutDashboardCommandOutput | PutInsightRuleCommandOutput | PutLogAlarmCommandOutput | PutManagedInsightRulesCommandOutput | PutMetricAlarmCommandOutput | PutMetricDataCommandOutput | PutMetricStreamCommandOutput | SetAlarmStateCommandOutput | StartMetricStreamsCommandOutput | StartOTelEnrichmentCommandOutput | StopMetricStreamsCommandOutput | StopOTelEnrichmentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
75
+ export type ServiceOutputTypes = AssociateDatasetKmsKeyCommandOutput | CreateResourceMetricsConfigurationCommandOutput | DeleteAlarmMuteRuleCommandOutput | DeleteAlarmsCommandOutput | DeleteAnomalyDetectorCommandOutput | DeleteDashboardsCommandOutput | DeleteInsightRulesCommandOutput | DeleteMetricStreamCommandOutput | DeleteResourceMetricsConfigurationCommandOutput | DescribeAlarmContributorsCommandOutput | DescribeAlarmHistoryCommandOutput | DescribeAlarmsCommandOutput | DescribeAlarmsForMetricCommandOutput | DescribeAnomalyDetectorsCommandOutput | DescribeInsightRulesCommandOutput | DisableAlarmActionsCommandOutput | DisableInsightRulesCommandOutput | DisassociateDatasetKmsKeyCommandOutput | EnableAlarmActionsCommandOutput | EnableInsightRulesCommandOutput | GetAlarmMuteRuleCommandOutput | GetDashboardCommandOutput | GetDatasetCommandOutput | GetInsightRuleReportCommandOutput | GetMetricDataCommandOutput | GetMetricStatisticsCommandOutput | GetMetricStreamCommandOutput | GetMetricWidgetImageCommandOutput | GetOTelEnrichmentCommandOutput | GetResourceMetricsConfigurationCommandOutput | ListAlarmMuteRulesCommandOutput | ListDashboardsCommandOutput | ListManagedInsightRulesCommandOutput | ListMetricStreamsCommandOutput | ListMetricsCommandOutput | ListTagsForResourceCommandOutput | PutAlarmMuteRuleCommandOutput | PutAnomalyDetectorCommandOutput | PutCompositeAlarmCommandOutput | PutDashboardCommandOutput | PutInsightRuleCommandOutput | PutLogAlarmCommandOutput | PutManagedInsightRulesCommandOutput | PutMetricAlarmCommandOutput | PutMetricDataCommandOutput | PutMetricStreamCommandOutput | SetAlarmStateCommandOutput | StartMetricStreamsCommandOutput | StartOTelEnrichmentCommandOutput | StopMetricStreamsCommandOutput | StopOTelEnrichmentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOTelEnrichmentCommandOutput | UpdateResourceMetricsConfigurationCommandOutput;
71
76
  /**
72
77
  * @public
73
78
  */
@@ -0,0 +1,108 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateResourceMetricsConfigurationInput, CreateResourceMetricsConfigurationOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateResourceMetricsConfigurationCommand}.
11
+ */
12
+ export interface CreateResourceMetricsConfigurationCommandInput extends CreateResourceMetricsConfigurationInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateResourceMetricsConfigurationCommand}.
18
+ */
19
+ export interface CreateResourceMetricsConfigurationCommandOutput extends CreateResourceMetricsConfigurationOutput, __MetadataBearer {
20
+ }
21
+ declare const CreateResourceMetricsConfigurationCommand_base: {
22
+ new (input: CreateResourceMetricsConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceMetricsConfigurationCommandInput, CreateResourceMetricsConfigurationCommandOutput, import("..").CloudWatchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateResourceMetricsConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceMetricsConfigurationCommandInput, CreateResourceMetricsConfigurationCommandOutput, import("..").CloudWatchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a resource metrics configuration for an Amazon Web Services resource. After you
28
+ * create a configuration, Amazon CloudWatch collects detailed metrics for that
29
+ * resource.</p>
30
+ * <p>Each Amazon Web Services resource can have only one resource metrics configuration. If a
31
+ * configuration already exists for the specified resource ARN, this operation returns a
32
+ * <code>ConflictException</code>. To modify an existing configuration, use <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateResourceMetricsConfiguration.html">UpdateResourceMetricsConfiguration</a>.</p>
33
+ * <p>If the Amazon Web Services resource that you specify in <code>ResourceArn</code> does
34
+ * not exist, this operation returns a <code>ResourceNotFoundException</code>. Verify that
35
+ * the resource ARN is correct and that the resource exists before you retry the
36
+ * request.</p>
37
+ * <p>To create a resource metrics configuration, you must have the
38
+ * <code>cloudwatch:CreateResourceMetricsConfiguration</code> permission. For information about scoping
39
+ * this permission to specific resources, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/iam-cw-condition-keys-resource-arn.html">Condition keys for resource metrics configuration access</a> in the
40
+ * <i>Amazon CloudWatch User Guide</i>.</p>
41
+ * @example
42
+ * Use a bare-bones client and the command you need to make an API call.
43
+ * ```javascript
44
+ * import { CloudWatchClient, CreateResourceMetricsConfigurationCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
45
+ * // const { CloudWatchClient, CreateResourceMetricsConfigurationCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
46
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
47
+ * const config = {}; // type is CloudWatchClientConfig
48
+ * const client = new CloudWatchClient(config);
49
+ * const input = { // CreateResourceMetricsConfigurationInput
50
+ * ResourceArn: "STRING_VALUE", // required
51
+ * MetricSelections: [ // ResourceMetricSelectionList
52
+ * { // ResourceMetricSelection
53
+ * IncludeMetrics: [ // MetricNameList // required
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * },
57
+ * ],
58
+ * };
59
+ * const command = new CreateResourceMetricsConfigurationCommand(input);
60
+ * const response = await client.send(command);
61
+ * // { // CreateResourceMetricsConfigurationOutput
62
+ * // ResourceMetricsConfiguration: { // ResourceMetricsConfiguration
63
+ * // ResourceArn: "STRING_VALUE", // required
64
+ * // CreatedAt: new Date("TIMESTAMP"), // required
65
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
66
+ * // MetricSelections: [ // ResourceMetricSelectionList
67
+ * // { // ResourceMetricSelection
68
+ * // IncludeMetrics: [ // MetricNameList // required
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param CreateResourceMetricsConfigurationCommandInput - {@link CreateResourceMetricsConfigurationCommandInput}
79
+ * @returns {@link CreateResourceMetricsConfigurationCommandOutput}
80
+ * @see {@link CreateResourceMetricsConfigurationCommandInput} for command's `input` shape.
81
+ * @see {@link CreateResourceMetricsConfigurationCommandOutput} for command's `response` shape.
82
+ * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
83
+ *
84
+ * @throws {@link ConflictException} (client fault)
85
+ * <p>This operation attempted to create a resource that already exists.</p>
86
+ *
87
+ * @throws {@link ResourceNotFoundException} (client fault)
88
+ * <p>The named resource does not exist.</p>
89
+ *
90
+ * @throws {@link CloudWatchServiceException}
91
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class CreateResourceMetricsConfigurationCommand extends CreateResourceMetricsConfigurationCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: CreateResourceMetricsConfigurationInput;
101
+ output: CreateResourceMetricsConfigurationOutput;
102
+ };
103
+ sdk: {
104
+ input: CreateResourceMetricsConfigurationCommandInput;
105
+ output: CreateResourceMetricsConfigurationCommandOutput;
106
+ };
107
+ };
108
+ }