@aws-sdk/client-cloudwatch 3.693.0 → 3.694.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 (46) hide show
  1. package/README.md +13 -13
  2. package/dist-cjs/index.js +110 -17
  3. package/dist-es/protocols/Aws_query.js +112 -16
  4. package/dist-types/CloudWatch.d.ts +13 -13
  5. package/dist-types/CloudWatchClient.d.ts +13 -13
  6. package/dist-types/commands/DeleteAlarmsCommand.d.ts +18 -16
  7. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +5 -10
  8. package/dist-types/commands/DeleteDashboardsCommand.d.ts +4 -4
  9. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +2 -3
  10. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +2 -1
  11. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +7 -5
  12. package/dist-types/commands/DescribeAlarmsCommand.d.ts +6 -5
  13. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +5 -5
  14. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +8 -8
  15. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +2 -2
  16. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +2 -2
  17. package/dist-types/commands/DisableInsightRulesCommand.d.ts +2 -2
  18. package/dist-types/commands/EnableInsightRulesCommand.d.ts +2 -1
  19. package/dist-types/commands/GetDashboardCommand.d.ts +5 -4
  20. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +23 -14
  21. package/dist-types/commands/GetMetricDataCommand.d.ts +50 -34
  22. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +38 -27
  23. package/dist-types/commands/GetMetricStreamCommand.d.ts +2 -1
  24. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +9 -8
  25. package/dist-types/commands/ListDashboardsCommand.d.ts +9 -9
  26. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +3 -6
  27. package/dist-types/commands/ListMetricStreamsCommand.d.ts +2 -1
  28. package/dist-types/commands/ListMetricsCommand.d.ts +10 -11
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
  30. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +8 -6
  31. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +33 -31
  32. package/dist-types/commands/PutDashboardCommand.d.ts +15 -12
  33. package/dist-types/commands/PutInsightRuleCommand.d.ts +6 -5
  34. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +9 -16
  35. package/dist-types/commands/PutMetricAlarmCommand.d.ts +32 -35
  36. package/dist-types/commands/PutMetricDataCommand.d.ts +85 -38
  37. package/dist-types/commands/PutMetricStreamCommand.d.ts +22 -21
  38. package/dist-types/commands/SetAlarmStateCommand.d.ts +16 -16
  39. package/dist-types/commands/StartMetricStreamsCommand.d.ts +2 -1
  40. package/dist-types/commands/StopMetricStreamsCommand.d.ts +2 -1
  41. package/dist-types/commands/TagResourceCommand.d.ts +15 -11
  42. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  43. package/dist-types/index.d.ts +13 -13
  44. package/dist-types/models/models_0.d.ts +1312 -1203
  45. package/dist-types/ts3.4/models/models_0.d.ts +28 -18
  46. package/package.json +1 -1
package/README.md CHANGED
@@ -6,19 +6,19 @@
6
6
 
7
7
  AWS SDK for JavaScript CloudWatch Client for Node.js, Browser and React Native.
8
8
 
9
- <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the
10
- applications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track
11
- metrics, which are the variables you want to measure for your resources and
12
- applications.</p>
13
- <p>CloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules
14
- that you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2
15
- instances. Then, use this data to determine whether you should launch
16
- additional instances to handle increased load. You can also use this data to stop
17
- under-used instances to save
18
- money.</p>
19
- <p>In addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor
20
- your own custom metrics. With CloudWatch, you gain system-wide visibility into resource
21
- utilization, application performance, and operational health.</p>
9
+ <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services)
10
+ resources and the applications you run on Amazon Web Services in real time. You can use
11
+ CloudWatch to collect and track metrics, which are the variables you want to
12
+ measure for your resources and applications.</p>
13
+ <p>CloudWatch alarms send notifications or automatically change the resources you are
14
+ monitoring based on rules that you define. For example, you can monitor the CPU usage
15
+ and disk reads and writes of your Amazon EC2 instances. Then, use this data to determine
16
+ whether you should launch additional instances to handle increased load. You can also
17
+ use this data to stop under-used instances to save money.</p>
18
+ <p>In addition to monitoring the built-in metrics that come with Amazon Web Services,
19
+ you can monitor your own custom metrics. With CloudWatch, you gain system-wide
20
+ visibility into resource utilization, application performance, and operational
21
+ health.</p>
22
22
 
23
23
  ## Installing
24
24
 
package/dist-cjs/index.js CHANGED
@@ -2065,6 +2065,81 @@ var se_EnableInsightRulesInput = /* @__PURE__ */ __name((input, context) => {
2065
2065
  }
2066
2066
  return entries;
2067
2067
  }, "se_EnableInsightRulesInput");
2068
+ var se_Entity = /* @__PURE__ */ __name((input, context) => {
2069
+ const entries = {};
2070
+ if (input[_KA] != null) {
2071
+ const memberEntries = se_EntityKeyAttributesMap(input[_KA], context);
2072
+ Object.entries(memberEntries).forEach(([key, value]) => {
2073
+ const loc = `KeyAttributes.${key}`;
2074
+ entries[loc] = value;
2075
+ });
2076
+ }
2077
+ if (input[_At] != null) {
2078
+ const memberEntries = se_EntityAttributesMap(input[_At], context);
2079
+ Object.entries(memberEntries).forEach(([key, value]) => {
2080
+ const loc = `Attributes.${key}`;
2081
+ entries[loc] = value;
2082
+ });
2083
+ }
2084
+ return entries;
2085
+ }, "se_Entity");
2086
+ var se_EntityAttributesMap = /* @__PURE__ */ __name((input, context) => {
2087
+ const entries = {};
2088
+ let counter = 1;
2089
+ Object.keys(input).filter((key) => input[key] != null).forEach((key) => {
2090
+ entries[`entry.${counter}.key`] = key;
2091
+ entries[`entry.${counter}.value`] = input[key];
2092
+ counter++;
2093
+ });
2094
+ return entries;
2095
+ }, "se_EntityAttributesMap");
2096
+ var se_EntityKeyAttributesMap = /* @__PURE__ */ __name((input, context) => {
2097
+ const entries = {};
2098
+ let counter = 1;
2099
+ Object.keys(input).filter((key) => input[key] != null).forEach((key) => {
2100
+ entries[`entry.${counter}.key`] = key;
2101
+ entries[`entry.${counter}.value`] = input[key];
2102
+ counter++;
2103
+ });
2104
+ return entries;
2105
+ }, "se_EntityKeyAttributesMap");
2106
+ var se_EntityMetricData = /* @__PURE__ */ __name((input, context) => {
2107
+ var _a;
2108
+ const entries = {};
2109
+ if (input[_E] != null) {
2110
+ const memberEntries = se_Entity(input[_E], context);
2111
+ Object.entries(memberEntries).forEach(([key, value]) => {
2112
+ const loc = `Entity.${key}`;
2113
+ entries[loc] = value;
2114
+ });
2115
+ }
2116
+ if (input[_MD] != null) {
2117
+ const memberEntries = se_MetricData(input[_MD], context);
2118
+ if (((_a = input[_MD]) == null ? void 0 : _a.length) === 0) {
2119
+ entries.MetricData = [];
2120
+ }
2121
+ Object.entries(memberEntries).forEach(([key, value]) => {
2122
+ const loc = `MetricData.${key}`;
2123
+ entries[loc] = value;
2124
+ });
2125
+ }
2126
+ return entries;
2127
+ }, "se_EntityMetricData");
2128
+ var se_EntityMetricDataList = /* @__PURE__ */ __name((input, context) => {
2129
+ const entries = {};
2130
+ let counter = 1;
2131
+ for (const entry of input) {
2132
+ if (entry === null) {
2133
+ continue;
2134
+ }
2135
+ const memberEntries = se_EntityMetricData(entry, context);
2136
+ Object.entries(memberEntries).forEach(([key, value]) => {
2137
+ entries[`member.${counter}.${key}`] = value;
2138
+ });
2139
+ counter++;
2140
+ }
2141
+ return entries;
2142
+ }, "se_EntityMetricDataList");
2068
2143
  var se_ExtendedStatistics = /* @__PURE__ */ __name((input, context) => {
2069
2144
  const entries = {};
2070
2145
  let counter = 1;
@@ -2142,8 +2217,8 @@ var se_GetMetricDataInput = /* @__PURE__ */ __name((input, context) => {
2142
2217
  if (input[_SB] != null) {
2143
2218
  entries[_SB] = input[_SB];
2144
2219
  }
2145
- if (input[_MD] != null) {
2146
- entries[_MD] = input[_MD];
2220
+ if (input[_MDa] != null) {
2221
+ entries[_MDa] = input[_MDa];
2147
2222
  }
2148
2223
  if (input[_LO] != null) {
2149
2224
  const memberEntries = se_LabelOptions(input[_LO], context);
@@ -2434,8 +2509,8 @@ var se_MetricDataQuery = /* @__PURE__ */ __name((input, context) => {
2434
2509
  entries[loc] = value;
2435
2510
  });
2436
2511
  }
2437
- if (input[_E] != null) {
2438
- entries[_E] = input[_E];
2512
+ if (input[_Ex] != null) {
2513
+ entries[_Ex] = input[_Ex];
2439
2514
  }
2440
2515
  if (input[_L] != null) {
2441
2516
  entries[_L] = input[_L];
@@ -2958,14 +3033,14 @@ var se_PutMetricAlarmInput = /* @__PURE__ */ __name((input, context) => {
2958
3033
  return entries;
2959
3034
  }, "se_PutMetricAlarmInput");
2960
3035
  var se_PutMetricDataInput = /* @__PURE__ */ __name((input, context) => {
2961
- var _a;
3036
+ var _a, _b;
2962
3037
  const entries = {};
2963
3038
  if (input[_N] != null) {
2964
3039
  entries[_N] = input[_N];
2965
3040
  }
2966
- if (input[_MDe] != null) {
2967
- const memberEntries = se_MetricData(input[_MDe], context);
2968
- if (((_a = input[_MDe]) == null ? void 0 : _a.length) === 0) {
3041
+ if (input[_MD] != null) {
3042
+ const memberEntries = se_MetricData(input[_MD], context);
3043
+ if (((_a = input[_MD]) == null ? void 0 : _a.length) === 0) {
2969
3044
  entries.MetricData = [];
2970
3045
  }
2971
3046
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -2973,6 +3048,19 @@ var se_PutMetricDataInput = /* @__PURE__ */ __name((input, context) => {
2973
3048
  entries[loc] = value;
2974
3049
  });
2975
3050
  }
3051
+ if (input[_EMD] != null) {
3052
+ const memberEntries = se_EntityMetricDataList(input[_EMD], context);
3053
+ if (((_b = input[_EMD]) == null ? void 0 : _b.length) === 0) {
3054
+ entries.EntityMetricData = [];
3055
+ }
3056
+ Object.entries(memberEntries).forEach(([key, value]) => {
3057
+ const loc = `EntityMetricData.${key}`;
3058
+ entries[loc] = value;
3059
+ });
3060
+ }
3061
+ if (input[_SEV] != null) {
3062
+ entries[_SEV] = input[_SEV];
3063
+ }
2976
3064
  return entries;
2977
3065
  }, "se_PutMetricDataInput");
2978
3066
  var se_PutMetricStreamInput = /* @__PURE__ */ __name((input, context) => {
@@ -3657,9 +3745,9 @@ var de_GetInsightRuleReportOutput = /* @__PURE__ */ __name((output, context) =>
3657
3745
  contents[_Con] = de_InsightRuleContributors((0, import_smithy_client.getArrayIfSingleItem)(output[_Con][_m]), context);
3658
3746
  }
3659
3747
  if (output.MetricDatapoints === "") {
3660
- contents[_MDet] = [];
3661
- } else if (output[_MDet] != null && output[_MDet][_m] != null) {
3662
- contents[_MDet] = de_InsightRuleMetricDatapoints((0, import_smithy_client.getArrayIfSingleItem)(output[_MDet][_m]), context);
3748
+ contents[_MDe] = [];
3749
+ } else if (output[_MDe] != null && output[_MDe][_m] != null) {
3750
+ contents[_MDe] = de_InsightRuleMetricDatapoints((0, import_smithy_client.getArrayIfSingleItem)(output[_MDe][_m]), context);
3663
3751
  }
3664
3752
  return contents;
3665
3753
  }, "de_GetInsightRuleReportOutput");
@@ -4139,8 +4227,8 @@ var de_MetricDataQuery = /* @__PURE__ */ __name((output, context) => {
4139
4227
  if (output[_MS] != null) {
4140
4228
  contents[_MS] = de_MetricStat(output[_MS], context);
4141
4229
  }
4142
- if (output[_E] != null) {
4143
- contents[_E] = (0, import_smithy_client.expectString)(output[_E]);
4230
+ if (output[_Ex] != null) {
4231
+ contents[_Ex] = (0, import_smithy_client.expectString)(output[_Ex]);
4144
4232
  }
4145
4233
  if (output[_L] != null) {
4146
4234
  contents[_L] = (0, import_smithy_client.expectString)(output[_L]);
@@ -4526,6 +4614,7 @@ var _AUC = "ApproximateUniqueCount";
4526
4614
  var _AV = "AggregateValue";
4527
4615
  var _AVp = "ApproximateValue";
4528
4616
  var _Ar = "Arn";
4617
+ var _At = "Attributes";
4529
4618
  var _Av = "Average";
4530
4619
  var _C = "Counts";
4531
4620
  var _CA = "CompositeAlarms";
@@ -4559,12 +4648,13 @@ var _DTA = "DatapointsToAlarm";
4559
4648
  var _DVM = "DashboardValidationMessages";
4560
4649
  var _Da = "Datapoints";
4561
4650
  var _De = "Definition";
4562
- var _E = "Expression";
4651
+ var _E = "Entity";
4563
4652
  var _EAA = "EnableAlarmActions";
4564
4653
  var _ED = "EndDate";
4565
4654
  var _EF = "ExcludeFilters";
4566
4655
  var _EIR = "EnableInsightRules";
4567
4656
  var _ELSCP = "EvaluateLowSampleCountPercentile";
4657
+ var _EMD = "EntityMetricData";
4568
4658
  var _EP = "EvaluationPeriods";
4569
4659
  var _ES = "ExtendedStatistic";
4570
4660
  var _ESv = "EvaluationState";
@@ -4573,6 +4663,7 @@ var _ET = "EndTime";
4573
4663
  var _ETR = "ExcludedTimeRanges";
4574
4664
  var _ETx = "ExceptionType";
4575
4665
  var _En = "Entries";
4666
+ var _Ex = "Expression";
4576
4667
  var _F = "Failures";
4577
4668
  var _FA = "FirehoseArn";
4578
4669
  var _FC = "FailureCode";
@@ -4595,6 +4686,7 @@ var _ILAM = "IncludeLinkedAccountsMetrics";
4595
4686
  var _IM = "IncludeMetrics";
4596
4687
  var _IR = "InsightRules";
4597
4688
  var _K = "Key";
4689
+ var _KA = "KeyAttributes";
4598
4690
  var _KL = "KeyLabels";
4599
4691
  var _Ke = "Keys";
4600
4692
  var _L = "Label";
@@ -4611,11 +4703,11 @@ var _MA = "MetricAlarms";
4611
4703
  var _MC = "MetricCharacteristics";
4612
4704
  var _MCC = "MaxContributorCount";
4613
4705
  var _MCV = "MaxContributorValue";
4614
- var _MD = "MaxDatapoints";
4706
+ var _MD = "MetricData";
4615
4707
  var _MDQ = "MetricDataQueries";
4616
4708
  var _MDR = "MetricDataResults";
4617
- var _MDe = "MetricData";
4618
- var _MDet = "MetricDatapoints";
4709
+ var _MDa = "MaxDatapoints";
4710
+ var _MDe = "MetricDatapoints";
4619
4711
  var _MMAD = "MetricMathAnomalyDetector";
4620
4712
  var _MN = "MetricName";
4621
4713
  var _MNe = "MetricNames";
@@ -4669,6 +4761,7 @@ var _SC = "StatisticsConfigurations";
4669
4761
  var _SCa = "SampleCount";
4670
4762
  var _SCt = "StatusCode";
4671
4763
  var _SD = "StartDate";
4764
+ var _SEV = "StrictEntityValidation";
4672
4765
  var _SMAD = "SingleMetricAnomalyDetector";
4673
4766
  var _SMS = "StartMetricStreams";
4674
4767
  var _SMSt = "StopMetricStreams";
@@ -1458,6 +1458,84 @@ const se_EnableInsightRulesInput = (input, context) => {
1458
1458
  }
1459
1459
  return entries;
1460
1460
  };
1461
+ const se_Entity = (input, context) => {
1462
+ const entries = {};
1463
+ if (input[_KA] != null) {
1464
+ const memberEntries = se_EntityKeyAttributesMap(input[_KA], context);
1465
+ Object.entries(memberEntries).forEach(([key, value]) => {
1466
+ const loc = `KeyAttributes.${key}`;
1467
+ entries[loc] = value;
1468
+ });
1469
+ }
1470
+ if (input[_At] != null) {
1471
+ const memberEntries = se_EntityAttributesMap(input[_At], context);
1472
+ Object.entries(memberEntries).forEach(([key, value]) => {
1473
+ const loc = `Attributes.${key}`;
1474
+ entries[loc] = value;
1475
+ });
1476
+ }
1477
+ return entries;
1478
+ };
1479
+ const se_EntityAttributesMap = (input, context) => {
1480
+ const entries = {};
1481
+ let counter = 1;
1482
+ Object.keys(input)
1483
+ .filter((key) => input[key] != null)
1484
+ .forEach((key) => {
1485
+ entries[`entry.${counter}.key`] = key;
1486
+ entries[`entry.${counter}.value`] = input[key];
1487
+ counter++;
1488
+ });
1489
+ return entries;
1490
+ };
1491
+ const se_EntityKeyAttributesMap = (input, context) => {
1492
+ const entries = {};
1493
+ let counter = 1;
1494
+ Object.keys(input)
1495
+ .filter((key) => input[key] != null)
1496
+ .forEach((key) => {
1497
+ entries[`entry.${counter}.key`] = key;
1498
+ entries[`entry.${counter}.value`] = input[key];
1499
+ counter++;
1500
+ });
1501
+ return entries;
1502
+ };
1503
+ const se_EntityMetricData = (input, context) => {
1504
+ const entries = {};
1505
+ if (input[_E] != null) {
1506
+ const memberEntries = se_Entity(input[_E], context);
1507
+ Object.entries(memberEntries).forEach(([key, value]) => {
1508
+ const loc = `Entity.${key}`;
1509
+ entries[loc] = value;
1510
+ });
1511
+ }
1512
+ if (input[_MD] != null) {
1513
+ const memberEntries = se_MetricData(input[_MD], context);
1514
+ if (input[_MD]?.length === 0) {
1515
+ entries.MetricData = [];
1516
+ }
1517
+ Object.entries(memberEntries).forEach(([key, value]) => {
1518
+ const loc = `MetricData.${key}`;
1519
+ entries[loc] = value;
1520
+ });
1521
+ }
1522
+ return entries;
1523
+ };
1524
+ const se_EntityMetricDataList = (input, context) => {
1525
+ const entries = {};
1526
+ let counter = 1;
1527
+ for (const entry of input) {
1528
+ if (entry === null) {
1529
+ continue;
1530
+ }
1531
+ const memberEntries = se_EntityMetricData(entry, context);
1532
+ Object.entries(memberEntries).forEach(([key, value]) => {
1533
+ entries[`member.${counter}.${key}`] = value;
1534
+ });
1535
+ counter++;
1536
+ }
1537
+ return entries;
1538
+ };
1461
1539
  const se_ExtendedStatistics = (input, context) => {
1462
1540
  const entries = {};
1463
1541
  let counter = 1;
@@ -1533,8 +1611,8 @@ const se_GetMetricDataInput = (input, context) => {
1533
1611
  if (input[_SB] != null) {
1534
1612
  entries[_SB] = input[_SB];
1535
1613
  }
1536
- if (input[_MD] != null) {
1537
- entries[_MD] = input[_MD];
1614
+ if (input[_MDa] != null) {
1615
+ entries[_MDa] = input[_MDa];
1538
1616
  }
1539
1617
  if (input[_LO] != null) {
1540
1618
  const memberEntries = se_LabelOptions(input[_LO], context);
@@ -1821,8 +1899,8 @@ const se_MetricDataQuery = (input, context) => {
1821
1899
  entries[loc] = value;
1822
1900
  });
1823
1901
  }
1824
- if (input[_E] != null) {
1825
- entries[_E] = input[_E];
1902
+ if (input[_Ex] != null) {
1903
+ entries[_Ex] = input[_Ex];
1826
1904
  }
1827
1905
  if (input[_L] != null) {
1828
1906
  entries[_L] = input[_L];
@@ -2340,9 +2418,9 @@ const se_PutMetricDataInput = (input, context) => {
2340
2418
  if (input[_N] != null) {
2341
2419
  entries[_N] = input[_N];
2342
2420
  }
2343
- if (input[_MDe] != null) {
2344
- const memberEntries = se_MetricData(input[_MDe], context);
2345
- if (input[_MDe]?.length === 0) {
2421
+ if (input[_MD] != null) {
2422
+ const memberEntries = se_MetricData(input[_MD], context);
2423
+ if (input[_MD]?.length === 0) {
2346
2424
  entries.MetricData = [];
2347
2425
  }
2348
2426
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -2350,6 +2428,19 @@ const se_PutMetricDataInput = (input, context) => {
2350
2428
  entries[loc] = value;
2351
2429
  });
2352
2430
  }
2431
+ if (input[_EMD] != null) {
2432
+ const memberEntries = se_EntityMetricDataList(input[_EMD], context);
2433
+ if (input[_EMD]?.length === 0) {
2434
+ entries.EntityMetricData = [];
2435
+ }
2436
+ Object.entries(memberEntries).forEach(([key, value]) => {
2437
+ const loc = `EntityMetricData.${key}`;
2438
+ entries[loc] = value;
2439
+ });
2440
+ }
2441
+ if (input[_SEV] != null) {
2442
+ entries[_SEV] = input[_SEV];
2443
+ }
2353
2444
  return entries;
2354
2445
  };
2355
2446
  const se_PutMetricStreamInput = (input, context) => {
@@ -3066,10 +3157,10 @@ const de_GetInsightRuleReportOutput = (output, context) => {
3066
3157
  contents[_Con] = de_InsightRuleContributors(__getArrayIfSingleItem(output[_Con][_m]), context);
3067
3158
  }
3068
3159
  if (output.MetricDatapoints === "") {
3069
- contents[_MDet] = [];
3160
+ contents[_MDe] = [];
3070
3161
  }
3071
- else if (output[_MDet] != null && output[_MDet][_m] != null) {
3072
- contents[_MDet] = de_InsightRuleMetricDatapoints(__getArrayIfSingleItem(output[_MDet][_m]), context);
3162
+ else if (output[_MDe] != null && output[_MDe][_m] != null) {
3163
+ contents[_MDe] = de_InsightRuleMetricDatapoints(__getArrayIfSingleItem(output[_MDe][_m]), context);
3073
3164
  }
3074
3165
  return contents;
3075
3166
  };
@@ -3587,8 +3678,8 @@ const de_MetricDataQuery = (output, context) => {
3587
3678
  if (output[_MS] != null) {
3588
3679
  contents[_MS] = de_MetricStat(output[_MS], context);
3589
3680
  }
3590
- if (output[_E] != null) {
3591
- contents[_E] = __expectString(output[_E]);
3681
+ if (output[_Ex] != null) {
3682
+ contents[_Ex] = __expectString(output[_Ex]);
3592
3683
  }
3593
3684
  if (output[_L] != null) {
3594
3685
  contents[_L] = __expectString(output[_L]);
@@ -4011,6 +4102,7 @@ const _AUC = "ApproximateUniqueCount";
4011
4102
  const _AV = "AggregateValue";
4012
4103
  const _AVp = "ApproximateValue";
4013
4104
  const _Ar = "Arn";
4105
+ const _At = "Attributes";
4014
4106
  const _Av = "Average";
4015
4107
  const _C = "Counts";
4016
4108
  const _CA = "CompositeAlarms";
@@ -4044,12 +4136,13 @@ const _DTA = "DatapointsToAlarm";
4044
4136
  const _DVM = "DashboardValidationMessages";
4045
4137
  const _Da = "Datapoints";
4046
4138
  const _De = "Definition";
4047
- const _E = "Expression";
4139
+ const _E = "Entity";
4048
4140
  const _EAA = "EnableAlarmActions";
4049
4141
  const _ED = "EndDate";
4050
4142
  const _EF = "ExcludeFilters";
4051
4143
  const _EIR = "EnableInsightRules";
4052
4144
  const _ELSCP = "EvaluateLowSampleCountPercentile";
4145
+ const _EMD = "EntityMetricData";
4053
4146
  const _EP = "EvaluationPeriods";
4054
4147
  const _ES = "ExtendedStatistic";
4055
4148
  const _ESv = "EvaluationState";
@@ -4058,6 +4151,7 @@ const _ET = "EndTime";
4058
4151
  const _ETR = "ExcludedTimeRanges";
4059
4152
  const _ETx = "ExceptionType";
4060
4153
  const _En = "Entries";
4154
+ const _Ex = "Expression";
4061
4155
  const _F = "Failures";
4062
4156
  const _FA = "FirehoseArn";
4063
4157
  const _FC = "FailureCode";
@@ -4080,6 +4174,7 @@ const _ILAM = "IncludeLinkedAccountsMetrics";
4080
4174
  const _IM = "IncludeMetrics";
4081
4175
  const _IR = "InsightRules";
4082
4176
  const _K = "Key";
4177
+ const _KA = "KeyAttributes";
4083
4178
  const _KL = "KeyLabels";
4084
4179
  const _Ke = "Keys";
4085
4180
  const _L = "Label";
@@ -4096,11 +4191,11 @@ const _MA = "MetricAlarms";
4096
4191
  const _MC = "MetricCharacteristics";
4097
4192
  const _MCC = "MaxContributorCount";
4098
4193
  const _MCV = "MaxContributorValue";
4099
- const _MD = "MaxDatapoints";
4194
+ const _MD = "MetricData";
4100
4195
  const _MDQ = "MetricDataQueries";
4101
4196
  const _MDR = "MetricDataResults";
4102
- const _MDe = "MetricData";
4103
- const _MDet = "MetricDatapoints";
4197
+ const _MDa = "MaxDatapoints";
4198
+ const _MDe = "MetricDatapoints";
4104
4199
  const _MMAD = "MetricMathAnomalyDetector";
4105
4200
  const _MN = "MetricName";
4106
4201
  const _MNe = "MetricNames";
@@ -4154,6 +4249,7 @@ const _SC = "StatisticsConfigurations";
4154
4249
  const _SCa = "SampleCount";
4155
4250
  const _SCt = "StatusCode";
4156
4251
  const _SD = "StartDate";
4252
+ const _SEV = "StrictEntityValidation";
4157
4253
  const _SMAD = "SingleMetricAnomalyDetector";
4158
4254
  const _SMS = "StartMetricStreams";
4159
4255
  const _SMSt = "StopMetricStreams";
@@ -278,19 +278,19 @@ export interface CloudWatch {
278
278
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
279
279
  }
280
280
  /**
281
- * <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the
282
- * applications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track
283
- * metrics, which are the variables you want to measure for your resources and
284
- * applications.</p>
285
- * <p>CloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules
286
- * that you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2
287
- * instances. Then, use this data to determine whether you should launch
288
- * additional instances to handle increased load. You can also use this data to stop
289
- * under-used instances to save
290
- * money.</p>
291
- * <p>In addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor
292
- * your own custom metrics. With CloudWatch, you gain system-wide visibility into resource
293
- * utilization, application performance, and operational health.</p>
281
+ * <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services)
282
+ * resources and the applications you run on Amazon Web Services in real time. You can use
283
+ * CloudWatch to collect and track metrics, which are the variables you want to
284
+ * measure for your resources and applications.</p>
285
+ * <p>CloudWatch alarms send notifications or automatically change the resources you are
286
+ * monitoring based on rules that you define. For example, you can monitor the CPU usage
287
+ * and disk reads and writes of your Amazon EC2 instances. Then, use this data to determine
288
+ * whether you should launch additional instances to handle increased load. You can also
289
+ * use this data to stop under-used instances to save money.</p>
290
+ * <p>In addition to monitoring the built-in metrics that come with Amazon Web Services,
291
+ * you can monitor your own custom metrics. With CloudWatch, you gain system-wide
292
+ * visibility into resource utilization, application performance, and operational
293
+ * health.</p>
294
294
  * @public
295
295
  */
296
296
  export declare class CloudWatch extends CloudWatchClient implements CloudWatch {
@@ -190,19 +190,19 @@ export type CloudWatchClientResolvedConfigType = __SmithyResolvedConfiguration<_
190
190
  export interface CloudWatchClientResolvedConfig extends CloudWatchClientResolvedConfigType {
191
191
  }
192
192
  /**
193
- * <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the
194
- * applications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track
195
- * metrics, which are the variables you want to measure for your resources and
196
- * applications.</p>
197
- * <p>CloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules
198
- * that you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2
199
- * instances. Then, use this data to determine whether you should launch
200
- * additional instances to handle increased load. You can also use this data to stop
201
- * under-used instances to save
202
- * money.</p>
203
- * <p>In addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor
204
- * your own custom metrics. With CloudWatch, you gain system-wide visibility into resource
205
- * utilization, application performance, and operational health.</p>
193
+ * <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services)
194
+ * resources and the applications you run on Amazon Web Services in real time. You can use
195
+ * CloudWatch to collect and track metrics, which are the variables you want to
196
+ * measure for your resources and applications.</p>
197
+ * <p>CloudWatch alarms send notifications or automatically change the resources you are
198
+ * monitoring based on rules that you define. For example, you can monitor the CPU usage
199
+ * and disk reads and writes of your Amazon EC2 instances. Then, use this data to determine
200
+ * whether you should launch additional instances to handle increased load. You can also
201
+ * use this data to stop under-used instances to save money.</p>
202
+ * <p>In addition to monitoring the built-in metrics that come with Amazon Web Services,
203
+ * you can monitor your own custom metrics. With CloudWatch, you gain system-wide
204
+ * visibility into resource utilization, application performance, and operational
205
+ * health.</p>
206
206
  * @public
207
207
  */
208
208
  export declare class CloudWatchClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudWatchClientResolvedConfig> {
@@ -27,23 +27,25 @@ declare const DeleteAlarmsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the specified alarms. You can delete up to 100 alarms in one operation. However, this total can include no more
31
- * than one composite alarm. For example, you could delete 99 metric alarms and one composite alarms with one operation, but you can't
32
- * delete two composite alarms with one operation.</p>
33
- * <p>
34
- * If you specify an incorrect alarm name or make any other error in the operation, no alarms are
35
- * deleted. To confirm that alarms were deleted successfully, you can use
36
- * the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> operation after using
37
- * <code>DeleteAlarms</code>.</p>
30
+ * <p>Deletes the specified alarms. You can delete up to 100 alarms in one operation.
31
+ * However, this total can include no more than one composite alarm. For example, you could
32
+ * delete 99 metric alarms and one composite alarms with one operation, but you can't
33
+ * delete two composite alarms with one operation.</p>
34
+ * <p> If you specify an incorrect alarm name or make any other error in the operation,
35
+ * no alarms are deleted. To confirm that alarms were deleted successfully, you can use the
36
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> operation after using <code>DeleteAlarms</code>.</p>
38
37
  * <note>
39
- * <p>It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and
40
- * composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle
41
- * because there is always still a composite alarm that depends on that alarm that you want to delete.</p>
42
- * <p>To get out of such a situation, you must
43
- * break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest
44
- * change to make to break a cycle is to change the <code>AlarmRule</code> of one of the alarms to <code>false</code>. </p>
45
- * <p>Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path.
46
- * </p>
38
+ * <p>It is possible to create a loop or cycle of composite alarms, where composite
39
+ * alarm A depends on composite alarm B, and composite alarm B also depends on
40
+ * composite alarm A. In this scenario, you can't delete any composite alarm that is
41
+ * part of the cycle because there is always still a composite alarm that depends on
42
+ * that alarm that you want to delete.</p>
43
+ * <p>To get out of such a situation, you must break the cycle by changing the rule of
44
+ * one of the composite alarms in the cycle to remove a dependency that creates the
45
+ * cycle. The simplest change to make to break a cycle is to change the
46
+ * <code>AlarmRule</code> of one of the alarms to <code>false</code>. </p>
47
+ * <p>Additionally, the evaluation of composite alarms stops if CloudWatch
48
+ * detects a cycle in the evaluation path. </p>
47
49
  * </note>
48
50
  * @example
49
51
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,15 +27,9 @@ declare const DeleteAnomalyDetectorCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>
31
- * Deletes the specified anomaly detection model
32
- * from your account.
33
- * For more information
34
- * about
35
- * how to delete an anomaly detection model,
36
- * see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Anomaly_Detection_Alarm.html#Delete_Anomaly_Detection_Model">Deleting an anomaly detection model</a>
37
- * in the <i>CloudWatch User Guide</i>.
38
- * </p>
30
+ * <p> Deletes the specified anomaly detection model from your account. For more information
31
+ * about how to delete an anomaly detection model, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Anomaly_Detection_Alarm.html#Delete_Anomaly_Detection_Model">Deleting an anomaly detection model</a> in the <i>CloudWatch User
32
+ * Guide</i>. </p>
39
33
  * @example
40
34
  * Use a bare-bones client and the command you need to make an API call.
41
35
  * ```javascript
@@ -100,7 +94,8 @@ declare const DeleteAnomalyDetectorCommand_base: {
100
94
  * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
101
95
  *
102
96
  * @throws {@link InternalServiceFault} (server fault)
103
- * <p>Request processing has failed due to some unknown error, exception, or failure.</p>
97
+ * <p>Request processing has failed due to some unknown error, exception, or
98
+ * failure.</p>
104
99
  *
105
100
  * @throws {@link InvalidParameterCombinationException} (client fault)
106
101
  * <p>Parameters were used together that cannot be used together.</p>
@@ -27,9 +27,8 @@ declare const DeleteDashboardsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes all dashboards that you specify. You
31
- * can specify up to 100 dashboards to delete. If there is an error during this call, no dashboards are
32
- * deleted.</p>
30
+ * <p>Deletes all dashboards that you specify. You can specify up to 100 dashboards to
31
+ * delete. If there is an error during this call, no dashboards are deleted.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -57,7 +56,8 @@ declare const DeleteDashboardsCommand_base: {
57
56
  * <p>The specified dashboard does not exist.</p>
58
57
  *
59
58
  * @throws {@link InternalServiceFault} (server fault)
60
- * <p>Request processing has failed due to some unknown error, exception, or failure.</p>
59
+ * <p>Request processing has failed due to some unknown error, exception, or
60
+ * failure.</p>
61
61
  *
62
62
  * @throws {@link InvalidParameterValueException} (client fault)
63
63
  * <p>The value of an input parameter is bad or out-of-range.</p>