@aws-sdk/client-cloudwatch 3.478.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 (157) 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-es/commands/DeleteAlarmsCommand.js +18 -41
  41. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +18 -41
  42. package/dist-es/commands/DeleteDashboardsCommand.js +18 -41
  43. package/dist-es/commands/DeleteInsightRulesCommand.js +18 -41
  44. package/dist-es/commands/DeleteMetricStreamCommand.js +18 -41
  45. package/dist-es/commands/DescribeAlarmHistoryCommand.js +18 -41
  46. package/dist-es/commands/DescribeAlarmsCommand.js +18 -41
  47. package/dist-es/commands/DescribeAlarmsForMetricCommand.js +18 -41
  48. package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +18 -41
  49. package/dist-es/commands/DescribeInsightRulesCommand.js +18 -41
  50. package/dist-es/commands/DisableAlarmActionsCommand.js +18 -41
  51. package/dist-es/commands/DisableInsightRulesCommand.js +18 -41
  52. package/dist-es/commands/EnableAlarmActionsCommand.js +18 -41
  53. package/dist-es/commands/EnableInsightRulesCommand.js +18 -41
  54. package/dist-es/commands/GetDashboardCommand.js +18 -41
  55. package/dist-es/commands/GetInsightRuleReportCommand.js +18 -41
  56. package/dist-es/commands/GetMetricDataCommand.js +18 -41
  57. package/dist-es/commands/GetMetricStatisticsCommand.js +18 -41
  58. package/dist-es/commands/GetMetricStreamCommand.js +18 -41
  59. package/dist-es/commands/GetMetricWidgetImageCommand.js +18 -41
  60. package/dist-es/commands/ListDashboardsCommand.js +18 -41
  61. package/dist-es/commands/ListManagedInsightRulesCommand.js +18 -41
  62. package/dist-es/commands/ListMetricStreamsCommand.js +18 -41
  63. package/dist-es/commands/ListMetricsCommand.js +18 -41
  64. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  65. package/dist-es/commands/PutAnomalyDetectorCommand.js +18 -41
  66. package/dist-es/commands/PutCompositeAlarmCommand.js +18 -41
  67. package/dist-es/commands/PutDashboardCommand.js +18 -41
  68. package/dist-es/commands/PutInsightRuleCommand.js +18 -41
  69. package/dist-es/commands/PutManagedInsightRulesCommand.js +18 -41
  70. package/dist-es/commands/PutMetricAlarmCommand.js +18 -41
  71. package/dist-es/commands/PutMetricDataCommand.js +18 -41
  72. package/dist-es/commands/PutMetricStreamCommand.js +18 -41
  73. package/dist-es/commands/SetAlarmStateCommand.js +18 -41
  74. package/dist-es/commands/StartMetricStreamsCommand.js +18 -41
  75. package/dist-es/commands/StopMetricStreamsCommand.js +18 -41
  76. package/dist-es/commands/TagResourceCommand.js +18 -41
  77. package/dist-es/commands/UntagResourceCommand.js +18 -41
  78. package/dist-es/endpoint/EndpointParameters.js +6 -0
  79. package/dist-types/commands/DeleteAlarmsCommand.d.ts +6 -21
  80. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +6 -21
  81. package/dist-types/commands/DeleteDashboardsCommand.d.ts +6 -21
  82. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +6 -21
  83. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +6 -21
  84. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +6 -21
  85. package/dist-types/commands/DescribeAlarmsCommand.d.ts +6 -21
  86. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +6 -21
  87. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +6 -21
  88. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +6 -21
  89. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +6 -21
  90. package/dist-types/commands/DisableInsightRulesCommand.d.ts +6 -21
  91. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +6 -21
  92. package/dist-types/commands/EnableInsightRulesCommand.d.ts +6 -21
  93. package/dist-types/commands/GetDashboardCommand.d.ts +6 -21
  94. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +6 -21
  95. package/dist-types/commands/GetMetricDataCommand.d.ts +6 -21
  96. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +6 -21
  97. package/dist-types/commands/GetMetricStreamCommand.d.ts +6 -21
  98. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +6 -21
  99. package/dist-types/commands/ListDashboardsCommand.d.ts +6 -21
  100. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +6 -21
  101. package/dist-types/commands/ListMetricStreamsCommand.d.ts +6 -21
  102. package/dist-types/commands/ListMetricsCommand.d.ts +6 -21
  103. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  104. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +6 -21
  105. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +6 -21
  106. package/dist-types/commands/PutDashboardCommand.d.ts +6 -21
  107. package/dist-types/commands/PutInsightRuleCommand.d.ts +6 -21
  108. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +6 -21
  109. package/dist-types/commands/PutMetricAlarmCommand.d.ts +6 -21
  110. package/dist-types/commands/PutMetricDataCommand.d.ts +6 -21
  111. package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -21
  112. package/dist-types/commands/SetAlarmStateCommand.d.ts +6 -21
  113. package/dist-types/commands/StartMetricStreamsCommand.d.ts +6 -21
  114. package/dist-types/commands/StopMetricStreamsCommand.d.ts +6 -21
  115. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  116. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  117. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  118. package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +12 -24
  120. package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +12 -24
  124. package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +12 -24
  127. package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +12 -24
  128. package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +14 -23
  131. package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +14 -23
  133. package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +12 -24
  134. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +14 -23
  135. package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +14 -23
  137. package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +12 -24
  140. package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +12 -24
  148. package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  157. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeAlarmsForMetricCommand, se_DescribeAlarmsForMetricCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class DescribeAlarmsForMetricCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAlarmsForMetricCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchClient";
26
- const commandName = "DescribeAlarmsForMetricCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GraniteServiceVersion20100801",
35
- operation: "DescribeAlarmsForMetric",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeAlarmsForMetricCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAlarmsForMetricCommand(output, context);
46
- }
7
+ export class DescribeAlarmsForMetricCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GraniteServiceVersion20100801", "DescribeAlarmsForMetric", {})
19
+ .n("CloudWatchClient", "DescribeAlarmsForMetricCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAlarmsForMetricCommand)
22
+ .de(de_DescribeAlarmsForMetricCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeAnomalyDetectorsCommand, se_DescribeAnomalyDetectorsCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class DescribeAnomalyDetectorsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAnomalyDetectorsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchClient";
26
- const commandName = "DescribeAnomalyDetectorsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GraniteServiceVersion20100801",
35
- operation: "DescribeAnomalyDetectors",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeAnomalyDetectorsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAnomalyDetectorsCommand(output, context);
46
- }
7
+ export class DescribeAnomalyDetectorsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GraniteServiceVersion20100801", "DescribeAnomalyDetectors", {})
19
+ .n("CloudWatchClient", "DescribeAnomalyDetectorsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAnomalyDetectorsCommand)
22
+ .de(de_DescribeAnomalyDetectorsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeInsightRulesCommand, se_DescribeInsightRulesCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class DescribeInsightRulesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeInsightRulesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchClient";
26
- const commandName = "DescribeInsightRulesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GraniteServiceVersion20100801",
35
- operation: "DescribeInsightRules",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeInsightRulesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeInsightRulesCommand(output, context);
46
- }
7
+ export class DescribeInsightRulesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GraniteServiceVersion20100801", "DescribeInsightRules", {})
19
+ .n("CloudWatchClient", "DescribeInsightRulesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeInsightRulesCommand)
22
+ .de(de_DescribeInsightRulesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DisableAlarmActionsCommand, se_DisableAlarmActionsCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class DisableAlarmActionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DisableAlarmActionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchClient";
26
- const commandName = "DisableAlarmActionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GraniteServiceVersion20100801",
35
- operation: "DisableAlarmActions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DisableAlarmActionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DisableAlarmActionsCommand(output, context);
46
- }
7
+ export class DisableAlarmActionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GraniteServiceVersion20100801", "DisableAlarmActions", {})
19
+ .n("CloudWatchClient", "DisableAlarmActionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DisableAlarmActionsCommand)
22
+ .de(de_DisableAlarmActionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DisableInsightRulesCommand, se_DisableInsightRulesCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class DisableInsightRulesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DisableInsightRulesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchClient";
26
- const commandName = "DisableInsightRulesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GraniteServiceVersion20100801",
35
- operation: "DisableInsightRules",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DisableInsightRulesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DisableInsightRulesCommand(output, context);
46
- }
7
+ export class DisableInsightRulesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GraniteServiceVersion20100801", "DisableInsightRules", {})
19
+ .n("CloudWatchClient", "DisableInsightRulesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DisableInsightRulesCommand)
22
+ .de(de_DisableInsightRulesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_EnableAlarmActionsCommand, se_EnableAlarmActionsCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class EnableAlarmActionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, EnableAlarmActionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchClient";
26
- const commandName = "EnableAlarmActionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GraniteServiceVersion20100801",
35
- operation: "EnableAlarmActions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_EnableAlarmActionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_EnableAlarmActionsCommand(output, context);
46
- }
7
+ export class EnableAlarmActionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GraniteServiceVersion20100801", "EnableAlarmActions", {})
19
+ .n("CloudWatchClient", "EnableAlarmActionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_EnableAlarmActionsCommand)
22
+ .de(de_EnableAlarmActionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_EnableInsightRulesCommand, se_EnableInsightRulesCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class EnableInsightRulesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, EnableInsightRulesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchClient";
26
- const commandName = "EnableInsightRulesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GraniteServiceVersion20100801",
35
- operation: "EnableInsightRules",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_EnableInsightRulesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_EnableInsightRulesCommand(output, context);
46
- }
7
+ export class EnableInsightRulesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GraniteServiceVersion20100801", "EnableInsightRules", {})
19
+ .n("CloudWatchClient", "EnableInsightRulesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_EnableInsightRulesCommand)
22
+ .de(de_EnableInsightRulesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetDashboardCommand, se_GetDashboardCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class GetDashboardCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetDashboardCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchClient";
26
- const commandName = "GetDashboardCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GraniteServiceVersion20100801",
35
- operation: "GetDashboard",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetDashboardCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetDashboardCommand(output, context);
46
- }
7
+ export class GetDashboardCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GraniteServiceVersion20100801", "GetDashboard", {})
19
+ .n("CloudWatchClient", "GetDashboardCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetDashboardCommand)
22
+ .de(de_GetDashboardCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetInsightRuleReportCommand, se_GetInsightRuleReportCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class GetInsightRuleReportCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetInsightRuleReportCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchClient";
26
- const commandName = "GetInsightRuleReportCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GraniteServiceVersion20100801",
35
- operation: "GetInsightRuleReport",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetInsightRuleReportCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetInsightRuleReportCommand(output, context);
46
- }
7
+ export class GetInsightRuleReportCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GraniteServiceVersion20100801", "GetInsightRuleReport", {})
19
+ .n("CloudWatchClient", "GetInsightRuleReportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetInsightRuleReportCommand)
22
+ .de(de_GetInsightRuleReportCommand)
23
+ .build() {
47
24
  }