@aws-sdk/client-eventbridge 3.1077.0 → 3.1078.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 (179) hide show
  1. package/dist-cjs/index.js +179 -687
  2. package/dist-es/commandBuilder.js +9 -0
  3. package/dist-es/commands/ActivateEventSourceCommand.js +2 -14
  4. package/dist-es/commands/CancelReplayCommand.js +2 -14
  5. package/dist-es/commands/CreateApiDestinationCommand.js +2 -14
  6. package/dist-es/commands/CreateArchiveCommand.js +2 -14
  7. package/dist-es/commands/CreateConnectionCommand.js +2 -14
  8. package/dist-es/commands/CreateEndpointCommand.js +2 -14
  9. package/dist-es/commands/CreateEventBusCommand.js +2 -14
  10. package/dist-es/commands/CreatePartnerEventSourceCommand.js +2 -14
  11. package/dist-es/commands/DeactivateEventSourceCommand.js +2 -14
  12. package/dist-es/commands/DeauthorizeConnectionCommand.js +2 -14
  13. package/dist-es/commands/DeleteApiDestinationCommand.js +2 -14
  14. package/dist-es/commands/DeleteArchiveCommand.js +2 -14
  15. package/dist-es/commands/DeleteConnectionCommand.js +2 -14
  16. package/dist-es/commands/DeleteEndpointCommand.js +2 -14
  17. package/dist-es/commands/DeleteEventBusCommand.js +2 -14
  18. package/dist-es/commands/DeletePartnerEventSourceCommand.js +2 -14
  19. package/dist-es/commands/DeleteRuleCommand.js +2 -14
  20. package/dist-es/commands/DescribeApiDestinationCommand.js +2 -14
  21. package/dist-es/commands/DescribeArchiveCommand.js +2 -14
  22. package/dist-es/commands/DescribeConnectionCommand.js +2 -14
  23. package/dist-es/commands/DescribeEndpointCommand.js +2 -14
  24. package/dist-es/commands/DescribeEventBusCommand.js +2 -14
  25. package/dist-es/commands/DescribeEventSourceCommand.js +2 -14
  26. package/dist-es/commands/DescribePartnerEventSourceCommand.js +2 -14
  27. package/dist-es/commands/DescribeReplayCommand.js +2 -14
  28. package/dist-es/commands/DescribeRuleCommand.js +2 -14
  29. package/dist-es/commands/DisableRuleCommand.js +2 -14
  30. package/dist-es/commands/EnableRuleCommand.js +2 -14
  31. package/dist-es/commands/ListApiDestinationsCommand.js +2 -14
  32. package/dist-es/commands/ListArchivesCommand.js +2 -14
  33. package/dist-es/commands/ListConnectionsCommand.js +2 -14
  34. package/dist-es/commands/ListEndpointsCommand.js +2 -14
  35. package/dist-es/commands/ListEventBusesCommand.js +2 -14
  36. package/dist-es/commands/ListEventSourcesCommand.js +2 -14
  37. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +2 -14
  38. package/dist-es/commands/ListPartnerEventSourcesCommand.js +2 -14
  39. package/dist-es/commands/ListReplaysCommand.js +2 -14
  40. package/dist-es/commands/ListRuleNamesByTargetCommand.js +2 -14
  41. package/dist-es/commands/ListRulesCommand.js +2 -14
  42. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  43. package/dist-es/commands/ListTargetsByRuleCommand.js +2 -14
  44. package/dist-es/commands/PutEventsCommand.js +2 -17
  45. package/dist-es/commands/PutPartnerEventsCommand.js +2 -14
  46. package/dist-es/commands/PutPermissionCommand.js +2 -14
  47. package/dist-es/commands/PutRuleCommand.js +2 -14
  48. package/dist-es/commands/PutTargetsCommand.js +2 -14
  49. package/dist-es/commands/RemovePermissionCommand.js +2 -14
  50. package/dist-es/commands/RemoveTargetsCommand.js +2 -14
  51. package/dist-es/commands/StartReplayCommand.js +2 -14
  52. package/dist-es/commands/TagResourceCommand.js +2 -14
  53. package/dist-es/commands/TestEventPatternCommand.js +2 -14
  54. package/dist-es/commands/UntagResourceCommand.js +2 -14
  55. package/dist-es/commands/UpdateApiDestinationCommand.js +2 -14
  56. package/dist-es/commands/UpdateArchiveCommand.js +2 -14
  57. package/dist-es/commands/UpdateConnectionCommand.js +2 -14
  58. package/dist-es/commands/UpdateEndpointCommand.js +2 -14
  59. package/dist-es/commands/UpdateEventBusCommand.js +2 -14
  60. package/dist-es/index.js +1 -0
  61. package/dist-types/commandBuilder.d.ts +22 -0
  62. package/dist-types/commands/ActivateEventSourceCommand.d.ts +3 -8
  63. package/dist-types/commands/CancelReplayCommand.d.ts +3 -8
  64. package/dist-types/commands/CreateApiDestinationCommand.d.ts +3 -8
  65. package/dist-types/commands/CreateArchiveCommand.d.ts +3 -8
  66. package/dist-types/commands/CreateConnectionCommand.d.ts +3 -8
  67. package/dist-types/commands/CreateEndpointCommand.d.ts +3 -8
  68. package/dist-types/commands/CreateEventBusCommand.d.ts +3 -8
  69. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +3 -8
  70. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +3 -8
  71. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +3 -8
  72. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +3 -8
  73. package/dist-types/commands/DeleteArchiveCommand.d.ts +3 -8
  74. package/dist-types/commands/DeleteConnectionCommand.d.ts +3 -8
  75. package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -8
  76. package/dist-types/commands/DeleteEventBusCommand.d.ts +3 -8
  77. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +3 -8
  78. package/dist-types/commands/DeleteRuleCommand.d.ts +3 -8
  79. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +3 -8
  80. package/dist-types/commands/DescribeArchiveCommand.d.ts +3 -8
  81. package/dist-types/commands/DescribeConnectionCommand.d.ts +3 -8
  82. package/dist-types/commands/DescribeEndpointCommand.d.ts +3 -8
  83. package/dist-types/commands/DescribeEventBusCommand.d.ts +3 -8
  84. package/dist-types/commands/DescribeEventSourceCommand.d.ts +3 -8
  85. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +3 -8
  86. package/dist-types/commands/DescribeReplayCommand.d.ts +3 -8
  87. package/dist-types/commands/DescribeRuleCommand.d.ts +3 -8
  88. package/dist-types/commands/DisableRuleCommand.d.ts +3 -8
  89. package/dist-types/commands/EnableRuleCommand.d.ts +3 -8
  90. package/dist-types/commands/ListApiDestinationsCommand.d.ts +3 -8
  91. package/dist-types/commands/ListArchivesCommand.d.ts +3 -8
  92. package/dist-types/commands/ListConnectionsCommand.d.ts +3 -8
  93. package/dist-types/commands/ListEndpointsCommand.d.ts +3 -8
  94. package/dist-types/commands/ListEventBusesCommand.d.ts +3 -8
  95. package/dist-types/commands/ListEventSourcesCommand.d.ts +3 -8
  96. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +3 -8
  97. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +3 -8
  98. package/dist-types/commands/ListReplaysCommand.d.ts +3 -8
  99. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +3 -8
  100. package/dist-types/commands/ListRulesCommand.d.ts +3 -8
  101. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  102. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +3 -8
  103. package/dist-types/commands/PutEventsCommand.d.ts +3 -8
  104. package/dist-types/commands/PutPartnerEventsCommand.d.ts +3 -8
  105. package/dist-types/commands/PutPermissionCommand.d.ts +3 -8
  106. package/dist-types/commands/PutRuleCommand.d.ts +3 -8
  107. package/dist-types/commands/PutTargetsCommand.d.ts +3 -8
  108. package/dist-types/commands/RemovePermissionCommand.d.ts +3 -8
  109. package/dist-types/commands/RemoveTargetsCommand.d.ts +3 -8
  110. package/dist-types/commands/StartReplayCommand.d.ts +3 -8
  111. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  112. package/dist-types/commands/TestEventPatternCommand.d.ts +3 -8
  113. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  114. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +3 -8
  115. package/dist-types/commands/UpdateArchiveCommand.d.ts +3 -8
  116. package/dist-types/commands/UpdateConnectionCommand.d.ts +3 -8
  117. package/dist-types/commands/UpdateEndpointCommand.d.ts +3 -8
  118. package/dist-types/commands/UpdateEventBusCommand.d.ts +3 -8
  119. package/dist-types/index.d.ts +1 -0
  120. package/dist-types/ts3.4/commandBuilder.d.ts +47 -0
  121. package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/UpdateEventBusCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/index.d.ts +1 -0
  179. package/package.json +10 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEndpoints$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEndpointsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListEndpoints", {})
13
- .n("EventBridgeClient", "ListEndpointsCommand")
14
- .sc(ListEndpoints$)
15
- .build() {
3
+ export class ListEndpointsCommand extends command(_ep0, _mw0, "ListEndpoints", ListEndpoints$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEventBuses$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEventBusesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListEventBuses", {})
13
- .n("EventBridgeClient", "ListEventBusesCommand")
14
- .sc(ListEventBuses$)
15
- .build() {
3
+ export class ListEventBusesCommand extends command(_ep0, _mw0, "ListEventBuses", ListEventBuses$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEventSources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEventSourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListEventSources", {})
13
- .n("EventBridgeClient", "ListEventSourcesCommand")
14
- .sc(ListEventSources$)
15
- .build() {
3
+ export class ListEventSourcesCommand extends command(_ep0, _mw0, "ListEventSources", ListEventSources$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPartnerEventSourceAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPartnerEventSourceAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListPartnerEventSourceAccounts", {})
13
- .n("EventBridgeClient", "ListPartnerEventSourceAccountsCommand")
14
- .sc(ListPartnerEventSourceAccounts$)
15
- .build() {
3
+ export class ListPartnerEventSourceAccountsCommand extends command(_ep0, _mw0, "ListPartnerEventSourceAccounts", ListPartnerEventSourceAccounts$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPartnerEventSources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPartnerEventSourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListPartnerEventSources", {})
13
- .n("EventBridgeClient", "ListPartnerEventSourcesCommand")
14
- .sc(ListPartnerEventSources$)
15
- .build() {
3
+ export class ListPartnerEventSourcesCommand extends command(_ep0, _mw0, "ListPartnerEventSources", ListPartnerEventSources$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListReplays$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListReplaysCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListReplays", {})
13
- .n("EventBridgeClient", "ListReplaysCommand")
14
- .sc(ListReplays$)
15
- .build() {
3
+ export class ListReplaysCommand extends command(_ep0, _mw0, "ListReplays", ListReplays$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListRuleNamesByTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRuleNamesByTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListRuleNamesByTarget", {})
13
- .n("EventBridgeClient", "ListRuleNamesByTargetCommand")
14
- .sc(ListRuleNamesByTarget$)
15
- .build() {
3
+ export class ListRuleNamesByTargetCommand extends command(_ep0, _mw0, "ListRuleNamesByTarget", ListRuleNamesByTarget$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListRules$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRulesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListRules", {})
13
- .n("EventBridgeClient", "ListRulesCommand")
14
- .sc(ListRules$)
15
- .build() {
3
+ export class ListRulesCommand extends command(_ep0, _mw0, "ListRules", ListRules$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListTagsForResource", {})
13
- .n("EventBridgeClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTargetsByRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTargetsByRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListTargetsByRule", {})
13
- .n("EventBridgeClient", "ListTargetsByRuleCommand")
14
- .sc(ListTargetsByRule$)
15
- .build() {
3
+ export class ListTargetsByRuleCommand extends command(_ep0, _mw0, "ListTargetsByRule", ListTargetsByRule$) {
16
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep1, _mw0, command } from "../commandBuilder";
4
2
  import { PutEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutEventsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- EndpointId: { type: "contextParams", name: "EndpointId" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("AWSEvents", "PutEvents", {})
16
- .n("EventBridgeClient", "PutEventsCommand")
17
- .sc(PutEvents$)
18
- .build() {
3
+ export class PutEventsCommand extends command(_ep1, _mw0, "PutEvents", PutEvents$) {
19
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutPartnerEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutPartnerEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "PutPartnerEvents", {})
13
- .n("EventBridgeClient", "PutPartnerEventsCommand")
14
- .sc(PutPartnerEvents$)
15
- .build() {
3
+ export class PutPartnerEventsCommand extends command(_ep0, _mw0, "PutPartnerEvents", PutPartnerEvents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutPermission$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutPermissionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "PutPermission", {})
13
- .n("EventBridgeClient", "PutPermissionCommand")
14
- .sc(PutPermission$)
15
- .build() {
3
+ export class PutPermissionCommand extends command(_ep0, _mw0, "PutPermission", PutPermission$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "PutRule", {})
13
- .n("EventBridgeClient", "PutRuleCommand")
14
- .sc(PutRule$)
15
- .build() {
3
+ export class PutRuleCommand extends command(_ep0, _mw0, "PutRule", PutRule$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutTargetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "PutTargets", {})
13
- .n("EventBridgeClient", "PutTargetsCommand")
14
- .sc(PutTargets$)
15
- .build() {
3
+ export class PutTargetsCommand extends command(_ep0, _mw0, "PutTargets", PutTargets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RemovePermission$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemovePermissionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "RemovePermission", {})
13
- .n("EventBridgeClient", "RemovePermissionCommand")
14
- .sc(RemovePermission$)
15
- .build() {
3
+ export class RemovePermissionCommand extends command(_ep0, _mw0, "RemovePermission", RemovePermission$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RemoveTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveTargetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "RemoveTargets", {})
13
- .n("EventBridgeClient", "RemoveTargetsCommand")
14
- .sc(RemoveTargets$)
15
- .build() {
3
+ export class RemoveTargetsCommand extends command(_ep0, _mw0, "RemoveTargets", RemoveTargets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartReplay$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartReplayCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "StartReplay", {})
13
- .n("EventBridgeClient", "StartReplayCommand")
14
- .sc(StartReplay$)
15
- .build() {
3
+ export class StartReplayCommand extends command(_ep0, _mw0, "StartReplay", StartReplay$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "TagResource", {})
13
- .n("EventBridgeClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TestEventPattern$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TestEventPatternCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "TestEventPattern", {})
13
- .n("EventBridgeClient", "TestEventPatternCommand")
14
- .sc(TestEventPattern$)
15
- .build() {
3
+ export class TestEventPatternCommand extends command(_ep0, _mw0, "TestEventPattern", TestEventPattern$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UntagResource", {})
13
- .n("EventBridgeClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateApiDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateApiDestinationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UpdateApiDestination", {})
13
- .n("EventBridgeClient", "UpdateApiDestinationCommand")
14
- .sc(UpdateApiDestination$)
15
- .build() {
3
+ export class UpdateApiDestinationCommand extends command(_ep0, _mw0, "UpdateApiDestination", UpdateApiDestination$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateArchive$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateArchiveCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UpdateArchive", {})
13
- .n("EventBridgeClient", "UpdateArchiveCommand")
14
- .sc(UpdateArchive$)
15
- .build() {
3
+ export class UpdateArchiveCommand extends command(_ep0, _mw0, "UpdateArchive", UpdateArchive$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UpdateConnection", {})
13
- .n("EventBridgeClient", "UpdateConnectionCommand")
14
- .sc(UpdateConnection$)
15
- .build() {
3
+ export class UpdateConnectionCommand extends command(_ep0, _mw0, "UpdateConnection", UpdateConnection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateEndpoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEndpointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UpdateEndpoint", {})
13
- .n("EventBridgeClient", "UpdateEndpointCommand")
14
- .sc(UpdateEndpoint$)
15
- .build() {
3
+ export class UpdateEndpointCommand extends command(_ep0, _mw0, "UpdateEndpoint", UpdateEndpoint$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateEventBus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEventBusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UpdateEventBus", {})
13
- .n("EventBridgeClient", "UpdateEventBusCommand")
14
- .sc(UpdateEventBus$)
15
- .build() {
3
+ export class UpdateEventBusCommand extends command(_ep0, _mw0, "UpdateEventBus", UpdateEventBus$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./EventBridgeClient";
2
2
  export * from "./EventBridge";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -0,0 +1,22 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./EventBridgeClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _ep1: EndpointParameterInstructions;
19
+ /**
20
+ * @internal
21
+ */
22
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
4
2
  import type { ActivateEventSourceRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ActivateEventSourceCommandInput extends ActivateEventSourceRequ
22
19
  export interface ActivateEventSourceCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const ActivateEventSourceCommand_base: {
25
- new (input: ActivateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ActivateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ActivateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, import("..").EventBridgeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ActivateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, import("..").EventBridgeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Activates a partner event source that has been deactivated. Once activated, your matching
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
4
2
  import type { CancelReplayRequest, CancelReplayResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CancelReplayCommandInput extends CancelReplayRequest {
22
19
  export interface CancelReplayCommandOutput extends CancelReplayResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CancelReplayCommand_base: {
25
- new (input: CancelReplayCommandInput): import("@smithy/core/client").CommandImpl<CancelReplayCommandInput, CancelReplayCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelReplayCommandInput): import("@smithy/core/client").CommandImpl<CancelReplayCommandInput, CancelReplayCommandOutput, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CancelReplayCommandInput): import("@smithy/core/client").CommandImpl<CancelReplayCommandInput, CancelReplayCommandOutput, import("..").EventBridgeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelReplayCommandInput): import("@smithy/core/client").CommandImpl<CancelReplayCommandInput, CancelReplayCommandOutput, import("..").EventBridgeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Cancels the specified replay.</p>