@aws-sdk/client-cloudwatch 3.477.0 → 3.481.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 (193) hide show
  1. package/dist-cjs/commands/DeleteAlarmsCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteDashboardsCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteInsightRulesCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteMetricStreamCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeAlarmsCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeInsightRulesCommand.js +18 -41
  11. package/dist-cjs/commands/DisableAlarmActionsCommand.js +18 -41
  12. package/dist-cjs/commands/DisableInsightRulesCommand.js +18 -41
  13. package/dist-cjs/commands/EnableAlarmActionsCommand.js +18 -41
  14. package/dist-cjs/commands/EnableInsightRulesCommand.js +18 -41
  15. package/dist-cjs/commands/GetDashboardCommand.js +18 -41
  16. package/dist-cjs/commands/GetInsightRuleReportCommand.js +18 -41
  17. package/dist-cjs/commands/GetMetricDataCommand.js +18 -41
  18. package/dist-cjs/commands/GetMetricStatisticsCommand.js +18 -41
  19. package/dist-cjs/commands/GetMetricStreamCommand.js +18 -41
  20. package/dist-cjs/commands/GetMetricWidgetImageCommand.js +18 -41
  21. package/dist-cjs/commands/ListDashboardsCommand.js +18 -41
  22. package/dist-cjs/commands/ListManagedInsightRulesCommand.js +18 -41
  23. package/dist-cjs/commands/ListMetricStreamsCommand.js +18 -41
  24. package/dist-cjs/commands/ListMetricsCommand.js +18 -41
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  26. package/dist-cjs/commands/PutAnomalyDetectorCommand.js +18 -41
  27. package/dist-cjs/commands/PutCompositeAlarmCommand.js +18 -41
  28. package/dist-cjs/commands/PutDashboardCommand.js +18 -41
  29. package/dist-cjs/commands/PutInsightRuleCommand.js +18 -41
  30. package/dist-cjs/commands/PutManagedInsightRulesCommand.js +18 -41
  31. package/dist-cjs/commands/PutMetricAlarmCommand.js +18 -41
  32. package/dist-cjs/commands/PutMetricDataCommand.js +18 -41
  33. package/dist-cjs/commands/PutMetricStreamCommand.js +18 -41
  34. package/dist-cjs/commands/SetAlarmStateCommand.js +18 -41
  35. package/dist-cjs/commands/StartMetricStreamsCommand.js +18 -41
  36. package/dist-cjs/commands/StopMetricStreamsCommand.js +18 -41
  37. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  38. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  39. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  40. package/dist-cjs/pagination/DescribeAlarmHistoryPaginator.js +2 -24
  41. package/dist-cjs/pagination/DescribeAlarmsPaginator.js +2 -24
  42. package/dist-cjs/pagination/DescribeAnomalyDetectorsPaginator.js +2 -24
  43. package/dist-cjs/pagination/DescribeInsightRulesPaginator.js +2 -24
  44. package/dist-cjs/pagination/GetMetricDataPaginator.js +2 -24
  45. package/dist-cjs/pagination/ListDashboardsPaginator.js +2 -23
  46. package/dist-cjs/pagination/ListManagedInsightRulesPaginator.js +2 -24
  47. package/dist-cjs/pagination/ListMetricStreamsPaginator.js +2 -24
  48. package/dist-cjs/pagination/ListMetricsPaginator.js +2 -23
  49. package/dist-es/commands/DeleteAlarmsCommand.js +18 -41
  50. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +18 -41
  51. package/dist-es/commands/DeleteDashboardsCommand.js +18 -41
  52. package/dist-es/commands/DeleteInsightRulesCommand.js +18 -41
  53. package/dist-es/commands/DeleteMetricStreamCommand.js +18 -41
  54. package/dist-es/commands/DescribeAlarmHistoryCommand.js +18 -41
  55. package/dist-es/commands/DescribeAlarmsCommand.js +18 -41
  56. package/dist-es/commands/DescribeAlarmsForMetricCommand.js +18 -41
  57. package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +18 -41
  58. package/dist-es/commands/DescribeInsightRulesCommand.js +18 -41
  59. package/dist-es/commands/DisableAlarmActionsCommand.js +18 -41
  60. package/dist-es/commands/DisableInsightRulesCommand.js +18 -41
  61. package/dist-es/commands/EnableAlarmActionsCommand.js +18 -41
  62. package/dist-es/commands/EnableInsightRulesCommand.js +18 -41
  63. package/dist-es/commands/GetDashboardCommand.js +18 -41
  64. package/dist-es/commands/GetInsightRuleReportCommand.js +18 -41
  65. package/dist-es/commands/GetMetricDataCommand.js +18 -41
  66. package/dist-es/commands/GetMetricStatisticsCommand.js +18 -41
  67. package/dist-es/commands/GetMetricStreamCommand.js +18 -41
  68. package/dist-es/commands/GetMetricWidgetImageCommand.js +18 -41
  69. package/dist-es/commands/ListDashboardsCommand.js +18 -41
  70. package/dist-es/commands/ListManagedInsightRulesCommand.js +18 -41
  71. package/dist-es/commands/ListMetricStreamsCommand.js +18 -41
  72. package/dist-es/commands/ListMetricsCommand.js +18 -41
  73. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  74. package/dist-es/commands/PutAnomalyDetectorCommand.js +18 -41
  75. package/dist-es/commands/PutCompositeAlarmCommand.js +18 -41
  76. package/dist-es/commands/PutDashboardCommand.js +18 -41
  77. package/dist-es/commands/PutInsightRuleCommand.js +18 -41
  78. package/dist-es/commands/PutManagedInsightRulesCommand.js +18 -41
  79. package/dist-es/commands/PutMetricAlarmCommand.js +18 -41
  80. package/dist-es/commands/PutMetricDataCommand.js +18 -41
  81. package/dist-es/commands/PutMetricStreamCommand.js +18 -41
  82. package/dist-es/commands/SetAlarmStateCommand.js +18 -41
  83. package/dist-es/commands/StartMetricStreamsCommand.js +18 -41
  84. package/dist-es/commands/StopMetricStreamsCommand.js +18 -41
  85. package/dist-es/commands/TagResourceCommand.js +18 -41
  86. package/dist-es/commands/UntagResourceCommand.js +18 -41
  87. package/dist-es/endpoint/EndpointParameters.js +6 -0
  88. package/dist-es/pagination/DescribeAlarmHistoryPaginator.js +2 -23
  89. package/dist-es/pagination/DescribeAlarmsPaginator.js +2 -23
  90. package/dist-es/pagination/DescribeAnomalyDetectorsPaginator.js +2 -23
  91. package/dist-es/pagination/DescribeInsightRulesPaginator.js +2 -23
  92. package/dist-es/pagination/GetMetricDataPaginator.js +2 -23
  93. package/dist-es/pagination/ListDashboardsPaginator.js +2 -22
  94. package/dist-es/pagination/ListManagedInsightRulesPaginator.js +2 -23
  95. package/dist-es/pagination/ListMetricStreamsPaginator.js +2 -23
  96. package/dist-es/pagination/ListMetricsPaginator.js +2 -22
  97. package/dist-types/commands/DeleteAlarmsCommand.d.ts +6 -21
  98. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +6 -21
  99. package/dist-types/commands/DeleteDashboardsCommand.d.ts +6 -21
  100. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +6 -21
  101. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +6 -21
  102. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +6 -21
  103. package/dist-types/commands/DescribeAlarmsCommand.d.ts +6 -21
  104. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +6 -21
  105. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +6 -21
  106. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +6 -21
  107. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +6 -21
  108. package/dist-types/commands/DisableInsightRulesCommand.d.ts +6 -21
  109. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +6 -21
  110. package/dist-types/commands/EnableInsightRulesCommand.d.ts +6 -21
  111. package/dist-types/commands/GetDashboardCommand.d.ts +6 -21
  112. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +6 -21
  113. package/dist-types/commands/GetMetricDataCommand.d.ts +6 -21
  114. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +6 -21
  115. package/dist-types/commands/GetMetricStreamCommand.d.ts +6 -21
  116. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +6 -21
  117. package/dist-types/commands/ListDashboardsCommand.d.ts +6 -21
  118. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +6 -21
  119. package/dist-types/commands/ListMetricStreamsCommand.d.ts +6 -21
  120. package/dist-types/commands/ListMetricsCommand.d.ts +6 -21
  121. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  122. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +6 -21
  123. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +6 -21
  124. package/dist-types/commands/PutDashboardCommand.d.ts +6 -21
  125. package/dist-types/commands/PutInsightRuleCommand.d.ts +6 -21
  126. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +6 -21
  127. package/dist-types/commands/PutMetricAlarmCommand.d.ts +6 -21
  128. package/dist-types/commands/PutMetricDataCommand.d.ts +6 -21
  129. package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -21
  130. package/dist-types/commands/SetAlarmStateCommand.d.ts +6 -21
  131. package/dist-types/commands/StartMetricStreamsCommand.d.ts +6 -21
  132. package/dist-types/commands/StopMetricStreamsCommand.d.ts +6 -21
  133. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  134. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  135. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  136. package/dist-types/pagination/DescribeAlarmHistoryPaginator.d.ts +1 -1
  137. package/dist-types/pagination/DescribeAlarmsPaginator.d.ts +1 -1
  138. package/dist-types/pagination/DescribeAnomalyDetectorsPaginator.d.ts +1 -1
  139. package/dist-types/pagination/DescribeInsightRulesPaginator.d.ts +1 -1
  140. package/dist-types/pagination/GetMetricDataPaginator.d.ts +1 -1
  141. package/dist-types/pagination/ListDashboardsPaginator.d.ts +1 -1
  142. package/dist-types/pagination/ListManagedInsightRulesPaginator.d.ts +1 -1
  143. package/dist-types/pagination/ListMetricStreamsPaginator.d.ts +1 -1
  144. package/dist-types/pagination/ListMetricsPaginator.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +12 -24
  147. package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +12 -24
  151. package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +12 -24
  153. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +12 -24
  154. package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +12 -24
  155. package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +14 -23
  158. package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +12 -24
  161. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +12 -24
  167. package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  184. package/dist-types/ts3.4/pagination/DescribeAlarmHistoryPaginator.d.ts +3 -3
  185. package/dist-types/ts3.4/pagination/DescribeAlarmsPaginator.d.ts +3 -3
  186. package/dist-types/ts3.4/pagination/DescribeAnomalyDetectorsPaginator.d.ts +3 -3
  187. package/dist-types/ts3.4/pagination/DescribeInsightRulesPaginator.d.ts +3 -3
  188. package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +3 -3
  189. package/dist-types/ts3.4/pagination/ListDashboardsPaginator.d.ts +3 -3
  190. package/dist-types/ts3.4/pagination/ListManagedInsightRulesPaginator.d.ts +3 -3
  191. package/dist-types/ts3.4/pagination/ListMetricStreamsPaginator.d.ts +3 -3
  192. package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +3 -3
  193. package/package.json +11 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class PutDashboardCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutDashboardCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudWatchClient";
29
- const commandName = "PutDashboardCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GraniteServiceVersion20100801",
38
- operation: "PutDashboard",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_PutDashboardCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_PutDashboardCommand)(output, context);
49
- }
10
+ class PutDashboardCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GraniteServiceVersion20100801", "PutDashboard", {})
22
+ .n("CloudWatchClient", "PutDashboardCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_PutDashboardCommand)
25
+ .de(Aws_query_1.de_PutDashboardCommand)
26
+ .build() {
50
27
  }
51
28
  exports.PutDashboardCommand = PutDashboardCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class PutInsightRuleCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutInsightRuleCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudWatchClient";
29
- const commandName = "PutInsightRuleCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GraniteServiceVersion20100801",
38
- operation: "PutInsightRule",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_PutInsightRuleCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_PutInsightRuleCommand)(output, context);
49
- }
10
+ class PutInsightRuleCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GraniteServiceVersion20100801", "PutInsightRule", {})
22
+ .n("CloudWatchClient", "PutInsightRuleCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_PutInsightRuleCommand)
25
+ .de(Aws_query_1.de_PutInsightRuleCommand)
26
+ .build() {
50
27
  }
51
28
  exports.PutInsightRuleCommand = PutInsightRuleCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class PutManagedInsightRulesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutManagedInsightRulesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudWatchClient";
29
- const commandName = "PutManagedInsightRulesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GraniteServiceVersion20100801",
38
- operation: "PutManagedInsightRules",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_PutManagedInsightRulesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_PutManagedInsightRulesCommand)(output, context);
49
- }
10
+ class PutManagedInsightRulesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GraniteServiceVersion20100801", "PutManagedInsightRules", {})
22
+ .n("CloudWatchClient", "PutManagedInsightRulesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_PutManagedInsightRulesCommand)
25
+ .de(Aws_query_1.de_PutManagedInsightRulesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.PutManagedInsightRulesCommand = PutManagedInsightRulesCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class PutMetricAlarmCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutMetricAlarmCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudWatchClient";
29
- const commandName = "PutMetricAlarmCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GraniteServiceVersion20100801",
38
- operation: "PutMetricAlarm",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_PutMetricAlarmCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_PutMetricAlarmCommand)(output, context);
49
- }
10
+ class PutMetricAlarmCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GraniteServiceVersion20100801", "PutMetricAlarm", {})
22
+ .n("CloudWatchClient", "PutMetricAlarmCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_PutMetricAlarmCommand)
25
+ .de(Aws_query_1.de_PutMetricAlarmCommand)
26
+ .build() {
50
27
  }
51
28
  exports.PutMetricAlarmCommand = PutMetricAlarmCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class PutMetricDataCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutMetricDataCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudWatchClient";
29
- const commandName = "PutMetricDataCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GraniteServiceVersion20100801",
38
- operation: "PutMetricData",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_PutMetricDataCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_PutMetricDataCommand)(output, context);
49
- }
10
+ class PutMetricDataCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GraniteServiceVersion20100801", "PutMetricData", {})
22
+ .n("CloudWatchClient", "PutMetricDataCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_PutMetricDataCommand)
25
+ .de(Aws_query_1.de_PutMetricDataCommand)
26
+ .build() {
50
27
  }
51
28
  exports.PutMetricDataCommand = PutMetricDataCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class PutMetricStreamCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutMetricStreamCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudWatchClient";
29
- const commandName = "PutMetricStreamCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GraniteServiceVersion20100801",
38
- operation: "PutMetricStream",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_PutMetricStreamCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_PutMetricStreamCommand)(output, context);
49
- }
10
+ class PutMetricStreamCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GraniteServiceVersion20100801", "PutMetricStream", {})
22
+ .n("CloudWatchClient", "PutMetricStreamCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_PutMetricStreamCommand)
25
+ .de(Aws_query_1.de_PutMetricStreamCommand)
26
+ .build() {
50
27
  }
51
28
  exports.PutMetricStreamCommand = PutMetricStreamCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class SetAlarmStateCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SetAlarmStateCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudWatchClient";
29
- const commandName = "SetAlarmStateCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GraniteServiceVersion20100801",
38
- operation: "SetAlarmState",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_SetAlarmStateCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_SetAlarmStateCommand)(output, context);
49
- }
10
+ class SetAlarmStateCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GraniteServiceVersion20100801", "SetAlarmState", {})
22
+ .n("CloudWatchClient", "SetAlarmStateCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_SetAlarmStateCommand)
25
+ .de(Aws_query_1.de_SetAlarmStateCommand)
26
+ .build() {
50
27
  }
51
28
  exports.SetAlarmStateCommand = SetAlarmStateCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class StartMetricStreamsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartMetricStreamsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudWatchClient";
29
- const commandName = "StartMetricStreamsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GraniteServiceVersion20100801",
38
- operation: "StartMetricStreams",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_StartMetricStreamsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_StartMetricStreamsCommand)(output, context);
49
- }
10
+ class StartMetricStreamsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GraniteServiceVersion20100801", "StartMetricStreams", {})
22
+ .n("CloudWatchClient", "StartMetricStreamsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_StartMetricStreamsCommand)
25
+ .de(Aws_query_1.de_StartMetricStreamsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StartMetricStreamsCommand = StartMetricStreamsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class StopMetricStreamsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopMetricStreamsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudWatchClient";
29
- const commandName = "StopMetricStreamsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GraniteServiceVersion20100801",
38
- operation: "StopMetricStreams",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_StopMetricStreamsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_StopMetricStreamsCommand)(output, context);
49
- }
10
+ class StopMetricStreamsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GraniteServiceVersion20100801", "StopMetricStreams", {})
22
+ .n("CloudWatchClient", "StopMetricStreamsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_StopMetricStreamsCommand)
25
+ .de(Aws_query_1.de_StopMetricStreamsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StopMetricStreamsCommand = StopMetricStreamsCommand;