@aws-sdk/client-cloudwatch 3.1045.0 → 3.1046.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 (184) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +130 -132
  5. package/dist-cjs/models/CloudWatchServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +20 -24
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/CloudWatch.js +1 -1
  10. package/dist-es/CloudWatchClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/DeleteAlarmMuteRuleCommand.js +2 -2
  13. package/dist-es/commands/DeleteAlarmsCommand.js +2 -2
  14. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +2 -2
  15. package/dist-es/commands/DeleteDashboardsCommand.js +2 -2
  16. package/dist-es/commands/DeleteInsightRulesCommand.js +2 -2
  17. package/dist-es/commands/DeleteMetricStreamCommand.js +2 -2
  18. package/dist-es/commands/DescribeAlarmContributorsCommand.js +2 -2
  19. package/dist-es/commands/DescribeAlarmHistoryCommand.js +2 -2
  20. package/dist-es/commands/DescribeAlarmsCommand.js +2 -2
  21. package/dist-es/commands/DescribeAlarmsForMetricCommand.js +2 -2
  22. package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +2 -2
  23. package/dist-es/commands/DescribeInsightRulesCommand.js +2 -2
  24. package/dist-es/commands/DisableAlarmActionsCommand.js +2 -2
  25. package/dist-es/commands/DisableInsightRulesCommand.js +2 -2
  26. package/dist-es/commands/EnableAlarmActionsCommand.js +2 -2
  27. package/dist-es/commands/EnableInsightRulesCommand.js +2 -2
  28. package/dist-es/commands/GetAlarmMuteRuleCommand.js +2 -2
  29. package/dist-es/commands/GetDashboardCommand.js +2 -2
  30. package/dist-es/commands/GetInsightRuleReportCommand.js +2 -2
  31. package/dist-es/commands/GetMetricDataCommand.js +2 -2
  32. package/dist-es/commands/GetMetricStatisticsCommand.js +2 -2
  33. package/dist-es/commands/GetMetricStreamCommand.js +2 -2
  34. package/dist-es/commands/GetMetricWidgetImageCommand.js +2 -2
  35. package/dist-es/commands/GetOTelEnrichmentCommand.js +2 -2
  36. package/dist-es/commands/ListAlarmMuteRulesCommand.js +2 -2
  37. package/dist-es/commands/ListDashboardsCommand.js +2 -2
  38. package/dist-es/commands/ListManagedInsightRulesCommand.js +2 -2
  39. package/dist-es/commands/ListMetricStreamsCommand.js +2 -2
  40. package/dist-es/commands/ListMetricsCommand.js +2 -2
  41. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  42. package/dist-es/commands/PutAlarmMuteRuleCommand.js +2 -2
  43. package/dist-es/commands/PutAnomalyDetectorCommand.js +2 -2
  44. package/dist-es/commands/PutCompositeAlarmCommand.js +2 -2
  45. package/dist-es/commands/PutDashboardCommand.js +2 -2
  46. package/dist-es/commands/PutInsightRuleCommand.js +2 -2
  47. package/dist-es/commands/PutManagedInsightRulesCommand.js +2 -2
  48. package/dist-es/commands/PutMetricAlarmCommand.js +2 -2
  49. package/dist-es/commands/PutMetricDataCommand.js +2 -2
  50. package/dist-es/commands/PutMetricStreamCommand.js +2 -2
  51. package/dist-es/commands/SetAlarmStateCommand.js +2 -2
  52. package/dist-es/commands/StartMetricStreamsCommand.js +2 -2
  53. package/dist-es/commands/StartOTelEnrichmentCommand.js +2 -2
  54. package/dist-es/commands/StopMetricStreamsCommand.js +2 -2
  55. package/dist-es/commands/StopOTelEnrichmentCommand.js +2 -2
  56. package/dist-es/commands/TagResourceCommand.js +2 -2
  57. package/dist-es/commands/UntagResourceCommand.js +2 -2
  58. package/dist-es/endpoint/bdd.js +1 -1
  59. package/dist-es/endpoint/endpointResolver.js +1 -1
  60. package/dist-es/models/CloudWatchServiceException.js +1 -1
  61. package/dist-es/runtimeConfig.browser.js +4 -6
  62. package/dist-es/runtimeConfig.js +4 -8
  63. package/dist-es/runtimeConfig.shared.js +3 -4
  64. package/dist-es/runtimeExtensions.js +2 -2
  65. package/dist-es/waiters/waitForAlarmExists.js +1 -1
  66. package/dist-es/waiters/waitForAlarmMuteRuleExists.js +1 -1
  67. package/dist-es/waiters/waitForCompositeAlarmExists.js +1 -1
  68. package/dist-types/CloudWatch.d.ts +1 -1
  69. package/dist-types/CloudWatchClient.d.ts +5 -5
  70. package/dist-types/commands/DeleteAlarmMuteRuleCommand.d.ts +6 -4
  71. package/dist-types/commands/DeleteAlarmsCommand.d.ts +6 -4
  72. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +6 -4
  73. package/dist-types/commands/DeleteDashboardsCommand.d.ts +6 -4
  74. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +6 -4
  75. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +6 -4
  76. package/dist-types/commands/DescribeAlarmContributorsCommand.d.ts +6 -4
  77. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +6 -4
  78. package/dist-types/commands/DescribeAlarmsCommand.d.ts +6 -4
  79. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +6 -4
  80. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +6 -4
  81. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +6 -4
  82. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +6 -4
  83. package/dist-types/commands/DisableInsightRulesCommand.d.ts +6 -4
  84. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +6 -4
  85. package/dist-types/commands/EnableInsightRulesCommand.d.ts +6 -4
  86. package/dist-types/commands/GetAlarmMuteRuleCommand.d.ts +6 -4
  87. package/dist-types/commands/GetDashboardCommand.d.ts +6 -4
  88. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +6 -4
  89. package/dist-types/commands/GetMetricDataCommand.d.ts +6 -4
  90. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +6 -4
  91. package/dist-types/commands/GetMetricStreamCommand.d.ts +6 -4
  92. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +6 -4
  93. package/dist-types/commands/GetOTelEnrichmentCommand.d.ts +6 -4
  94. package/dist-types/commands/ListAlarmMuteRulesCommand.d.ts +6 -4
  95. package/dist-types/commands/ListDashboardsCommand.d.ts +6 -4
  96. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +6 -4
  97. package/dist-types/commands/ListMetricStreamsCommand.d.ts +6 -4
  98. package/dist-types/commands/ListMetricsCommand.d.ts +6 -4
  99. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  100. package/dist-types/commands/PutAlarmMuteRuleCommand.d.ts +6 -4
  101. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +6 -4
  102. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +6 -4
  103. package/dist-types/commands/PutDashboardCommand.d.ts +6 -4
  104. package/dist-types/commands/PutInsightRuleCommand.d.ts +6 -4
  105. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +6 -4
  106. package/dist-types/commands/PutMetricAlarmCommand.d.ts +6 -4
  107. package/dist-types/commands/PutMetricDataCommand.d.ts +6 -4
  108. package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -4
  109. package/dist-types/commands/SetAlarmStateCommand.d.ts +6 -4
  110. package/dist-types/commands/StartMetricStreamsCommand.d.ts +6 -4
  111. package/dist-types/commands/StartOTelEnrichmentCommand.d.ts +6 -4
  112. package/dist-types/commands/StopMetricStreamsCommand.d.ts +6 -4
  113. package/dist-types/commands/StopOTelEnrichmentCommand.d.ts +6 -4
  114. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  115. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  116. package/dist-types/endpoint/bdd.d.ts +1 -1
  117. package/dist-types/extensionConfiguration.d.ts +1 -1
  118. package/dist-types/models/CloudWatchServiceException.d.ts +1 -1
  119. package/dist-types/models/errors.d.ts +1 -1
  120. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  121. package/dist-types/runtimeConfig.d.ts +2 -2
  122. package/dist-types/runtimeConfig.native.d.ts +2 -2
  123. package/dist-types/ts3.4/CloudWatch.d.ts +1 -1
  124. package/dist-types/ts3.4/CloudWatchClient.d.ts +12 -18
  125. package/dist-types/ts3.4/commands/DeleteAlarmMuteRuleCommand.d.ts +6 -4
  126. package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +6 -4
  127. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +6 -4
  128. package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +6 -4
  129. package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +6 -4
  130. package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +6 -4
  131. package/dist-types/ts3.4/commands/DescribeAlarmContributorsCommand.d.ts +6 -4
  132. package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +6 -4
  133. package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +6 -4
  134. package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +6 -4
  135. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +6 -4
  136. package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +6 -4
  137. package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +6 -4
  138. package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +6 -4
  139. package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +6 -4
  140. package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +6 -4
  141. package/dist-types/ts3.4/commands/GetAlarmMuteRuleCommand.d.ts +6 -4
  142. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +6 -4
  143. package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +6 -4
  144. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +6 -4
  145. package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +6 -4
  146. package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +6 -4
  147. package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +6 -4
  148. package/dist-types/ts3.4/commands/GetOTelEnrichmentCommand.d.ts +6 -4
  149. package/dist-types/ts3.4/commands/ListAlarmMuteRulesCommand.d.ts +6 -4
  150. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +6 -4
  151. package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +6 -4
  152. package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +6 -4
  153. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +6 -4
  154. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  155. package/dist-types/ts3.4/commands/PutAlarmMuteRuleCommand.d.ts +6 -4
  156. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +6 -4
  157. package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +6 -4
  158. package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +6 -4
  159. package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +6 -4
  160. package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +6 -4
  161. package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +6 -4
  162. package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +6 -4
  163. package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +6 -4
  164. package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +6 -4
  165. package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +6 -4
  166. package/dist-types/ts3.4/commands/StartOTelEnrichmentCommand.d.ts +6 -4
  167. package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +6 -4
  168. package/dist-types/ts3.4/commands/StopOTelEnrichmentCommand.d.ts +6 -4
  169. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  170. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  171. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  172. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  173. package/dist-types/ts3.4/models/CloudWatchServiceException.d.ts +1 -1
  174. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  175. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  176. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  177. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  178. package/dist-types/ts3.4/waiters/waitForAlarmExists.d.ts +1 -1
  179. package/dist-types/ts3.4/waiters/waitForAlarmMuteRuleExists.d.ts +1 -1
  180. package/dist-types/ts3.4/waiters/waitForCompositeAlarmExists.d.ts +1 -1
  181. package/dist-types/waiters/waitForAlarmExists.d.ts +1 -1
  182. package/dist-types/waiters/waitForAlarmMuteRuleExists.d.ts +1 -1
  183. package/dist-types/waiters/waitForCompositeAlarmExists.d.ts +1 -1
  184. package/package.json +15 -37
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { StartMetricStreams$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { StartOTelEnrichment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { StopMetricStreams$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { StopOTelEnrichment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,4 +1,4 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  const k = "ref";
3
3
  const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
4
4
  const _data = {
@@ -1,5 +1,5 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
3
  import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class CloudWatchServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,14 +1,12 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
3
  import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
4
+ import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
7
+ import { calculateBodyLength } from "@smithy/core/serde";
5
8
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
- import { invalidProvider } from "@smithy/invalid-dependency";
7
9
  import { DEFAULT_DISABLE_REQUEST_COMPRESSION, DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES, } from "@smithy/middleware-compression";
8
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
9
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
10
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
11
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
11
  export const getRuntimeConfig = (config) => {
14
12
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -3,16 +3,12 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
6
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
- import { Hash } from "@smithy/hash-node";
6
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
7
+ import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
8
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
9
+ import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
10
  import { NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS, NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS, } from "@smithy/middleware-compression";
9
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
10
- import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
11
11
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
12
- import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
13
- import { calculateBodyLength } from "@smithy/util-body-length-node";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
16
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
17
13
  export const getRuntimeConfig = (config) => {
18
14
  emitWarningIfUnsupportedVersion(process.version);
@@ -1,9 +1,8 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
3
- import { NoOpLogger } from "@smithy/smithy-client";
4
- import { parseUrl } from "@smithy/url-parser";
5
- import { fromBase64, toBase64 } from "@smithy/util-base64";
6
- import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
3
+ import { NoOpLogger } from "@smithy/core/client";
4
+ import { parseUrl } from "@smithy/core/protocols";
5
+ import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
7
6
  import { defaultCloudWatchHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
7
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
8
  import { errorTypeRegistries } from "./schemas/schemas_0";
@@ -1,6 +1,6 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
- import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
6
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { DescribeAlarmsCommand, } from "../commands/DescribeAlarmsCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { GetAlarmMuteRuleCommand, } from "../commands/GetAlarmMuteRuleCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { DescribeAlarmsCommand, } from "../commands/DescribeAlarmsCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,5 +1,5 @@
1
+ import { type WaiterResult } from "@smithy/core/client";
1
2
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
- import type { WaiterResult } from "@smithy/util-waiter";
3
3
  import { CloudWatchClient } from "./CloudWatchClient";
4
4
  import { type DeleteAlarmMuteRuleCommandInput, type DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
5
5
  import { type DeleteAlarmsCommandInput, type DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
@@ -1,11 +1,11 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
7
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
4
8
  import { type CompressionInputConfig, type CompressionResolvedConfig } from "@smithy/middleware-compression";
5
- import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
6
- import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
7
- import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
8
- import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
9
9
  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";
10
10
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
11
  import type { DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DeleteAlarmMuteRuleInput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteAlarmMuteRuleCommandInput extends DeleteAlarmMuteRuleInpu
22
22
  export interface DeleteAlarmMuteRuleCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteAlarmMuteRuleCommand_base: {
25
- new (input: DeleteAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteAlarmMuteRuleCommandInput): import("@smithy/core/client").CommandImpl<DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAlarmMuteRuleCommandInput): import("@smithy/core/client").CommandImpl<DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes a specific alarm mute rule.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DeleteAlarmsInput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteAlarmsCommandInput extends DeleteAlarmsInput {
22
22
  export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteAlarmsCommand_base: {
25
- new (input: DeleteAlarmsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteAlarmsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteAlarmsCommandInput): import("@smithy/core/client").CommandImpl<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAlarmsCommandInput): import("@smithy/core/client").CommandImpl<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes the specified alarms. You can delete up to 100 alarms in one operation.
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DeleteAnomalyDetectorInput, DeleteAnomalyDetectorOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetector
22
22
  export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetectorOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteAnomalyDetectorCommand_base: {
25
- new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DeleteAnomalyDetectorCommandInput]): import("@smithy/smithy-client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DeleteAnomalyDetectorCommandInput]): import("@smithy/core/client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p> Deletes the specified anomaly detection model from your account. For more information
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DeleteDashboardsInput, DeleteDashboardsOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteDashboardsCommandInput extends DeleteDashboardsInput {
22
22
  export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteDashboardsCommand_base: {
25
- new (input: DeleteDashboardsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteDashboardsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteDashboardsCommandInput): import("@smithy/core/client").CommandImpl<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteDashboardsCommandInput): import("@smithy/core/client").CommandImpl<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes all dashboards that you specify. You can specify up to 100 dashboards to
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DeleteInsightRulesInput, DeleteInsightRulesOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteInsightRulesCommandInput extends DeleteInsightRulesInput
22
22
  export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteInsightRulesCommand_base: {
25
- new (input: DeleteInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteInsightRulesCommandInput): import("@smithy/core/client").CommandImpl<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteInsightRulesCommandInput): import("@smithy/core/client").CommandImpl<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Permanently deletes the specified Contributor Insights rules.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DeleteMetricStreamInput, DeleteMetricStreamOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteMetricStreamCommandInput extends DeleteMetricStreamInput
22
22
  export interface DeleteMetricStreamCommandOutput extends DeleteMetricStreamOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteMetricStreamCommand_base: {
25
- new (input: DeleteMetricStreamCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteMetricStreamCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteMetricStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteMetricStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Permanently deletes the metric stream that you specify.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DescribeAlarmContributorsInput, DescribeAlarmContributorsOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DescribeAlarmContributorsCommandInput extends DescribeAlarmCont
22
22
  export interface DescribeAlarmContributorsCommandOutput extends DescribeAlarmContributorsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeAlarmContributorsCommand_base: {
25
- new (input: DescribeAlarmContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlarmContributorsCommandInput, DescribeAlarmContributorsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeAlarmContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlarmContributorsCommandInput, DescribeAlarmContributorsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeAlarmContributorsCommandInput): import("@smithy/core/client").CommandImpl<DescribeAlarmContributorsCommandInput, DescribeAlarmContributorsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeAlarmContributorsCommandInput): import("@smithy/core/client").CommandImpl<DescribeAlarmContributorsCommandInput, DescribeAlarmContributorsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns the information of the current alarm contributors that are in <code>ALARM</code> state. This operation returns details about the individual time series that contribute to the alarm's state.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DescribeAlarmHistoryInput, DescribeAlarmHistoryOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DescribeAlarmHistoryCommandInput extends DescribeAlarmHistoryIn
22
22
  export interface DescribeAlarmHistoryCommandOutput extends DescribeAlarmHistoryOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeAlarmHistoryCommand_base: {
25
- new (input: DescribeAlarmHistoryCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeAlarmHistoryCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeAlarmHistoryCommandInput): import("@smithy/core/client").CommandImpl<DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeAlarmHistoryCommandInput]): import("@smithy/core/client").CommandImpl<DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves the history for the specified alarm. You can filter the results by date
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DescribeAlarmsInput, DescribeAlarmsOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DescribeAlarmsCommandInput extends DescribeAlarmsInput {
22
22
  export interface DescribeAlarmsCommandOutput extends DescribeAlarmsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeAlarmsCommand_base: {
25
- new (input: DescribeAlarmsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeAlarmsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeAlarmsCommandInput): import("@smithy/core/client").CommandImpl<DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeAlarmsCommandInput]): import("@smithy/core/client").CommandImpl<DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves the specified alarms. You can filter the results by specifying a prefix
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DescribeAlarmsForMetricInput, DescribeAlarmsForMetricOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DescribeAlarmsForMetricCommandInput extends DescribeAlarmsForMe
22
22
  export interface DescribeAlarmsForMetricCommandOutput extends DescribeAlarmsForMetricOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeAlarmsForMetricCommand_base: {
25
- new (input: DescribeAlarmsForMetricCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeAlarmsForMetricCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeAlarmsForMetricCommandInput): import("@smithy/core/client").CommandImpl<DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeAlarmsForMetricCommandInput): import("@smithy/core/client").CommandImpl<DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves the alarms for the specified metric. To filter the results, specify a
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DescribeAnomalyDetectorsInput, DescribeAnomalyDetectorsOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DescribeAnomalyDetectorsCommandInput extends DescribeAnomalyDet
22
22
  export interface DescribeAnomalyDetectorsCommandOutput extends DescribeAnomalyDetectorsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeAnomalyDetectorsCommand_base: {
25
- new (input: DescribeAnomalyDetectorsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeAnomalyDetectorsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeAnomalyDetectorsCommandInput): import("@smithy/core/client").CommandImpl<DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeAnomalyDetectorsCommandInput]): import("@smithy/core/client").CommandImpl<DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Lists the anomaly detection models that you have created in your account. For single
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DescribeInsightRulesInput, DescribeInsightRulesOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DescribeInsightRulesCommandInput extends DescribeInsightRulesIn
22
22
  export interface DescribeInsightRulesCommandOutput extends DescribeInsightRulesOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeInsightRulesCommand_base: {
25
- new (input: DescribeInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeInsightRulesCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeInsightRulesCommandInput): import("@smithy/core/client").CommandImpl<DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeInsightRulesCommandInput]): import("@smithy/core/client").CommandImpl<DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a list of all the Contributor Insights rules in your account.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DisableAlarmActionsInput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DisableAlarmActionsCommandInput extends DisableAlarmActionsInpu
22
22
  export interface DisableAlarmActionsCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DisableAlarmActionsCommand_base: {
25
- new (input: DisableAlarmActionsCommandInput): import("@smithy/smithy-client").CommandImpl<DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisableAlarmActionsCommandInput): import("@smithy/smithy-client").CommandImpl<DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DisableAlarmActionsCommandInput): import("@smithy/core/client").CommandImpl<DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisableAlarmActionsCommandInput): import("@smithy/core/client").CommandImpl<DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Disables the actions for the specified alarms. When an alarm's actions are
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { DisableInsightRulesInput, DisableInsightRulesOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DisableInsightRulesCommandInput extends DisableInsightRulesInpu
22
22
  export interface DisableInsightRulesCommandOutput extends DisableInsightRulesOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DisableInsightRulesCommand_base: {
25
- new (input: DisableInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl<DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisableInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl<DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DisableInsightRulesCommandInput): import("@smithy/core/client").CommandImpl<DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisableInsightRulesCommandInput): import("@smithy/core/client").CommandImpl<DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Disables the specified Contributor Insights rules. When rules are disabled, they do
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { EnableAlarmActionsInput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface EnableAlarmActionsCommandInput extends EnableAlarmActionsInput
22
22
  export interface EnableAlarmActionsCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const EnableAlarmActionsCommand_base: {
25
- new (input: EnableAlarmActionsCommandInput): import("@smithy/smithy-client").CommandImpl<EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: EnableAlarmActionsCommandInput): import("@smithy/smithy-client").CommandImpl<EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: EnableAlarmActionsCommandInput): import("@smithy/core/client").CommandImpl<EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: EnableAlarmActionsCommandInput): import("@smithy/core/client").CommandImpl<EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Enables the actions for the specified alarms.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { EnableInsightRulesInput, EnableInsightRulesOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface EnableInsightRulesCommandInput extends EnableInsightRulesInput
22
22
  export interface EnableInsightRulesCommandOutput extends EnableInsightRulesOutput, __MetadataBearer {
23
23
  }
24
24
  declare const EnableInsightRulesCommand_base: {
25
- new (input: EnableInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl<EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: EnableInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl<EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: EnableInsightRulesCommandInput): import("@smithy/core/client").CommandImpl<EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: EnableInsightRulesCommandInput): import("@smithy/core/client").CommandImpl<EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Enables the specified Contributor Insights rules. When rules are enabled, they
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
4
  import type { GetAlarmMuteRuleInput, GetAlarmMuteRuleOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface GetAlarmMuteRuleCommandInput extends GetAlarmMuteRuleInput {
22
22
  export interface GetAlarmMuteRuleCommandOutput extends GetAlarmMuteRuleOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetAlarmMuteRuleCommand_base: {
25
- new (input: GetAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetAlarmMuteRuleCommandInput): import("@smithy/core/client").CommandImpl<GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetAlarmMuteRuleCommandInput): import("@smithy/core/client").CommandImpl<GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves details for a specific alarm mute rule.</p>