@aws-sdk/client-cloudwatch 3.1076.0 → 3.1078.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 (175) hide show
  1. package/dist-cjs/index.js +189 -612
  2. package/dist-es/commandBuilder.js +12 -0
  3. package/dist-es/commands/AssociateDatasetKmsKeyCommand.js +2 -14
  4. package/dist-es/commands/DeleteAlarmMuteRuleCommand.js +2 -14
  5. package/dist-es/commands/DeleteAlarmsCommand.js +2 -14
  6. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +2 -14
  7. package/dist-es/commands/DeleteDashboardsCommand.js +2 -14
  8. package/dist-es/commands/DeleteInsightRulesCommand.js +2 -14
  9. package/dist-es/commands/DeleteMetricStreamCommand.js +2 -14
  10. package/dist-es/commands/DescribeAlarmContributorsCommand.js +2 -14
  11. package/dist-es/commands/DescribeAlarmHistoryCommand.js +2 -14
  12. package/dist-es/commands/DescribeAlarmsCommand.js +2 -14
  13. package/dist-es/commands/DescribeAlarmsForMetricCommand.js +2 -14
  14. package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +2 -14
  15. package/dist-es/commands/DescribeInsightRulesCommand.js +2 -14
  16. package/dist-es/commands/DisableAlarmActionsCommand.js +2 -14
  17. package/dist-es/commands/DisableInsightRulesCommand.js +2 -14
  18. package/dist-es/commands/DisassociateDatasetKmsKeyCommand.js +2 -14
  19. package/dist-es/commands/EnableAlarmActionsCommand.js +2 -14
  20. package/dist-es/commands/EnableInsightRulesCommand.js +2 -14
  21. package/dist-es/commands/GetAlarmMuteRuleCommand.js +2 -14
  22. package/dist-es/commands/GetDashboardCommand.js +2 -14
  23. package/dist-es/commands/GetDatasetCommand.js +2 -14
  24. package/dist-es/commands/GetInsightRuleReportCommand.js +2 -14
  25. package/dist-es/commands/GetMetricDataCommand.js +2 -14
  26. package/dist-es/commands/GetMetricStatisticsCommand.js +2 -14
  27. package/dist-es/commands/GetMetricStreamCommand.js +2 -14
  28. package/dist-es/commands/GetMetricWidgetImageCommand.js +2 -14
  29. package/dist-es/commands/GetOTelEnrichmentCommand.js +2 -14
  30. package/dist-es/commands/ListAlarmMuteRulesCommand.js +2 -14
  31. package/dist-es/commands/ListDashboardsCommand.js +2 -14
  32. package/dist-es/commands/ListManagedInsightRulesCommand.js +2 -14
  33. package/dist-es/commands/ListMetricStreamsCommand.js +2 -14
  34. package/dist-es/commands/ListMetricsCommand.js +2 -14
  35. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  36. package/dist-es/commands/PutAlarmMuteRuleCommand.js +2 -14
  37. package/dist-es/commands/PutAnomalyDetectorCommand.js +2 -14
  38. package/dist-es/commands/PutCompositeAlarmCommand.js +2 -14
  39. package/dist-es/commands/PutDashboardCommand.js +2 -14
  40. package/dist-es/commands/PutInsightRuleCommand.js +2 -14
  41. package/dist-es/commands/PutLogAlarmCommand.js +2 -14
  42. package/dist-es/commands/PutManagedInsightRulesCommand.js +2 -14
  43. package/dist-es/commands/PutMetricAlarmCommand.js +2 -14
  44. package/dist-es/commands/PutMetricDataCommand.js +2 -20
  45. package/dist-es/commands/PutMetricStreamCommand.js +2 -14
  46. package/dist-es/commands/SetAlarmStateCommand.js +2 -14
  47. package/dist-es/commands/StartMetricStreamsCommand.js +2 -14
  48. package/dist-es/commands/StartOTelEnrichmentCommand.js +2 -14
  49. package/dist-es/commands/StopMetricStreamsCommand.js +2 -14
  50. package/dist-es/commands/StopOTelEnrichmentCommand.js +2 -14
  51. package/dist-es/commands/TagResourceCommand.js +2 -14
  52. package/dist-es/commands/UntagResourceCommand.js +2 -14
  53. package/dist-es/index.js +1 -0
  54. package/dist-es/runtimeConfig.browser.js +0 -2
  55. package/dist-es/runtimeConfig.js +1 -2
  56. package/dist-es/runtimeConfig.native.js +0 -2
  57. package/dist-es/runtimeConfig.shared.js +2 -0
  58. package/dist-es/schemas/schemas_0.js +22 -4
  59. package/dist-types/commandBuilder.d.ts +22 -0
  60. package/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +3 -8
  61. package/dist-types/commands/DeleteAlarmMuteRuleCommand.d.ts +3 -8
  62. package/dist-types/commands/DeleteAlarmsCommand.d.ts +3 -8
  63. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +3 -8
  64. package/dist-types/commands/DeleteDashboardsCommand.d.ts +3 -8
  65. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +3 -8
  66. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +3 -8
  67. package/dist-types/commands/DescribeAlarmContributorsCommand.d.ts +3 -8
  68. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +3 -8
  69. package/dist-types/commands/DescribeAlarmsCommand.d.ts +9 -8
  70. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +9 -8
  71. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +3 -8
  72. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +3 -8
  73. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +3 -8
  74. package/dist-types/commands/DisableInsightRulesCommand.d.ts +3 -8
  75. package/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +3 -8
  76. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +3 -8
  77. package/dist-types/commands/EnableInsightRulesCommand.d.ts +3 -8
  78. package/dist-types/commands/GetAlarmMuteRuleCommand.d.ts +3 -8
  79. package/dist-types/commands/GetDashboardCommand.d.ts +3 -8
  80. package/dist-types/commands/GetDatasetCommand.d.ts +3 -8
  81. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +3 -8
  82. package/dist-types/commands/GetMetricDataCommand.d.ts +3 -8
  83. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +3 -8
  84. package/dist-types/commands/GetMetricStreamCommand.d.ts +3 -8
  85. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +3 -8
  86. package/dist-types/commands/GetOTelEnrichmentCommand.d.ts +3 -8
  87. package/dist-types/commands/ListAlarmMuteRulesCommand.d.ts +3 -8
  88. package/dist-types/commands/ListDashboardsCommand.d.ts +3 -8
  89. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +3 -8
  90. package/dist-types/commands/ListMetricStreamsCommand.d.ts +3 -8
  91. package/dist-types/commands/ListMetricsCommand.d.ts +3 -8
  92. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  93. package/dist-types/commands/PutAlarmMuteRuleCommand.d.ts +3 -8
  94. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +3 -8
  95. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +3 -8
  96. package/dist-types/commands/PutDashboardCommand.d.ts +3 -8
  97. package/dist-types/commands/PutInsightRuleCommand.d.ts +3 -8
  98. package/dist-types/commands/PutLogAlarmCommand.d.ts +3 -8
  99. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +3 -8
  100. package/dist-types/commands/PutMetricAlarmCommand.d.ts +9 -8
  101. package/dist-types/commands/PutMetricDataCommand.d.ts +3 -8
  102. package/dist-types/commands/PutMetricStreamCommand.d.ts +3 -8
  103. package/dist-types/commands/SetAlarmStateCommand.d.ts +3 -8
  104. package/dist-types/commands/StartMetricStreamsCommand.d.ts +3 -8
  105. package/dist-types/commands/StartOTelEnrichmentCommand.d.ts +3 -8
  106. package/dist-types/commands/StopMetricStreamsCommand.d.ts +3 -8
  107. package/dist-types/commands/StopOTelEnrichmentCommand.d.ts +3 -8
  108. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  109. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  110. package/dist-types/index.d.ts +1 -0
  111. package/dist-types/models/models_0.d.ts +116 -0
  112. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  113. package/dist-types/runtimeConfig.d.ts +1 -1
  114. package/dist-types/runtimeConfig.native.d.ts +1 -1
  115. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  116. package/dist-types/schemas/schemas_0.d.ts +3 -0
  117. package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
  118. package/dist-types/ts3.4/commands/AssociateDatasetKmsKeyCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/DeleteAlarmMuteRuleCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/DescribeAlarmContributorsCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/DisassociateDatasetKmsKeyCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/GetAlarmMuteRuleCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/GetOTelEnrichmentCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/ListAlarmMuteRulesCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/PutAlarmMuteRuleCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/PutLogAlarmCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/StartOTelEnrichmentCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/StopOTelEnrichmentCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/index.d.ts +1 -0
  169. package/dist-types/ts3.4/models/models_0.d.ts +32 -0
  170. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  171. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  172. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  173. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  174. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  175. package/package.json +10 -12
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -11,9 +12,10 @@ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS, NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS, resolveCompressionConfig, getCompressionPlugin } = require("@smithy/middleware-compression");
12
13
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
13
14
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
14
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
15
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
15
16
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
16
17
  const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
18
+ const { Sha256 } = require("@smithy/core/checksum");
17
19
 
18
20
  const defaultCloudWatchHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
21
  return {
@@ -68,7 +70,7 @@ const commonParams = {
68
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
71
  };
70
72
 
71
- var version = "3.1075.0";
73
+ var version = "3.1077.0";
72
74
  var packageInfo = {
73
75
  version: version};
74
76
 
@@ -531,6 +533,7 @@ const _ET = "EndTime";
531
533
  const _ETO = "EndTimeOffset";
532
534
  const _ETR = "ExcludedTimeRanges";
533
535
  const _ETx = "ExceptionType";
536
+ const _EW = "EvaluationWindow";
534
537
  const _En = "Entries";
535
538
  const _Ex = "Expression";
536
539
  const _F = "Failures";
@@ -766,6 +769,7 @@ const _STT = "StateTransitionedTimestamp";
766
769
  const _SUT = "StateUpdatedTimestamp";
767
770
  const _SV = "StateValue";
768
771
  const _SVt = "StatisticValues";
772
+ const _SW = "SlidingWindow";
769
773
  const _Sc = "Schema";
770
774
  const _Sch = "Schedule";
771
775
  const _Si = "Size";
@@ -796,6 +800,7 @@ const _URI = "UntagResourceInput";
796
800
  const _URO = "UntagResourceOutput";
797
801
  const _V = "Value";
798
802
  const _Va = "Values";
803
+ const _WCW = "WallClockWindow";
799
804
  const _aQE = "awsQueryError";
800
805
  const _c = "client";
801
806
  const _dVM = "dashboardValidationMessages";
@@ -1358,8 +1363,8 @@ var Metric$ = [3, n0, _Met,
1358
1363
  ];
1359
1364
  var MetricAlarm$ = [3, n0, _MAe,
1360
1365
  0,
1361
- [_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _TMI, _ESv, _STT, _EC, _EI],
1362
- [0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, 0, 0, 4, () => EvaluationCriteria$, 1]
1366
+ [_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _TMI, _ESv, _STT, _EW, _EC, _EI],
1367
+ [0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, 0, 0, 4, () => EvaluationWindow$, () => EvaluationCriteria$, 1]
1363
1368
  ];
1364
1369
  var MetricCharacteristics$ = [3, n0, _MC,
1365
1370
  0,
@@ -1478,8 +1483,8 @@ var PutManagedInsightRulesOutput$ = [3, n0, _PMIRO,
1478
1483
  ];
1479
1484
  var PutMetricAlarmInput$ = [3, n0, _PMAI,
1480
1485
  0,
1481
- [_AN, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _Ta, _TMI, _EC, _EI],
1482
- [0, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, () => TagList, 0, () => EvaluationCriteria$, 1], 1
1486
+ [_AN, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _Ta, _TMI, _EW, _EC, _EI],
1487
+ [0, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, () => TagList, 0, () => EvaluationWindow$, () => EvaluationCriteria$, 1], 1
1483
1488
  ];
1484
1489
  var PutMetricDataInput$ = [3, n0, _PMDI,
1485
1490
  0,
@@ -1531,6 +1536,11 @@ var SingleMetricAnomalyDetector$ = [3, n0, _SMAD,
1531
1536
  [_AI, _N, _MN, _D, _St],
1532
1537
  [0, 0, 0, () => Dimensions, 0]
1533
1538
  ];
1539
+ var SlidingWindow$ = [3, n0, _SW,
1540
+ 0,
1541
+ [],
1542
+ []
1543
+ ];
1534
1544
  var StartMetricStreamsInput$ = [3, n0, _SMSI,
1535
1545
  0,
1536
1546
  [_Nam],
@@ -1601,6 +1611,11 @@ var UntagResourceOutput$ = [3, n0, _URO,
1601
1611
  [],
1602
1612
  []
1603
1613
  ];
1614
+ var WallClockWindow$ = [3, n0, _WCW,
1615
+ 0,
1616
+ [_Ti],
1617
+ [0]
1618
+ ];
1604
1619
  var __Unit = "unit";
1605
1620
  var AlarmContributors = [1, n0, _ACl,
1606
1621
  0, () => AlarmContributor$
@@ -1700,6 +1715,11 @@ var EvaluationCriteria$ = [4, n0, _EC,
1700
1715
  [_PQLC],
1701
1716
  [() => AlarmPromQLCriteria$]
1702
1717
  ];
1718
+ var EvaluationWindow$ = [4, n0, _EW,
1719
+ 0,
1720
+ [_WCW, _SW],
1721
+ [() => WallClockWindow$, () => SlidingWindow$]
1722
+ ];
1703
1723
  var AssociateDatasetKmsKey$ = [9, n0, _ADKK,
1704
1724
  0, () => AssociateDatasetKmsKeyInput$, () => AssociateDatasetKmsKeyOutput$
1705
1725
  ];
@@ -1878,6 +1898,7 @@ const getRuntimeConfig$1 = (config) => {
1878
1898
  awsQueryCompatible: true,
1879
1899
  },
1880
1900
  serviceId: config?.serviceId ?? "CloudWatch",
1901
+ sha256: config?.sha256 ?? Sha256,
1881
1902
  urlParser: config?.urlParser ?? parseUrl,
1882
1903
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1883
1904
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1913,7 +1934,6 @@ const getRuntimeConfig = (config) => {
1913
1934
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1914
1935
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1915
1936
  }, config),
1916
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1917
1937
  streamCollector: config?.streamCollector ?? streamCollector,
1918
1938
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1919
1939
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -2002,609 +2022,163 @@ class CloudWatchClient extends Client {
2002
2022
  }
2003
2023
  }
2004
2024
 
2005
- class AssociateDatasetKmsKeyCommand extends Command
2006
- .classBuilder()
2007
- .ep(commonParams)
2008
- .m(function (Command, cs, config, o) {
2009
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2010
- })
2011
- .s("GraniteServiceVersion20100801", "AssociateDatasetKmsKey", {})
2012
- .n("CloudWatchClient", "AssociateDatasetKmsKeyCommand")
2013
- .sc(AssociateDatasetKmsKey$)
2014
- .build() {
2015
- }
2016
-
2017
- class DeleteAlarmMuteRuleCommand extends Command
2018
- .classBuilder()
2019
- .ep(commonParams)
2020
- .m(function (Command, cs, config, o) {
2021
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2022
- })
2023
- .s("GraniteServiceVersion20100801", "DeleteAlarmMuteRule", {})
2024
- .n("CloudWatchClient", "DeleteAlarmMuteRuleCommand")
2025
- .sc(DeleteAlarmMuteRule$)
2026
- .build() {
2027
- }
2028
-
2029
- class DeleteAlarmsCommand extends Command
2030
- .classBuilder()
2031
- .ep(commonParams)
2032
- .m(function (Command, cs, config, o) {
2033
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2034
- })
2035
- .s("GraniteServiceVersion20100801", "DeleteAlarms", {})
2036
- .n("CloudWatchClient", "DeleteAlarmsCommand")
2037
- .sc(DeleteAlarms$)
2038
- .build() {
2039
- }
2040
-
2041
- class DeleteAnomalyDetectorCommand extends Command
2042
- .classBuilder()
2043
- .ep(commonParams)
2044
- .m(function (Command, cs, config, o) {
2045
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2046
- })
2047
- .s("GraniteServiceVersion20100801", "DeleteAnomalyDetector", {})
2048
- .n("CloudWatchClient", "DeleteAnomalyDetectorCommand")
2049
- .sc(DeleteAnomalyDetector$)
2050
- .build() {
2051
- }
2052
-
2053
- class DeleteDashboardsCommand extends Command
2054
- .classBuilder()
2055
- .ep(commonParams)
2056
- .m(function (Command, cs, config, o) {
2057
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2058
- })
2059
- .s("GraniteServiceVersion20100801", "DeleteDashboards", {})
2060
- .n("CloudWatchClient", "DeleteDashboardsCommand")
2061
- .sc(DeleteDashboards$)
2062
- .build() {
2063
- }
2064
-
2065
- class DeleteInsightRulesCommand extends Command
2066
- .classBuilder()
2067
- .ep(commonParams)
2068
- .m(function (Command, cs, config, o) {
2069
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2070
- })
2071
- .s("GraniteServiceVersion20100801", "DeleteInsightRules", {})
2072
- .n("CloudWatchClient", "DeleteInsightRulesCommand")
2073
- .sc(DeleteInsightRules$)
2074
- .build() {
2075
- }
2076
-
2077
- class DeleteMetricStreamCommand extends Command
2078
- .classBuilder()
2079
- .ep(commonParams)
2080
- .m(function (Command, cs, config, o) {
2081
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2082
- })
2083
- .s("GraniteServiceVersion20100801", "DeleteMetricStream", {})
2084
- .n("CloudWatchClient", "DeleteMetricStreamCommand")
2085
- .sc(DeleteMetricStream$)
2086
- .build() {
2087
- }
2088
-
2089
- class DescribeAlarmContributorsCommand extends Command
2090
- .classBuilder()
2091
- .ep(commonParams)
2092
- .m(function (Command, cs, config, o) {
2093
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2094
- })
2095
- .s("GraniteServiceVersion20100801", "DescribeAlarmContributors", {})
2096
- .n("CloudWatchClient", "DescribeAlarmContributorsCommand")
2097
- .sc(DescribeAlarmContributors$)
2098
- .build() {
2099
- }
2100
-
2101
- class DescribeAlarmHistoryCommand extends Command
2102
- .classBuilder()
2103
- .ep(commonParams)
2104
- .m(function (Command, cs, config, o) {
2105
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2106
- })
2107
- .s("GraniteServiceVersion20100801", "DescribeAlarmHistory", {})
2108
- .n("CloudWatchClient", "DescribeAlarmHistoryCommand")
2109
- .sc(DescribeAlarmHistory$)
2110
- .build() {
2111
- }
2112
-
2113
- class DescribeAlarmsCommand extends Command
2114
- .classBuilder()
2115
- .ep(commonParams)
2116
- .m(function (Command, cs, config, o) {
2117
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2118
- })
2119
- .s("GraniteServiceVersion20100801", "DescribeAlarms", {})
2120
- .n("CloudWatchClient", "DescribeAlarmsCommand")
2121
- .sc(DescribeAlarms$)
2122
- .build() {
2123
- }
2124
-
2125
- class DescribeAlarmsForMetricCommand extends Command
2126
- .classBuilder()
2127
- .ep(commonParams)
2128
- .m(function (Command, cs, config, o) {
2129
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2130
- })
2131
- .s("GraniteServiceVersion20100801", "DescribeAlarmsForMetric", {})
2132
- .n("CloudWatchClient", "DescribeAlarmsForMetricCommand")
2133
- .sc(DescribeAlarmsForMetric$)
2134
- .build() {
2135
- }
2136
-
2137
- class DescribeAnomalyDetectorsCommand extends Command
2138
- .classBuilder()
2139
- .ep(commonParams)
2140
- .m(function (Command, cs, config, o) {
2141
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2142
- })
2143
- .s("GraniteServiceVersion20100801", "DescribeAnomalyDetectors", {})
2144
- .n("CloudWatchClient", "DescribeAnomalyDetectorsCommand")
2145
- .sc(DescribeAnomalyDetectors$)
2146
- .build() {
2147
- }
2148
-
2149
- class DescribeInsightRulesCommand extends Command
2150
- .classBuilder()
2151
- .ep(commonParams)
2152
- .m(function (Command, cs, config, o) {
2153
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2154
- })
2155
- .s("GraniteServiceVersion20100801", "DescribeInsightRules", {})
2156
- .n("CloudWatchClient", "DescribeInsightRulesCommand")
2157
- .sc(DescribeInsightRules$)
2158
- .build() {
2159
- }
2160
-
2161
- class DisableAlarmActionsCommand extends Command
2162
- .classBuilder()
2163
- .ep(commonParams)
2164
- .m(function (Command, cs, config, o) {
2165
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2166
- })
2167
- .s("GraniteServiceVersion20100801", "DisableAlarmActions", {})
2168
- .n("CloudWatchClient", "DisableAlarmActionsCommand")
2169
- .sc(DisableAlarmActions$)
2170
- .build() {
2171
- }
2172
-
2173
- class DisableInsightRulesCommand extends Command
2174
- .classBuilder()
2175
- .ep(commonParams)
2176
- .m(function (Command, cs, config, o) {
2177
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2178
- })
2179
- .s("GraniteServiceVersion20100801", "DisableInsightRules", {})
2180
- .n("CloudWatchClient", "DisableInsightRulesCommand")
2181
- .sc(DisableInsightRules$)
2182
- .build() {
2183
- }
2184
-
2185
- class DisassociateDatasetKmsKeyCommand extends Command
2186
- .classBuilder()
2187
- .ep(commonParams)
2188
- .m(function (Command, cs, config, o) {
2189
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2190
- })
2191
- .s("GraniteServiceVersion20100801", "DisassociateDatasetKmsKey", {})
2192
- .n("CloudWatchClient", "DisassociateDatasetKmsKeyCommand")
2193
- .sc(DisassociateDatasetKmsKey$)
2194
- .build() {
2195
- }
2196
-
2197
- class EnableAlarmActionsCommand extends Command
2198
- .classBuilder()
2199
- .ep(commonParams)
2200
- .m(function (Command, cs, config, o) {
2201
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2202
- })
2203
- .s("GraniteServiceVersion20100801", "EnableAlarmActions", {})
2204
- .n("CloudWatchClient", "EnableAlarmActionsCommand")
2205
- .sc(EnableAlarmActions$)
2206
- .build() {
2207
- }
2208
-
2209
- class EnableInsightRulesCommand extends Command
2210
- .classBuilder()
2211
- .ep(commonParams)
2212
- .m(function (Command, cs, config, o) {
2213
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2214
- })
2215
- .s("GraniteServiceVersion20100801", "EnableInsightRules", {})
2216
- .n("CloudWatchClient", "EnableInsightRulesCommand")
2217
- .sc(EnableInsightRules$)
2218
- .build() {
2219
- }
2220
-
2221
- class GetAlarmMuteRuleCommand extends Command
2222
- .classBuilder()
2223
- .ep(commonParams)
2224
- .m(function (Command, cs, config, o) {
2225
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2226
- })
2227
- .s("GraniteServiceVersion20100801", "GetAlarmMuteRule", {})
2228
- .n("CloudWatchClient", "GetAlarmMuteRuleCommand")
2229
- .sc(GetAlarmMuteRule$)
2230
- .build() {
2231
- }
2232
-
2233
- class GetDashboardCommand extends Command
2234
- .classBuilder()
2235
- .ep(commonParams)
2236
- .m(function (Command, cs, config, o) {
2237
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2238
- })
2239
- .s("GraniteServiceVersion20100801", "GetDashboard", {})
2240
- .n("CloudWatchClient", "GetDashboardCommand")
2241
- .sc(GetDashboard$)
2242
- .build() {
2243
- }
2244
-
2245
- class GetDatasetCommand extends Command
2246
- .classBuilder()
2247
- .ep(commonParams)
2248
- .m(function (Command, cs, config, o) {
2249
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2250
- })
2251
- .s("GraniteServiceVersion20100801", "GetDataset", {})
2252
- .n("CloudWatchClient", "GetDatasetCommand")
2253
- .sc(GetDataset$)
2254
- .build() {
2255
- }
2256
-
2257
- class GetInsightRuleReportCommand extends Command
2258
- .classBuilder()
2259
- .ep(commonParams)
2260
- .m(function (Command, cs, config, o) {
2261
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2262
- })
2263
- .s("GraniteServiceVersion20100801", "GetInsightRuleReport", {})
2264
- .n("CloudWatchClient", "GetInsightRuleReportCommand")
2265
- .sc(GetInsightRuleReport$)
2266
- .build() {
2267
- }
2268
-
2269
- class GetMetricDataCommand extends Command
2270
- .classBuilder()
2271
- .ep(commonParams)
2272
- .m(function (Command, cs, config, o) {
2273
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2274
- })
2275
- .s("GraniteServiceVersion20100801", "GetMetricData", {})
2276
- .n("CloudWatchClient", "GetMetricDataCommand")
2277
- .sc(GetMetricData$)
2278
- .build() {
2279
- }
2280
-
2281
- class GetMetricStatisticsCommand extends Command
2282
- .classBuilder()
2283
- .ep(commonParams)
2284
- .m(function (Command, cs, config, o) {
2285
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2286
- })
2287
- .s("GraniteServiceVersion20100801", "GetMetricStatistics", {})
2288
- .n("CloudWatchClient", "GetMetricStatisticsCommand")
2289
- .sc(GetMetricStatistics$)
2290
- .build() {
2291
- }
2292
-
2293
- class GetMetricStreamCommand extends Command
2294
- .classBuilder()
2295
- .ep(commonParams)
2296
- .m(function (Command, cs, config, o) {
2297
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2298
- })
2299
- .s("GraniteServiceVersion20100801", "GetMetricStream", {})
2300
- .n("CloudWatchClient", "GetMetricStreamCommand")
2301
- .sc(GetMetricStream$)
2302
- .build() {
2303
- }
2304
-
2305
- class GetMetricWidgetImageCommand extends Command
2306
- .classBuilder()
2307
- .ep(commonParams)
2308
- .m(function (Command, cs, config, o) {
2309
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2310
- })
2311
- .s("GraniteServiceVersion20100801", "GetMetricWidgetImage", {})
2312
- .n("CloudWatchClient", "GetMetricWidgetImageCommand")
2313
- .sc(GetMetricWidgetImage$)
2314
- .build() {
2315
- }
2316
-
2317
- class GetOTelEnrichmentCommand extends Command
2318
- .classBuilder()
2319
- .ep(commonParams)
2320
- .m(function (Command, cs, config, o) {
2321
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2322
- })
2323
- .s("GraniteServiceVersion20100801", "GetOTelEnrichment", {})
2324
- .n("CloudWatchClient", "GetOTelEnrichmentCommand")
2325
- .sc(GetOTelEnrichment$)
2326
- .build() {
2327
- }
2328
-
2329
- class ListAlarmMuteRulesCommand extends Command
2330
- .classBuilder()
2331
- .ep(commonParams)
2332
- .m(function (Command, cs, config, o) {
2333
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2334
- })
2335
- .s("GraniteServiceVersion20100801", "ListAlarmMuteRules", {})
2336
- .n("CloudWatchClient", "ListAlarmMuteRulesCommand")
2337
- .sc(ListAlarmMuteRules$)
2338
- .build() {
2339
- }
2340
-
2341
- class ListDashboardsCommand extends Command
2342
- .classBuilder()
2343
- .ep(commonParams)
2344
- .m(function (Command, cs, config, o) {
2345
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2346
- })
2347
- .s("GraniteServiceVersion20100801", "ListDashboards", {})
2348
- .n("CloudWatchClient", "ListDashboardsCommand")
2349
- .sc(ListDashboards$)
2350
- .build() {
2351
- }
2352
-
2353
- class ListManagedInsightRulesCommand extends Command
2354
- .classBuilder()
2355
- .ep(commonParams)
2356
- .m(function (Command, cs, config, o) {
2357
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2358
- })
2359
- .s("GraniteServiceVersion20100801", "ListManagedInsightRules", {})
2360
- .n("CloudWatchClient", "ListManagedInsightRulesCommand")
2361
- .sc(ListManagedInsightRules$)
2362
- .build() {
2363
- }
2364
-
2365
- class ListMetricsCommand extends Command
2366
- .classBuilder()
2367
- .ep(commonParams)
2368
- .m(function (Command, cs, config, o) {
2369
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2370
- })
2371
- .s("GraniteServiceVersion20100801", "ListMetrics", {})
2372
- .n("CloudWatchClient", "ListMetricsCommand")
2373
- .sc(ListMetrics$)
2374
- .build() {
2375
- }
2376
-
2377
- class ListMetricStreamsCommand extends Command
2378
- .classBuilder()
2379
- .ep(commonParams)
2380
- .m(function (Command, cs, config, o) {
2381
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2382
- })
2383
- .s("GraniteServiceVersion20100801", "ListMetricStreams", {})
2384
- .n("CloudWatchClient", "ListMetricStreamsCommand")
2385
- .sc(ListMetricStreams$)
2386
- .build() {
2387
- }
2388
-
2389
- class ListTagsForResourceCommand extends Command
2390
- .classBuilder()
2391
- .ep(commonParams)
2392
- .m(function (Command, cs, config, o) {
2393
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2394
- })
2395
- .s("GraniteServiceVersion20100801", "ListTagsForResource", {})
2396
- .n("CloudWatchClient", "ListTagsForResourceCommand")
2397
- .sc(ListTagsForResource$)
2398
- .build() {
2399
- }
2400
-
2401
- class PutAlarmMuteRuleCommand extends Command
2402
- .classBuilder()
2403
- .ep(commonParams)
2404
- .m(function (Command, cs, config, o) {
2405
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2406
- })
2407
- .s("GraniteServiceVersion20100801", "PutAlarmMuteRule", {})
2408
- .n("CloudWatchClient", "PutAlarmMuteRuleCommand")
2409
- .sc(PutAlarmMuteRule$)
2410
- .build() {
2411
- }
2412
-
2413
- class PutAnomalyDetectorCommand extends Command
2414
- .classBuilder()
2415
- .ep(commonParams)
2416
- .m(function (Command, cs, config, o) {
2417
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2418
- })
2419
- .s("GraniteServiceVersion20100801", "PutAnomalyDetector", {})
2420
- .n("CloudWatchClient", "PutAnomalyDetectorCommand")
2421
- .sc(PutAnomalyDetector$)
2422
- .build() {
2423
- }
2424
-
2425
- class PutCompositeAlarmCommand extends Command
2426
- .classBuilder()
2427
- .ep(commonParams)
2428
- .m(function (Command, cs, config, o) {
2429
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2430
- })
2431
- .s("GraniteServiceVersion20100801", "PutCompositeAlarm", {})
2432
- .n("CloudWatchClient", "PutCompositeAlarmCommand")
2433
- .sc(PutCompositeAlarm$)
2434
- .build() {
2435
- }
2436
-
2437
- class PutDashboardCommand extends Command
2438
- .classBuilder()
2439
- .ep(commonParams)
2440
- .m(function (Command, cs, config, o) {
2441
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2442
- })
2443
- .s("GraniteServiceVersion20100801", "PutDashboard", {})
2444
- .n("CloudWatchClient", "PutDashboardCommand")
2445
- .sc(PutDashboard$)
2446
- .build() {
2447
- }
2448
-
2449
- class PutInsightRuleCommand extends Command
2450
- .classBuilder()
2451
- .ep(commonParams)
2452
- .m(function (Command, cs, config, o) {
2453
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2454
- })
2455
- .s("GraniteServiceVersion20100801", "PutInsightRule", {})
2456
- .n("CloudWatchClient", "PutInsightRuleCommand")
2457
- .sc(PutInsightRule$)
2458
- .build() {
2459
- }
2460
-
2461
- class PutLogAlarmCommand extends Command
2462
- .classBuilder()
2463
- .ep(commonParams)
2464
- .m(function (Command, cs, config, o) {
2465
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2466
- })
2467
- .s("GraniteServiceVersion20100801", "PutLogAlarm", {})
2468
- .n("CloudWatchClient", "PutLogAlarmCommand")
2469
- .sc(PutLogAlarm$)
2470
- .build() {
2471
- }
2472
-
2473
- class PutManagedInsightRulesCommand extends Command
2474
- .classBuilder()
2475
- .ep(commonParams)
2476
- .m(function (Command, cs, config, o) {
2477
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2478
- })
2479
- .s("GraniteServiceVersion20100801", "PutManagedInsightRules", {})
2480
- .n("CloudWatchClient", "PutManagedInsightRulesCommand")
2481
- .sc(PutManagedInsightRules$)
2482
- .build() {
2483
- }
2484
-
2485
- class PutMetricAlarmCommand extends Command
2486
- .classBuilder()
2487
- .ep(commonParams)
2488
- .m(function (Command, cs, config, o) {
2489
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2490
- })
2491
- .s("GraniteServiceVersion20100801", "PutMetricAlarm", {})
2492
- .n("CloudWatchClient", "PutMetricAlarmCommand")
2493
- .sc(PutMetricAlarm$)
2494
- .build() {
2495
- }
2496
-
2497
- class PutMetricDataCommand extends Command
2498
- .classBuilder()
2499
- .ep(commonParams)
2500
- .m(function (Command, cs, config, o) {
2501
- return [
2502
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2503
- getCompressionPlugin(config, {
2504
- 'encodings': ['gzip'],
2505
- }),
2506
- ];
2507
- })
2508
- .s("GraniteServiceVersion20100801", "PutMetricData", {})
2509
- .n("CloudWatchClient", "PutMetricDataCommand")
2510
- .sc(PutMetricData$)
2511
- .build() {
2512
- }
2513
-
2514
- class PutMetricStreamCommand extends Command
2515
- .classBuilder()
2516
- .ep(commonParams)
2517
- .m(function (Command, cs, config, o) {
2518
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2519
- })
2520
- .s("GraniteServiceVersion20100801", "PutMetricStream", {})
2521
- .n("CloudWatchClient", "PutMetricStreamCommand")
2522
- .sc(PutMetricStream$)
2523
- .build() {
2524
- }
2525
-
2526
- class SetAlarmStateCommand extends Command
2527
- .classBuilder()
2528
- .ep(commonParams)
2529
- .m(function (Command, cs, config, o) {
2530
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2531
- })
2532
- .s("GraniteServiceVersion20100801", "SetAlarmState", {})
2533
- .n("CloudWatchClient", "SetAlarmStateCommand")
2534
- .sc(SetAlarmState$)
2535
- .build() {
2536
- }
2537
-
2538
- class StartMetricStreamsCommand extends Command
2539
- .classBuilder()
2540
- .ep(commonParams)
2541
- .m(function (Command, cs, config, o) {
2542
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2543
- })
2544
- .s("GraniteServiceVersion20100801", "StartMetricStreams", {})
2545
- .n("CloudWatchClient", "StartMetricStreamsCommand")
2546
- .sc(StartMetricStreams$)
2547
- .build() {
2548
- }
2549
-
2550
- class StartOTelEnrichmentCommand extends Command
2551
- .classBuilder()
2552
- .ep(commonParams)
2553
- .m(function (Command, cs, config, o) {
2554
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2555
- })
2556
- .s("GraniteServiceVersion20100801", "StartOTelEnrichment", {})
2557
- .n("CloudWatchClient", "StartOTelEnrichmentCommand")
2558
- .sc(StartOTelEnrichment$)
2559
- .build() {
2560
- }
2561
-
2562
- class StopMetricStreamsCommand extends Command
2563
- .classBuilder()
2564
- .ep(commonParams)
2565
- .m(function (Command, cs, config, o) {
2566
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2567
- })
2568
- .s("GraniteServiceVersion20100801", "StopMetricStreams", {})
2569
- .n("CloudWatchClient", "StopMetricStreamsCommand")
2570
- .sc(StopMetricStreams$)
2571
- .build() {
2572
- }
2573
-
2574
- class StopOTelEnrichmentCommand extends Command
2575
- .classBuilder()
2576
- .ep(commonParams)
2577
- .m(function (Command, cs, config, o) {
2578
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2579
- })
2580
- .s("GraniteServiceVersion20100801", "StopOTelEnrichment", {})
2581
- .n("CloudWatchClient", "StopOTelEnrichmentCommand")
2582
- .sc(StopOTelEnrichment$)
2583
- .build() {
2584
- }
2585
-
2586
- class TagResourceCommand extends Command
2587
- .classBuilder()
2588
- .ep(commonParams)
2589
- .m(function (Command, cs, config, o) {
2590
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2591
- })
2592
- .s("GraniteServiceVersion20100801", "TagResource", {})
2593
- .n("CloudWatchClient", "TagResourceCommand")
2594
- .sc(TagResource$)
2595
- .build() {
2596
- }
2597
-
2598
- class UntagResourceCommand extends Command
2599
- .classBuilder()
2600
- .ep(commonParams)
2601
- .m(function (Command, cs, config, o) {
2602
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2603
- })
2604
- .s("GraniteServiceVersion20100801", "UntagResource", {})
2605
- .n("CloudWatchClient", "UntagResourceCommand")
2606
- .sc(UntagResource$)
2607
- .build() {
2025
+ const command = makeBuilder(commonParams, "GraniteServiceVersion20100801", "CloudWatchClient", getEndpointPlugin);
2026
+ const _ep0 = {};
2027
+ const _mw0 = (Command, cs, config, o) => [];
2028
+ const _mw1 = (Command, cs, config, o) => [
2029
+ getCompressionPlugin(config, {
2030
+ encodings: ["gzip"],
2031
+ }),
2032
+ ];
2033
+
2034
+ class AssociateDatasetKmsKeyCommand extends command(_ep0, _mw0, "AssociateDatasetKmsKey", AssociateDatasetKmsKey$) {
2035
+ }
2036
+
2037
+ class DeleteAlarmMuteRuleCommand extends command(_ep0, _mw0, "DeleteAlarmMuteRule", DeleteAlarmMuteRule$) {
2038
+ }
2039
+
2040
+ class DeleteAlarmsCommand extends command(_ep0, _mw0, "DeleteAlarms", DeleteAlarms$) {
2041
+ }
2042
+
2043
+ class DeleteAnomalyDetectorCommand extends command(_ep0, _mw0, "DeleteAnomalyDetector", DeleteAnomalyDetector$) {
2044
+ }
2045
+
2046
+ class DeleteDashboardsCommand extends command(_ep0, _mw0, "DeleteDashboards", DeleteDashboards$) {
2047
+ }
2048
+
2049
+ class DeleteInsightRulesCommand extends command(_ep0, _mw0, "DeleteInsightRules", DeleteInsightRules$) {
2050
+ }
2051
+
2052
+ class DeleteMetricStreamCommand extends command(_ep0, _mw0, "DeleteMetricStream", DeleteMetricStream$) {
2053
+ }
2054
+
2055
+ class DescribeAlarmContributorsCommand extends command(_ep0, _mw0, "DescribeAlarmContributors", DescribeAlarmContributors$) {
2056
+ }
2057
+
2058
+ class DescribeAlarmHistoryCommand extends command(_ep0, _mw0, "DescribeAlarmHistory", DescribeAlarmHistory$) {
2059
+ }
2060
+
2061
+ class DescribeAlarmsCommand extends command(_ep0, _mw0, "DescribeAlarms", DescribeAlarms$) {
2062
+ }
2063
+
2064
+ class DescribeAlarmsForMetricCommand extends command(_ep0, _mw0, "DescribeAlarmsForMetric", DescribeAlarmsForMetric$) {
2065
+ }
2066
+
2067
+ class DescribeAnomalyDetectorsCommand extends command(_ep0, _mw0, "DescribeAnomalyDetectors", DescribeAnomalyDetectors$) {
2068
+ }
2069
+
2070
+ class DescribeInsightRulesCommand extends command(_ep0, _mw0, "DescribeInsightRules", DescribeInsightRules$) {
2071
+ }
2072
+
2073
+ class DisableAlarmActionsCommand extends command(_ep0, _mw0, "DisableAlarmActions", DisableAlarmActions$) {
2074
+ }
2075
+
2076
+ class DisableInsightRulesCommand extends command(_ep0, _mw0, "DisableInsightRules", DisableInsightRules$) {
2077
+ }
2078
+
2079
+ class DisassociateDatasetKmsKeyCommand extends command(_ep0, _mw0, "DisassociateDatasetKmsKey", DisassociateDatasetKmsKey$) {
2080
+ }
2081
+
2082
+ class EnableAlarmActionsCommand extends command(_ep0, _mw0, "EnableAlarmActions", EnableAlarmActions$) {
2083
+ }
2084
+
2085
+ class EnableInsightRulesCommand extends command(_ep0, _mw0, "EnableInsightRules", EnableInsightRules$) {
2086
+ }
2087
+
2088
+ class GetAlarmMuteRuleCommand extends command(_ep0, _mw0, "GetAlarmMuteRule", GetAlarmMuteRule$) {
2089
+ }
2090
+
2091
+ class GetDashboardCommand extends command(_ep0, _mw0, "GetDashboard", GetDashboard$) {
2092
+ }
2093
+
2094
+ class GetDatasetCommand extends command(_ep0, _mw0, "GetDataset", GetDataset$) {
2095
+ }
2096
+
2097
+ class GetInsightRuleReportCommand extends command(_ep0, _mw0, "GetInsightRuleReport", GetInsightRuleReport$) {
2098
+ }
2099
+
2100
+ class GetMetricDataCommand extends command(_ep0, _mw0, "GetMetricData", GetMetricData$) {
2101
+ }
2102
+
2103
+ class GetMetricStatisticsCommand extends command(_ep0, _mw0, "GetMetricStatistics", GetMetricStatistics$) {
2104
+ }
2105
+
2106
+ class GetMetricStreamCommand extends command(_ep0, _mw0, "GetMetricStream", GetMetricStream$) {
2107
+ }
2108
+
2109
+ class GetMetricWidgetImageCommand extends command(_ep0, _mw0, "GetMetricWidgetImage", GetMetricWidgetImage$) {
2110
+ }
2111
+
2112
+ class GetOTelEnrichmentCommand extends command(_ep0, _mw0, "GetOTelEnrichment", GetOTelEnrichment$) {
2113
+ }
2114
+
2115
+ class ListAlarmMuteRulesCommand extends command(_ep0, _mw0, "ListAlarmMuteRules", ListAlarmMuteRules$) {
2116
+ }
2117
+
2118
+ class ListDashboardsCommand extends command(_ep0, _mw0, "ListDashboards", ListDashboards$) {
2119
+ }
2120
+
2121
+ class ListManagedInsightRulesCommand extends command(_ep0, _mw0, "ListManagedInsightRules", ListManagedInsightRules$) {
2122
+ }
2123
+
2124
+ class ListMetricsCommand extends command(_ep0, _mw0, "ListMetrics", ListMetrics$) {
2125
+ }
2126
+
2127
+ class ListMetricStreamsCommand extends command(_ep0, _mw0, "ListMetricStreams", ListMetricStreams$) {
2128
+ }
2129
+
2130
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2131
+ }
2132
+
2133
+ class PutAlarmMuteRuleCommand extends command(_ep0, _mw0, "PutAlarmMuteRule", PutAlarmMuteRule$) {
2134
+ }
2135
+
2136
+ class PutAnomalyDetectorCommand extends command(_ep0, _mw0, "PutAnomalyDetector", PutAnomalyDetector$) {
2137
+ }
2138
+
2139
+ class PutCompositeAlarmCommand extends command(_ep0, _mw0, "PutCompositeAlarm", PutCompositeAlarm$) {
2140
+ }
2141
+
2142
+ class PutDashboardCommand extends command(_ep0, _mw0, "PutDashboard", PutDashboard$) {
2143
+ }
2144
+
2145
+ class PutInsightRuleCommand extends command(_ep0, _mw0, "PutInsightRule", PutInsightRule$) {
2146
+ }
2147
+
2148
+ class PutLogAlarmCommand extends command(_ep0, _mw0, "PutLogAlarm", PutLogAlarm$) {
2149
+ }
2150
+
2151
+ class PutManagedInsightRulesCommand extends command(_ep0, _mw0, "PutManagedInsightRules", PutManagedInsightRules$) {
2152
+ }
2153
+
2154
+ class PutMetricAlarmCommand extends command(_ep0, _mw0, "PutMetricAlarm", PutMetricAlarm$) {
2155
+ }
2156
+
2157
+ class PutMetricDataCommand extends command(_ep0, _mw1, "PutMetricData", PutMetricData$) {
2158
+ }
2159
+
2160
+ class PutMetricStreamCommand extends command(_ep0, _mw0, "PutMetricStream", PutMetricStream$) {
2161
+ }
2162
+
2163
+ class SetAlarmStateCommand extends command(_ep0, _mw0, "SetAlarmState", SetAlarmState$) {
2164
+ }
2165
+
2166
+ class StartMetricStreamsCommand extends command(_ep0, _mw0, "StartMetricStreams", StartMetricStreams$) {
2167
+ }
2168
+
2169
+ class StartOTelEnrichmentCommand extends command(_ep0, _mw0, "StartOTelEnrichment", StartOTelEnrichment$) {
2170
+ }
2171
+
2172
+ class StopMetricStreamsCommand extends command(_ep0, _mw0, "StopMetricStreams", StopMetricStreams$) {
2173
+ }
2174
+
2175
+ class StopOTelEnrichmentCommand extends command(_ep0, _mw0, "StopOTelEnrichment", StopOTelEnrichment$) {
2176
+ }
2177
+
2178
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2179
+ }
2180
+
2181
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2608
2182
  }
2609
2183
 
2610
2184
  const paginateDescribeAlarmHistory = createPaginator(CloudWatchClient, DescribeAlarmHistoryCommand, "NextToken", "NextToken", "MaxRecords");
@@ -3030,6 +2604,7 @@ exports.Entity$ = Entity$;
3030
2604
  exports.EntityMetricData$ = EntityMetricData$;
3031
2605
  exports.EvaluationCriteria$ = EvaluationCriteria$;
3032
2606
  exports.EvaluationState = EvaluationState;
2607
+ exports.EvaluationWindow$ = EvaluationWindow$;
3033
2608
  exports.GetAlarmMuteRule$ = GetAlarmMuteRule$;
3034
2609
  exports.GetAlarmMuteRuleCommand = GetAlarmMuteRuleCommand;
3035
2610
  exports.GetAlarmMuteRuleInput$ = GetAlarmMuteRuleInput$;
@@ -3191,6 +2766,7 @@ exports.SetAlarmState$ = SetAlarmState$;
3191
2766
  exports.SetAlarmStateCommand = SetAlarmStateCommand;
3192
2767
  exports.SetAlarmStateInput$ = SetAlarmStateInput$;
3193
2768
  exports.SingleMetricAnomalyDetector$ = SingleMetricAnomalyDetector$;
2769
+ exports.SlidingWindow$ = SlidingWindow$;
3194
2770
  exports.StandardUnit = StandardUnit;
3195
2771
  exports.StartMetricStreams$ = StartMetricStreams$;
3196
2772
  exports.StartMetricStreamsCommand = StartMetricStreamsCommand;
@@ -3221,6 +2797,7 @@ exports.UntagResource$ = UntagResource$;
3221
2797
  exports.UntagResourceCommand = UntagResourceCommand;
3222
2798
  exports.UntagResourceInput$ = UntagResourceInput$;
3223
2799
  exports.UntagResourceOutput$ = UntagResourceOutput$;
2800
+ exports.WallClockWindow$ = WallClockWindow$;
3224
2801
  exports.errorTypeRegistries = errorTypeRegistries;
3225
2802
  exports.paginateDescribeAlarmHistory = paginateDescribeAlarmHistory;
3226
2803
  exports.paginateDescribeAlarms = paginateDescribeAlarms;