@aws-sdk/client-eventbridge 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 (229) hide show
  1. package/dist-cjs/commands/ActivateEventSourceCommand.js +18 -41
  2. package/dist-cjs/commands/CancelReplayCommand.js +18 -41
  3. package/dist-cjs/commands/CreateApiDestinationCommand.js +18 -41
  4. package/dist-cjs/commands/CreateArchiveCommand.js +18 -41
  5. package/dist-cjs/commands/CreateConnectionCommand.js +18 -41
  6. package/dist-cjs/commands/CreateEndpointCommand.js +18 -41
  7. package/dist-cjs/commands/CreateEventBusCommand.js +18 -41
  8. package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +18 -41
  9. package/dist-cjs/commands/DeactivateEventSourceCommand.js +18 -41
  10. package/dist-cjs/commands/DeauthorizeConnectionCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteApiDestinationCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteArchiveCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteConnectionCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteEndpointCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteEventBusCommand.js +18 -41
  16. package/dist-cjs/commands/DeletePartnerEventSourceCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteRuleCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeApiDestinationCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeArchiveCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeConnectionCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeEndpointCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeEventBusCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeEventSourceCommand.js +18 -41
  24. package/dist-cjs/commands/DescribePartnerEventSourceCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeReplayCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeRuleCommand.js +18 -41
  27. package/dist-cjs/commands/DisableRuleCommand.js +18 -41
  28. package/dist-cjs/commands/EnableRuleCommand.js +18 -41
  29. package/dist-cjs/commands/ListApiDestinationsCommand.js +18 -41
  30. package/dist-cjs/commands/ListArchivesCommand.js +18 -41
  31. package/dist-cjs/commands/ListConnectionsCommand.js +18 -41
  32. package/dist-cjs/commands/ListEndpointsCommand.js +18 -41
  33. package/dist-cjs/commands/ListEventBusesCommand.js +18 -41
  34. package/dist-cjs/commands/ListEventSourcesCommand.js +18 -41
  35. package/dist-cjs/commands/ListPartnerEventSourceAccountsCommand.js +18 -41
  36. package/dist-cjs/commands/ListPartnerEventSourcesCommand.js +18 -41
  37. package/dist-cjs/commands/ListReplaysCommand.js +18 -41
  38. package/dist-cjs/commands/ListRuleNamesByTargetCommand.js +18 -41
  39. package/dist-cjs/commands/ListRulesCommand.js +18 -41
  40. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  41. package/dist-cjs/commands/ListTargetsByRuleCommand.js +18 -41
  42. package/dist-cjs/commands/PutEventsCommand.js +19 -42
  43. package/dist-cjs/commands/PutPartnerEventsCommand.js +18 -41
  44. package/dist-cjs/commands/PutPermissionCommand.js +18 -41
  45. package/dist-cjs/commands/PutRuleCommand.js +18 -41
  46. package/dist-cjs/commands/PutTargetsCommand.js +18 -41
  47. package/dist-cjs/commands/RemovePermissionCommand.js +18 -41
  48. package/dist-cjs/commands/RemoveTargetsCommand.js +18 -41
  49. package/dist-cjs/commands/StartReplayCommand.js +18 -41
  50. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  51. package/dist-cjs/commands/TestEventPatternCommand.js +18 -41
  52. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateApiDestinationCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateArchiveCommand.js +18 -41
  55. package/dist-cjs/commands/UpdateConnectionCommand.js +18 -41
  56. package/dist-cjs/commands/UpdateEndpointCommand.js +18 -41
  57. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  58. package/dist-es/commands/ActivateEventSourceCommand.js +18 -41
  59. package/dist-es/commands/CancelReplayCommand.js +18 -41
  60. package/dist-es/commands/CreateApiDestinationCommand.js +18 -41
  61. package/dist-es/commands/CreateArchiveCommand.js +18 -41
  62. package/dist-es/commands/CreateConnectionCommand.js +18 -41
  63. package/dist-es/commands/CreateEndpointCommand.js +18 -41
  64. package/dist-es/commands/CreateEventBusCommand.js +18 -41
  65. package/dist-es/commands/CreatePartnerEventSourceCommand.js +18 -41
  66. package/dist-es/commands/DeactivateEventSourceCommand.js +18 -41
  67. package/dist-es/commands/DeauthorizeConnectionCommand.js +18 -41
  68. package/dist-es/commands/DeleteApiDestinationCommand.js +18 -41
  69. package/dist-es/commands/DeleteArchiveCommand.js +18 -41
  70. package/dist-es/commands/DeleteConnectionCommand.js +18 -41
  71. package/dist-es/commands/DeleteEndpointCommand.js +18 -41
  72. package/dist-es/commands/DeleteEventBusCommand.js +18 -41
  73. package/dist-es/commands/DeletePartnerEventSourceCommand.js +18 -41
  74. package/dist-es/commands/DeleteRuleCommand.js +18 -41
  75. package/dist-es/commands/DescribeApiDestinationCommand.js +18 -41
  76. package/dist-es/commands/DescribeArchiveCommand.js +18 -41
  77. package/dist-es/commands/DescribeConnectionCommand.js +18 -41
  78. package/dist-es/commands/DescribeEndpointCommand.js +18 -41
  79. package/dist-es/commands/DescribeEventBusCommand.js +18 -41
  80. package/dist-es/commands/DescribeEventSourceCommand.js +18 -41
  81. package/dist-es/commands/DescribePartnerEventSourceCommand.js +18 -41
  82. package/dist-es/commands/DescribeReplayCommand.js +18 -41
  83. package/dist-es/commands/DescribeRuleCommand.js +18 -41
  84. package/dist-es/commands/DisableRuleCommand.js +18 -41
  85. package/dist-es/commands/EnableRuleCommand.js +18 -41
  86. package/dist-es/commands/ListApiDestinationsCommand.js +18 -41
  87. package/dist-es/commands/ListArchivesCommand.js +18 -41
  88. package/dist-es/commands/ListConnectionsCommand.js +18 -41
  89. package/dist-es/commands/ListEndpointsCommand.js +18 -41
  90. package/dist-es/commands/ListEventBusesCommand.js +18 -41
  91. package/dist-es/commands/ListEventSourcesCommand.js +18 -41
  92. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +18 -41
  93. package/dist-es/commands/ListPartnerEventSourcesCommand.js +18 -41
  94. package/dist-es/commands/ListReplaysCommand.js +18 -41
  95. package/dist-es/commands/ListRuleNamesByTargetCommand.js +18 -41
  96. package/dist-es/commands/ListRulesCommand.js +18 -41
  97. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  98. package/dist-es/commands/ListTargetsByRuleCommand.js +18 -41
  99. package/dist-es/commands/PutEventsCommand.js +19 -42
  100. package/dist-es/commands/PutPartnerEventsCommand.js +18 -41
  101. package/dist-es/commands/PutPermissionCommand.js +18 -41
  102. package/dist-es/commands/PutRuleCommand.js +18 -41
  103. package/dist-es/commands/PutTargetsCommand.js +18 -41
  104. package/dist-es/commands/RemovePermissionCommand.js +18 -41
  105. package/dist-es/commands/RemoveTargetsCommand.js +18 -41
  106. package/dist-es/commands/StartReplayCommand.js +18 -41
  107. package/dist-es/commands/TagResourceCommand.js +18 -41
  108. package/dist-es/commands/TestEventPatternCommand.js +18 -41
  109. package/dist-es/commands/UntagResourceCommand.js +18 -41
  110. package/dist-es/commands/UpdateApiDestinationCommand.js +18 -41
  111. package/dist-es/commands/UpdateArchiveCommand.js +18 -41
  112. package/dist-es/commands/UpdateConnectionCommand.js +18 -41
  113. package/dist-es/commands/UpdateEndpointCommand.js +18 -41
  114. package/dist-es/endpoint/EndpointParameters.js +6 -0
  115. package/dist-types/commands/ActivateEventSourceCommand.d.ts +6 -21
  116. package/dist-types/commands/CancelReplayCommand.d.ts +6 -21
  117. package/dist-types/commands/CreateApiDestinationCommand.d.ts +6 -21
  118. package/dist-types/commands/CreateArchiveCommand.d.ts +6 -21
  119. package/dist-types/commands/CreateConnectionCommand.d.ts +6 -21
  120. package/dist-types/commands/CreateEndpointCommand.d.ts +6 -21
  121. package/dist-types/commands/CreateEventBusCommand.d.ts +6 -21
  122. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +6 -21
  123. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +6 -21
  124. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +6 -21
  125. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteArchiveCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteConnectionCommand.d.ts +6 -21
  128. package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -21
  129. package/dist-types/commands/DeleteEventBusCommand.d.ts +6 -21
  130. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +6 -21
  131. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -21
  132. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeArchiveCommand.d.ts +6 -21
  134. package/dist-types/commands/DescribeConnectionCommand.d.ts +6 -21
  135. package/dist-types/commands/DescribeEndpointCommand.d.ts +6 -21
  136. package/dist-types/commands/DescribeEventBusCommand.d.ts +6 -21
  137. package/dist-types/commands/DescribeEventSourceCommand.d.ts +6 -21
  138. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +6 -21
  139. package/dist-types/commands/DescribeReplayCommand.d.ts +6 -21
  140. package/dist-types/commands/DescribeRuleCommand.d.ts +6 -21
  141. package/dist-types/commands/DisableRuleCommand.d.ts +6 -21
  142. package/dist-types/commands/EnableRuleCommand.d.ts +6 -21
  143. package/dist-types/commands/ListApiDestinationsCommand.d.ts +6 -21
  144. package/dist-types/commands/ListArchivesCommand.d.ts +6 -21
  145. package/dist-types/commands/ListConnectionsCommand.d.ts +6 -21
  146. package/dist-types/commands/ListEndpointsCommand.d.ts +6 -21
  147. package/dist-types/commands/ListEventBusesCommand.d.ts +6 -21
  148. package/dist-types/commands/ListEventSourcesCommand.d.ts +6 -21
  149. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +6 -21
  150. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +6 -21
  151. package/dist-types/commands/ListReplaysCommand.d.ts +6 -21
  152. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +6 -21
  153. package/dist-types/commands/ListRulesCommand.d.ts +6 -21
  154. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  155. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +6 -21
  156. package/dist-types/commands/PutEventsCommand.d.ts +6 -21
  157. package/dist-types/commands/PutPartnerEventsCommand.d.ts +6 -21
  158. package/dist-types/commands/PutPermissionCommand.d.ts +6 -21
  159. package/dist-types/commands/PutRuleCommand.d.ts +6 -21
  160. package/dist-types/commands/PutTargetsCommand.d.ts +6 -21
  161. package/dist-types/commands/RemovePermissionCommand.d.ts +6 -21
  162. package/dist-types/commands/RemoveTargetsCommand.d.ts +6 -21
  163. package/dist-types/commands/StartReplayCommand.d.ts +6 -21
  164. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  165. package/dist-types/commands/TestEventPatternCommand.d.ts +6 -21
  166. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  167. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +6 -21
  168. package/dist-types/commands/UpdateArchiveCommand.d.ts +6 -21
  169. package/dist-types/commands/UpdateConnectionCommand.d.ts +6 -21
  170. package/dist-types/commands/UpdateEndpointCommand.d.ts +6 -21
  171. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  172. package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +12 -23
  217. package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  229. package/package.json +11 -11
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ActivateEventSourceCommand 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, ActivateEventSourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EventBridgeClient";
29
- const commandName = "ActivateEventSourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSEvents",
38
- operation: "ActivateEventSource",
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_json1_1_1.se_ActivateEventSourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ActivateEventSourceCommand)(output, context);
49
- }
10
+ class ActivateEventSourceCommand 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("AWSEvents", "ActivateEventSource", {})
22
+ .n("EventBridgeClient", "ActivateEventSourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ActivateEventSourceCommand)
25
+ .de(Aws_json1_1_1.de_ActivateEventSourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ActivateEventSourceCommand = ActivateEventSourceCommand;
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CancelReplayCommand 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, CancelReplayCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EventBridgeClient";
29
- const commandName = "CancelReplayCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSEvents",
38
- operation: "CancelReplay",
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_json1_1_1.se_CancelReplayCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CancelReplayCommand)(output, context);
49
- }
10
+ class CancelReplayCommand 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("AWSEvents", "CancelReplay", {})
22
+ .n("EventBridgeClient", "CancelReplayCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CancelReplayCommand)
25
+ .de(Aws_json1_1_1.de_CancelReplayCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CancelReplayCommand = CancelReplayCommand;
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateApiDestinationCommand 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, CreateApiDestinationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EventBridgeClient";
29
- const commandName = "CreateApiDestinationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSEvents",
38
- operation: "CreateApiDestination",
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_json1_1_1.se_CreateApiDestinationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateApiDestinationCommand)(output, context);
49
- }
10
+ class CreateApiDestinationCommand 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("AWSEvents", "CreateApiDestination", {})
22
+ .n("EventBridgeClient", "CreateApiDestinationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateApiDestinationCommand)
25
+ .de(Aws_json1_1_1.de_CreateApiDestinationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateApiDestinationCommand = CreateApiDestinationCommand;
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateArchiveCommand 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, CreateArchiveCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EventBridgeClient";
29
- const commandName = "CreateArchiveCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSEvents",
38
- operation: "CreateArchive",
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_json1_1_1.se_CreateArchiveCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateArchiveCommand)(output, context);
49
- }
10
+ class CreateArchiveCommand 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("AWSEvents", "CreateArchive", {})
22
+ .n("EventBridgeClient", "CreateArchiveCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateArchiveCommand)
25
+ .de(Aws_json1_1_1.de_CreateArchiveCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateArchiveCommand = CreateArchiveCommand;
@@ -5,48 +5,25 @@ 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 models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class CreateConnectionCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateConnectionCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "EventBridgeClient";
30
- const commandName = "CreateConnectionCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.CreateConnectionRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSEvents",
39
- operation: "CreateConnection",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_CreateConnectionCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_CreateConnectionCommand)(output, context);
50
- }
11
+ class CreateConnectionCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSEvents", "CreateConnection", {})
23
+ .n("EventBridgeClient", "CreateConnectionCommand")
24
+ .f(models_0_1.CreateConnectionRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_json1_1_1.se_CreateConnectionCommand)
26
+ .de(Aws_json1_1_1.de_CreateConnectionCommand)
27
+ .build() {
51
28
  }
52
29
  exports.CreateConnectionCommand = CreateConnectionCommand;
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateEndpointCommand 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, CreateEndpointCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EventBridgeClient";
29
- const commandName = "CreateEndpointCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSEvents",
38
- operation: "CreateEndpoint",
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_json1_1_1.se_CreateEndpointCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateEndpointCommand)(output, context);
49
- }
10
+ class CreateEndpointCommand 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("AWSEvents", "CreateEndpoint", {})
22
+ .n("EventBridgeClient", "CreateEndpointCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateEndpointCommand)
25
+ .de(Aws_json1_1_1.de_CreateEndpointCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateEndpointCommand = CreateEndpointCommand;
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateEventBusCommand 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, CreateEventBusCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EventBridgeClient";
29
- const commandName = "CreateEventBusCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSEvents",
38
- operation: "CreateEventBus",
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_json1_1_1.se_CreateEventBusCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateEventBusCommand)(output, context);
49
- }
10
+ class CreateEventBusCommand 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("AWSEvents", "CreateEventBus", {})
22
+ .n("EventBridgeClient", "CreateEventBusCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateEventBusCommand)
25
+ .de(Aws_json1_1_1.de_CreateEventBusCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateEventBusCommand = CreateEventBusCommand;
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreatePartnerEventSourceCommand 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, CreatePartnerEventSourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EventBridgeClient";
29
- const commandName = "CreatePartnerEventSourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSEvents",
38
- operation: "CreatePartnerEventSource",
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_json1_1_1.se_CreatePartnerEventSourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreatePartnerEventSourceCommand)(output, context);
49
- }
10
+ class CreatePartnerEventSourceCommand 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("AWSEvents", "CreatePartnerEventSource", {})
22
+ .n("EventBridgeClient", "CreatePartnerEventSourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreatePartnerEventSourceCommand)
25
+ .de(Aws_json1_1_1.de_CreatePartnerEventSourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreatePartnerEventSourceCommand = CreatePartnerEventSourceCommand;
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeactivateEventSourceCommand 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, DeactivateEventSourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EventBridgeClient";
29
- const commandName = "DeactivateEventSourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSEvents",
38
- operation: "DeactivateEventSource",
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_json1_1_1.se_DeactivateEventSourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeactivateEventSourceCommand)(output, context);
49
- }
10
+ class DeactivateEventSourceCommand 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("AWSEvents", "DeactivateEventSource", {})
22
+ .n("EventBridgeClient", "DeactivateEventSourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeactivateEventSourceCommand)
25
+ .de(Aws_json1_1_1.de_DeactivateEventSourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeactivateEventSourceCommand = DeactivateEventSourceCommand;