@aws-sdk/client-eventbridge 3.478.0 → 3.484.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
@@ -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_UpdateApiDestinationCommand, se_UpdateApiDestinationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateApiDestinationCommand 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, UpdateApiDestinationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "EventBridgeClient";
26
- const commandName = "UpdateApiDestinationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSEvents",
35
- operation: "UpdateApiDestination",
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_UpdateApiDestinationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateApiDestinationCommand(output, context);
46
- }
7
+ export class UpdateApiDestinationCommand 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("AWSEvents", "UpdateApiDestination", {})
19
+ .n("EventBridgeClient", "UpdateApiDestinationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateApiDestinationCommand)
22
+ .de(de_UpdateApiDestinationCommand)
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_UpdateArchiveCommand, se_UpdateArchiveCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateArchiveCommand 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, UpdateArchiveCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "EventBridgeClient";
26
- const commandName = "UpdateArchiveCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSEvents",
35
- operation: "UpdateArchive",
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_UpdateArchiveCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateArchiveCommand(output, context);
46
- }
7
+ export class UpdateArchiveCommand 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("AWSEvents", "UpdateArchive", {})
19
+ .n("EventBridgeClient", "UpdateArchiveCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateArchiveCommand)
22
+ .de(de_UpdateArchiveCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
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 { UpdateConnectionRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateConnectionCommand, se_UpdateConnectionCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class UpdateConnectionCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConnectionCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "EventBridgeClient";
27
- const commandName = "UpdateConnectionCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateConnectionRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSEvents",
36
- operation: "UpdateConnection",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_UpdateConnectionCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateConnectionCommand(output, context);
47
- }
8
+ export class UpdateConnectionCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSEvents", "UpdateConnection", {})
20
+ .n("EventBridgeClient", "UpdateConnectionCommand")
21
+ .f(UpdateConnectionRequestFilterSensitiveLog, void 0)
22
+ .ser(se_UpdateConnectionCommand)
23
+ .de(de_UpdateConnectionCommand)
24
+ .build() {
48
25
  }
@@ -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_UpdateEndpointCommand, se_UpdateEndpointCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateEndpointCommand 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, UpdateEndpointCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "EventBridgeClient";
26
- const commandName = "UpdateEndpointCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSEvents",
35
- operation: "UpdateEndpoint",
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_UpdateEndpointCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateEndpointCommand(output, context);
46
- }
7
+ export class UpdateEndpointCommand 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("AWSEvents", "UpdateEndpoint", {})
19
+ .n("EventBridgeClient", "UpdateEndpointCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateEndpointCommand)
22
+ .de(de_UpdateEndpointCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "events",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
5
4
  import { ActivateEventSourceRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ActivateEventSourceCommandInput extends ActivateEventSourceRequ
21
20
  */
22
21
  export interface ActivateEventSourceCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const ActivateEventSourceCommand_base: {
24
+ new (input: ActivateEventSourceCommandInput): import("@smithy/smithy-client").CommandImpl<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Activates a partner event source that has been deactivated. Once activated, your matching
@@ -65,23 +68,5 @@ export interface ActivateEventSourceCommandOutput extends __MetadataBearer {
65
68
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
66
69
  *
67
70
  */
68
- export declare class ActivateEventSourceCommand extends $Command<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, EventBridgeClientResolvedConfig> {
69
- readonly input: ActivateEventSourceCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: ActivateEventSourceCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class ActivateEventSourceCommand extends ActivateEventSourceCommand_base {
87
72
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
5
4
  import { CancelReplayRequest, CancelReplayResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelReplayCommandInput extends CancelReplayRequest {
21
20
  */
22
21
  export interface CancelReplayCommandOutput extends CancelReplayResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelReplayCommand_base: {
24
+ new (input: CancelReplayCommandInput): import("@smithy/smithy-client").CommandImpl<CancelReplayCommandInput, CancelReplayCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels the specified replay.</p>
@@ -66,23 +69,5 @@ export interface CancelReplayCommandOutput extends CancelReplayResponse, __Metad
66
69
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
67
70
  *
68
71
  */
69
- export declare class CancelReplayCommand extends $Command<CancelReplayCommandInput, CancelReplayCommandOutput, EventBridgeClientResolvedConfig> {
70
- readonly input: CancelReplayCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: CancelReplayCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelReplayCommandInput, CancelReplayCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class CancelReplayCommand extends CancelReplayCommand_base {
88
73
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
5
4
  import { CreateApiDestinationRequest, CreateApiDestinationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateApiDestinationCommandInput extends CreateApiDestinationRe
21
20
  */
22
21
  export interface CreateApiDestinationCommandOutput extends CreateApiDestinationResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateApiDestinationCommand_base: {
24
+ new (input: CreateApiDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an API destination, which is an HTTP invocation endpoint configured as a target
@@ -75,23 +78,5 @@ export interface CreateApiDestinationCommandOutput extends CreateApiDestinationR
75
78
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
76
79
  *
77
80
  */
78
- export declare class CreateApiDestinationCommand extends $Command<CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput, EventBridgeClientResolvedConfig> {
79
- readonly input: CreateApiDestinationCommandInput;
80
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
- /**
82
- * @public
83
- */
84
- constructor(input: CreateApiDestinationCommandInput);
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput>;
89
- /**
90
- * @internal
91
- */
92
- private serialize;
93
- /**
94
- * @internal
95
- */
96
- private deserialize;
81
+ export declare class CreateApiDestinationCommand extends CreateApiDestinationCommand_base {
97
82
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
5
4
  import { CreateArchiveRequest, CreateArchiveResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateArchiveCommandInput extends CreateArchiveRequest {
21
20
  */
22
21
  export interface CreateArchiveCommandOutput extends CreateArchiveResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateArchiveCommand_base: {
24
+ new (input: CreateArchiveCommandInput): import("@smithy/smithy-client").CommandImpl<CreateArchiveCommandInput, CreateArchiveCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an archive of events with the specified settings. When you create an archive,
@@ -81,23 +84,5 @@ export interface CreateArchiveCommandOutput extends CreateArchiveResponse, __Met
81
84
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
82
85
  *
83
86
  */
84
- export declare class CreateArchiveCommand extends $Command<CreateArchiveCommandInput, CreateArchiveCommandOutput, EventBridgeClientResolvedConfig> {
85
- readonly input: CreateArchiveCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: CreateArchiveCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateArchiveCommandInput, CreateArchiveCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class CreateArchiveCommand extends CreateArchiveCommand_base {
103
88
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
5
4
  import { CreateConnectionRequest, CreateConnectionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateConnectionCommandInput extends CreateConnectionRequest {
21
20
  */
22
21
  export interface CreateConnectionCommandOutput extends CreateConnectionResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateConnectionCommand_base: {
24
+ new (input: CreateConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a connection. A connection defines the authorization type and credentials to use
@@ -131,23 +134,5 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
131
134
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
132
135
  *
133
136
  */
134
- export declare class CreateConnectionCommand extends $Command<CreateConnectionCommandInput, CreateConnectionCommandOutput, EventBridgeClientResolvedConfig> {
135
- readonly input: CreateConnectionCommandInput;
136
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
137
- /**
138
- * @public
139
- */
140
- constructor(input: CreateConnectionCommandInput);
141
- /**
142
- * @internal
143
- */
144
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConnectionCommandInput, CreateConnectionCommandOutput>;
145
- /**
146
- * @internal
147
- */
148
- private serialize;
149
- /**
150
- * @internal
151
- */
152
- private deserialize;
137
+ export declare class CreateConnectionCommand extends CreateConnectionCommand_base {
153
138
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
5
4
  import { CreateEndpointRequest, CreateEndpointResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateEndpointCommandInput extends CreateEndpointRequest {
21
20
  */
22
21
  export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateEndpointCommand_base: {
24
+ new (input: CreateEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEndpointCommandInput, CreateEndpointCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a global endpoint. Global endpoints improve your application's availability by making it regional-fault tolerant. To do this, you define a primary and secondary Region
@@ -104,23 +107,5 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
104
107
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
105
108
  *
106
109
  */
107
- export declare class CreateEndpointCommand extends $Command<CreateEndpointCommandInput, CreateEndpointCommandOutput, EventBridgeClientResolvedConfig> {
108
- readonly input: CreateEndpointCommandInput;
109
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
110
- /**
111
- * @public
112
- */
113
- constructor(input: CreateEndpointCommandInput);
114
- /**
115
- * @internal
116
- */
117
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEndpointCommandInput, CreateEndpointCommandOutput>;
118
- /**
119
- * @internal
120
- */
121
- private serialize;
122
- /**
123
- * @internal
124
- */
125
- private deserialize;
110
+ export declare class CreateEndpointCommand extends CreateEndpointCommand_base {
126
111
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
5
4
  import { CreateEventBusRequest, CreateEventBusResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateEventBusCommandInput extends CreateEventBusRequest {
21
20
  */
22
21
  export interface CreateEventBusCommandOutput extends CreateEventBusResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateEventBusCommand_base: {
24
+ new (input: CreateEventBusCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEventBusCommandInput, CreateEventBusCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new event bus within your account. This can be a custom event bus which you can
@@ -82,23 +85,5 @@ export interface CreateEventBusCommandOutput extends CreateEventBusResponse, __M
82
85
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
83
86
  *
84
87
  */
85
- export declare class CreateEventBusCommand extends $Command<CreateEventBusCommandInput, CreateEventBusCommandOutput, EventBridgeClientResolvedConfig> {
86
- readonly input: CreateEventBusCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: CreateEventBusCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEventBusCommandInput, CreateEventBusCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class CreateEventBusCommand extends CreateEventBusCommand_base {
104
89
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
5
4
  import { CreatePartnerEventSourceRequest, CreatePartnerEventSourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreatePartnerEventSourceCommandInput extends CreatePartnerEvent
21
20
  */
22
21
  export interface CreatePartnerEventSourceCommandOutput extends CreatePartnerEventSourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreatePartnerEventSourceCommand_base: {
24
+ new (input: CreatePartnerEventSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePartnerEventSourceCommandInput, CreatePartnerEventSourceCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Called by an SaaS partner to create a partner event source. This operation is not used by
@@ -105,23 +108,5 @@ export interface CreatePartnerEventSourceCommandOutput extends CreatePartnerEven
105
108
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
106
109
  *
107
110
  */
108
- export declare class CreatePartnerEventSourceCommand extends $Command<CreatePartnerEventSourceCommandInput, CreatePartnerEventSourceCommandOutput, EventBridgeClientResolvedConfig> {
109
- readonly input: CreatePartnerEventSourceCommandInput;
110
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
111
- /**
112
- * @public
113
- */
114
- constructor(input: CreatePartnerEventSourceCommandInput);
115
- /**
116
- * @internal
117
- */
118
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePartnerEventSourceCommandInput, CreatePartnerEventSourceCommandOutput>;
119
- /**
120
- * @internal
121
- */
122
- private serialize;
123
- /**
124
- * @internal
125
- */
126
- private deserialize;
111
+ export declare class CreatePartnerEventSourceCommand extends CreatePartnerEventSourceCommand_base {
127
112
  }