@aws-sdk/client-eventbridge 3.1045.0 → 3.1047.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 (206) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +7 -7
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +130 -131
  5. package/dist-cjs/models/EventBridgeServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +19 -23
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/EventBridge.js +1 -1
  10. package/dist-es/EventBridgeClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +2 -2
  12. package/dist-es/commands/ActivateEventSourceCommand.js +2 -2
  13. package/dist-es/commands/CancelReplayCommand.js +2 -2
  14. package/dist-es/commands/CreateApiDestinationCommand.js +2 -2
  15. package/dist-es/commands/CreateArchiveCommand.js +2 -2
  16. package/dist-es/commands/CreateConnectionCommand.js +2 -2
  17. package/dist-es/commands/CreateEndpointCommand.js +2 -2
  18. package/dist-es/commands/CreateEventBusCommand.js +2 -2
  19. package/dist-es/commands/CreatePartnerEventSourceCommand.js +2 -2
  20. package/dist-es/commands/DeactivateEventSourceCommand.js +2 -2
  21. package/dist-es/commands/DeauthorizeConnectionCommand.js +2 -2
  22. package/dist-es/commands/DeleteApiDestinationCommand.js +2 -2
  23. package/dist-es/commands/DeleteArchiveCommand.js +2 -2
  24. package/dist-es/commands/DeleteConnectionCommand.js +2 -2
  25. package/dist-es/commands/DeleteEndpointCommand.js +2 -2
  26. package/dist-es/commands/DeleteEventBusCommand.js +2 -2
  27. package/dist-es/commands/DeletePartnerEventSourceCommand.js +2 -2
  28. package/dist-es/commands/DeleteRuleCommand.js +2 -2
  29. package/dist-es/commands/DescribeApiDestinationCommand.js +2 -2
  30. package/dist-es/commands/DescribeArchiveCommand.js +2 -2
  31. package/dist-es/commands/DescribeConnectionCommand.js +2 -2
  32. package/dist-es/commands/DescribeEndpointCommand.js +2 -2
  33. package/dist-es/commands/DescribeEventBusCommand.js +2 -2
  34. package/dist-es/commands/DescribeEventSourceCommand.js +2 -2
  35. package/dist-es/commands/DescribePartnerEventSourceCommand.js +2 -2
  36. package/dist-es/commands/DescribeReplayCommand.js +2 -2
  37. package/dist-es/commands/DescribeRuleCommand.js +2 -2
  38. package/dist-es/commands/DisableRuleCommand.js +2 -2
  39. package/dist-es/commands/EnableRuleCommand.js +2 -2
  40. package/dist-es/commands/ListApiDestinationsCommand.js +2 -2
  41. package/dist-es/commands/ListArchivesCommand.js +2 -2
  42. package/dist-es/commands/ListConnectionsCommand.js +2 -2
  43. package/dist-es/commands/ListEndpointsCommand.js +2 -2
  44. package/dist-es/commands/ListEventBusesCommand.js +2 -2
  45. package/dist-es/commands/ListEventSourcesCommand.js +2 -2
  46. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +2 -2
  47. package/dist-es/commands/ListPartnerEventSourcesCommand.js +2 -2
  48. package/dist-es/commands/ListReplaysCommand.js +2 -2
  49. package/dist-es/commands/ListRuleNamesByTargetCommand.js +2 -2
  50. package/dist-es/commands/ListRulesCommand.js +2 -2
  51. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  52. package/dist-es/commands/ListTargetsByRuleCommand.js +2 -2
  53. package/dist-es/commands/PutEventsCommand.js +2 -2
  54. package/dist-es/commands/PutPartnerEventsCommand.js +2 -2
  55. package/dist-es/commands/PutPermissionCommand.js +2 -2
  56. package/dist-es/commands/PutRuleCommand.js +2 -2
  57. package/dist-es/commands/PutTargetsCommand.js +2 -2
  58. package/dist-es/commands/RemovePermissionCommand.js +2 -2
  59. package/dist-es/commands/RemoveTargetsCommand.js +2 -2
  60. package/dist-es/commands/StartReplayCommand.js +2 -2
  61. package/dist-es/commands/TagResourceCommand.js +2 -2
  62. package/dist-es/commands/TestEventPatternCommand.js +2 -2
  63. package/dist-es/commands/UntagResourceCommand.js +2 -2
  64. package/dist-es/commands/UpdateApiDestinationCommand.js +2 -2
  65. package/dist-es/commands/UpdateArchiveCommand.js +2 -2
  66. package/dist-es/commands/UpdateConnectionCommand.js +2 -2
  67. package/dist-es/commands/UpdateEndpointCommand.js +2 -2
  68. package/dist-es/commands/UpdateEventBusCommand.js +2 -2
  69. package/dist-es/endpoint/bdd.js +1 -1
  70. package/dist-es/endpoint/endpointResolver.js +1 -1
  71. package/dist-es/models/EventBridgeServiceException.js +1 -1
  72. package/dist-es/runtimeConfig.browser.js +4 -6
  73. package/dist-es/runtimeConfig.js +4 -8
  74. package/dist-es/runtimeConfig.shared.js +3 -4
  75. package/dist-es/runtimeExtensions.js +2 -2
  76. package/dist-types/EventBridgeClient.d.ts +5 -5
  77. package/dist-types/commands/ActivateEventSourceCommand.d.ts +6 -4
  78. package/dist-types/commands/CancelReplayCommand.d.ts +6 -4
  79. package/dist-types/commands/CreateApiDestinationCommand.d.ts +6 -4
  80. package/dist-types/commands/CreateArchiveCommand.d.ts +6 -4
  81. package/dist-types/commands/CreateConnectionCommand.d.ts +6 -4
  82. package/dist-types/commands/CreateEndpointCommand.d.ts +6 -4
  83. package/dist-types/commands/CreateEventBusCommand.d.ts +6 -4
  84. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +6 -4
  85. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +6 -4
  86. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +6 -4
  87. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +6 -4
  88. package/dist-types/commands/DeleteArchiveCommand.d.ts +6 -4
  89. package/dist-types/commands/DeleteConnectionCommand.d.ts +6 -4
  90. package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -4
  91. package/dist-types/commands/DeleteEventBusCommand.d.ts +6 -4
  92. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +6 -4
  93. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -4
  94. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +6 -4
  95. package/dist-types/commands/DescribeArchiveCommand.d.ts +6 -4
  96. package/dist-types/commands/DescribeConnectionCommand.d.ts +6 -4
  97. package/dist-types/commands/DescribeEndpointCommand.d.ts +6 -4
  98. package/dist-types/commands/DescribeEventBusCommand.d.ts +6 -4
  99. package/dist-types/commands/DescribeEventSourceCommand.d.ts +6 -4
  100. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +6 -4
  101. package/dist-types/commands/DescribeReplayCommand.d.ts +6 -4
  102. package/dist-types/commands/DescribeRuleCommand.d.ts +6 -4
  103. package/dist-types/commands/DisableRuleCommand.d.ts +6 -4
  104. package/dist-types/commands/EnableRuleCommand.d.ts +6 -4
  105. package/dist-types/commands/ListApiDestinationsCommand.d.ts +6 -4
  106. package/dist-types/commands/ListArchivesCommand.d.ts +6 -4
  107. package/dist-types/commands/ListConnectionsCommand.d.ts +6 -4
  108. package/dist-types/commands/ListEndpointsCommand.d.ts +6 -4
  109. package/dist-types/commands/ListEventBusesCommand.d.ts +6 -4
  110. package/dist-types/commands/ListEventSourcesCommand.d.ts +6 -4
  111. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +6 -4
  112. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +6 -4
  113. package/dist-types/commands/ListReplaysCommand.d.ts +6 -4
  114. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +6 -4
  115. package/dist-types/commands/ListRulesCommand.d.ts +6 -4
  116. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  117. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +6 -4
  118. package/dist-types/commands/PutEventsCommand.d.ts +6 -4
  119. package/dist-types/commands/PutPartnerEventsCommand.d.ts +6 -4
  120. package/dist-types/commands/PutPermissionCommand.d.ts +6 -4
  121. package/dist-types/commands/PutRuleCommand.d.ts +6 -4
  122. package/dist-types/commands/PutTargetsCommand.d.ts +6 -4
  123. package/dist-types/commands/RemovePermissionCommand.d.ts +6 -4
  124. package/dist-types/commands/RemoveTargetsCommand.d.ts +6 -4
  125. package/dist-types/commands/StartReplayCommand.d.ts +6 -4
  126. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  127. package/dist-types/commands/TestEventPatternCommand.d.ts +6 -4
  128. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  129. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +6 -4
  130. package/dist-types/commands/UpdateArchiveCommand.d.ts +6 -4
  131. package/dist-types/commands/UpdateConnectionCommand.d.ts +6 -4
  132. package/dist-types/commands/UpdateEndpointCommand.d.ts +6 -4
  133. package/dist-types/commands/UpdateEventBusCommand.d.ts +6 -4
  134. package/dist-types/endpoint/bdd.d.ts +1 -1
  135. package/dist-types/extensionConfiguration.d.ts +1 -1
  136. package/dist-types/models/EventBridgeServiceException.d.ts +1 -1
  137. package/dist-types/models/errors.d.ts +1 -1
  138. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  139. package/dist-types/runtimeConfig.d.ts +2 -2
  140. package/dist-types/runtimeConfig.native.d.ts +2 -2
  141. package/dist-types/ts3.4/EventBridgeClient.d.ts +8 -14
  142. package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +6 -4
  143. package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +6 -4
  144. package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +6 -4
  145. package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +6 -4
  146. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +6 -4
  147. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +6 -4
  148. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +6 -4
  149. package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +6 -4
  150. package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +6 -4
  151. package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +6 -4
  152. package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +6 -4
  153. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +6 -4
  154. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +6 -4
  155. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +6 -4
  156. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +6 -4
  157. package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +6 -4
  158. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +6 -4
  159. package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +6 -4
  160. package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +6 -4
  161. package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +6 -4
  162. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +6 -4
  163. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +6 -4
  164. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +6 -4
  165. package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +6 -4
  166. package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +6 -4
  167. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +6 -4
  168. package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +6 -4
  169. package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +6 -4
  170. package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +6 -4
  171. package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +6 -4
  172. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +6 -4
  173. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +6 -4
  174. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +6 -4
  175. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +6 -4
  176. package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +6 -4
  177. package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +6 -4
  178. package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +6 -4
  179. package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +6 -4
  180. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +6 -6
  181. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  182. package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +6 -4
  183. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +6 -8
  184. package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +6 -4
  185. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +6 -4
  189. package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +6 -4
  190. package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +6 -4
  191. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  192. package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +6 -4
  193. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  194. package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +6 -4
  195. package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +6 -4
  196. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +6 -4
  197. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +6 -4
  198. package/dist-types/ts3.4/commands/UpdateEventBusCommand.d.ts +6 -4
  199. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  200. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  201. package/dist-types/ts3.4/models/EventBridgeServiceException.d.ts +1 -1
  202. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  203. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  204. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  205. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  206. package/package.json +15 -36
package/dist-cjs/index.js CHANGED
@@ -4,17 +4,16 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
18
  var errors = require('./models/errors');
20
19
  var EventBridgeServiceException = require('./models/EventBridgeServiceException');
@@ -73,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
73
72
  };
74
73
 
75
74
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
76
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
77
76
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
78
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
79
78
  };
80
79
 
81
- class EventBridgeClient extends smithyClient.Client {
80
+ class EventBridgeClient extends client.Client {
82
81
  config;
83
82
  constructor(...[configuration]) {
84
83
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -86,17 +85,17 @@ class EventBridgeClient extends smithyClient.Client {
86
85
  this.initConfig = _config_0;
87
86
  const _config_1 = resolveClientEndpointParameters(_config_0);
88
87
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
89
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
90
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
88
+ const _config_3 = retry.resolveRetryConfig(_config_2);
89
+ const _config_4 = config.resolveRegionConfig(_config_3);
91
90
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
92
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
93
92
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
93
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
94
  this.config = _config_8;
96
95
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
97
96
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
98
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
99
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
98
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
100
99
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
101
100
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
102
101
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -114,11 +113,11 @@ class EventBridgeClient extends smithyClient.Client {
114
113
  }
115
114
  }
116
115
 
117
- class ActivateEventSourceCommand extends smithyClient.Command
116
+ class ActivateEventSourceCommand extends client.Command
118
117
  .classBuilder()
119
118
  .ep(commonParams)
120
119
  .m(function (Command, cs, config, o) {
121
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
120
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
122
121
  })
123
122
  .s("AWSEvents", "ActivateEventSource", {})
124
123
  .n("EventBridgeClient", "ActivateEventSourceCommand")
@@ -126,11 +125,11 @@ class ActivateEventSourceCommand extends smithyClient.Command
126
125
  .build() {
127
126
  }
128
127
 
129
- class CancelReplayCommand extends smithyClient.Command
128
+ class CancelReplayCommand extends client.Command
130
129
  .classBuilder()
131
130
  .ep(commonParams)
132
131
  .m(function (Command, cs, config, o) {
133
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
132
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
134
133
  })
135
134
  .s("AWSEvents", "CancelReplay", {})
136
135
  .n("EventBridgeClient", "CancelReplayCommand")
@@ -138,11 +137,11 @@ class CancelReplayCommand extends smithyClient.Command
138
137
  .build() {
139
138
  }
140
139
 
141
- class CreateApiDestinationCommand extends smithyClient.Command
140
+ class CreateApiDestinationCommand extends client.Command
142
141
  .classBuilder()
143
142
  .ep(commonParams)
144
143
  .m(function (Command, cs, config, o) {
145
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
144
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
146
145
  })
147
146
  .s("AWSEvents", "CreateApiDestination", {})
148
147
  .n("EventBridgeClient", "CreateApiDestinationCommand")
@@ -150,11 +149,11 @@ class CreateApiDestinationCommand extends smithyClient.Command
150
149
  .build() {
151
150
  }
152
151
 
153
- class CreateArchiveCommand extends smithyClient.Command
152
+ class CreateArchiveCommand extends client.Command
154
153
  .classBuilder()
155
154
  .ep(commonParams)
156
155
  .m(function (Command, cs, config, o) {
157
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
156
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
158
157
  })
159
158
  .s("AWSEvents", "CreateArchive", {})
160
159
  .n("EventBridgeClient", "CreateArchiveCommand")
@@ -162,11 +161,11 @@ class CreateArchiveCommand extends smithyClient.Command
162
161
  .build() {
163
162
  }
164
163
 
165
- class CreateConnectionCommand extends smithyClient.Command
164
+ class CreateConnectionCommand extends client.Command
166
165
  .classBuilder()
167
166
  .ep(commonParams)
168
167
  .m(function (Command, cs, config, o) {
169
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
168
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
170
169
  })
171
170
  .s("AWSEvents", "CreateConnection", {})
172
171
  .n("EventBridgeClient", "CreateConnectionCommand")
@@ -174,11 +173,11 @@ class CreateConnectionCommand extends smithyClient.Command
174
173
  .build() {
175
174
  }
176
175
 
177
- class CreateEndpointCommand extends smithyClient.Command
176
+ class CreateEndpointCommand extends client.Command
178
177
  .classBuilder()
179
178
  .ep(commonParams)
180
179
  .m(function (Command, cs, config, o) {
181
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
180
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
182
181
  })
183
182
  .s("AWSEvents", "CreateEndpoint", {})
184
183
  .n("EventBridgeClient", "CreateEndpointCommand")
@@ -186,11 +185,11 @@ class CreateEndpointCommand extends smithyClient.Command
186
185
  .build() {
187
186
  }
188
187
 
189
- class CreateEventBusCommand extends smithyClient.Command
188
+ class CreateEventBusCommand extends client.Command
190
189
  .classBuilder()
191
190
  .ep(commonParams)
192
191
  .m(function (Command, cs, config, o) {
193
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
192
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
194
193
  })
195
194
  .s("AWSEvents", "CreateEventBus", {})
196
195
  .n("EventBridgeClient", "CreateEventBusCommand")
@@ -198,11 +197,11 @@ class CreateEventBusCommand extends smithyClient.Command
198
197
  .build() {
199
198
  }
200
199
 
201
- class CreatePartnerEventSourceCommand extends smithyClient.Command
200
+ class CreatePartnerEventSourceCommand extends client.Command
202
201
  .classBuilder()
203
202
  .ep(commonParams)
204
203
  .m(function (Command, cs, config, o) {
205
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
204
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
206
205
  })
207
206
  .s("AWSEvents", "CreatePartnerEventSource", {})
208
207
  .n("EventBridgeClient", "CreatePartnerEventSourceCommand")
@@ -210,11 +209,11 @@ class CreatePartnerEventSourceCommand extends smithyClient.Command
210
209
  .build() {
211
210
  }
212
211
 
213
- class DeactivateEventSourceCommand extends smithyClient.Command
212
+ class DeactivateEventSourceCommand extends client.Command
214
213
  .classBuilder()
215
214
  .ep(commonParams)
216
215
  .m(function (Command, cs, config, o) {
217
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
216
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
218
217
  })
219
218
  .s("AWSEvents", "DeactivateEventSource", {})
220
219
  .n("EventBridgeClient", "DeactivateEventSourceCommand")
@@ -222,11 +221,11 @@ class DeactivateEventSourceCommand extends smithyClient.Command
222
221
  .build() {
223
222
  }
224
223
 
225
- class DeauthorizeConnectionCommand extends smithyClient.Command
224
+ class DeauthorizeConnectionCommand extends client.Command
226
225
  .classBuilder()
227
226
  .ep(commonParams)
228
227
  .m(function (Command, cs, config, o) {
229
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
228
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
230
229
  })
231
230
  .s("AWSEvents", "DeauthorizeConnection", {})
232
231
  .n("EventBridgeClient", "DeauthorizeConnectionCommand")
@@ -234,11 +233,11 @@ class DeauthorizeConnectionCommand extends smithyClient.Command
234
233
  .build() {
235
234
  }
236
235
 
237
- class DeleteApiDestinationCommand extends smithyClient.Command
236
+ class DeleteApiDestinationCommand extends client.Command
238
237
  .classBuilder()
239
238
  .ep(commonParams)
240
239
  .m(function (Command, cs, config, o) {
241
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
240
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
242
241
  })
243
242
  .s("AWSEvents", "DeleteApiDestination", {})
244
243
  .n("EventBridgeClient", "DeleteApiDestinationCommand")
@@ -246,11 +245,11 @@ class DeleteApiDestinationCommand extends smithyClient.Command
246
245
  .build() {
247
246
  }
248
247
 
249
- class DeleteArchiveCommand extends smithyClient.Command
248
+ class DeleteArchiveCommand extends client.Command
250
249
  .classBuilder()
251
250
  .ep(commonParams)
252
251
  .m(function (Command, cs, config, o) {
253
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
252
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
254
253
  })
255
254
  .s("AWSEvents", "DeleteArchive", {})
256
255
  .n("EventBridgeClient", "DeleteArchiveCommand")
@@ -258,11 +257,11 @@ class DeleteArchiveCommand extends smithyClient.Command
258
257
  .build() {
259
258
  }
260
259
 
261
- class DeleteConnectionCommand extends smithyClient.Command
260
+ class DeleteConnectionCommand extends client.Command
262
261
  .classBuilder()
263
262
  .ep(commonParams)
264
263
  .m(function (Command, cs, config, o) {
265
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
264
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
266
265
  })
267
266
  .s("AWSEvents", "DeleteConnection", {})
268
267
  .n("EventBridgeClient", "DeleteConnectionCommand")
@@ -270,11 +269,11 @@ class DeleteConnectionCommand extends smithyClient.Command
270
269
  .build() {
271
270
  }
272
271
 
273
- class DeleteEndpointCommand extends smithyClient.Command
272
+ class DeleteEndpointCommand extends client.Command
274
273
  .classBuilder()
275
274
  .ep(commonParams)
276
275
  .m(function (Command, cs, config, o) {
277
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
276
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
278
277
  })
279
278
  .s("AWSEvents", "DeleteEndpoint", {})
280
279
  .n("EventBridgeClient", "DeleteEndpointCommand")
@@ -282,11 +281,11 @@ class DeleteEndpointCommand extends smithyClient.Command
282
281
  .build() {
283
282
  }
284
283
 
285
- class DeleteEventBusCommand extends smithyClient.Command
284
+ class DeleteEventBusCommand extends client.Command
286
285
  .classBuilder()
287
286
  .ep(commonParams)
288
287
  .m(function (Command, cs, config, o) {
289
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
288
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
290
289
  })
291
290
  .s("AWSEvents", "DeleteEventBus", {})
292
291
  .n("EventBridgeClient", "DeleteEventBusCommand")
@@ -294,11 +293,11 @@ class DeleteEventBusCommand extends smithyClient.Command
294
293
  .build() {
295
294
  }
296
295
 
297
- class DeletePartnerEventSourceCommand extends smithyClient.Command
296
+ class DeletePartnerEventSourceCommand extends client.Command
298
297
  .classBuilder()
299
298
  .ep(commonParams)
300
299
  .m(function (Command, cs, config, o) {
301
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
300
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
302
301
  })
303
302
  .s("AWSEvents", "DeletePartnerEventSource", {})
304
303
  .n("EventBridgeClient", "DeletePartnerEventSourceCommand")
@@ -306,11 +305,11 @@ class DeletePartnerEventSourceCommand extends smithyClient.Command
306
305
  .build() {
307
306
  }
308
307
 
309
- class DeleteRuleCommand extends smithyClient.Command
308
+ class DeleteRuleCommand extends client.Command
310
309
  .classBuilder()
311
310
  .ep(commonParams)
312
311
  .m(function (Command, cs, config, o) {
313
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
312
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
314
313
  })
315
314
  .s("AWSEvents", "DeleteRule", {})
316
315
  .n("EventBridgeClient", "DeleteRuleCommand")
@@ -318,11 +317,11 @@ class DeleteRuleCommand extends smithyClient.Command
318
317
  .build() {
319
318
  }
320
319
 
321
- class DescribeApiDestinationCommand extends smithyClient.Command
320
+ class DescribeApiDestinationCommand extends client.Command
322
321
  .classBuilder()
323
322
  .ep(commonParams)
324
323
  .m(function (Command, cs, config, o) {
325
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
324
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
326
325
  })
327
326
  .s("AWSEvents", "DescribeApiDestination", {})
328
327
  .n("EventBridgeClient", "DescribeApiDestinationCommand")
@@ -330,11 +329,11 @@ class DescribeApiDestinationCommand extends smithyClient.Command
330
329
  .build() {
331
330
  }
332
331
 
333
- class DescribeArchiveCommand extends smithyClient.Command
332
+ class DescribeArchiveCommand extends client.Command
334
333
  .classBuilder()
335
334
  .ep(commonParams)
336
335
  .m(function (Command, cs, config, o) {
337
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
336
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
338
337
  })
339
338
  .s("AWSEvents", "DescribeArchive", {})
340
339
  .n("EventBridgeClient", "DescribeArchiveCommand")
@@ -342,11 +341,11 @@ class DescribeArchiveCommand extends smithyClient.Command
342
341
  .build() {
343
342
  }
344
343
 
345
- class DescribeConnectionCommand extends smithyClient.Command
344
+ class DescribeConnectionCommand extends client.Command
346
345
  .classBuilder()
347
346
  .ep(commonParams)
348
347
  .m(function (Command, cs, config, o) {
349
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
348
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
350
349
  })
351
350
  .s("AWSEvents", "DescribeConnection", {})
352
351
  .n("EventBridgeClient", "DescribeConnectionCommand")
@@ -354,11 +353,11 @@ class DescribeConnectionCommand extends smithyClient.Command
354
353
  .build() {
355
354
  }
356
355
 
357
- class DescribeEndpointCommand extends smithyClient.Command
356
+ class DescribeEndpointCommand extends client.Command
358
357
  .classBuilder()
359
358
  .ep(commonParams)
360
359
  .m(function (Command, cs, config, o) {
361
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
360
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
362
361
  })
363
362
  .s("AWSEvents", "DescribeEndpoint", {})
364
363
  .n("EventBridgeClient", "DescribeEndpointCommand")
@@ -366,11 +365,11 @@ class DescribeEndpointCommand extends smithyClient.Command
366
365
  .build() {
367
366
  }
368
367
 
369
- class DescribeEventBusCommand extends smithyClient.Command
368
+ class DescribeEventBusCommand extends client.Command
370
369
  .classBuilder()
371
370
  .ep(commonParams)
372
371
  .m(function (Command, cs, config, o) {
373
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
372
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
374
373
  })
375
374
  .s("AWSEvents", "DescribeEventBus", {})
376
375
  .n("EventBridgeClient", "DescribeEventBusCommand")
@@ -378,11 +377,11 @@ class DescribeEventBusCommand extends smithyClient.Command
378
377
  .build() {
379
378
  }
380
379
 
381
- class DescribeEventSourceCommand extends smithyClient.Command
380
+ class DescribeEventSourceCommand extends client.Command
382
381
  .classBuilder()
383
382
  .ep(commonParams)
384
383
  .m(function (Command, cs, config, o) {
385
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
384
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
386
385
  })
387
386
  .s("AWSEvents", "DescribeEventSource", {})
388
387
  .n("EventBridgeClient", "DescribeEventSourceCommand")
@@ -390,11 +389,11 @@ class DescribeEventSourceCommand extends smithyClient.Command
390
389
  .build() {
391
390
  }
392
391
 
393
- class DescribePartnerEventSourceCommand extends smithyClient.Command
392
+ class DescribePartnerEventSourceCommand extends client.Command
394
393
  .classBuilder()
395
394
  .ep(commonParams)
396
395
  .m(function (Command, cs, config, o) {
397
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
396
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
398
397
  })
399
398
  .s("AWSEvents", "DescribePartnerEventSource", {})
400
399
  .n("EventBridgeClient", "DescribePartnerEventSourceCommand")
@@ -402,11 +401,11 @@ class DescribePartnerEventSourceCommand extends smithyClient.Command
402
401
  .build() {
403
402
  }
404
403
 
405
- class DescribeReplayCommand extends smithyClient.Command
404
+ class DescribeReplayCommand extends client.Command
406
405
  .classBuilder()
407
406
  .ep(commonParams)
408
407
  .m(function (Command, cs, config, o) {
409
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
408
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
410
409
  })
411
410
  .s("AWSEvents", "DescribeReplay", {})
412
411
  .n("EventBridgeClient", "DescribeReplayCommand")
@@ -414,11 +413,11 @@ class DescribeReplayCommand extends smithyClient.Command
414
413
  .build() {
415
414
  }
416
415
 
417
- class DescribeRuleCommand extends smithyClient.Command
416
+ class DescribeRuleCommand extends client.Command
418
417
  .classBuilder()
419
418
  .ep(commonParams)
420
419
  .m(function (Command, cs, config, o) {
421
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
420
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
422
421
  })
423
422
  .s("AWSEvents", "DescribeRule", {})
424
423
  .n("EventBridgeClient", "DescribeRuleCommand")
@@ -426,11 +425,11 @@ class DescribeRuleCommand extends smithyClient.Command
426
425
  .build() {
427
426
  }
428
427
 
429
- class DisableRuleCommand extends smithyClient.Command
428
+ class DisableRuleCommand extends client.Command
430
429
  .classBuilder()
431
430
  .ep(commonParams)
432
431
  .m(function (Command, cs, config, o) {
433
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
432
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
434
433
  })
435
434
  .s("AWSEvents", "DisableRule", {})
436
435
  .n("EventBridgeClient", "DisableRuleCommand")
@@ -438,11 +437,11 @@ class DisableRuleCommand extends smithyClient.Command
438
437
  .build() {
439
438
  }
440
439
 
441
- class EnableRuleCommand extends smithyClient.Command
440
+ class EnableRuleCommand extends client.Command
442
441
  .classBuilder()
443
442
  .ep(commonParams)
444
443
  .m(function (Command, cs, config, o) {
445
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
444
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
446
445
  })
447
446
  .s("AWSEvents", "EnableRule", {})
448
447
  .n("EventBridgeClient", "EnableRuleCommand")
@@ -450,11 +449,11 @@ class EnableRuleCommand extends smithyClient.Command
450
449
  .build() {
451
450
  }
452
451
 
453
- class ListApiDestinationsCommand extends smithyClient.Command
452
+ class ListApiDestinationsCommand extends client.Command
454
453
  .classBuilder()
455
454
  .ep(commonParams)
456
455
  .m(function (Command, cs, config, o) {
457
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
456
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
458
457
  })
459
458
  .s("AWSEvents", "ListApiDestinations", {})
460
459
  .n("EventBridgeClient", "ListApiDestinationsCommand")
@@ -462,11 +461,11 @@ class ListApiDestinationsCommand extends smithyClient.Command
462
461
  .build() {
463
462
  }
464
463
 
465
- class ListArchivesCommand extends smithyClient.Command
464
+ class ListArchivesCommand extends client.Command
466
465
  .classBuilder()
467
466
  .ep(commonParams)
468
467
  .m(function (Command, cs, config, o) {
469
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
468
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
470
469
  })
471
470
  .s("AWSEvents", "ListArchives", {})
472
471
  .n("EventBridgeClient", "ListArchivesCommand")
@@ -474,11 +473,11 @@ class ListArchivesCommand extends smithyClient.Command
474
473
  .build() {
475
474
  }
476
475
 
477
- class ListConnectionsCommand extends smithyClient.Command
476
+ class ListConnectionsCommand extends client.Command
478
477
  .classBuilder()
479
478
  .ep(commonParams)
480
479
  .m(function (Command, cs, config, o) {
481
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
480
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
482
481
  })
483
482
  .s("AWSEvents", "ListConnections", {})
484
483
  .n("EventBridgeClient", "ListConnectionsCommand")
@@ -486,11 +485,11 @@ class ListConnectionsCommand extends smithyClient.Command
486
485
  .build() {
487
486
  }
488
487
 
489
- class ListEndpointsCommand extends smithyClient.Command
488
+ class ListEndpointsCommand extends client.Command
490
489
  .classBuilder()
491
490
  .ep(commonParams)
492
491
  .m(function (Command, cs, config, o) {
493
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
492
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
494
493
  })
495
494
  .s("AWSEvents", "ListEndpoints", {})
496
495
  .n("EventBridgeClient", "ListEndpointsCommand")
@@ -498,11 +497,11 @@ class ListEndpointsCommand extends smithyClient.Command
498
497
  .build() {
499
498
  }
500
499
 
501
- class ListEventBusesCommand extends smithyClient.Command
500
+ class ListEventBusesCommand extends client.Command
502
501
  .classBuilder()
503
502
  .ep(commonParams)
504
503
  .m(function (Command, cs, config, o) {
505
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
504
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
506
505
  })
507
506
  .s("AWSEvents", "ListEventBuses", {})
508
507
  .n("EventBridgeClient", "ListEventBusesCommand")
@@ -510,11 +509,11 @@ class ListEventBusesCommand extends smithyClient.Command
510
509
  .build() {
511
510
  }
512
511
 
513
- class ListEventSourcesCommand extends smithyClient.Command
512
+ class ListEventSourcesCommand extends client.Command
514
513
  .classBuilder()
515
514
  .ep(commonParams)
516
515
  .m(function (Command, cs, config, o) {
517
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
516
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
518
517
  })
519
518
  .s("AWSEvents", "ListEventSources", {})
520
519
  .n("EventBridgeClient", "ListEventSourcesCommand")
@@ -522,11 +521,11 @@ class ListEventSourcesCommand extends smithyClient.Command
522
521
  .build() {
523
522
  }
524
523
 
525
- class ListPartnerEventSourceAccountsCommand extends smithyClient.Command
524
+ class ListPartnerEventSourceAccountsCommand extends client.Command
526
525
  .classBuilder()
527
526
  .ep(commonParams)
528
527
  .m(function (Command, cs, config, o) {
529
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
528
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
530
529
  })
531
530
  .s("AWSEvents", "ListPartnerEventSourceAccounts", {})
532
531
  .n("EventBridgeClient", "ListPartnerEventSourceAccountsCommand")
@@ -534,11 +533,11 @@ class ListPartnerEventSourceAccountsCommand extends smithyClient.Command
534
533
  .build() {
535
534
  }
536
535
 
537
- class ListPartnerEventSourcesCommand extends smithyClient.Command
536
+ class ListPartnerEventSourcesCommand extends client.Command
538
537
  .classBuilder()
539
538
  .ep(commonParams)
540
539
  .m(function (Command, cs, config, o) {
541
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
540
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
542
541
  })
543
542
  .s("AWSEvents", "ListPartnerEventSources", {})
544
543
  .n("EventBridgeClient", "ListPartnerEventSourcesCommand")
@@ -546,11 +545,11 @@ class ListPartnerEventSourcesCommand extends smithyClient.Command
546
545
  .build() {
547
546
  }
548
547
 
549
- class ListReplaysCommand extends smithyClient.Command
548
+ class ListReplaysCommand extends client.Command
550
549
  .classBuilder()
551
550
  .ep(commonParams)
552
551
  .m(function (Command, cs, config, o) {
553
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
552
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
554
553
  })
555
554
  .s("AWSEvents", "ListReplays", {})
556
555
  .n("EventBridgeClient", "ListReplaysCommand")
@@ -558,11 +557,11 @@ class ListReplaysCommand extends smithyClient.Command
558
557
  .build() {
559
558
  }
560
559
 
561
- class ListRuleNamesByTargetCommand extends smithyClient.Command
560
+ class ListRuleNamesByTargetCommand extends client.Command
562
561
  .classBuilder()
563
562
  .ep(commonParams)
564
563
  .m(function (Command, cs, config, o) {
565
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
564
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
566
565
  })
567
566
  .s("AWSEvents", "ListRuleNamesByTarget", {})
568
567
  .n("EventBridgeClient", "ListRuleNamesByTargetCommand")
@@ -570,11 +569,11 @@ class ListRuleNamesByTargetCommand extends smithyClient.Command
570
569
  .build() {
571
570
  }
572
571
 
573
- class ListRulesCommand extends smithyClient.Command
572
+ class ListRulesCommand extends client.Command
574
573
  .classBuilder()
575
574
  .ep(commonParams)
576
575
  .m(function (Command, cs, config, o) {
577
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
576
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
578
577
  })
579
578
  .s("AWSEvents", "ListRules", {})
580
579
  .n("EventBridgeClient", "ListRulesCommand")
@@ -582,11 +581,11 @@ class ListRulesCommand extends smithyClient.Command
582
581
  .build() {
583
582
  }
584
583
 
585
- class ListTagsForResourceCommand extends smithyClient.Command
584
+ class ListTagsForResourceCommand extends client.Command
586
585
  .classBuilder()
587
586
  .ep(commonParams)
588
587
  .m(function (Command, cs, config, o) {
589
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
588
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
590
589
  })
591
590
  .s("AWSEvents", "ListTagsForResource", {})
592
591
  .n("EventBridgeClient", "ListTagsForResourceCommand")
@@ -594,11 +593,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
594
593
  .build() {
595
594
  }
596
595
 
597
- class ListTargetsByRuleCommand extends smithyClient.Command
596
+ class ListTargetsByRuleCommand extends client.Command
598
597
  .classBuilder()
599
598
  .ep(commonParams)
600
599
  .m(function (Command, cs, config, o) {
601
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
600
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
602
601
  })
603
602
  .s("AWSEvents", "ListTargetsByRule", {})
604
603
  .n("EventBridgeClient", "ListTargetsByRuleCommand")
@@ -606,14 +605,14 @@ class ListTargetsByRuleCommand extends smithyClient.Command
606
605
  .build() {
607
606
  }
608
607
 
609
- class PutEventsCommand extends smithyClient.Command
608
+ class PutEventsCommand extends client.Command
610
609
  .classBuilder()
611
610
  .ep({
612
611
  ...commonParams,
613
612
  EndpointId: { type: "contextParams", name: "EndpointId" },
614
613
  })
615
614
  .m(function (Command, cs, config, o) {
616
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
615
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
617
616
  })
618
617
  .s("AWSEvents", "PutEvents", {})
619
618
  .n("EventBridgeClient", "PutEventsCommand")
@@ -621,11 +620,11 @@ class PutEventsCommand extends smithyClient.Command
621
620
  .build() {
622
621
  }
623
622
 
624
- class PutPartnerEventsCommand extends smithyClient.Command
623
+ class PutPartnerEventsCommand extends client.Command
625
624
  .classBuilder()
626
625
  .ep(commonParams)
627
626
  .m(function (Command, cs, config, o) {
628
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
627
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
629
628
  })
630
629
  .s("AWSEvents", "PutPartnerEvents", {})
631
630
  .n("EventBridgeClient", "PutPartnerEventsCommand")
@@ -633,11 +632,11 @@ class PutPartnerEventsCommand extends smithyClient.Command
633
632
  .build() {
634
633
  }
635
634
 
636
- class PutPermissionCommand extends smithyClient.Command
635
+ class PutPermissionCommand extends client.Command
637
636
  .classBuilder()
638
637
  .ep(commonParams)
639
638
  .m(function (Command, cs, config, o) {
640
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
639
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
641
640
  })
642
641
  .s("AWSEvents", "PutPermission", {})
643
642
  .n("EventBridgeClient", "PutPermissionCommand")
@@ -645,11 +644,11 @@ class PutPermissionCommand extends smithyClient.Command
645
644
  .build() {
646
645
  }
647
646
 
648
- class PutRuleCommand extends smithyClient.Command
647
+ class PutRuleCommand extends client.Command
649
648
  .classBuilder()
650
649
  .ep(commonParams)
651
650
  .m(function (Command, cs, config, o) {
652
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
651
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
653
652
  })
654
653
  .s("AWSEvents", "PutRule", {})
655
654
  .n("EventBridgeClient", "PutRuleCommand")
@@ -657,11 +656,11 @@ class PutRuleCommand extends smithyClient.Command
657
656
  .build() {
658
657
  }
659
658
 
660
- class PutTargetsCommand extends smithyClient.Command
659
+ class PutTargetsCommand extends client.Command
661
660
  .classBuilder()
662
661
  .ep(commonParams)
663
662
  .m(function (Command, cs, config, o) {
664
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
663
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
665
664
  })
666
665
  .s("AWSEvents", "PutTargets", {})
667
666
  .n("EventBridgeClient", "PutTargetsCommand")
@@ -669,11 +668,11 @@ class PutTargetsCommand extends smithyClient.Command
669
668
  .build() {
670
669
  }
671
670
 
672
- class RemovePermissionCommand extends smithyClient.Command
671
+ class RemovePermissionCommand extends client.Command
673
672
  .classBuilder()
674
673
  .ep(commonParams)
675
674
  .m(function (Command, cs, config, o) {
676
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
675
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
677
676
  })
678
677
  .s("AWSEvents", "RemovePermission", {})
679
678
  .n("EventBridgeClient", "RemovePermissionCommand")
@@ -681,11 +680,11 @@ class RemovePermissionCommand extends smithyClient.Command
681
680
  .build() {
682
681
  }
683
682
 
684
- class RemoveTargetsCommand extends smithyClient.Command
683
+ class RemoveTargetsCommand extends client.Command
685
684
  .classBuilder()
686
685
  .ep(commonParams)
687
686
  .m(function (Command, cs, config, o) {
688
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
687
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
689
688
  })
690
689
  .s("AWSEvents", "RemoveTargets", {})
691
690
  .n("EventBridgeClient", "RemoveTargetsCommand")
@@ -693,11 +692,11 @@ class RemoveTargetsCommand extends smithyClient.Command
693
692
  .build() {
694
693
  }
695
694
 
696
- class StartReplayCommand extends smithyClient.Command
695
+ class StartReplayCommand extends client.Command
697
696
  .classBuilder()
698
697
  .ep(commonParams)
699
698
  .m(function (Command, cs, config, o) {
700
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
699
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
701
700
  })
702
701
  .s("AWSEvents", "StartReplay", {})
703
702
  .n("EventBridgeClient", "StartReplayCommand")
@@ -705,11 +704,11 @@ class StartReplayCommand extends smithyClient.Command
705
704
  .build() {
706
705
  }
707
706
 
708
- class TagResourceCommand extends smithyClient.Command
707
+ class TagResourceCommand extends client.Command
709
708
  .classBuilder()
710
709
  .ep(commonParams)
711
710
  .m(function (Command, cs, config, o) {
712
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
711
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
713
712
  })
714
713
  .s("AWSEvents", "TagResource", {})
715
714
  .n("EventBridgeClient", "TagResourceCommand")
@@ -717,11 +716,11 @@ class TagResourceCommand extends smithyClient.Command
717
716
  .build() {
718
717
  }
719
718
 
720
- class TestEventPatternCommand extends smithyClient.Command
719
+ class TestEventPatternCommand extends client.Command
721
720
  .classBuilder()
722
721
  .ep(commonParams)
723
722
  .m(function (Command, cs, config, o) {
724
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
723
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
725
724
  })
726
725
  .s("AWSEvents", "TestEventPattern", {})
727
726
  .n("EventBridgeClient", "TestEventPatternCommand")
@@ -729,11 +728,11 @@ class TestEventPatternCommand extends smithyClient.Command
729
728
  .build() {
730
729
  }
731
730
 
732
- class UntagResourceCommand extends smithyClient.Command
731
+ class UntagResourceCommand extends client.Command
733
732
  .classBuilder()
734
733
  .ep(commonParams)
735
734
  .m(function (Command, cs, config, o) {
736
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
735
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
737
736
  })
738
737
  .s("AWSEvents", "UntagResource", {})
739
738
  .n("EventBridgeClient", "UntagResourceCommand")
@@ -741,11 +740,11 @@ class UntagResourceCommand extends smithyClient.Command
741
740
  .build() {
742
741
  }
743
742
 
744
- class UpdateApiDestinationCommand extends smithyClient.Command
743
+ class UpdateApiDestinationCommand extends client.Command
745
744
  .classBuilder()
746
745
  .ep(commonParams)
747
746
  .m(function (Command, cs, config, o) {
748
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
747
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
749
748
  })
750
749
  .s("AWSEvents", "UpdateApiDestination", {})
751
750
  .n("EventBridgeClient", "UpdateApiDestinationCommand")
@@ -753,11 +752,11 @@ class UpdateApiDestinationCommand extends smithyClient.Command
753
752
  .build() {
754
753
  }
755
754
 
756
- class UpdateArchiveCommand extends smithyClient.Command
755
+ class UpdateArchiveCommand extends client.Command
757
756
  .classBuilder()
758
757
  .ep(commonParams)
759
758
  .m(function (Command, cs, config, o) {
760
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
759
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
761
760
  })
762
761
  .s("AWSEvents", "UpdateArchive", {})
763
762
  .n("EventBridgeClient", "UpdateArchiveCommand")
@@ -765,11 +764,11 @@ class UpdateArchiveCommand extends smithyClient.Command
765
764
  .build() {
766
765
  }
767
766
 
768
- class UpdateConnectionCommand extends smithyClient.Command
767
+ class UpdateConnectionCommand extends client.Command
769
768
  .classBuilder()
770
769
  .ep(commonParams)
771
770
  .m(function (Command, cs, config, o) {
772
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
771
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
773
772
  })
774
773
  .s("AWSEvents", "UpdateConnection", {})
775
774
  .n("EventBridgeClient", "UpdateConnectionCommand")
@@ -777,11 +776,11 @@ class UpdateConnectionCommand extends smithyClient.Command
777
776
  .build() {
778
777
  }
779
778
 
780
- class UpdateEndpointCommand extends smithyClient.Command
779
+ class UpdateEndpointCommand extends client.Command
781
780
  .classBuilder()
782
781
  .ep(commonParams)
783
782
  .m(function (Command, cs, config, o) {
784
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
783
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
785
784
  })
786
785
  .s("AWSEvents", "UpdateEndpoint", {})
787
786
  .n("EventBridgeClient", "UpdateEndpointCommand")
@@ -789,11 +788,11 @@ class UpdateEndpointCommand extends smithyClient.Command
789
788
  .build() {
790
789
  }
791
790
 
792
- class UpdateEventBusCommand extends smithyClient.Command
791
+ class UpdateEventBusCommand extends client.Command
793
792
  .classBuilder()
794
793
  .ep(commonParams)
795
794
  .m(function (Command, cs, config, o) {
796
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
795
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
797
796
  })
798
797
  .s("AWSEvents", "UpdateEventBus", {})
799
798
  .n("EventBridgeClient", "UpdateEventBusCommand")
@@ -862,7 +861,7 @@ const commands = {
862
861
  };
863
862
  class EventBridge extends EventBridgeClient {
864
863
  }
865
- smithyClient.createAggregatedClient(commands, EventBridge);
864
+ client.createAggregatedClient(commands, EventBridge);
866
865
 
867
866
  const ApiDestinationState = {
868
867
  ACTIVE: "ACTIVE",
@@ -969,8 +968,8 @@ const PropagateTags = {
969
968
  TASK_DEFINITION: "TASK_DEFINITION",
970
969
  };
971
970
 
972
- exports.$Command = smithyClient.Command;
973
- exports.__Client = smithyClient.Client;
971
+ exports.$Command = client.Command;
972
+ exports.__Client = client.Client;
974
973
  exports.EventBridgeServiceException = EventBridgeServiceException.EventBridgeServiceException;
975
974
  exports.ActivateEventSourceCommand = ActivateEventSourceCommand;
976
975
  exports.ApiDestinationHttpMethod = ApiDestinationHttpMethod;