@aws-sdk/client-cloudwatch 3.1045.0 → 3.1047.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
package/dist-cjs/index.js CHANGED
@@ -4,20 +4,18 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
14
  var middlewareCompression = require('@smithy/middleware-compression');
11
- var middlewareContentLength = require('@smithy/middleware-content-length');
12
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
13
- var middlewareRetry = require('@smithy/middleware-retry');
14
- var smithyClient = require('@smithy/smithy-client');
15
15
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
16
16
  var runtimeConfig = require('./runtimeConfig');
17
17
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
18
- var protocolHttp = require('@smithy/protocol-http');
19
18
  var schemas_0 = require('./schemas/schemas_0');
20
- var utilWaiter = require('@smithy/util-waiter');
21
19
  var errors = require('./models/errors');
22
20
  var CloudWatchServiceException = require('./models/CloudWatchServiceException');
23
21
 
@@ -75,12 +73,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
75
73
  };
76
74
 
77
75
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
78
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
79
77
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
80
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
81
79
  };
82
80
 
83
- class CloudWatchClient extends smithyClient.Client {
81
+ class CloudWatchClient extends client.Client {
84
82
  config;
85
83
  constructor(...[configuration]) {
86
84
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -88,18 +86,18 @@ class CloudWatchClient extends smithyClient.Client {
88
86
  this.initConfig = _config_0;
89
87
  const _config_1 = resolveClientEndpointParameters(_config_0);
90
88
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
91
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
92
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_3 = retry.resolveRetryConfig(_config_2);
90
+ const _config_4 = config.resolveRegionConfig(_config_3);
93
91
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
94
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
92
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
95
93
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
96
94
  const _config_8 = middlewareCompression.resolveCompressionConfig(_config_7);
97
95
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
98
96
  this.config = _config_9;
99
97
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
100
98
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
101
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
102
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
99
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
100
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
103
101
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
104
102
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
105
103
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -116,11 +114,11 @@ class CloudWatchClient extends smithyClient.Client {
116
114
  }
117
115
  }
118
116
 
119
- class DeleteAlarmMuteRuleCommand extends smithyClient.Command
117
+ class DeleteAlarmMuteRuleCommand extends client.Command
120
118
  .classBuilder()
121
119
  .ep(commonParams)
122
120
  .m(function (Command, cs, config, o) {
123
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
121
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
124
122
  })
125
123
  .s("GraniteServiceVersion20100801", "DeleteAlarmMuteRule", {})
126
124
  .n("CloudWatchClient", "DeleteAlarmMuteRuleCommand")
@@ -128,11 +126,11 @@ class DeleteAlarmMuteRuleCommand extends smithyClient.Command
128
126
  .build() {
129
127
  }
130
128
 
131
- class DeleteAlarmsCommand extends smithyClient.Command
129
+ class DeleteAlarmsCommand extends client.Command
132
130
  .classBuilder()
133
131
  .ep(commonParams)
134
132
  .m(function (Command, cs, config, o) {
135
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
133
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
136
134
  })
137
135
  .s("GraniteServiceVersion20100801", "DeleteAlarms", {})
138
136
  .n("CloudWatchClient", "DeleteAlarmsCommand")
@@ -140,11 +138,11 @@ class DeleteAlarmsCommand extends smithyClient.Command
140
138
  .build() {
141
139
  }
142
140
 
143
- class DeleteAnomalyDetectorCommand extends smithyClient.Command
141
+ class DeleteAnomalyDetectorCommand extends client.Command
144
142
  .classBuilder()
145
143
  .ep(commonParams)
146
144
  .m(function (Command, cs, config, o) {
147
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
145
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
148
146
  })
149
147
  .s("GraniteServiceVersion20100801", "DeleteAnomalyDetector", {})
150
148
  .n("CloudWatchClient", "DeleteAnomalyDetectorCommand")
@@ -152,11 +150,11 @@ class DeleteAnomalyDetectorCommand extends smithyClient.Command
152
150
  .build() {
153
151
  }
154
152
 
155
- class DeleteDashboardsCommand extends smithyClient.Command
153
+ class DeleteDashboardsCommand extends client.Command
156
154
  .classBuilder()
157
155
  .ep(commonParams)
158
156
  .m(function (Command, cs, config, o) {
159
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
157
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
160
158
  })
161
159
  .s("GraniteServiceVersion20100801", "DeleteDashboards", {})
162
160
  .n("CloudWatchClient", "DeleteDashboardsCommand")
@@ -164,11 +162,11 @@ class DeleteDashboardsCommand extends smithyClient.Command
164
162
  .build() {
165
163
  }
166
164
 
167
- class DeleteInsightRulesCommand extends smithyClient.Command
165
+ class DeleteInsightRulesCommand extends client.Command
168
166
  .classBuilder()
169
167
  .ep(commonParams)
170
168
  .m(function (Command, cs, config, o) {
171
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
169
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
172
170
  })
173
171
  .s("GraniteServiceVersion20100801", "DeleteInsightRules", {})
174
172
  .n("CloudWatchClient", "DeleteInsightRulesCommand")
@@ -176,11 +174,11 @@ class DeleteInsightRulesCommand extends smithyClient.Command
176
174
  .build() {
177
175
  }
178
176
 
179
- class DeleteMetricStreamCommand extends smithyClient.Command
177
+ class DeleteMetricStreamCommand extends client.Command
180
178
  .classBuilder()
181
179
  .ep(commonParams)
182
180
  .m(function (Command, cs, config, o) {
183
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
181
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
184
182
  })
185
183
  .s("GraniteServiceVersion20100801", "DeleteMetricStream", {})
186
184
  .n("CloudWatchClient", "DeleteMetricStreamCommand")
@@ -188,11 +186,11 @@ class DeleteMetricStreamCommand extends smithyClient.Command
188
186
  .build() {
189
187
  }
190
188
 
191
- class DescribeAlarmContributorsCommand extends smithyClient.Command
189
+ class DescribeAlarmContributorsCommand extends client.Command
192
190
  .classBuilder()
193
191
  .ep(commonParams)
194
192
  .m(function (Command, cs, config, o) {
195
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
193
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
196
194
  })
197
195
  .s("GraniteServiceVersion20100801", "DescribeAlarmContributors", {})
198
196
  .n("CloudWatchClient", "DescribeAlarmContributorsCommand")
@@ -200,11 +198,11 @@ class DescribeAlarmContributorsCommand extends smithyClient.Command
200
198
  .build() {
201
199
  }
202
200
 
203
- class DescribeAlarmHistoryCommand extends smithyClient.Command
201
+ class DescribeAlarmHistoryCommand extends client.Command
204
202
  .classBuilder()
205
203
  .ep(commonParams)
206
204
  .m(function (Command, cs, config, o) {
207
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
205
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
208
206
  })
209
207
  .s("GraniteServiceVersion20100801", "DescribeAlarmHistory", {})
210
208
  .n("CloudWatchClient", "DescribeAlarmHistoryCommand")
@@ -212,11 +210,11 @@ class DescribeAlarmHistoryCommand extends smithyClient.Command
212
210
  .build() {
213
211
  }
214
212
 
215
- class DescribeAlarmsCommand extends smithyClient.Command
213
+ class DescribeAlarmsCommand extends client.Command
216
214
  .classBuilder()
217
215
  .ep(commonParams)
218
216
  .m(function (Command, cs, config, o) {
219
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
217
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
220
218
  })
221
219
  .s("GraniteServiceVersion20100801", "DescribeAlarms", {})
222
220
  .n("CloudWatchClient", "DescribeAlarmsCommand")
@@ -224,11 +222,11 @@ class DescribeAlarmsCommand extends smithyClient.Command
224
222
  .build() {
225
223
  }
226
224
 
227
- class DescribeAlarmsForMetricCommand extends smithyClient.Command
225
+ class DescribeAlarmsForMetricCommand extends client.Command
228
226
  .classBuilder()
229
227
  .ep(commonParams)
230
228
  .m(function (Command, cs, config, o) {
231
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
229
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
232
230
  })
233
231
  .s("GraniteServiceVersion20100801", "DescribeAlarmsForMetric", {})
234
232
  .n("CloudWatchClient", "DescribeAlarmsForMetricCommand")
@@ -236,11 +234,11 @@ class DescribeAlarmsForMetricCommand extends smithyClient.Command
236
234
  .build() {
237
235
  }
238
236
 
239
- class DescribeAnomalyDetectorsCommand extends smithyClient.Command
237
+ class DescribeAnomalyDetectorsCommand extends client.Command
240
238
  .classBuilder()
241
239
  .ep(commonParams)
242
240
  .m(function (Command, cs, config, o) {
243
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
241
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
244
242
  })
245
243
  .s("GraniteServiceVersion20100801", "DescribeAnomalyDetectors", {})
246
244
  .n("CloudWatchClient", "DescribeAnomalyDetectorsCommand")
@@ -248,11 +246,11 @@ class DescribeAnomalyDetectorsCommand extends smithyClient.Command
248
246
  .build() {
249
247
  }
250
248
 
251
- class DescribeInsightRulesCommand extends smithyClient.Command
249
+ class DescribeInsightRulesCommand extends client.Command
252
250
  .classBuilder()
253
251
  .ep(commonParams)
254
252
  .m(function (Command, cs, config, o) {
255
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
253
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
256
254
  })
257
255
  .s("GraniteServiceVersion20100801", "DescribeInsightRules", {})
258
256
  .n("CloudWatchClient", "DescribeInsightRulesCommand")
@@ -260,11 +258,11 @@ class DescribeInsightRulesCommand extends smithyClient.Command
260
258
  .build() {
261
259
  }
262
260
 
263
- class DisableAlarmActionsCommand extends smithyClient.Command
261
+ class DisableAlarmActionsCommand extends client.Command
264
262
  .classBuilder()
265
263
  .ep(commonParams)
266
264
  .m(function (Command, cs, config, o) {
267
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
265
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
268
266
  })
269
267
  .s("GraniteServiceVersion20100801", "DisableAlarmActions", {})
270
268
  .n("CloudWatchClient", "DisableAlarmActionsCommand")
@@ -272,11 +270,11 @@ class DisableAlarmActionsCommand extends smithyClient.Command
272
270
  .build() {
273
271
  }
274
272
 
275
- class DisableInsightRulesCommand extends smithyClient.Command
273
+ class DisableInsightRulesCommand extends client.Command
276
274
  .classBuilder()
277
275
  .ep(commonParams)
278
276
  .m(function (Command, cs, config, o) {
279
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
277
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
280
278
  })
281
279
  .s("GraniteServiceVersion20100801", "DisableInsightRules", {})
282
280
  .n("CloudWatchClient", "DisableInsightRulesCommand")
@@ -284,11 +282,11 @@ class DisableInsightRulesCommand extends smithyClient.Command
284
282
  .build() {
285
283
  }
286
284
 
287
- class EnableAlarmActionsCommand extends smithyClient.Command
285
+ class EnableAlarmActionsCommand extends client.Command
288
286
  .classBuilder()
289
287
  .ep(commonParams)
290
288
  .m(function (Command, cs, config, o) {
291
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
289
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
292
290
  })
293
291
  .s("GraniteServiceVersion20100801", "EnableAlarmActions", {})
294
292
  .n("CloudWatchClient", "EnableAlarmActionsCommand")
@@ -296,11 +294,11 @@ class EnableAlarmActionsCommand extends smithyClient.Command
296
294
  .build() {
297
295
  }
298
296
 
299
- class EnableInsightRulesCommand extends smithyClient.Command
297
+ class EnableInsightRulesCommand extends client.Command
300
298
  .classBuilder()
301
299
  .ep(commonParams)
302
300
  .m(function (Command, cs, config, o) {
303
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
301
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
304
302
  })
305
303
  .s("GraniteServiceVersion20100801", "EnableInsightRules", {})
306
304
  .n("CloudWatchClient", "EnableInsightRulesCommand")
@@ -308,11 +306,11 @@ class EnableInsightRulesCommand extends smithyClient.Command
308
306
  .build() {
309
307
  }
310
308
 
311
- class GetAlarmMuteRuleCommand extends smithyClient.Command
309
+ class GetAlarmMuteRuleCommand extends client.Command
312
310
  .classBuilder()
313
311
  .ep(commonParams)
314
312
  .m(function (Command, cs, config, o) {
315
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
313
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
316
314
  })
317
315
  .s("GraniteServiceVersion20100801", "GetAlarmMuteRule", {})
318
316
  .n("CloudWatchClient", "GetAlarmMuteRuleCommand")
@@ -320,11 +318,11 @@ class GetAlarmMuteRuleCommand extends smithyClient.Command
320
318
  .build() {
321
319
  }
322
320
 
323
- class GetDashboardCommand extends smithyClient.Command
321
+ class GetDashboardCommand extends client.Command
324
322
  .classBuilder()
325
323
  .ep(commonParams)
326
324
  .m(function (Command, cs, config, o) {
327
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
325
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
328
326
  })
329
327
  .s("GraniteServiceVersion20100801", "GetDashboard", {})
330
328
  .n("CloudWatchClient", "GetDashboardCommand")
@@ -332,11 +330,11 @@ class GetDashboardCommand extends smithyClient.Command
332
330
  .build() {
333
331
  }
334
332
 
335
- class GetInsightRuleReportCommand extends smithyClient.Command
333
+ class GetInsightRuleReportCommand extends client.Command
336
334
  .classBuilder()
337
335
  .ep(commonParams)
338
336
  .m(function (Command, cs, config, o) {
339
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
337
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
340
338
  })
341
339
  .s("GraniteServiceVersion20100801", "GetInsightRuleReport", {})
342
340
  .n("CloudWatchClient", "GetInsightRuleReportCommand")
@@ -344,11 +342,11 @@ class GetInsightRuleReportCommand extends smithyClient.Command
344
342
  .build() {
345
343
  }
346
344
 
347
- class GetMetricDataCommand extends smithyClient.Command
345
+ class GetMetricDataCommand extends client.Command
348
346
  .classBuilder()
349
347
  .ep(commonParams)
350
348
  .m(function (Command, cs, config, o) {
351
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
349
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
352
350
  })
353
351
  .s("GraniteServiceVersion20100801", "GetMetricData", {})
354
352
  .n("CloudWatchClient", "GetMetricDataCommand")
@@ -356,11 +354,11 @@ class GetMetricDataCommand extends smithyClient.Command
356
354
  .build() {
357
355
  }
358
356
 
359
- class GetMetricStatisticsCommand extends smithyClient.Command
357
+ class GetMetricStatisticsCommand extends client.Command
360
358
  .classBuilder()
361
359
  .ep(commonParams)
362
360
  .m(function (Command, cs, config, o) {
363
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
361
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
364
362
  })
365
363
  .s("GraniteServiceVersion20100801", "GetMetricStatistics", {})
366
364
  .n("CloudWatchClient", "GetMetricStatisticsCommand")
@@ -368,11 +366,11 @@ class GetMetricStatisticsCommand extends smithyClient.Command
368
366
  .build() {
369
367
  }
370
368
 
371
- class GetMetricStreamCommand extends smithyClient.Command
369
+ class GetMetricStreamCommand extends client.Command
372
370
  .classBuilder()
373
371
  .ep(commonParams)
374
372
  .m(function (Command, cs, config, o) {
375
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
373
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
376
374
  })
377
375
  .s("GraniteServiceVersion20100801", "GetMetricStream", {})
378
376
  .n("CloudWatchClient", "GetMetricStreamCommand")
@@ -380,11 +378,11 @@ class GetMetricStreamCommand extends smithyClient.Command
380
378
  .build() {
381
379
  }
382
380
 
383
- class GetMetricWidgetImageCommand extends smithyClient.Command
381
+ class GetMetricWidgetImageCommand extends client.Command
384
382
  .classBuilder()
385
383
  .ep(commonParams)
386
384
  .m(function (Command, cs, config, o) {
387
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
385
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
388
386
  })
389
387
  .s("GraniteServiceVersion20100801", "GetMetricWidgetImage", {})
390
388
  .n("CloudWatchClient", "GetMetricWidgetImageCommand")
@@ -392,11 +390,11 @@ class GetMetricWidgetImageCommand extends smithyClient.Command
392
390
  .build() {
393
391
  }
394
392
 
395
- class GetOTelEnrichmentCommand extends smithyClient.Command
393
+ class GetOTelEnrichmentCommand extends client.Command
396
394
  .classBuilder()
397
395
  .ep(commonParams)
398
396
  .m(function (Command, cs, config, o) {
399
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
397
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
400
398
  })
401
399
  .s("GraniteServiceVersion20100801", "GetOTelEnrichment", {})
402
400
  .n("CloudWatchClient", "GetOTelEnrichmentCommand")
@@ -404,11 +402,11 @@ class GetOTelEnrichmentCommand extends smithyClient.Command
404
402
  .build() {
405
403
  }
406
404
 
407
- class ListAlarmMuteRulesCommand extends smithyClient.Command
405
+ class ListAlarmMuteRulesCommand extends client.Command
408
406
  .classBuilder()
409
407
  .ep(commonParams)
410
408
  .m(function (Command, cs, config, o) {
411
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
409
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
412
410
  })
413
411
  .s("GraniteServiceVersion20100801", "ListAlarmMuteRules", {})
414
412
  .n("CloudWatchClient", "ListAlarmMuteRulesCommand")
@@ -416,11 +414,11 @@ class ListAlarmMuteRulesCommand extends smithyClient.Command
416
414
  .build() {
417
415
  }
418
416
 
419
- class ListDashboardsCommand extends smithyClient.Command
417
+ class ListDashboardsCommand extends client.Command
420
418
  .classBuilder()
421
419
  .ep(commonParams)
422
420
  .m(function (Command, cs, config, o) {
423
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
421
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
424
422
  })
425
423
  .s("GraniteServiceVersion20100801", "ListDashboards", {})
426
424
  .n("CloudWatchClient", "ListDashboardsCommand")
@@ -428,11 +426,11 @@ class ListDashboardsCommand extends smithyClient.Command
428
426
  .build() {
429
427
  }
430
428
 
431
- class ListManagedInsightRulesCommand extends smithyClient.Command
429
+ class ListManagedInsightRulesCommand extends client.Command
432
430
  .classBuilder()
433
431
  .ep(commonParams)
434
432
  .m(function (Command, cs, config, o) {
435
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
433
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
436
434
  })
437
435
  .s("GraniteServiceVersion20100801", "ListManagedInsightRules", {})
438
436
  .n("CloudWatchClient", "ListManagedInsightRulesCommand")
@@ -440,11 +438,11 @@ class ListManagedInsightRulesCommand extends smithyClient.Command
440
438
  .build() {
441
439
  }
442
440
 
443
- class ListMetricsCommand extends smithyClient.Command
441
+ class ListMetricsCommand extends client.Command
444
442
  .classBuilder()
445
443
  .ep(commonParams)
446
444
  .m(function (Command, cs, config, o) {
447
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
445
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
448
446
  })
449
447
  .s("GraniteServiceVersion20100801", "ListMetrics", {})
450
448
  .n("CloudWatchClient", "ListMetricsCommand")
@@ -452,11 +450,11 @@ class ListMetricsCommand extends smithyClient.Command
452
450
  .build() {
453
451
  }
454
452
 
455
- class ListMetricStreamsCommand extends smithyClient.Command
453
+ class ListMetricStreamsCommand extends client.Command
456
454
  .classBuilder()
457
455
  .ep(commonParams)
458
456
  .m(function (Command, cs, config, o) {
459
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
457
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
460
458
  })
461
459
  .s("GraniteServiceVersion20100801", "ListMetricStreams", {})
462
460
  .n("CloudWatchClient", "ListMetricStreamsCommand")
@@ -464,11 +462,11 @@ class ListMetricStreamsCommand extends smithyClient.Command
464
462
  .build() {
465
463
  }
466
464
 
467
- class ListTagsForResourceCommand extends smithyClient.Command
465
+ class ListTagsForResourceCommand extends client.Command
468
466
  .classBuilder()
469
467
  .ep(commonParams)
470
468
  .m(function (Command, cs, config, o) {
471
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
469
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
472
470
  })
473
471
  .s("GraniteServiceVersion20100801", "ListTagsForResource", {})
474
472
  .n("CloudWatchClient", "ListTagsForResourceCommand")
@@ -476,11 +474,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
476
474
  .build() {
477
475
  }
478
476
 
479
- class PutAlarmMuteRuleCommand extends smithyClient.Command
477
+ class PutAlarmMuteRuleCommand extends client.Command
480
478
  .classBuilder()
481
479
  .ep(commonParams)
482
480
  .m(function (Command, cs, config, o) {
483
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
481
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
484
482
  })
485
483
  .s("GraniteServiceVersion20100801", "PutAlarmMuteRule", {})
486
484
  .n("CloudWatchClient", "PutAlarmMuteRuleCommand")
@@ -488,11 +486,11 @@ class PutAlarmMuteRuleCommand extends smithyClient.Command
488
486
  .build() {
489
487
  }
490
488
 
491
- class PutAnomalyDetectorCommand extends smithyClient.Command
489
+ class PutAnomalyDetectorCommand extends client.Command
492
490
  .classBuilder()
493
491
  .ep(commonParams)
494
492
  .m(function (Command, cs, config, o) {
495
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
493
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
496
494
  })
497
495
  .s("GraniteServiceVersion20100801", "PutAnomalyDetector", {})
498
496
  .n("CloudWatchClient", "PutAnomalyDetectorCommand")
@@ -500,11 +498,11 @@ class PutAnomalyDetectorCommand extends smithyClient.Command
500
498
  .build() {
501
499
  }
502
500
 
503
- class PutCompositeAlarmCommand extends smithyClient.Command
501
+ class PutCompositeAlarmCommand extends client.Command
504
502
  .classBuilder()
505
503
  .ep(commonParams)
506
504
  .m(function (Command, cs, config, o) {
507
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
505
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
508
506
  })
509
507
  .s("GraniteServiceVersion20100801", "PutCompositeAlarm", {})
510
508
  .n("CloudWatchClient", "PutCompositeAlarmCommand")
@@ -512,11 +510,11 @@ class PutCompositeAlarmCommand extends smithyClient.Command
512
510
  .build() {
513
511
  }
514
512
 
515
- class PutDashboardCommand extends smithyClient.Command
513
+ class PutDashboardCommand extends client.Command
516
514
  .classBuilder()
517
515
  .ep(commonParams)
518
516
  .m(function (Command, cs, config, o) {
519
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
517
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
520
518
  })
521
519
  .s("GraniteServiceVersion20100801", "PutDashboard", {})
522
520
  .n("CloudWatchClient", "PutDashboardCommand")
@@ -524,11 +522,11 @@ class PutDashboardCommand extends smithyClient.Command
524
522
  .build() {
525
523
  }
526
524
 
527
- class PutInsightRuleCommand extends smithyClient.Command
525
+ class PutInsightRuleCommand extends client.Command
528
526
  .classBuilder()
529
527
  .ep(commonParams)
530
528
  .m(function (Command, cs, config, o) {
531
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
529
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
532
530
  })
533
531
  .s("GraniteServiceVersion20100801", "PutInsightRule", {})
534
532
  .n("CloudWatchClient", "PutInsightRuleCommand")
@@ -536,11 +534,11 @@ class PutInsightRuleCommand extends smithyClient.Command
536
534
  .build() {
537
535
  }
538
536
 
539
- class PutManagedInsightRulesCommand extends smithyClient.Command
537
+ class PutManagedInsightRulesCommand extends client.Command
540
538
  .classBuilder()
541
539
  .ep(commonParams)
542
540
  .m(function (Command, cs, config, o) {
543
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
541
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
544
542
  })
545
543
  .s("GraniteServiceVersion20100801", "PutManagedInsightRules", {})
546
544
  .n("CloudWatchClient", "PutManagedInsightRulesCommand")
@@ -548,11 +546,11 @@ class PutManagedInsightRulesCommand extends smithyClient.Command
548
546
  .build() {
549
547
  }
550
548
 
551
- class PutMetricAlarmCommand extends smithyClient.Command
549
+ class PutMetricAlarmCommand extends client.Command
552
550
  .classBuilder()
553
551
  .ep(commonParams)
554
552
  .m(function (Command, cs, config, o) {
555
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
553
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
556
554
  })
557
555
  .s("GraniteServiceVersion20100801", "PutMetricAlarm", {})
558
556
  .n("CloudWatchClient", "PutMetricAlarmCommand")
@@ -560,12 +558,12 @@ class PutMetricAlarmCommand extends smithyClient.Command
560
558
  .build() {
561
559
  }
562
560
 
563
- class PutMetricDataCommand extends smithyClient.Command
561
+ class PutMetricDataCommand extends client.Command
564
562
  .classBuilder()
565
563
  .ep(commonParams)
566
564
  .m(function (Command, cs, config, o) {
567
565
  return [
568
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
566
+ endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
569
567
  middlewareCompression.getCompressionPlugin(config, {
570
568
  'encodings': ['gzip'],
571
569
  }),
@@ -577,11 +575,11 @@ class PutMetricDataCommand extends smithyClient.Command
577
575
  .build() {
578
576
  }
579
577
 
580
- class PutMetricStreamCommand extends smithyClient.Command
578
+ class PutMetricStreamCommand extends client.Command
581
579
  .classBuilder()
582
580
  .ep(commonParams)
583
581
  .m(function (Command, cs, config, o) {
584
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
582
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
585
583
  })
586
584
  .s("GraniteServiceVersion20100801", "PutMetricStream", {})
587
585
  .n("CloudWatchClient", "PutMetricStreamCommand")
@@ -589,11 +587,11 @@ class PutMetricStreamCommand extends smithyClient.Command
589
587
  .build() {
590
588
  }
591
589
 
592
- class SetAlarmStateCommand extends smithyClient.Command
590
+ class SetAlarmStateCommand extends client.Command
593
591
  .classBuilder()
594
592
  .ep(commonParams)
595
593
  .m(function (Command, cs, config, o) {
596
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
594
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
597
595
  })
598
596
  .s("GraniteServiceVersion20100801", "SetAlarmState", {})
599
597
  .n("CloudWatchClient", "SetAlarmStateCommand")
@@ -601,11 +599,11 @@ class SetAlarmStateCommand extends smithyClient.Command
601
599
  .build() {
602
600
  }
603
601
 
604
- class StartMetricStreamsCommand extends smithyClient.Command
602
+ class StartMetricStreamsCommand extends client.Command
605
603
  .classBuilder()
606
604
  .ep(commonParams)
607
605
  .m(function (Command, cs, config, o) {
608
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
606
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
609
607
  })
610
608
  .s("GraniteServiceVersion20100801", "StartMetricStreams", {})
611
609
  .n("CloudWatchClient", "StartMetricStreamsCommand")
@@ -613,11 +611,11 @@ class StartMetricStreamsCommand extends smithyClient.Command
613
611
  .build() {
614
612
  }
615
613
 
616
- class StartOTelEnrichmentCommand extends smithyClient.Command
614
+ class StartOTelEnrichmentCommand extends client.Command
617
615
  .classBuilder()
618
616
  .ep(commonParams)
619
617
  .m(function (Command, cs, config, o) {
620
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
618
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
621
619
  })
622
620
  .s("GraniteServiceVersion20100801", "StartOTelEnrichment", {})
623
621
  .n("CloudWatchClient", "StartOTelEnrichmentCommand")
@@ -625,11 +623,11 @@ class StartOTelEnrichmentCommand extends smithyClient.Command
625
623
  .build() {
626
624
  }
627
625
 
628
- class StopMetricStreamsCommand extends smithyClient.Command
626
+ class StopMetricStreamsCommand extends client.Command
629
627
  .classBuilder()
630
628
  .ep(commonParams)
631
629
  .m(function (Command, cs, config, o) {
632
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
630
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
633
631
  })
634
632
  .s("GraniteServiceVersion20100801", "StopMetricStreams", {})
635
633
  .n("CloudWatchClient", "StopMetricStreamsCommand")
@@ -637,11 +635,11 @@ class StopMetricStreamsCommand extends smithyClient.Command
637
635
  .build() {
638
636
  }
639
637
 
640
- class StopOTelEnrichmentCommand extends smithyClient.Command
638
+ class StopOTelEnrichmentCommand extends client.Command
641
639
  .classBuilder()
642
640
  .ep(commonParams)
643
641
  .m(function (Command, cs, config, o) {
644
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
642
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
645
643
  })
646
644
  .s("GraniteServiceVersion20100801", "StopOTelEnrichment", {})
647
645
  .n("CloudWatchClient", "StopOTelEnrichmentCommand")
@@ -649,11 +647,11 @@ class StopOTelEnrichmentCommand extends smithyClient.Command
649
647
  .build() {
650
648
  }
651
649
 
652
- class TagResourceCommand extends smithyClient.Command
650
+ class TagResourceCommand extends client.Command
653
651
  .classBuilder()
654
652
  .ep(commonParams)
655
653
  .m(function (Command, cs, config, o) {
656
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
654
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
657
655
  })
658
656
  .s("GraniteServiceVersion20100801", "TagResource", {})
659
657
  .n("CloudWatchClient", "TagResourceCommand")
@@ -661,11 +659,11 @@ class TagResourceCommand extends smithyClient.Command
661
659
  .build() {
662
660
  }
663
661
 
664
- class UntagResourceCommand extends smithyClient.Command
662
+ class UntagResourceCommand extends client.Command
665
663
  .classBuilder()
666
664
  .ep(commonParams)
667
665
  .m(function (Command, cs, config, o) {
668
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
666
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
669
667
  })
670
668
  .s("GraniteServiceVersion20100801", "UntagResource", {})
671
669
  .n("CloudWatchClient", "UntagResourceCommand")
@@ -693,10 +691,10 @@ const paginateListMetrics = core.createPaginator(CloudWatchClient, ListMetricsCo
693
691
 
694
692
  const paginateListMetricStreams = core.createPaginator(CloudWatchClient, ListMetricStreamsCommand, "NextToken", "NextToken", "MaxResults");
695
693
 
696
- const checkState$2 = async (client, input) => {
694
+ const checkState$2 = async (client$1, input) => {
697
695
  let reason;
698
696
  try {
699
- let result = await client.send(new DescribeAlarmsCommand(input));
697
+ let result = await client$1.send(new DescribeAlarmsCommand(input));
700
698
  reason = result;
701
699
  try {
702
700
  const returnComparator = () => {
@@ -704,7 +702,7 @@ const checkState$2 = async (client, input) => {
704
702
  return (flat_1.length > 0);
705
703
  };
706
704
  if (returnComparator() == true) {
707
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
705
+ return { state: client.WaiterState.SUCCESS, reason };
708
706
  }
709
707
  }
710
708
  catch (e) { }
@@ -712,47 +710,47 @@ const checkState$2 = async (client, input) => {
712
710
  catch (exception) {
713
711
  reason = exception;
714
712
  }
715
- return { state: utilWaiter.WaiterState.RETRY, reason };
713
+ return { state: client.WaiterState.RETRY, reason };
716
714
  };
717
715
  const waitForAlarmExists = async (params, input) => {
718
716
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
719
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
717
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
720
718
  };
721
719
  const waitUntilAlarmExists = async (params, input) => {
722
720
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
723
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
724
- return utilWaiter.checkExceptions(result);
721
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
722
+ return client.checkExceptions(result);
725
723
  };
726
724
 
727
- const checkState$1 = async (client, input) => {
725
+ const checkState$1 = async (client$1, input) => {
728
726
  let reason;
729
727
  try {
730
- let result = await client.send(new GetAlarmMuteRuleCommand(input));
728
+ let result = await client$1.send(new GetAlarmMuteRuleCommand(input));
731
729
  reason = result;
732
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
730
+ return { state: client.WaiterState.SUCCESS, reason };
733
731
  }
734
732
  catch (exception) {
735
733
  reason = exception;
736
734
  if (exception.name === "ResourceNotFoundException") {
737
- return { state: utilWaiter.WaiterState.RETRY, reason };
735
+ return { state: client.WaiterState.RETRY, reason };
738
736
  }
739
737
  }
740
- return { state: utilWaiter.WaiterState.RETRY, reason };
738
+ return { state: client.WaiterState.RETRY, reason };
741
739
  };
742
740
  const waitForAlarmMuteRuleExists = async (params, input) => {
743
741
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
744
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
742
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
745
743
  };
746
744
  const waitUntilAlarmMuteRuleExists = async (params, input) => {
747
745
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
748
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
749
- return utilWaiter.checkExceptions(result);
746
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
747
+ return client.checkExceptions(result);
750
748
  };
751
749
 
752
- const checkState = async (client, input) => {
750
+ const checkState = async (client$1, input) => {
753
751
  let reason;
754
752
  try {
755
- let result = await client.send(new DescribeAlarmsCommand(input));
753
+ let result = await client$1.send(new DescribeAlarmsCommand(input));
756
754
  reason = result;
757
755
  try {
758
756
  const returnComparator = () => {
@@ -760,7 +758,7 @@ const checkState = async (client, input) => {
760
758
  return (flat_1.length > 0);
761
759
  };
762
760
  if (returnComparator() == true) {
763
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
761
+ return { state: client.WaiterState.SUCCESS, reason };
764
762
  }
765
763
  }
766
764
  catch (e) { }
@@ -768,16 +766,16 @@ const checkState = async (client, input) => {
768
766
  catch (exception) {
769
767
  reason = exception;
770
768
  }
771
- return { state: utilWaiter.WaiterState.RETRY, reason };
769
+ return { state: client.WaiterState.RETRY, reason };
772
770
  };
773
771
  const waitForCompositeAlarmExists = async (params, input) => {
774
772
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
775
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
773
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
776
774
  };
777
775
  const waitUntilCompositeAlarmExists = async (params, input) => {
778
776
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
779
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
780
- return utilWaiter.checkExceptions(result);
777
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
778
+ return client.checkExceptions(result);
781
779
  };
782
780
 
783
781
  const commands = {
@@ -847,7 +845,7 @@ const waiters = {
847
845
  };
848
846
  class CloudWatch extends CloudWatchClient {
849
847
  }
850
- smithyClient.createAggregatedClient(commands, CloudWatch, { paginators, waiters });
848
+ client.createAggregatedClient(commands, CloudWatch, { paginators, waiters });
851
849
 
852
850
  const ActionsSuppressedBy = {
853
851
  Alarm: "Alarm",
@@ -957,8 +955,8 @@ const RecentlyActive = {
957
955
  PT3H: "PT3H",
958
956
  };
959
957
 
960
- exports.$Command = smithyClient.Command;
961
- exports.__Client = smithyClient.Client;
958
+ exports.$Command = client.Command;
959
+ exports.__Client = client.Client;
962
960
  exports.CloudWatchServiceException = CloudWatchServiceException.CloudWatchServiceException;
963
961
  exports.ActionsSuppressedBy = ActionsSuppressedBy;
964
962
  exports.AlarmMuteRuleStatus = AlarmMuteRuleStatus;