@aws-sdk/client-cloudwatch-events 3.489.0 → 3.495.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 (63) hide show
  1. package/dist-cjs/CloudWatchEvents.js +1 -113
  2. package/dist-cjs/CloudWatchEventsClient.js +1 -43
  3. package/dist-cjs/commands/ActivateEventSourceCommand.js +1 -28
  4. package/dist-cjs/commands/CancelReplayCommand.js +1 -28
  5. package/dist-cjs/commands/CreateApiDestinationCommand.js +1 -28
  6. package/dist-cjs/commands/CreateArchiveCommand.js +1 -28
  7. package/dist-cjs/commands/CreateConnectionCommand.js +1 -29
  8. package/dist-cjs/commands/CreateEventBusCommand.js +1 -28
  9. package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +1 -28
  10. package/dist-cjs/commands/DeactivateEventSourceCommand.js +1 -28
  11. package/dist-cjs/commands/DeauthorizeConnectionCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteApiDestinationCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteArchiveCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteConnectionCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteEventBusCommand.js +1 -28
  16. package/dist-cjs/commands/DeletePartnerEventSourceCommand.js +1 -28
  17. package/dist-cjs/commands/DeleteRuleCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeApiDestinationCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeArchiveCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeConnectionCommand.js +1 -29
  21. package/dist-cjs/commands/DescribeEventBusCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeEventSourceCommand.js +1 -28
  23. package/dist-cjs/commands/DescribePartnerEventSourceCommand.js +1 -28
  24. package/dist-cjs/commands/DescribeReplayCommand.js +1 -28
  25. package/dist-cjs/commands/DescribeRuleCommand.js +1 -28
  26. package/dist-cjs/commands/DisableRuleCommand.js +1 -28
  27. package/dist-cjs/commands/EnableRuleCommand.js +1 -28
  28. package/dist-cjs/commands/ListApiDestinationsCommand.js +1 -28
  29. package/dist-cjs/commands/ListArchivesCommand.js +1 -28
  30. package/dist-cjs/commands/ListConnectionsCommand.js +1 -28
  31. package/dist-cjs/commands/ListEventBusesCommand.js +1 -28
  32. package/dist-cjs/commands/ListEventSourcesCommand.js +1 -28
  33. package/dist-cjs/commands/ListPartnerEventSourceAccountsCommand.js +1 -28
  34. package/dist-cjs/commands/ListPartnerEventSourcesCommand.js +1 -28
  35. package/dist-cjs/commands/ListReplaysCommand.js +1 -28
  36. package/dist-cjs/commands/ListRuleNamesByTargetCommand.js +1 -28
  37. package/dist-cjs/commands/ListRulesCommand.js +1 -28
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  39. package/dist-cjs/commands/ListTargetsByRuleCommand.js +1 -28
  40. package/dist-cjs/commands/PutEventsCommand.js +1 -28
  41. package/dist-cjs/commands/PutPartnerEventsCommand.js +1 -28
  42. package/dist-cjs/commands/PutPermissionCommand.js +1 -28
  43. package/dist-cjs/commands/PutRuleCommand.js +1 -28
  44. package/dist-cjs/commands/PutTargetsCommand.js +1 -28
  45. package/dist-cjs/commands/RemovePermissionCommand.js +1 -28
  46. package/dist-cjs/commands/RemoveTargetsCommand.js +1 -28
  47. package/dist-cjs/commands/StartReplayCommand.js +1 -28
  48. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  49. package/dist-cjs/commands/TestEventPatternCommand.js +1 -28
  50. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  51. package/dist-cjs/commands/UpdateApiDestinationCommand.js +1 -28
  52. package/dist-cjs/commands/UpdateArchiveCommand.js +1 -28
  53. package/dist-cjs/commands/UpdateConnectionCommand.js +1 -29
  54. package/dist-cjs/commands/index.js +1 -54
  55. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  56. package/dist-cjs/extensionConfiguration.js +1 -2
  57. package/dist-cjs/index.js +4416 -10
  58. package/dist-cjs/models/CloudWatchEventsServiceException.js +1 -12
  59. package/dist-cjs/models/index.js +1 -4
  60. package/dist-cjs/models/models_0.js +1 -372
  61. package/dist-cjs/protocols/Aws_json1_1.js +1 -2880
  62. package/dist-cjs/runtimeExtensions.js +1 -22
  63. package/package.json +39 -39
package/dist-cjs/index.js CHANGED
@@ -1,11 +1,4417 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CloudWatchEventsServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./CloudWatchEventsClient"), exports);
6
- tslib_1.__exportStar(require("./CloudWatchEvents"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
- require("@aws-sdk/util-endpoints");
10
- var CloudWatchEventsServiceException_1 = require("./models/CloudWatchEventsServiceException");
11
- Object.defineProperty(exports, "CloudWatchEventsServiceException", { enumerable: true, get: function () { return CloudWatchEventsServiceException_1.CloudWatchEventsServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ ActivateEventSourceCommand: () => ActivateEventSourceCommand,
25
+ ApiDestinationHttpMethod: () => ApiDestinationHttpMethod,
26
+ ApiDestinationState: () => ApiDestinationState,
27
+ ArchiveState: () => ArchiveState,
28
+ AssignPublicIp: () => AssignPublicIp,
29
+ CancelReplayCommand: () => CancelReplayCommand,
30
+ CloudWatchEvents: () => CloudWatchEvents,
31
+ CloudWatchEventsClient: () => CloudWatchEventsClient,
32
+ CloudWatchEventsServiceException: () => CloudWatchEventsServiceException,
33
+ ConcurrentModificationException: () => ConcurrentModificationException,
34
+ ConnectionAuthResponseParametersFilterSensitiveLog: () => ConnectionAuthResponseParametersFilterSensitiveLog,
35
+ ConnectionAuthorizationType: () => ConnectionAuthorizationType,
36
+ ConnectionBodyParameterFilterSensitiveLog: () => ConnectionBodyParameterFilterSensitiveLog,
37
+ ConnectionHeaderParameterFilterSensitiveLog: () => ConnectionHeaderParameterFilterSensitiveLog,
38
+ ConnectionHttpParametersFilterSensitiveLog: () => ConnectionHttpParametersFilterSensitiveLog,
39
+ ConnectionOAuthHttpMethod: () => ConnectionOAuthHttpMethod,
40
+ ConnectionOAuthResponseParametersFilterSensitiveLog: () => ConnectionOAuthResponseParametersFilterSensitiveLog,
41
+ ConnectionQueryStringParameterFilterSensitiveLog: () => ConnectionQueryStringParameterFilterSensitiveLog,
42
+ ConnectionState: () => ConnectionState,
43
+ CreateApiDestinationCommand: () => CreateApiDestinationCommand,
44
+ CreateArchiveCommand: () => CreateArchiveCommand,
45
+ CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog: () => CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog,
46
+ CreateConnectionAuthRequestParametersFilterSensitiveLog: () => CreateConnectionAuthRequestParametersFilterSensitiveLog,
47
+ CreateConnectionBasicAuthRequestParametersFilterSensitiveLog: () => CreateConnectionBasicAuthRequestParametersFilterSensitiveLog,
48
+ CreateConnectionCommand: () => CreateConnectionCommand,
49
+ CreateConnectionOAuthClientRequestParametersFilterSensitiveLog: () => CreateConnectionOAuthClientRequestParametersFilterSensitiveLog,
50
+ CreateConnectionOAuthRequestParametersFilterSensitiveLog: () => CreateConnectionOAuthRequestParametersFilterSensitiveLog,
51
+ CreateConnectionRequestFilterSensitiveLog: () => CreateConnectionRequestFilterSensitiveLog,
52
+ CreateEventBusCommand: () => CreateEventBusCommand,
53
+ CreatePartnerEventSourceCommand: () => CreatePartnerEventSourceCommand,
54
+ DeactivateEventSourceCommand: () => DeactivateEventSourceCommand,
55
+ DeauthorizeConnectionCommand: () => DeauthorizeConnectionCommand,
56
+ DeleteApiDestinationCommand: () => DeleteApiDestinationCommand,
57
+ DeleteArchiveCommand: () => DeleteArchiveCommand,
58
+ DeleteConnectionCommand: () => DeleteConnectionCommand,
59
+ DeleteEventBusCommand: () => DeleteEventBusCommand,
60
+ DeletePartnerEventSourceCommand: () => DeletePartnerEventSourceCommand,
61
+ DeleteRuleCommand: () => DeleteRuleCommand,
62
+ DescribeApiDestinationCommand: () => DescribeApiDestinationCommand,
63
+ DescribeArchiveCommand: () => DescribeArchiveCommand,
64
+ DescribeConnectionCommand: () => DescribeConnectionCommand,
65
+ DescribeConnectionResponseFilterSensitiveLog: () => DescribeConnectionResponseFilterSensitiveLog,
66
+ DescribeEventBusCommand: () => DescribeEventBusCommand,
67
+ DescribeEventSourceCommand: () => DescribeEventSourceCommand,
68
+ DescribePartnerEventSourceCommand: () => DescribePartnerEventSourceCommand,
69
+ DescribeReplayCommand: () => DescribeReplayCommand,
70
+ DescribeRuleCommand: () => DescribeRuleCommand,
71
+ DisableRuleCommand: () => DisableRuleCommand,
72
+ EnableRuleCommand: () => EnableRuleCommand,
73
+ EventSourceState: () => EventSourceState,
74
+ IllegalStatusException: () => IllegalStatusException,
75
+ InternalException: () => InternalException,
76
+ InvalidEventPatternException: () => InvalidEventPatternException,
77
+ InvalidStateException: () => InvalidStateException,
78
+ LaunchType: () => LaunchType,
79
+ LimitExceededException: () => LimitExceededException,
80
+ ListApiDestinationsCommand: () => ListApiDestinationsCommand,
81
+ ListArchivesCommand: () => ListArchivesCommand,
82
+ ListConnectionsCommand: () => ListConnectionsCommand,
83
+ ListEventBusesCommand: () => ListEventBusesCommand,
84
+ ListEventSourcesCommand: () => ListEventSourcesCommand,
85
+ ListPartnerEventSourceAccountsCommand: () => ListPartnerEventSourceAccountsCommand,
86
+ ListPartnerEventSourcesCommand: () => ListPartnerEventSourcesCommand,
87
+ ListReplaysCommand: () => ListReplaysCommand,
88
+ ListRuleNamesByTargetCommand: () => ListRuleNamesByTargetCommand,
89
+ ListRulesCommand: () => ListRulesCommand,
90
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
91
+ ListTargetsByRuleCommand: () => ListTargetsByRuleCommand,
92
+ ManagedRuleException: () => ManagedRuleException,
93
+ OperationDisabledException: () => OperationDisabledException,
94
+ PlacementConstraintType: () => PlacementConstraintType,
95
+ PlacementStrategyType: () => PlacementStrategyType,
96
+ PolicyLengthExceededException: () => PolicyLengthExceededException,
97
+ PropagateTags: () => PropagateTags,
98
+ PutEventsCommand: () => PutEventsCommand,
99
+ PutPartnerEventsCommand: () => PutPartnerEventsCommand,
100
+ PutPermissionCommand: () => PutPermissionCommand,
101
+ PutRuleCommand: () => PutRuleCommand,
102
+ PutTargetsCommand: () => PutTargetsCommand,
103
+ RemovePermissionCommand: () => RemovePermissionCommand,
104
+ RemoveTargetsCommand: () => RemoveTargetsCommand,
105
+ ReplayState: () => ReplayState,
106
+ ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
107
+ ResourceNotFoundException: () => ResourceNotFoundException,
108
+ RuleState: () => RuleState,
109
+ StartReplayCommand: () => StartReplayCommand,
110
+ TagResourceCommand: () => TagResourceCommand,
111
+ TestEventPatternCommand: () => TestEventPatternCommand,
112
+ UntagResourceCommand: () => UntagResourceCommand,
113
+ UpdateApiDestinationCommand: () => UpdateApiDestinationCommand,
114
+ UpdateArchiveCommand: () => UpdateArchiveCommand,
115
+ UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog: () => UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog,
116
+ UpdateConnectionAuthRequestParametersFilterSensitiveLog: () => UpdateConnectionAuthRequestParametersFilterSensitiveLog,
117
+ UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog: () => UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog,
118
+ UpdateConnectionCommand: () => UpdateConnectionCommand,
119
+ UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog: () => UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog,
120
+ UpdateConnectionOAuthRequestParametersFilterSensitiveLog: () => UpdateConnectionOAuthRequestParametersFilterSensitiveLog,
121
+ UpdateConnectionRequestFilterSensitiveLog: () => UpdateConnectionRequestFilterSensitiveLog,
122
+ __Client: () => import_smithy_client.Client
123
+ });
124
+ module.exports = __toCommonJS(src_exports);
125
+
126
+ // src/CloudWatchEventsClient.ts
127
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
128
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
129
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
130
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
131
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
132
+ var import_config_resolver = require("@smithy/config-resolver");
133
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
134
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
135
+ var import_middleware_retry = require("@smithy/middleware-retry");
136
+
137
+
138
+ // src/endpoint/EndpointParameters.ts
139
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
140
+ return {
141
+ ...options,
142
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
143
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
144
+ defaultSigningName: "events"
145
+ };
146
+ }, "resolveClientEndpointParameters");
147
+ var commonParams = {
148
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
149
+ Endpoint: { type: "builtInParams", name: "endpoint" },
150
+ Region: { type: "builtInParams", name: "region" },
151
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
152
+ };
153
+
154
+ // src/CloudWatchEventsClient.ts
155
+ var import_runtimeConfig = require("././runtimeConfig");
156
+
157
+ // src/runtimeExtensions.ts
158
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
159
+ var import_protocol_http = require("@smithy/protocol-http");
160
+ var import_smithy_client = require("@smithy/smithy-client");
161
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
162
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
163
+ const extensionConfiguration = {
164
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
165
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
166
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
167
+ };
168
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
169
+ return {
170
+ ...runtimeConfig,
171
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
172
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
173
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
174
+ };
175
+ }, "resolveRuntimeExtensions");
176
+
177
+ // src/CloudWatchEventsClient.ts
178
+ var _CloudWatchEventsClient = class _CloudWatchEventsClient extends import_smithy_client.Client {
179
+ constructor(...[configuration]) {
180
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
181
+ const _config_1 = resolveClientEndpointParameters(_config_0);
182
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
183
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
184
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
185
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
186
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
187
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
188
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
189
+ super(_config_8);
190
+ this.config = _config_8;
191
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
192
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
193
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
194
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
195
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
196
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
197
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
198
+ }
199
+ /**
200
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
201
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
202
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
203
+ */
204
+ destroy() {
205
+ super.destroy();
206
+ }
207
+ };
208
+ __name(_CloudWatchEventsClient, "CloudWatchEventsClient");
209
+ var CloudWatchEventsClient = _CloudWatchEventsClient;
210
+
211
+ // src/CloudWatchEvents.ts
212
+
213
+
214
+ // src/commands/ActivateEventSourceCommand.ts
215
+
216
+ var import_middleware_serde = require("@smithy/middleware-serde");
217
+
218
+ var import_types = require("@smithy/types");
219
+
220
+ // src/protocols/Aws_json1_1.ts
221
+
222
+
223
+
224
+ // src/models/CloudWatchEventsServiceException.ts
225
+
226
+ var _CloudWatchEventsServiceException = class _CloudWatchEventsServiceException extends import_smithy_client.ServiceException {
227
+ /**
228
+ * @internal
229
+ */
230
+ constructor(options) {
231
+ super(options);
232
+ Object.setPrototypeOf(this, _CloudWatchEventsServiceException.prototype);
233
+ }
234
+ };
235
+ __name(_CloudWatchEventsServiceException, "CloudWatchEventsServiceException");
236
+ var CloudWatchEventsServiceException = _CloudWatchEventsServiceException;
237
+
238
+ // src/models/models_0.ts
239
+
240
+ var _ConcurrentModificationException = class _ConcurrentModificationException extends CloudWatchEventsServiceException {
241
+ /**
242
+ * @internal
243
+ */
244
+ constructor(opts) {
245
+ super({
246
+ name: "ConcurrentModificationException",
247
+ $fault: "client",
248
+ ...opts
249
+ });
250
+ this.name = "ConcurrentModificationException";
251
+ this.$fault = "client";
252
+ Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
253
+ }
254
+ };
255
+ __name(_ConcurrentModificationException, "ConcurrentModificationException");
256
+ var ConcurrentModificationException = _ConcurrentModificationException;
257
+ var _InternalException = class _InternalException extends CloudWatchEventsServiceException {
258
+ /**
259
+ * @internal
260
+ */
261
+ constructor(opts) {
262
+ super({
263
+ name: "InternalException",
264
+ $fault: "server",
265
+ ...opts
266
+ });
267
+ this.name = "InternalException";
268
+ this.$fault = "server";
269
+ Object.setPrototypeOf(this, _InternalException.prototype);
270
+ }
271
+ };
272
+ __name(_InternalException, "InternalException");
273
+ var InternalException = _InternalException;
274
+ var _InvalidStateException = class _InvalidStateException extends CloudWatchEventsServiceException {
275
+ /**
276
+ * @internal
277
+ */
278
+ constructor(opts) {
279
+ super({
280
+ name: "InvalidStateException",
281
+ $fault: "client",
282
+ ...opts
283
+ });
284
+ this.name = "InvalidStateException";
285
+ this.$fault = "client";
286
+ Object.setPrototypeOf(this, _InvalidStateException.prototype);
287
+ }
288
+ };
289
+ __name(_InvalidStateException, "InvalidStateException");
290
+ var InvalidStateException = _InvalidStateException;
291
+ var _OperationDisabledException = class _OperationDisabledException extends CloudWatchEventsServiceException {
292
+ /**
293
+ * @internal
294
+ */
295
+ constructor(opts) {
296
+ super({
297
+ name: "OperationDisabledException",
298
+ $fault: "client",
299
+ ...opts
300
+ });
301
+ this.name = "OperationDisabledException";
302
+ this.$fault = "client";
303
+ Object.setPrototypeOf(this, _OperationDisabledException.prototype);
304
+ }
305
+ };
306
+ __name(_OperationDisabledException, "OperationDisabledException");
307
+ var OperationDisabledException = _OperationDisabledException;
308
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends CloudWatchEventsServiceException {
309
+ /**
310
+ * @internal
311
+ */
312
+ constructor(opts) {
313
+ super({
314
+ name: "ResourceNotFoundException",
315
+ $fault: "client",
316
+ ...opts
317
+ });
318
+ this.name = "ResourceNotFoundException";
319
+ this.$fault = "client";
320
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
321
+ }
322
+ };
323
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
324
+ var ResourceNotFoundException = _ResourceNotFoundException;
325
+ var ApiDestinationState = {
326
+ ACTIVE: "ACTIVE",
327
+ INACTIVE: "INACTIVE"
328
+ };
329
+ var ApiDestinationHttpMethod = {
330
+ DELETE: "DELETE",
331
+ GET: "GET",
332
+ HEAD: "HEAD",
333
+ OPTIONS: "OPTIONS",
334
+ PATCH: "PATCH",
335
+ POST: "POST",
336
+ PUT: "PUT"
337
+ };
338
+ var ArchiveState = {
339
+ CREATE_FAILED: "CREATE_FAILED",
340
+ CREATING: "CREATING",
341
+ DISABLED: "DISABLED",
342
+ ENABLED: "ENABLED",
343
+ UPDATE_FAILED: "UPDATE_FAILED",
344
+ UPDATING: "UPDATING"
345
+ };
346
+ var AssignPublicIp = {
347
+ DISABLED: "DISABLED",
348
+ ENABLED: "ENABLED"
349
+ };
350
+ var ReplayState = {
351
+ CANCELLED: "CANCELLED",
352
+ CANCELLING: "CANCELLING",
353
+ COMPLETED: "COMPLETED",
354
+ FAILED: "FAILED",
355
+ RUNNING: "RUNNING",
356
+ STARTING: "STARTING"
357
+ };
358
+ var _IllegalStatusException = class _IllegalStatusException extends CloudWatchEventsServiceException {
359
+ /**
360
+ * @internal
361
+ */
362
+ constructor(opts) {
363
+ super({
364
+ name: "IllegalStatusException",
365
+ $fault: "client",
366
+ ...opts
367
+ });
368
+ this.name = "IllegalStatusException";
369
+ this.$fault = "client";
370
+ Object.setPrototypeOf(this, _IllegalStatusException.prototype);
371
+ }
372
+ };
373
+ __name(_IllegalStatusException, "IllegalStatusException");
374
+ var IllegalStatusException = _IllegalStatusException;
375
+ var _LimitExceededException = class _LimitExceededException extends CloudWatchEventsServiceException {
376
+ /**
377
+ * @internal
378
+ */
379
+ constructor(opts) {
380
+ super({
381
+ name: "LimitExceededException",
382
+ $fault: "client",
383
+ ...opts
384
+ });
385
+ this.name = "LimitExceededException";
386
+ this.$fault = "client";
387
+ Object.setPrototypeOf(this, _LimitExceededException.prototype);
388
+ }
389
+ };
390
+ __name(_LimitExceededException, "LimitExceededException");
391
+ var LimitExceededException = _LimitExceededException;
392
+ var _ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends CloudWatchEventsServiceException {
393
+ /**
394
+ * @internal
395
+ */
396
+ constructor(opts) {
397
+ super({
398
+ name: "ResourceAlreadyExistsException",
399
+ $fault: "client",
400
+ ...opts
401
+ });
402
+ this.name = "ResourceAlreadyExistsException";
403
+ this.$fault = "client";
404
+ Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
405
+ }
406
+ };
407
+ __name(_ResourceAlreadyExistsException, "ResourceAlreadyExistsException");
408
+ var ResourceAlreadyExistsException = _ResourceAlreadyExistsException;
409
+ var _InvalidEventPatternException = class _InvalidEventPatternException extends CloudWatchEventsServiceException {
410
+ /**
411
+ * @internal
412
+ */
413
+ constructor(opts) {
414
+ super({
415
+ name: "InvalidEventPatternException",
416
+ $fault: "client",
417
+ ...opts
418
+ });
419
+ this.name = "InvalidEventPatternException";
420
+ this.$fault = "client";
421
+ Object.setPrototypeOf(this, _InvalidEventPatternException.prototype);
422
+ }
423
+ };
424
+ __name(_InvalidEventPatternException, "InvalidEventPatternException");
425
+ var InvalidEventPatternException = _InvalidEventPatternException;
426
+ var ConnectionAuthorizationType = {
427
+ API_KEY: "API_KEY",
428
+ BASIC: "BASIC",
429
+ OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS"
430
+ };
431
+ var ConnectionOAuthHttpMethod = {
432
+ GET: "GET",
433
+ POST: "POST",
434
+ PUT: "PUT"
435
+ };
436
+ var ConnectionState = {
437
+ AUTHORIZED: "AUTHORIZED",
438
+ AUTHORIZING: "AUTHORIZING",
439
+ CREATING: "CREATING",
440
+ DEAUTHORIZED: "DEAUTHORIZED",
441
+ DEAUTHORIZING: "DEAUTHORIZING",
442
+ DELETING: "DELETING",
443
+ UPDATING: "UPDATING"
444
+ };
445
+ var _ManagedRuleException = class _ManagedRuleException extends CloudWatchEventsServiceException {
446
+ /**
447
+ * @internal
448
+ */
449
+ constructor(opts) {
450
+ super({
451
+ name: "ManagedRuleException",
452
+ $fault: "client",
453
+ ...opts
454
+ });
455
+ this.name = "ManagedRuleException";
456
+ this.$fault = "client";
457
+ Object.setPrototypeOf(this, _ManagedRuleException.prototype);
458
+ }
459
+ };
460
+ __name(_ManagedRuleException, "ManagedRuleException");
461
+ var ManagedRuleException = _ManagedRuleException;
462
+ var EventSourceState = {
463
+ ACTIVE: "ACTIVE",
464
+ DELETED: "DELETED",
465
+ PENDING: "PENDING"
466
+ };
467
+ var RuleState = {
468
+ DISABLED: "DISABLED",
469
+ ENABLED: "ENABLED"
470
+ };
471
+ var LaunchType = {
472
+ EC2: "EC2",
473
+ EXTERNAL: "EXTERNAL",
474
+ FARGATE: "FARGATE"
475
+ };
476
+ var PlacementConstraintType = {
477
+ DISTINCT_INSTANCE: "distinctInstance",
478
+ MEMBER_OF: "memberOf"
479
+ };
480
+ var PlacementStrategyType = {
481
+ BINPACK: "binpack",
482
+ RANDOM: "random",
483
+ SPREAD: "spread"
484
+ };
485
+ var PropagateTags = {
486
+ TASK_DEFINITION: "TASK_DEFINITION"
487
+ };
488
+ var _PolicyLengthExceededException = class _PolicyLengthExceededException extends CloudWatchEventsServiceException {
489
+ /**
490
+ * @internal
491
+ */
492
+ constructor(opts) {
493
+ super({
494
+ name: "PolicyLengthExceededException",
495
+ $fault: "client",
496
+ ...opts
497
+ });
498
+ this.name = "PolicyLengthExceededException";
499
+ this.$fault = "client";
500
+ Object.setPrototypeOf(this, _PolicyLengthExceededException.prototype);
501
+ }
502
+ };
503
+ __name(_PolicyLengthExceededException, "PolicyLengthExceededException");
504
+ var PolicyLengthExceededException = _PolicyLengthExceededException;
505
+ var CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
506
+ ...obj,
507
+ ...obj.ApiKeyValue && { ApiKeyValue: import_smithy_client.SENSITIVE_STRING }
508
+ }), "CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog");
509
+ var CreateConnectionBasicAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
510
+ ...obj,
511
+ ...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
512
+ }), "CreateConnectionBasicAuthRequestParametersFilterSensitiveLog");
513
+ var ConnectionBodyParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
514
+ ...obj,
515
+ ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
516
+ }), "ConnectionBodyParameterFilterSensitiveLog");
517
+ var ConnectionHeaderParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
518
+ ...obj,
519
+ ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
520
+ }), "ConnectionHeaderParameterFilterSensitiveLog");
521
+ var ConnectionQueryStringParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
522
+ ...obj,
523
+ ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
524
+ }), "ConnectionQueryStringParameterFilterSensitiveLog");
525
+ var ConnectionHttpParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
526
+ ...obj,
527
+ ...obj.HeaderParameters && {
528
+ HeaderParameters: obj.HeaderParameters.map((item) => ConnectionHeaderParameterFilterSensitiveLog(item))
529
+ },
530
+ ...obj.QueryStringParameters && {
531
+ QueryStringParameters: obj.QueryStringParameters.map(
532
+ (item) => ConnectionQueryStringParameterFilterSensitiveLog(item)
533
+ )
534
+ },
535
+ ...obj.BodyParameters && {
536
+ BodyParameters: obj.BodyParameters.map((item) => ConnectionBodyParameterFilterSensitiveLog(item))
537
+ }
538
+ }), "ConnectionHttpParametersFilterSensitiveLog");
539
+ var CreateConnectionOAuthClientRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
540
+ ...obj,
541
+ ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
542
+ }), "CreateConnectionOAuthClientRequestParametersFilterSensitiveLog");
543
+ var CreateConnectionOAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
544
+ ...obj,
545
+ ...obj.ClientParameters && {
546
+ ClientParameters: CreateConnectionOAuthClientRequestParametersFilterSensitiveLog(obj.ClientParameters)
547
+ },
548
+ ...obj.OAuthHttpParameters && {
549
+ OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters)
550
+ }
551
+ }), "CreateConnectionOAuthRequestParametersFilterSensitiveLog");
552
+ var CreateConnectionAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
553
+ ...obj,
554
+ ...obj.BasicAuthParameters && {
555
+ BasicAuthParameters: CreateConnectionBasicAuthRequestParametersFilterSensitiveLog(obj.BasicAuthParameters)
556
+ },
557
+ ...obj.OAuthParameters && {
558
+ OAuthParameters: CreateConnectionOAuthRequestParametersFilterSensitiveLog(obj.OAuthParameters)
559
+ },
560
+ ...obj.ApiKeyAuthParameters && {
561
+ ApiKeyAuthParameters: CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog(obj.ApiKeyAuthParameters)
562
+ },
563
+ ...obj.InvocationHttpParameters && {
564
+ InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters)
565
+ }
566
+ }), "CreateConnectionAuthRequestParametersFilterSensitiveLog");
567
+ var CreateConnectionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
568
+ ...obj,
569
+ ...obj.AuthParameters && {
570
+ AuthParameters: CreateConnectionAuthRequestParametersFilterSensitiveLog(obj.AuthParameters)
571
+ }
572
+ }), "CreateConnectionRequestFilterSensitiveLog");
573
+ var ConnectionOAuthResponseParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
574
+ ...obj,
575
+ ...obj.OAuthHttpParameters && {
576
+ OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters)
577
+ }
578
+ }), "ConnectionOAuthResponseParametersFilterSensitiveLog");
579
+ var ConnectionAuthResponseParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
580
+ ...obj,
581
+ ...obj.OAuthParameters && {
582
+ OAuthParameters: ConnectionOAuthResponseParametersFilterSensitiveLog(obj.OAuthParameters)
583
+ },
584
+ ...obj.InvocationHttpParameters && {
585
+ InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters)
586
+ }
587
+ }), "ConnectionAuthResponseParametersFilterSensitiveLog");
588
+ var DescribeConnectionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
589
+ ...obj,
590
+ ...obj.AuthParameters && { AuthParameters: ConnectionAuthResponseParametersFilterSensitiveLog(obj.AuthParameters) }
591
+ }), "DescribeConnectionResponseFilterSensitiveLog");
592
+ var UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
593
+ ...obj,
594
+ ...obj.ApiKeyValue && { ApiKeyValue: import_smithy_client.SENSITIVE_STRING }
595
+ }), "UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog");
596
+ var UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
597
+ ...obj,
598
+ ...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
599
+ }), "UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog");
600
+ var UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
601
+ ...obj,
602
+ ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
603
+ }), "UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog");
604
+ var UpdateConnectionOAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
605
+ ...obj,
606
+ ...obj.ClientParameters && {
607
+ ClientParameters: UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog(obj.ClientParameters)
608
+ },
609
+ ...obj.OAuthHttpParameters && {
610
+ OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters)
611
+ }
612
+ }), "UpdateConnectionOAuthRequestParametersFilterSensitiveLog");
613
+ var UpdateConnectionAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
614
+ ...obj,
615
+ ...obj.BasicAuthParameters && {
616
+ BasicAuthParameters: UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog(obj.BasicAuthParameters)
617
+ },
618
+ ...obj.OAuthParameters && {
619
+ OAuthParameters: UpdateConnectionOAuthRequestParametersFilterSensitiveLog(obj.OAuthParameters)
620
+ },
621
+ ...obj.ApiKeyAuthParameters && {
622
+ ApiKeyAuthParameters: UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog(obj.ApiKeyAuthParameters)
623
+ },
624
+ ...obj.InvocationHttpParameters && {
625
+ InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters)
626
+ }
627
+ }), "UpdateConnectionAuthRequestParametersFilterSensitiveLog");
628
+ var UpdateConnectionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
629
+ ...obj,
630
+ ...obj.AuthParameters && {
631
+ AuthParameters: UpdateConnectionAuthRequestParametersFilterSensitiveLog(obj.AuthParameters)
632
+ }
633
+ }), "UpdateConnectionRequestFilterSensitiveLog");
634
+
635
+ // src/protocols/Aws_json1_1.ts
636
+ var se_ActivateEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
637
+ const headers = sharedHeaders("ActivateEventSource");
638
+ let body;
639
+ body = JSON.stringify((0, import_smithy_client._json)(input));
640
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
641
+ }, "se_ActivateEventSourceCommand");
642
+ var se_CancelReplayCommand = /* @__PURE__ */ __name(async (input, context) => {
643
+ const headers = sharedHeaders("CancelReplay");
644
+ let body;
645
+ body = JSON.stringify((0, import_smithy_client._json)(input));
646
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
647
+ }, "se_CancelReplayCommand");
648
+ var se_CreateApiDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
649
+ const headers = sharedHeaders("CreateApiDestination");
650
+ let body;
651
+ body = JSON.stringify((0, import_smithy_client._json)(input));
652
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
653
+ }, "se_CreateApiDestinationCommand");
654
+ var se_CreateArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
655
+ const headers = sharedHeaders("CreateArchive");
656
+ let body;
657
+ body = JSON.stringify((0, import_smithy_client._json)(input));
658
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
659
+ }, "se_CreateArchiveCommand");
660
+ var se_CreateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
661
+ const headers = sharedHeaders("CreateConnection");
662
+ let body;
663
+ body = JSON.stringify((0, import_smithy_client._json)(input));
664
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
665
+ }, "se_CreateConnectionCommand");
666
+ var se_CreateEventBusCommand = /* @__PURE__ */ __name(async (input, context) => {
667
+ const headers = sharedHeaders("CreateEventBus");
668
+ let body;
669
+ body = JSON.stringify((0, import_smithy_client._json)(input));
670
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
671
+ }, "se_CreateEventBusCommand");
672
+ var se_CreatePartnerEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
673
+ const headers = sharedHeaders("CreatePartnerEventSource");
674
+ let body;
675
+ body = JSON.stringify((0, import_smithy_client._json)(input));
676
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
677
+ }, "se_CreatePartnerEventSourceCommand");
678
+ var se_DeactivateEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
679
+ const headers = sharedHeaders("DeactivateEventSource");
680
+ let body;
681
+ body = JSON.stringify((0, import_smithy_client._json)(input));
682
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
683
+ }, "se_DeactivateEventSourceCommand");
684
+ var se_DeauthorizeConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
685
+ const headers = sharedHeaders("DeauthorizeConnection");
686
+ let body;
687
+ body = JSON.stringify((0, import_smithy_client._json)(input));
688
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
689
+ }, "se_DeauthorizeConnectionCommand");
690
+ var se_DeleteApiDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
691
+ const headers = sharedHeaders("DeleteApiDestination");
692
+ let body;
693
+ body = JSON.stringify((0, import_smithy_client._json)(input));
694
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
695
+ }, "se_DeleteApiDestinationCommand");
696
+ var se_DeleteArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
697
+ const headers = sharedHeaders("DeleteArchive");
698
+ let body;
699
+ body = JSON.stringify((0, import_smithy_client._json)(input));
700
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
701
+ }, "se_DeleteArchiveCommand");
702
+ var se_DeleteConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
703
+ const headers = sharedHeaders("DeleteConnection");
704
+ let body;
705
+ body = JSON.stringify((0, import_smithy_client._json)(input));
706
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
707
+ }, "se_DeleteConnectionCommand");
708
+ var se_DeleteEventBusCommand = /* @__PURE__ */ __name(async (input, context) => {
709
+ const headers = sharedHeaders("DeleteEventBus");
710
+ let body;
711
+ body = JSON.stringify((0, import_smithy_client._json)(input));
712
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
713
+ }, "se_DeleteEventBusCommand");
714
+ var se_DeletePartnerEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
715
+ const headers = sharedHeaders("DeletePartnerEventSource");
716
+ let body;
717
+ body = JSON.stringify((0, import_smithy_client._json)(input));
718
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
719
+ }, "se_DeletePartnerEventSourceCommand");
720
+ var se_DeleteRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
721
+ const headers = sharedHeaders("DeleteRule");
722
+ let body;
723
+ body = JSON.stringify((0, import_smithy_client._json)(input));
724
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
725
+ }, "se_DeleteRuleCommand");
726
+ var se_DescribeApiDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
727
+ const headers = sharedHeaders("DescribeApiDestination");
728
+ let body;
729
+ body = JSON.stringify((0, import_smithy_client._json)(input));
730
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
731
+ }, "se_DescribeApiDestinationCommand");
732
+ var se_DescribeArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
733
+ const headers = sharedHeaders("DescribeArchive");
734
+ let body;
735
+ body = JSON.stringify((0, import_smithy_client._json)(input));
736
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
737
+ }, "se_DescribeArchiveCommand");
738
+ var se_DescribeConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
739
+ const headers = sharedHeaders("DescribeConnection");
740
+ let body;
741
+ body = JSON.stringify((0, import_smithy_client._json)(input));
742
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
743
+ }, "se_DescribeConnectionCommand");
744
+ var se_DescribeEventBusCommand = /* @__PURE__ */ __name(async (input, context) => {
745
+ const headers = sharedHeaders("DescribeEventBus");
746
+ let body;
747
+ body = JSON.stringify((0, import_smithy_client._json)(input));
748
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
749
+ }, "se_DescribeEventBusCommand");
750
+ var se_DescribeEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
751
+ const headers = sharedHeaders("DescribeEventSource");
752
+ let body;
753
+ body = JSON.stringify((0, import_smithy_client._json)(input));
754
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
755
+ }, "se_DescribeEventSourceCommand");
756
+ var se_DescribePartnerEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
757
+ const headers = sharedHeaders("DescribePartnerEventSource");
758
+ let body;
759
+ body = JSON.stringify((0, import_smithy_client._json)(input));
760
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
761
+ }, "se_DescribePartnerEventSourceCommand");
762
+ var se_DescribeReplayCommand = /* @__PURE__ */ __name(async (input, context) => {
763
+ const headers = sharedHeaders("DescribeReplay");
764
+ let body;
765
+ body = JSON.stringify((0, import_smithy_client._json)(input));
766
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
767
+ }, "se_DescribeReplayCommand");
768
+ var se_DescribeRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
769
+ const headers = sharedHeaders("DescribeRule");
770
+ let body;
771
+ body = JSON.stringify((0, import_smithy_client._json)(input));
772
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
773
+ }, "se_DescribeRuleCommand");
774
+ var se_DisableRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
775
+ const headers = sharedHeaders("DisableRule");
776
+ let body;
777
+ body = JSON.stringify((0, import_smithy_client._json)(input));
778
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
779
+ }, "se_DisableRuleCommand");
780
+ var se_EnableRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
781
+ const headers = sharedHeaders("EnableRule");
782
+ let body;
783
+ body = JSON.stringify((0, import_smithy_client._json)(input));
784
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
785
+ }, "se_EnableRuleCommand");
786
+ var se_ListApiDestinationsCommand = /* @__PURE__ */ __name(async (input, context) => {
787
+ const headers = sharedHeaders("ListApiDestinations");
788
+ let body;
789
+ body = JSON.stringify((0, import_smithy_client._json)(input));
790
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
791
+ }, "se_ListApiDestinationsCommand");
792
+ var se_ListArchivesCommand = /* @__PURE__ */ __name(async (input, context) => {
793
+ const headers = sharedHeaders("ListArchives");
794
+ let body;
795
+ body = JSON.stringify((0, import_smithy_client._json)(input));
796
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
797
+ }, "se_ListArchivesCommand");
798
+ var se_ListConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
799
+ const headers = sharedHeaders("ListConnections");
800
+ let body;
801
+ body = JSON.stringify((0, import_smithy_client._json)(input));
802
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
803
+ }, "se_ListConnectionsCommand");
804
+ var se_ListEventBusesCommand = /* @__PURE__ */ __name(async (input, context) => {
805
+ const headers = sharedHeaders("ListEventBuses");
806
+ let body;
807
+ body = JSON.stringify((0, import_smithy_client._json)(input));
808
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
809
+ }, "se_ListEventBusesCommand");
810
+ var se_ListEventSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
811
+ const headers = sharedHeaders("ListEventSources");
812
+ let body;
813
+ body = JSON.stringify((0, import_smithy_client._json)(input));
814
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
815
+ }, "se_ListEventSourcesCommand");
816
+ var se_ListPartnerEventSourceAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
817
+ const headers = sharedHeaders("ListPartnerEventSourceAccounts");
818
+ let body;
819
+ body = JSON.stringify((0, import_smithy_client._json)(input));
820
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
821
+ }, "se_ListPartnerEventSourceAccountsCommand");
822
+ var se_ListPartnerEventSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
823
+ const headers = sharedHeaders("ListPartnerEventSources");
824
+ let body;
825
+ body = JSON.stringify((0, import_smithy_client._json)(input));
826
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
827
+ }, "se_ListPartnerEventSourcesCommand");
828
+ var se_ListReplaysCommand = /* @__PURE__ */ __name(async (input, context) => {
829
+ const headers = sharedHeaders("ListReplays");
830
+ let body;
831
+ body = JSON.stringify((0, import_smithy_client._json)(input));
832
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
833
+ }, "se_ListReplaysCommand");
834
+ var se_ListRuleNamesByTargetCommand = /* @__PURE__ */ __name(async (input, context) => {
835
+ const headers = sharedHeaders("ListRuleNamesByTarget");
836
+ let body;
837
+ body = JSON.stringify((0, import_smithy_client._json)(input));
838
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
839
+ }, "se_ListRuleNamesByTargetCommand");
840
+ var se_ListRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
841
+ const headers = sharedHeaders("ListRules");
842
+ let body;
843
+ body = JSON.stringify((0, import_smithy_client._json)(input));
844
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
845
+ }, "se_ListRulesCommand");
846
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
847
+ const headers = sharedHeaders("ListTagsForResource");
848
+ let body;
849
+ body = JSON.stringify((0, import_smithy_client._json)(input));
850
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
851
+ }, "se_ListTagsForResourceCommand");
852
+ var se_ListTargetsByRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
853
+ const headers = sharedHeaders("ListTargetsByRule");
854
+ let body;
855
+ body = JSON.stringify((0, import_smithy_client._json)(input));
856
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
857
+ }, "se_ListTargetsByRuleCommand");
858
+ var se_PutEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
859
+ const headers = sharedHeaders("PutEvents");
860
+ let body;
861
+ body = JSON.stringify(se_PutEventsRequest(input, context));
862
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
863
+ }, "se_PutEventsCommand");
864
+ var se_PutPartnerEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
865
+ const headers = sharedHeaders("PutPartnerEvents");
866
+ let body;
867
+ body = JSON.stringify(se_PutPartnerEventsRequest(input, context));
868
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
869
+ }, "se_PutPartnerEventsCommand");
870
+ var se_PutPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
871
+ const headers = sharedHeaders("PutPermission");
872
+ let body;
873
+ body = JSON.stringify((0, import_smithy_client._json)(input));
874
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
875
+ }, "se_PutPermissionCommand");
876
+ var se_PutRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
877
+ const headers = sharedHeaders("PutRule");
878
+ let body;
879
+ body = JSON.stringify((0, import_smithy_client._json)(input));
880
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
881
+ }, "se_PutRuleCommand");
882
+ var se_PutTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
883
+ const headers = sharedHeaders("PutTargets");
884
+ let body;
885
+ body = JSON.stringify((0, import_smithy_client._json)(input));
886
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
887
+ }, "se_PutTargetsCommand");
888
+ var se_RemovePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
889
+ const headers = sharedHeaders("RemovePermission");
890
+ let body;
891
+ body = JSON.stringify((0, import_smithy_client._json)(input));
892
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
893
+ }, "se_RemovePermissionCommand");
894
+ var se_RemoveTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
895
+ const headers = sharedHeaders("RemoveTargets");
896
+ let body;
897
+ body = JSON.stringify((0, import_smithy_client._json)(input));
898
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
899
+ }, "se_RemoveTargetsCommand");
900
+ var se_StartReplayCommand = /* @__PURE__ */ __name(async (input, context) => {
901
+ const headers = sharedHeaders("StartReplay");
902
+ let body;
903
+ body = JSON.stringify(se_StartReplayRequest(input, context));
904
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
905
+ }, "se_StartReplayCommand");
906
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
907
+ const headers = sharedHeaders("TagResource");
908
+ let body;
909
+ body = JSON.stringify((0, import_smithy_client._json)(input));
910
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
911
+ }, "se_TagResourceCommand");
912
+ var se_TestEventPatternCommand = /* @__PURE__ */ __name(async (input, context) => {
913
+ const headers = sharedHeaders("TestEventPattern");
914
+ let body;
915
+ body = JSON.stringify((0, import_smithy_client._json)(input));
916
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
917
+ }, "se_TestEventPatternCommand");
918
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
919
+ const headers = sharedHeaders("UntagResource");
920
+ let body;
921
+ body = JSON.stringify((0, import_smithy_client._json)(input));
922
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
923
+ }, "se_UntagResourceCommand");
924
+ var se_UpdateApiDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
925
+ const headers = sharedHeaders("UpdateApiDestination");
926
+ let body;
927
+ body = JSON.stringify((0, import_smithy_client._json)(input));
928
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
929
+ }, "se_UpdateApiDestinationCommand");
930
+ var se_UpdateArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
931
+ const headers = sharedHeaders("UpdateArchive");
932
+ let body;
933
+ body = JSON.stringify((0, import_smithy_client._json)(input));
934
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
935
+ }, "se_UpdateArchiveCommand");
936
+ var se_UpdateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
937
+ const headers = sharedHeaders("UpdateConnection");
938
+ let body;
939
+ body = JSON.stringify((0, import_smithy_client._json)(input));
940
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
941
+ }, "se_UpdateConnectionCommand");
942
+ var de_ActivateEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
943
+ if (output.statusCode >= 300) {
944
+ return de_ActivateEventSourceCommandError(output, context);
945
+ }
946
+ await (0, import_smithy_client.collectBody)(output.body, context);
947
+ const response = {
948
+ $metadata: deserializeMetadata(output)
949
+ };
950
+ return response;
951
+ }, "de_ActivateEventSourceCommand");
952
+ var de_ActivateEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
953
+ const parsedOutput = {
954
+ ...output,
955
+ body: await parseErrorBody(output.body, context)
956
+ };
957
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
958
+ switch (errorCode) {
959
+ case "ConcurrentModificationException":
960
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
961
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
962
+ case "InternalException":
963
+ case "com.amazonaws.cloudwatchevents#InternalException":
964
+ throw await de_InternalExceptionRes(parsedOutput, context);
965
+ case "InvalidStateException":
966
+ case "com.amazonaws.cloudwatchevents#InvalidStateException":
967
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
968
+ case "OperationDisabledException":
969
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
970
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
971
+ case "ResourceNotFoundException":
972
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
973
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
974
+ default:
975
+ const parsedBody = parsedOutput.body;
976
+ return throwDefaultError({
977
+ output,
978
+ parsedBody,
979
+ errorCode
980
+ });
981
+ }
982
+ }, "de_ActivateEventSourceCommandError");
983
+ var de_CancelReplayCommand = /* @__PURE__ */ __name(async (output, context) => {
984
+ if (output.statusCode >= 300) {
985
+ return de_CancelReplayCommandError(output, context);
986
+ }
987
+ const data = await parseBody(output.body, context);
988
+ let contents = {};
989
+ contents = (0, import_smithy_client._json)(data);
990
+ const response = {
991
+ $metadata: deserializeMetadata(output),
992
+ ...contents
993
+ };
994
+ return response;
995
+ }, "de_CancelReplayCommand");
996
+ var de_CancelReplayCommandError = /* @__PURE__ */ __name(async (output, context) => {
997
+ const parsedOutput = {
998
+ ...output,
999
+ body: await parseErrorBody(output.body, context)
1000
+ };
1001
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1002
+ switch (errorCode) {
1003
+ case "ConcurrentModificationException":
1004
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1005
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1006
+ case "IllegalStatusException":
1007
+ case "com.amazonaws.cloudwatchevents#IllegalStatusException":
1008
+ throw await de_IllegalStatusExceptionRes(parsedOutput, context);
1009
+ case "InternalException":
1010
+ case "com.amazonaws.cloudwatchevents#InternalException":
1011
+ throw await de_InternalExceptionRes(parsedOutput, context);
1012
+ case "ResourceNotFoundException":
1013
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1014
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1015
+ default:
1016
+ const parsedBody = parsedOutput.body;
1017
+ return throwDefaultError({
1018
+ output,
1019
+ parsedBody,
1020
+ errorCode
1021
+ });
1022
+ }
1023
+ }, "de_CancelReplayCommandError");
1024
+ var de_CreateApiDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
1025
+ if (output.statusCode >= 300) {
1026
+ return de_CreateApiDestinationCommandError(output, context);
1027
+ }
1028
+ const data = await parseBody(output.body, context);
1029
+ let contents = {};
1030
+ contents = de_CreateApiDestinationResponse(data, context);
1031
+ const response = {
1032
+ $metadata: deserializeMetadata(output),
1033
+ ...contents
1034
+ };
1035
+ return response;
1036
+ }, "de_CreateApiDestinationCommand");
1037
+ var de_CreateApiDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1038
+ const parsedOutput = {
1039
+ ...output,
1040
+ body: await parseErrorBody(output.body, context)
1041
+ };
1042
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1043
+ switch (errorCode) {
1044
+ case "InternalException":
1045
+ case "com.amazonaws.cloudwatchevents#InternalException":
1046
+ throw await de_InternalExceptionRes(parsedOutput, context);
1047
+ case "LimitExceededException":
1048
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
1049
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1050
+ case "ResourceAlreadyExistsException":
1051
+ case "com.amazonaws.cloudwatchevents#ResourceAlreadyExistsException":
1052
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1053
+ case "ResourceNotFoundException":
1054
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1055
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1056
+ default:
1057
+ const parsedBody = parsedOutput.body;
1058
+ return throwDefaultError({
1059
+ output,
1060
+ parsedBody,
1061
+ errorCode
1062
+ });
1063
+ }
1064
+ }, "de_CreateApiDestinationCommandError");
1065
+ var de_CreateArchiveCommand = /* @__PURE__ */ __name(async (output, context) => {
1066
+ if (output.statusCode >= 300) {
1067
+ return de_CreateArchiveCommandError(output, context);
1068
+ }
1069
+ const data = await parseBody(output.body, context);
1070
+ let contents = {};
1071
+ contents = de_CreateArchiveResponse(data, context);
1072
+ const response = {
1073
+ $metadata: deserializeMetadata(output),
1074
+ ...contents
1075
+ };
1076
+ return response;
1077
+ }, "de_CreateArchiveCommand");
1078
+ var de_CreateArchiveCommandError = /* @__PURE__ */ __name(async (output, context) => {
1079
+ const parsedOutput = {
1080
+ ...output,
1081
+ body: await parseErrorBody(output.body, context)
1082
+ };
1083
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1084
+ switch (errorCode) {
1085
+ case "ConcurrentModificationException":
1086
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1087
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1088
+ case "InternalException":
1089
+ case "com.amazonaws.cloudwatchevents#InternalException":
1090
+ throw await de_InternalExceptionRes(parsedOutput, context);
1091
+ case "InvalidEventPatternException":
1092
+ case "com.amazonaws.cloudwatchevents#InvalidEventPatternException":
1093
+ throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
1094
+ case "LimitExceededException":
1095
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
1096
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1097
+ case "ResourceAlreadyExistsException":
1098
+ case "com.amazonaws.cloudwatchevents#ResourceAlreadyExistsException":
1099
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1100
+ case "ResourceNotFoundException":
1101
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1102
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1103
+ default:
1104
+ const parsedBody = parsedOutput.body;
1105
+ return throwDefaultError({
1106
+ output,
1107
+ parsedBody,
1108
+ errorCode
1109
+ });
1110
+ }
1111
+ }, "de_CreateArchiveCommandError");
1112
+ var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
1113
+ if (output.statusCode >= 300) {
1114
+ return de_CreateConnectionCommandError(output, context);
1115
+ }
1116
+ const data = await parseBody(output.body, context);
1117
+ let contents = {};
1118
+ contents = de_CreateConnectionResponse(data, context);
1119
+ const response = {
1120
+ $metadata: deserializeMetadata(output),
1121
+ ...contents
1122
+ };
1123
+ return response;
1124
+ }, "de_CreateConnectionCommand");
1125
+ var de_CreateConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1126
+ const parsedOutput = {
1127
+ ...output,
1128
+ body: await parseErrorBody(output.body, context)
1129
+ };
1130
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1131
+ switch (errorCode) {
1132
+ case "InternalException":
1133
+ case "com.amazonaws.cloudwatchevents#InternalException":
1134
+ throw await de_InternalExceptionRes(parsedOutput, context);
1135
+ case "LimitExceededException":
1136
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
1137
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1138
+ case "ResourceAlreadyExistsException":
1139
+ case "com.amazonaws.cloudwatchevents#ResourceAlreadyExistsException":
1140
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1141
+ default:
1142
+ const parsedBody = parsedOutput.body;
1143
+ return throwDefaultError({
1144
+ output,
1145
+ parsedBody,
1146
+ errorCode
1147
+ });
1148
+ }
1149
+ }, "de_CreateConnectionCommandError");
1150
+ var de_CreateEventBusCommand = /* @__PURE__ */ __name(async (output, context) => {
1151
+ if (output.statusCode >= 300) {
1152
+ return de_CreateEventBusCommandError(output, context);
1153
+ }
1154
+ const data = await parseBody(output.body, context);
1155
+ let contents = {};
1156
+ contents = (0, import_smithy_client._json)(data);
1157
+ const response = {
1158
+ $metadata: deserializeMetadata(output),
1159
+ ...contents
1160
+ };
1161
+ return response;
1162
+ }, "de_CreateEventBusCommand");
1163
+ var de_CreateEventBusCommandError = /* @__PURE__ */ __name(async (output, context) => {
1164
+ const parsedOutput = {
1165
+ ...output,
1166
+ body: await parseErrorBody(output.body, context)
1167
+ };
1168
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1169
+ switch (errorCode) {
1170
+ case "ConcurrentModificationException":
1171
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1172
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1173
+ case "InternalException":
1174
+ case "com.amazonaws.cloudwatchevents#InternalException":
1175
+ throw await de_InternalExceptionRes(parsedOutput, context);
1176
+ case "InvalidStateException":
1177
+ case "com.amazonaws.cloudwatchevents#InvalidStateException":
1178
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
1179
+ case "LimitExceededException":
1180
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
1181
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1182
+ case "OperationDisabledException":
1183
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
1184
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
1185
+ case "ResourceAlreadyExistsException":
1186
+ case "com.amazonaws.cloudwatchevents#ResourceAlreadyExistsException":
1187
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1188
+ case "ResourceNotFoundException":
1189
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1190
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1191
+ default:
1192
+ const parsedBody = parsedOutput.body;
1193
+ return throwDefaultError({
1194
+ output,
1195
+ parsedBody,
1196
+ errorCode
1197
+ });
1198
+ }
1199
+ }, "de_CreateEventBusCommandError");
1200
+ var de_CreatePartnerEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1201
+ if (output.statusCode >= 300) {
1202
+ return de_CreatePartnerEventSourceCommandError(output, context);
1203
+ }
1204
+ const data = await parseBody(output.body, context);
1205
+ let contents = {};
1206
+ contents = (0, import_smithy_client._json)(data);
1207
+ const response = {
1208
+ $metadata: deserializeMetadata(output),
1209
+ ...contents
1210
+ };
1211
+ return response;
1212
+ }, "de_CreatePartnerEventSourceCommand");
1213
+ var de_CreatePartnerEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1214
+ const parsedOutput = {
1215
+ ...output,
1216
+ body: await parseErrorBody(output.body, context)
1217
+ };
1218
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1219
+ switch (errorCode) {
1220
+ case "ConcurrentModificationException":
1221
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1222
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1223
+ case "InternalException":
1224
+ case "com.amazonaws.cloudwatchevents#InternalException":
1225
+ throw await de_InternalExceptionRes(parsedOutput, context);
1226
+ case "LimitExceededException":
1227
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
1228
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1229
+ case "OperationDisabledException":
1230
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
1231
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
1232
+ case "ResourceAlreadyExistsException":
1233
+ case "com.amazonaws.cloudwatchevents#ResourceAlreadyExistsException":
1234
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1235
+ default:
1236
+ const parsedBody = parsedOutput.body;
1237
+ return throwDefaultError({
1238
+ output,
1239
+ parsedBody,
1240
+ errorCode
1241
+ });
1242
+ }
1243
+ }, "de_CreatePartnerEventSourceCommandError");
1244
+ var de_DeactivateEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1245
+ if (output.statusCode >= 300) {
1246
+ return de_DeactivateEventSourceCommandError(output, context);
1247
+ }
1248
+ await (0, import_smithy_client.collectBody)(output.body, context);
1249
+ const response = {
1250
+ $metadata: deserializeMetadata(output)
1251
+ };
1252
+ return response;
1253
+ }, "de_DeactivateEventSourceCommand");
1254
+ var de_DeactivateEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1255
+ const parsedOutput = {
1256
+ ...output,
1257
+ body: await parseErrorBody(output.body, context)
1258
+ };
1259
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1260
+ switch (errorCode) {
1261
+ case "ConcurrentModificationException":
1262
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1263
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1264
+ case "InternalException":
1265
+ case "com.amazonaws.cloudwatchevents#InternalException":
1266
+ throw await de_InternalExceptionRes(parsedOutput, context);
1267
+ case "InvalidStateException":
1268
+ case "com.amazonaws.cloudwatchevents#InvalidStateException":
1269
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
1270
+ case "OperationDisabledException":
1271
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
1272
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
1273
+ case "ResourceNotFoundException":
1274
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1275
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1276
+ default:
1277
+ const parsedBody = parsedOutput.body;
1278
+ return throwDefaultError({
1279
+ output,
1280
+ parsedBody,
1281
+ errorCode
1282
+ });
1283
+ }
1284
+ }, "de_DeactivateEventSourceCommandError");
1285
+ var de_DeauthorizeConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
1286
+ if (output.statusCode >= 300) {
1287
+ return de_DeauthorizeConnectionCommandError(output, context);
1288
+ }
1289
+ const data = await parseBody(output.body, context);
1290
+ let contents = {};
1291
+ contents = de_DeauthorizeConnectionResponse(data, context);
1292
+ const response = {
1293
+ $metadata: deserializeMetadata(output),
1294
+ ...contents
1295
+ };
1296
+ return response;
1297
+ }, "de_DeauthorizeConnectionCommand");
1298
+ var de_DeauthorizeConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1299
+ const parsedOutput = {
1300
+ ...output,
1301
+ body: await parseErrorBody(output.body, context)
1302
+ };
1303
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1304
+ switch (errorCode) {
1305
+ case "ConcurrentModificationException":
1306
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1307
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1308
+ case "InternalException":
1309
+ case "com.amazonaws.cloudwatchevents#InternalException":
1310
+ throw await de_InternalExceptionRes(parsedOutput, context);
1311
+ case "ResourceNotFoundException":
1312
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1313
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1314
+ default:
1315
+ const parsedBody = parsedOutput.body;
1316
+ return throwDefaultError({
1317
+ output,
1318
+ parsedBody,
1319
+ errorCode
1320
+ });
1321
+ }
1322
+ }, "de_DeauthorizeConnectionCommandError");
1323
+ var de_DeleteApiDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
1324
+ if (output.statusCode >= 300) {
1325
+ return de_DeleteApiDestinationCommandError(output, context);
1326
+ }
1327
+ const data = await parseBody(output.body, context);
1328
+ let contents = {};
1329
+ contents = (0, import_smithy_client._json)(data);
1330
+ const response = {
1331
+ $metadata: deserializeMetadata(output),
1332
+ ...contents
1333
+ };
1334
+ return response;
1335
+ }, "de_DeleteApiDestinationCommand");
1336
+ var de_DeleteApiDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1337
+ const parsedOutput = {
1338
+ ...output,
1339
+ body: await parseErrorBody(output.body, context)
1340
+ };
1341
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1342
+ switch (errorCode) {
1343
+ case "ConcurrentModificationException":
1344
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1345
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1346
+ case "InternalException":
1347
+ case "com.amazonaws.cloudwatchevents#InternalException":
1348
+ throw await de_InternalExceptionRes(parsedOutput, context);
1349
+ case "ResourceNotFoundException":
1350
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1351
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1352
+ default:
1353
+ const parsedBody = parsedOutput.body;
1354
+ return throwDefaultError({
1355
+ output,
1356
+ parsedBody,
1357
+ errorCode
1358
+ });
1359
+ }
1360
+ }, "de_DeleteApiDestinationCommandError");
1361
+ var de_DeleteArchiveCommand = /* @__PURE__ */ __name(async (output, context) => {
1362
+ if (output.statusCode >= 300) {
1363
+ return de_DeleteArchiveCommandError(output, context);
1364
+ }
1365
+ const data = await parseBody(output.body, context);
1366
+ let contents = {};
1367
+ contents = (0, import_smithy_client._json)(data);
1368
+ const response = {
1369
+ $metadata: deserializeMetadata(output),
1370
+ ...contents
1371
+ };
1372
+ return response;
1373
+ }, "de_DeleteArchiveCommand");
1374
+ var de_DeleteArchiveCommandError = /* @__PURE__ */ __name(async (output, context) => {
1375
+ const parsedOutput = {
1376
+ ...output,
1377
+ body: await parseErrorBody(output.body, context)
1378
+ };
1379
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1380
+ switch (errorCode) {
1381
+ case "ConcurrentModificationException":
1382
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1383
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1384
+ case "InternalException":
1385
+ case "com.amazonaws.cloudwatchevents#InternalException":
1386
+ throw await de_InternalExceptionRes(parsedOutput, context);
1387
+ case "ResourceNotFoundException":
1388
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1389
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1390
+ default:
1391
+ const parsedBody = parsedOutput.body;
1392
+ return throwDefaultError({
1393
+ output,
1394
+ parsedBody,
1395
+ errorCode
1396
+ });
1397
+ }
1398
+ }, "de_DeleteArchiveCommandError");
1399
+ var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
1400
+ if (output.statusCode >= 300) {
1401
+ return de_DeleteConnectionCommandError(output, context);
1402
+ }
1403
+ const data = await parseBody(output.body, context);
1404
+ let contents = {};
1405
+ contents = de_DeleteConnectionResponse(data, context);
1406
+ const response = {
1407
+ $metadata: deserializeMetadata(output),
1408
+ ...contents
1409
+ };
1410
+ return response;
1411
+ }, "de_DeleteConnectionCommand");
1412
+ var de_DeleteConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1413
+ const parsedOutput = {
1414
+ ...output,
1415
+ body: await parseErrorBody(output.body, context)
1416
+ };
1417
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1418
+ switch (errorCode) {
1419
+ case "ConcurrentModificationException":
1420
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1421
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1422
+ case "InternalException":
1423
+ case "com.amazonaws.cloudwatchevents#InternalException":
1424
+ throw await de_InternalExceptionRes(parsedOutput, context);
1425
+ case "ResourceNotFoundException":
1426
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1427
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1428
+ default:
1429
+ const parsedBody = parsedOutput.body;
1430
+ return throwDefaultError({
1431
+ output,
1432
+ parsedBody,
1433
+ errorCode
1434
+ });
1435
+ }
1436
+ }, "de_DeleteConnectionCommandError");
1437
+ var de_DeleteEventBusCommand = /* @__PURE__ */ __name(async (output, context) => {
1438
+ if (output.statusCode >= 300) {
1439
+ return de_DeleteEventBusCommandError(output, context);
1440
+ }
1441
+ await (0, import_smithy_client.collectBody)(output.body, context);
1442
+ const response = {
1443
+ $metadata: deserializeMetadata(output)
1444
+ };
1445
+ return response;
1446
+ }, "de_DeleteEventBusCommand");
1447
+ var de_DeleteEventBusCommandError = /* @__PURE__ */ __name(async (output, context) => {
1448
+ const parsedOutput = {
1449
+ ...output,
1450
+ body: await parseErrorBody(output.body, context)
1451
+ };
1452
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1453
+ switch (errorCode) {
1454
+ case "ConcurrentModificationException":
1455
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1456
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1457
+ case "InternalException":
1458
+ case "com.amazonaws.cloudwatchevents#InternalException":
1459
+ throw await de_InternalExceptionRes(parsedOutput, context);
1460
+ default:
1461
+ const parsedBody = parsedOutput.body;
1462
+ return throwDefaultError({
1463
+ output,
1464
+ parsedBody,
1465
+ errorCode
1466
+ });
1467
+ }
1468
+ }, "de_DeleteEventBusCommandError");
1469
+ var de_DeletePartnerEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1470
+ if (output.statusCode >= 300) {
1471
+ return de_DeletePartnerEventSourceCommandError(output, context);
1472
+ }
1473
+ await (0, import_smithy_client.collectBody)(output.body, context);
1474
+ const response = {
1475
+ $metadata: deserializeMetadata(output)
1476
+ };
1477
+ return response;
1478
+ }, "de_DeletePartnerEventSourceCommand");
1479
+ var de_DeletePartnerEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1480
+ const parsedOutput = {
1481
+ ...output,
1482
+ body: await parseErrorBody(output.body, context)
1483
+ };
1484
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1485
+ switch (errorCode) {
1486
+ case "ConcurrentModificationException":
1487
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1488
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1489
+ case "InternalException":
1490
+ case "com.amazonaws.cloudwatchevents#InternalException":
1491
+ throw await de_InternalExceptionRes(parsedOutput, context);
1492
+ case "OperationDisabledException":
1493
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
1494
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
1495
+ default:
1496
+ const parsedBody = parsedOutput.body;
1497
+ return throwDefaultError({
1498
+ output,
1499
+ parsedBody,
1500
+ errorCode
1501
+ });
1502
+ }
1503
+ }, "de_DeletePartnerEventSourceCommandError");
1504
+ var de_DeleteRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
1505
+ if (output.statusCode >= 300) {
1506
+ return de_DeleteRuleCommandError(output, context);
1507
+ }
1508
+ await (0, import_smithy_client.collectBody)(output.body, context);
1509
+ const response = {
1510
+ $metadata: deserializeMetadata(output)
1511
+ };
1512
+ return response;
1513
+ }, "de_DeleteRuleCommand");
1514
+ var de_DeleteRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
1515
+ const parsedOutput = {
1516
+ ...output,
1517
+ body: await parseErrorBody(output.body, context)
1518
+ };
1519
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1520
+ switch (errorCode) {
1521
+ case "ConcurrentModificationException":
1522
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1523
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1524
+ case "InternalException":
1525
+ case "com.amazonaws.cloudwatchevents#InternalException":
1526
+ throw await de_InternalExceptionRes(parsedOutput, context);
1527
+ case "ManagedRuleException":
1528
+ case "com.amazonaws.cloudwatchevents#ManagedRuleException":
1529
+ throw await de_ManagedRuleExceptionRes(parsedOutput, context);
1530
+ case "ResourceNotFoundException":
1531
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1532
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1533
+ default:
1534
+ const parsedBody = parsedOutput.body;
1535
+ return throwDefaultError({
1536
+ output,
1537
+ parsedBody,
1538
+ errorCode
1539
+ });
1540
+ }
1541
+ }, "de_DeleteRuleCommandError");
1542
+ var de_DescribeApiDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
1543
+ if (output.statusCode >= 300) {
1544
+ return de_DescribeApiDestinationCommandError(output, context);
1545
+ }
1546
+ const data = await parseBody(output.body, context);
1547
+ let contents = {};
1548
+ contents = de_DescribeApiDestinationResponse(data, context);
1549
+ const response = {
1550
+ $metadata: deserializeMetadata(output),
1551
+ ...contents
1552
+ };
1553
+ return response;
1554
+ }, "de_DescribeApiDestinationCommand");
1555
+ var de_DescribeApiDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1556
+ const parsedOutput = {
1557
+ ...output,
1558
+ body: await parseErrorBody(output.body, context)
1559
+ };
1560
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1561
+ switch (errorCode) {
1562
+ case "InternalException":
1563
+ case "com.amazonaws.cloudwatchevents#InternalException":
1564
+ throw await de_InternalExceptionRes(parsedOutput, context);
1565
+ case "ResourceNotFoundException":
1566
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1567
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1568
+ default:
1569
+ const parsedBody = parsedOutput.body;
1570
+ return throwDefaultError({
1571
+ output,
1572
+ parsedBody,
1573
+ errorCode
1574
+ });
1575
+ }
1576
+ }, "de_DescribeApiDestinationCommandError");
1577
+ var de_DescribeArchiveCommand = /* @__PURE__ */ __name(async (output, context) => {
1578
+ if (output.statusCode >= 300) {
1579
+ return de_DescribeArchiveCommandError(output, context);
1580
+ }
1581
+ const data = await parseBody(output.body, context);
1582
+ let contents = {};
1583
+ contents = de_DescribeArchiveResponse(data, context);
1584
+ const response = {
1585
+ $metadata: deserializeMetadata(output),
1586
+ ...contents
1587
+ };
1588
+ return response;
1589
+ }, "de_DescribeArchiveCommand");
1590
+ var de_DescribeArchiveCommandError = /* @__PURE__ */ __name(async (output, context) => {
1591
+ const parsedOutput = {
1592
+ ...output,
1593
+ body: await parseErrorBody(output.body, context)
1594
+ };
1595
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1596
+ switch (errorCode) {
1597
+ case "InternalException":
1598
+ case "com.amazonaws.cloudwatchevents#InternalException":
1599
+ throw await de_InternalExceptionRes(parsedOutput, context);
1600
+ case "ResourceAlreadyExistsException":
1601
+ case "com.amazonaws.cloudwatchevents#ResourceAlreadyExistsException":
1602
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1603
+ case "ResourceNotFoundException":
1604
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1605
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1606
+ default:
1607
+ const parsedBody = parsedOutput.body;
1608
+ return throwDefaultError({
1609
+ output,
1610
+ parsedBody,
1611
+ errorCode
1612
+ });
1613
+ }
1614
+ }, "de_DescribeArchiveCommandError");
1615
+ var de_DescribeConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
1616
+ if (output.statusCode >= 300) {
1617
+ return de_DescribeConnectionCommandError(output, context);
1618
+ }
1619
+ const data = await parseBody(output.body, context);
1620
+ let contents = {};
1621
+ contents = de_DescribeConnectionResponse(data, context);
1622
+ const response = {
1623
+ $metadata: deserializeMetadata(output),
1624
+ ...contents
1625
+ };
1626
+ return response;
1627
+ }, "de_DescribeConnectionCommand");
1628
+ var de_DescribeConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1629
+ const parsedOutput = {
1630
+ ...output,
1631
+ body: await parseErrorBody(output.body, context)
1632
+ };
1633
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1634
+ switch (errorCode) {
1635
+ case "InternalException":
1636
+ case "com.amazonaws.cloudwatchevents#InternalException":
1637
+ throw await de_InternalExceptionRes(parsedOutput, context);
1638
+ case "ResourceNotFoundException":
1639
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1640
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1641
+ default:
1642
+ const parsedBody = parsedOutput.body;
1643
+ return throwDefaultError({
1644
+ output,
1645
+ parsedBody,
1646
+ errorCode
1647
+ });
1648
+ }
1649
+ }, "de_DescribeConnectionCommandError");
1650
+ var de_DescribeEventBusCommand = /* @__PURE__ */ __name(async (output, context) => {
1651
+ if (output.statusCode >= 300) {
1652
+ return de_DescribeEventBusCommandError(output, context);
1653
+ }
1654
+ const data = await parseBody(output.body, context);
1655
+ let contents = {};
1656
+ contents = (0, import_smithy_client._json)(data);
1657
+ const response = {
1658
+ $metadata: deserializeMetadata(output),
1659
+ ...contents
1660
+ };
1661
+ return response;
1662
+ }, "de_DescribeEventBusCommand");
1663
+ var de_DescribeEventBusCommandError = /* @__PURE__ */ __name(async (output, context) => {
1664
+ const parsedOutput = {
1665
+ ...output,
1666
+ body: await parseErrorBody(output.body, context)
1667
+ };
1668
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1669
+ switch (errorCode) {
1670
+ case "InternalException":
1671
+ case "com.amazonaws.cloudwatchevents#InternalException":
1672
+ throw await de_InternalExceptionRes(parsedOutput, context);
1673
+ case "ResourceNotFoundException":
1674
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1675
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1676
+ default:
1677
+ const parsedBody = parsedOutput.body;
1678
+ return throwDefaultError({
1679
+ output,
1680
+ parsedBody,
1681
+ errorCode
1682
+ });
1683
+ }
1684
+ }, "de_DescribeEventBusCommandError");
1685
+ var de_DescribeEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1686
+ if (output.statusCode >= 300) {
1687
+ return de_DescribeEventSourceCommandError(output, context);
1688
+ }
1689
+ const data = await parseBody(output.body, context);
1690
+ let contents = {};
1691
+ contents = de_DescribeEventSourceResponse(data, context);
1692
+ const response = {
1693
+ $metadata: deserializeMetadata(output),
1694
+ ...contents
1695
+ };
1696
+ return response;
1697
+ }, "de_DescribeEventSourceCommand");
1698
+ var de_DescribeEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1699
+ const parsedOutput = {
1700
+ ...output,
1701
+ body: await parseErrorBody(output.body, context)
1702
+ };
1703
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1704
+ switch (errorCode) {
1705
+ case "InternalException":
1706
+ case "com.amazonaws.cloudwatchevents#InternalException":
1707
+ throw await de_InternalExceptionRes(parsedOutput, context);
1708
+ case "OperationDisabledException":
1709
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
1710
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
1711
+ case "ResourceNotFoundException":
1712
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1713
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1714
+ default:
1715
+ const parsedBody = parsedOutput.body;
1716
+ return throwDefaultError({
1717
+ output,
1718
+ parsedBody,
1719
+ errorCode
1720
+ });
1721
+ }
1722
+ }, "de_DescribeEventSourceCommandError");
1723
+ var de_DescribePartnerEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1724
+ if (output.statusCode >= 300) {
1725
+ return de_DescribePartnerEventSourceCommandError(output, context);
1726
+ }
1727
+ const data = await parseBody(output.body, context);
1728
+ let contents = {};
1729
+ contents = (0, import_smithy_client._json)(data);
1730
+ const response = {
1731
+ $metadata: deserializeMetadata(output),
1732
+ ...contents
1733
+ };
1734
+ return response;
1735
+ }, "de_DescribePartnerEventSourceCommand");
1736
+ var de_DescribePartnerEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1737
+ const parsedOutput = {
1738
+ ...output,
1739
+ body: await parseErrorBody(output.body, context)
1740
+ };
1741
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1742
+ switch (errorCode) {
1743
+ case "InternalException":
1744
+ case "com.amazonaws.cloudwatchevents#InternalException":
1745
+ throw await de_InternalExceptionRes(parsedOutput, context);
1746
+ case "OperationDisabledException":
1747
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
1748
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
1749
+ case "ResourceNotFoundException":
1750
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1751
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1752
+ default:
1753
+ const parsedBody = parsedOutput.body;
1754
+ return throwDefaultError({
1755
+ output,
1756
+ parsedBody,
1757
+ errorCode
1758
+ });
1759
+ }
1760
+ }, "de_DescribePartnerEventSourceCommandError");
1761
+ var de_DescribeReplayCommand = /* @__PURE__ */ __name(async (output, context) => {
1762
+ if (output.statusCode >= 300) {
1763
+ return de_DescribeReplayCommandError(output, context);
1764
+ }
1765
+ const data = await parseBody(output.body, context);
1766
+ let contents = {};
1767
+ contents = de_DescribeReplayResponse(data, context);
1768
+ const response = {
1769
+ $metadata: deserializeMetadata(output),
1770
+ ...contents
1771
+ };
1772
+ return response;
1773
+ }, "de_DescribeReplayCommand");
1774
+ var de_DescribeReplayCommandError = /* @__PURE__ */ __name(async (output, context) => {
1775
+ const parsedOutput = {
1776
+ ...output,
1777
+ body: await parseErrorBody(output.body, context)
1778
+ };
1779
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1780
+ switch (errorCode) {
1781
+ case "InternalException":
1782
+ case "com.amazonaws.cloudwatchevents#InternalException":
1783
+ throw await de_InternalExceptionRes(parsedOutput, context);
1784
+ case "ResourceNotFoundException":
1785
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1786
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1787
+ default:
1788
+ const parsedBody = parsedOutput.body;
1789
+ return throwDefaultError({
1790
+ output,
1791
+ parsedBody,
1792
+ errorCode
1793
+ });
1794
+ }
1795
+ }, "de_DescribeReplayCommandError");
1796
+ var de_DescribeRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
1797
+ if (output.statusCode >= 300) {
1798
+ return de_DescribeRuleCommandError(output, context);
1799
+ }
1800
+ const data = await parseBody(output.body, context);
1801
+ let contents = {};
1802
+ contents = (0, import_smithy_client._json)(data);
1803
+ const response = {
1804
+ $metadata: deserializeMetadata(output),
1805
+ ...contents
1806
+ };
1807
+ return response;
1808
+ }, "de_DescribeRuleCommand");
1809
+ var de_DescribeRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
1810
+ const parsedOutput = {
1811
+ ...output,
1812
+ body: await parseErrorBody(output.body, context)
1813
+ };
1814
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1815
+ switch (errorCode) {
1816
+ case "InternalException":
1817
+ case "com.amazonaws.cloudwatchevents#InternalException":
1818
+ throw await de_InternalExceptionRes(parsedOutput, context);
1819
+ case "ResourceNotFoundException":
1820
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1821
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1822
+ default:
1823
+ const parsedBody = parsedOutput.body;
1824
+ return throwDefaultError({
1825
+ output,
1826
+ parsedBody,
1827
+ errorCode
1828
+ });
1829
+ }
1830
+ }, "de_DescribeRuleCommandError");
1831
+ var de_DisableRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
1832
+ if (output.statusCode >= 300) {
1833
+ return de_DisableRuleCommandError(output, context);
1834
+ }
1835
+ await (0, import_smithy_client.collectBody)(output.body, context);
1836
+ const response = {
1837
+ $metadata: deserializeMetadata(output)
1838
+ };
1839
+ return response;
1840
+ }, "de_DisableRuleCommand");
1841
+ var de_DisableRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
1842
+ const parsedOutput = {
1843
+ ...output,
1844
+ body: await parseErrorBody(output.body, context)
1845
+ };
1846
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1847
+ switch (errorCode) {
1848
+ case "ConcurrentModificationException":
1849
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1850
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1851
+ case "InternalException":
1852
+ case "com.amazonaws.cloudwatchevents#InternalException":
1853
+ throw await de_InternalExceptionRes(parsedOutput, context);
1854
+ case "ManagedRuleException":
1855
+ case "com.amazonaws.cloudwatchevents#ManagedRuleException":
1856
+ throw await de_ManagedRuleExceptionRes(parsedOutput, context);
1857
+ case "ResourceNotFoundException":
1858
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1859
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1860
+ default:
1861
+ const parsedBody = parsedOutput.body;
1862
+ return throwDefaultError({
1863
+ output,
1864
+ parsedBody,
1865
+ errorCode
1866
+ });
1867
+ }
1868
+ }, "de_DisableRuleCommandError");
1869
+ var de_EnableRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
1870
+ if (output.statusCode >= 300) {
1871
+ return de_EnableRuleCommandError(output, context);
1872
+ }
1873
+ await (0, import_smithy_client.collectBody)(output.body, context);
1874
+ const response = {
1875
+ $metadata: deserializeMetadata(output)
1876
+ };
1877
+ return response;
1878
+ }, "de_EnableRuleCommand");
1879
+ var de_EnableRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
1880
+ const parsedOutput = {
1881
+ ...output,
1882
+ body: await parseErrorBody(output.body, context)
1883
+ };
1884
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1885
+ switch (errorCode) {
1886
+ case "ConcurrentModificationException":
1887
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1888
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1889
+ case "InternalException":
1890
+ case "com.amazonaws.cloudwatchevents#InternalException":
1891
+ throw await de_InternalExceptionRes(parsedOutput, context);
1892
+ case "ManagedRuleException":
1893
+ case "com.amazonaws.cloudwatchevents#ManagedRuleException":
1894
+ throw await de_ManagedRuleExceptionRes(parsedOutput, context);
1895
+ case "ResourceNotFoundException":
1896
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1897
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1898
+ default:
1899
+ const parsedBody = parsedOutput.body;
1900
+ return throwDefaultError({
1901
+ output,
1902
+ parsedBody,
1903
+ errorCode
1904
+ });
1905
+ }
1906
+ }, "de_EnableRuleCommandError");
1907
+ var de_ListApiDestinationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1908
+ if (output.statusCode >= 300) {
1909
+ return de_ListApiDestinationsCommandError(output, context);
1910
+ }
1911
+ const data = await parseBody(output.body, context);
1912
+ let contents = {};
1913
+ contents = de_ListApiDestinationsResponse(data, context);
1914
+ const response = {
1915
+ $metadata: deserializeMetadata(output),
1916
+ ...contents
1917
+ };
1918
+ return response;
1919
+ }, "de_ListApiDestinationsCommand");
1920
+ var de_ListApiDestinationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1921
+ const parsedOutput = {
1922
+ ...output,
1923
+ body: await parseErrorBody(output.body, context)
1924
+ };
1925
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1926
+ switch (errorCode) {
1927
+ case "InternalException":
1928
+ case "com.amazonaws.cloudwatchevents#InternalException":
1929
+ throw await de_InternalExceptionRes(parsedOutput, context);
1930
+ default:
1931
+ const parsedBody = parsedOutput.body;
1932
+ return throwDefaultError({
1933
+ output,
1934
+ parsedBody,
1935
+ errorCode
1936
+ });
1937
+ }
1938
+ }, "de_ListApiDestinationsCommandError");
1939
+ var de_ListArchivesCommand = /* @__PURE__ */ __name(async (output, context) => {
1940
+ if (output.statusCode >= 300) {
1941
+ return de_ListArchivesCommandError(output, context);
1942
+ }
1943
+ const data = await parseBody(output.body, context);
1944
+ let contents = {};
1945
+ contents = de_ListArchivesResponse(data, context);
1946
+ const response = {
1947
+ $metadata: deserializeMetadata(output),
1948
+ ...contents
1949
+ };
1950
+ return response;
1951
+ }, "de_ListArchivesCommand");
1952
+ var de_ListArchivesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1953
+ const parsedOutput = {
1954
+ ...output,
1955
+ body: await parseErrorBody(output.body, context)
1956
+ };
1957
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1958
+ switch (errorCode) {
1959
+ case "InternalException":
1960
+ case "com.amazonaws.cloudwatchevents#InternalException":
1961
+ throw await de_InternalExceptionRes(parsedOutput, context);
1962
+ case "ResourceNotFoundException":
1963
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1964
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1965
+ default:
1966
+ const parsedBody = parsedOutput.body;
1967
+ return throwDefaultError({
1968
+ output,
1969
+ parsedBody,
1970
+ errorCode
1971
+ });
1972
+ }
1973
+ }, "de_ListArchivesCommandError");
1974
+ var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1975
+ if (output.statusCode >= 300) {
1976
+ return de_ListConnectionsCommandError(output, context);
1977
+ }
1978
+ const data = await parseBody(output.body, context);
1979
+ let contents = {};
1980
+ contents = de_ListConnectionsResponse(data, context);
1981
+ const response = {
1982
+ $metadata: deserializeMetadata(output),
1983
+ ...contents
1984
+ };
1985
+ return response;
1986
+ }, "de_ListConnectionsCommand");
1987
+ var de_ListConnectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1988
+ const parsedOutput = {
1989
+ ...output,
1990
+ body: await parseErrorBody(output.body, context)
1991
+ };
1992
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1993
+ switch (errorCode) {
1994
+ case "InternalException":
1995
+ case "com.amazonaws.cloudwatchevents#InternalException":
1996
+ throw await de_InternalExceptionRes(parsedOutput, context);
1997
+ default:
1998
+ const parsedBody = parsedOutput.body;
1999
+ return throwDefaultError({
2000
+ output,
2001
+ parsedBody,
2002
+ errorCode
2003
+ });
2004
+ }
2005
+ }, "de_ListConnectionsCommandError");
2006
+ var de_ListEventBusesCommand = /* @__PURE__ */ __name(async (output, context) => {
2007
+ if (output.statusCode >= 300) {
2008
+ return de_ListEventBusesCommandError(output, context);
2009
+ }
2010
+ const data = await parseBody(output.body, context);
2011
+ let contents = {};
2012
+ contents = (0, import_smithy_client._json)(data);
2013
+ const response = {
2014
+ $metadata: deserializeMetadata(output),
2015
+ ...contents
2016
+ };
2017
+ return response;
2018
+ }, "de_ListEventBusesCommand");
2019
+ var de_ListEventBusesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2020
+ const parsedOutput = {
2021
+ ...output,
2022
+ body: await parseErrorBody(output.body, context)
2023
+ };
2024
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2025
+ switch (errorCode) {
2026
+ case "InternalException":
2027
+ case "com.amazonaws.cloudwatchevents#InternalException":
2028
+ throw await de_InternalExceptionRes(parsedOutput, context);
2029
+ default:
2030
+ const parsedBody = parsedOutput.body;
2031
+ return throwDefaultError({
2032
+ output,
2033
+ parsedBody,
2034
+ errorCode
2035
+ });
2036
+ }
2037
+ }, "de_ListEventBusesCommandError");
2038
+ var de_ListEventSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
2039
+ if (output.statusCode >= 300) {
2040
+ return de_ListEventSourcesCommandError(output, context);
2041
+ }
2042
+ const data = await parseBody(output.body, context);
2043
+ let contents = {};
2044
+ contents = de_ListEventSourcesResponse(data, context);
2045
+ const response = {
2046
+ $metadata: deserializeMetadata(output),
2047
+ ...contents
2048
+ };
2049
+ return response;
2050
+ }, "de_ListEventSourcesCommand");
2051
+ var de_ListEventSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2052
+ const parsedOutput = {
2053
+ ...output,
2054
+ body: await parseErrorBody(output.body, context)
2055
+ };
2056
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2057
+ switch (errorCode) {
2058
+ case "InternalException":
2059
+ case "com.amazonaws.cloudwatchevents#InternalException":
2060
+ throw await de_InternalExceptionRes(parsedOutput, context);
2061
+ case "OperationDisabledException":
2062
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
2063
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
2064
+ default:
2065
+ const parsedBody = parsedOutput.body;
2066
+ return throwDefaultError({
2067
+ output,
2068
+ parsedBody,
2069
+ errorCode
2070
+ });
2071
+ }
2072
+ }, "de_ListEventSourcesCommandError");
2073
+ var de_ListPartnerEventSourceAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {
2074
+ if (output.statusCode >= 300) {
2075
+ return de_ListPartnerEventSourceAccountsCommandError(output, context);
2076
+ }
2077
+ const data = await parseBody(output.body, context);
2078
+ let contents = {};
2079
+ contents = de_ListPartnerEventSourceAccountsResponse(data, context);
2080
+ const response = {
2081
+ $metadata: deserializeMetadata(output),
2082
+ ...contents
2083
+ };
2084
+ return response;
2085
+ }, "de_ListPartnerEventSourceAccountsCommand");
2086
+ var de_ListPartnerEventSourceAccountsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2087
+ const parsedOutput = {
2088
+ ...output,
2089
+ body: await parseErrorBody(output.body, context)
2090
+ };
2091
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2092
+ switch (errorCode) {
2093
+ case "InternalException":
2094
+ case "com.amazonaws.cloudwatchevents#InternalException":
2095
+ throw await de_InternalExceptionRes(parsedOutput, context);
2096
+ case "OperationDisabledException":
2097
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
2098
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
2099
+ case "ResourceNotFoundException":
2100
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2101
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2102
+ default:
2103
+ const parsedBody = parsedOutput.body;
2104
+ return throwDefaultError({
2105
+ output,
2106
+ parsedBody,
2107
+ errorCode
2108
+ });
2109
+ }
2110
+ }, "de_ListPartnerEventSourceAccountsCommandError");
2111
+ var de_ListPartnerEventSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
2112
+ if (output.statusCode >= 300) {
2113
+ return de_ListPartnerEventSourcesCommandError(output, context);
2114
+ }
2115
+ const data = await parseBody(output.body, context);
2116
+ let contents = {};
2117
+ contents = (0, import_smithy_client._json)(data);
2118
+ const response = {
2119
+ $metadata: deserializeMetadata(output),
2120
+ ...contents
2121
+ };
2122
+ return response;
2123
+ }, "de_ListPartnerEventSourcesCommand");
2124
+ var de_ListPartnerEventSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2125
+ const parsedOutput = {
2126
+ ...output,
2127
+ body: await parseErrorBody(output.body, context)
2128
+ };
2129
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2130
+ switch (errorCode) {
2131
+ case "InternalException":
2132
+ case "com.amazonaws.cloudwatchevents#InternalException":
2133
+ throw await de_InternalExceptionRes(parsedOutput, context);
2134
+ case "OperationDisabledException":
2135
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
2136
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
2137
+ default:
2138
+ const parsedBody = parsedOutput.body;
2139
+ return throwDefaultError({
2140
+ output,
2141
+ parsedBody,
2142
+ errorCode
2143
+ });
2144
+ }
2145
+ }, "de_ListPartnerEventSourcesCommandError");
2146
+ var de_ListReplaysCommand = /* @__PURE__ */ __name(async (output, context) => {
2147
+ if (output.statusCode >= 300) {
2148
+ return de_ListReplaysCommandError(output, context);
2149
+ }
2150
+ const data = await parseBody(output.body, context);
2151
+ let contents = {};
2152
+ contents = de_ListReplaysResponse(data, context);
2153
+ const response = {
2154
+ $metadata: deserializeMetadata(output),
2155
+ ...contents
2156
+ };
2157
+ return response;
2158
+ }, "de_ListReplaysCommand");
2159
+ var de_ListReplaysCommandError = /* @__PURE__ */ __name(async (output, context) => {
2160
+ const parsedOutput = {
2161
+ ...output,
2162
+ body: await parseErrorBody(output.body, context)
2163
+ };
2164
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2165
+ switch (errorCode) {
2166
+ case "InternalException":
2167
+ case "com.amazonaws.cloudwatchevents#InternalException":
2168
+ throw await de_InternalExceptionRes(parsedOutput, context);
2169
+ default:
2170
+ const parsedBody = parsedOutput.body;
2171
+ return throwDefaultError({
2172
+ output,
2173
+ parsedBody,
2174
+ errorCode
2175
+ });
2176
+ }
2177
+ }, "de_ListReplaysCommandError");
2178
+ var de_ListRuleNamesByTargetCommand = /* @__PURE__ */ __name(async (output, context) => {
2179
+ if (output.statusCode >= 300) {
2180
+ return de_ListRuleNamesByTargetCommandError(output, context);
2181
+ }
2182
+ const data = await parseBody(output.body, context);
2183
+ let contents = {};
2184
+ contents = (0, import_smithy_client._json)(data);
2185
+ const response = {
2186
+ $metadata: deserializeMetadata(output),
2187
+ ...contents
2188
+ };
2189
+ return response;
2190
+ }, "de_ListRuleNamesByTargetCommand");
2191
+ var de_ListRuleNamesByTargetCommandError = /* @__PURE__ */ __name(async (output, context) => {
2192
+ const parsedOutput = {
2193
+ ...output,
2194
+ body: await parseErrorBody(output.body, context)
2195
+ };
2196
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2197
+ switch (errorCode) {
2198
+ case "InternalException":
2199
+ case "com.amazonaws.cloudwatchevents#InternalException":
2200
+ throw await de_InternalExceptionRes(parsedOutput, context);
2201
+ case "ResourceNotFoundException":
2202
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2203
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2204
+ default:
2205
+ const parsedBody = parsedOutput.body;
2206
+ return throwDefaultError({
2207
+ output,
2208
+ parsedBody,
2209
+ errorCode
2210
+ });
2211
+ }
2212
+ }, "de_ListRuleNamesByTargetCommandError");
2213
+ var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
2214
+ if (output.statusCode >= 300) {
2215
+ return de_ListRulesCommandError(output, context);
2216
+ }
2217
+ const data = await parseBody(output.body, context);
2218
+ let contents = {};
2219
+ contents = (0, import_smithy_client._json)(data);
2220
+ const response = {
2221
+ $metadata: deserializeMetadata(output),
2222
+ ...contents
2223
+ };
2224
+ return response;
2225
+ }, "de_ListRulesCommand");
2226
+ var de_ListRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2227
+ const parsedOutput = {
2228
+ ...output,
2229
+ body: await parseErrorBody(output.body, context)
2230
+ };
2231
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2232
+ switch (errorCode) {
2233
+ case "InternalException":
2234
+ case "com.amazonaws.cloudwatchevents#InternalException":
2235
+ throw await de_InternalExceptionRes(parsedOutput, context);
2236
+ case "ResourceNotFoundException":
2237
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2238
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2239
+ default:
2240
+ const parsedBody = parsedOutput.body;
2241
+ return throwDefaultError({
2242
+ output,
2243
+ parsedBody,
2244
+ errorCode
2245
+ });
2246
+ }
2247
+ }, "de_ListRulesCommandError");
2248
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2249
+ if (output.statusCode >= 300) {
2250
+ return de_ListTagsForResourceCommandError(output, context);
2251
+ }
2252
+ const data = await parseBody(output.body, context);
2253
+ let contents = {};
2254
+ contents = (0, import_smithy_client._json)(data);
2255
+ const response = {
2256
+ $metadata: deserializeMetadata(output),
2257
+ ...contents
2258
+ };
2259
+ return response;
2260
+ }, "de_ListTagsForResourceCommand");
2261
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2262
+ const parsedOutput = {
2263
+ ...output,
2264
+ body: await parseErrorBody(output.body, context)
2265
+ };
2266
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2267
+ switch (errorCode) {
2268
+ case "InternalException":
2269
+ case "com.amazonaws.cloudwatchevents#InternalException":
2270
+ throw await de_InternalExceptionRes(parsedOutput, context);
2271
+ case "ResourceNotFoundException":
2272
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2273
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2274
+ default:
2275
+ const parsedBody = parsedOutput.body;
2276
+ return throwDefaultError({
2277
+ output,
2278
+ parsedBody,
2279
+ errorCode
2280
+ });
2281
+ }
2282
+ }, "de_ListTagsForResourceCommandError");
2283
+ var de_ListTargetsByRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
2284
+ if (output.statusCode >= 300) {
2285
+ return de_ListTargetsByRuleCommandError(output, context);
2286
+ }
2287
+ const data = await parseBody(output.body, context);
2288
+ let contents = {};
2289
+ contents = (0, import_smithy_client._json)(data);
2290
+ const response = {
2291
+ $metadata: deserializeMetadata(output),
2292
+ ...contents
2293
+ };
2294
+ return response;
2295
+ }, "de_ListTargetsByRuleCommand");
2296
+ var de_ListTargetsByRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
2297
+ const parsedOutput = {
2298
+ ...output,
2299
+ body: await parseErrorBody(output.body, context)
2300
+ };
2301
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2302
+ switch (errorCode) {
2303
+ case "InternalException":
2304
+ case "com.amazonaws.cloudwatchevents#InternalException":
2305
+ throw await de_InternalExceptionRes(parsedOutput, context);
2306
+ case "ResourceNotFoundException":
2307
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2308
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2309
+ default:
2310
+ const parsedBody = parsedOutput.body;
2311
+ return throwDefaultError({
2312
+ output,
2313
+ parsedBody,
2314
+ errorCode
2315
+ });
2316
+ }
2317
+ }, "de_ListTargetsByRuleCommandError");
2318
+ var de_PutEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
2319
+ if (output.statusCode >= 300) {
2320
+ return de_PutEventsCommandError(output, context);
2321
+ }
2322
+ const data = await parseBody(output.body, context);
2323
+ let contents = {};
2324
+ contents = (0, import_smithy_client._json)(data);
2325
+ const response = {
2326
+ $metadata: deserializeMetadata(output),
2327
+ ...contents
2328
+ };
2329
+ return response;
2330
+ }, "de_PutEventsCommand");
2331
+ var de_PutEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2332
+ const parsedOutput = {
2333
+ ...output,
2334
+ body: await parseErrorBody(output.body, context)
2335
+ };
2336
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2337
+ switch (errorCode) {
2338
+ case "InternalException":
2339
+ case "com.amazonaws.cloudwatchevents#InternalException":
2340
+ throw await de_InternalExceptionRes(parsedOutput, context);
2341
+ default:
2342
+ const parsedBody = parsedOutput.body;
2343
+ return throwDefaultError({
2344
+ output,
2345
+ parsedBody,
2346
+ errorCode
2347
+ });
2348
+ }
2349
+ }, "de_PutEventsCommandError");
2350
+ var de_PutPartnerEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
2351
+ if (output.statusCode >= 300) {
2352
+ return de_PutPartnerEventsCommandError(output, context);
2353
+ }
2354
+ const data = await parseBody(output.body, context);
2355
+ let contents = {};
2356
+ contents = (0, import_smithy_client._json)(data);
2357
+ const response = {
2358
+ $metadata: deserializeMetadata(output),
2359
+ ...contents
2360
+ };
2361
+ return response;
2362
+ }, "de_PutPartnerEventsCommand");
2363
+ var de_PutPartnerEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2364
+ const parsedOutput = {
2365
+ ...output,
2366
+ body: await parseErrorBody(output.body, context)
2367
+ };
2368
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2369
+ switch (errorCode) {
2370
+ case "InternalException":
2371
+ case "com.amazonaws.cloudwatchevents#InternalException":
2372
+ throw await de_InternalExceptionRes(parsedOutput, context);
2373
+ case "OperationDisabledException":
2374
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
2375
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
2376
+ default:
2377
+ const parsedBody = parsedOutput.body;
2378
+ return throwDefaultError({
2379
+ output,
2380
+ parsedBody,
2381
+ errorCode
2382
+ });
2383
+ }
2384
+ }, "de_PutPartnerEventsCommandError");
2385
+ var de_PutPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
2386
+ if (output.statusCode >= 300) {
2387
+ return de_PutPermissionCommandError(output, context);
2388
+ }
2389
+ await (0, import_smithy_client.collectBody)(output.body, context);
2390
+ const response = {
2391
+ $metadata: deserializeMetadata(output)
2392
+ };
2393
+ return response;
2394
+ }, "de_PutPermissionCommand");
2395
+ var de_PutPermissionCommandError = /* @__PURE__ */ __name(async (output, context) => {
2396
+ const parsedOutput = {
2397
+ ...output,
2398
+ body: await parseErrorBody(output.body, context)
2399
+ };
2400
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2401
+ switch (errorCode) {
2402
+ case "ConcurrentModificationException":
2403
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2404
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2405
+ case "InternalException":
2406
+ case "com.amazonaws.cloudwatchevents#InternalException":
2407
+ throw await de_InternalExceptionRes(parsedOutput, context);
2408
+ case "OperationDisabledException":
2409
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
2410
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
2411
+ case "PolicyLengthExceededException":
2412
+ case "com.amazonaws.cloudwatchevents#PolicyLengthExceededException":
2413
+ throw await de_PolicyLengthExceededExceptionRes(parsedOutput, context);
2414
+ case "ResourceNotFoundException":
2415
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2416
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2417
+ default:
2418
+ const parsedBody = parsedOutput.body;
2419
+ return throwDefaultError({
2420
+ output,
2421
+ parsedBody,
2422
+ errorCode
2423
+ });
2424
+ }
2425
+ }, "de_PutPermissionCommandError");
2426
+ var de_PutRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
2427
+ if (output.statusCode >= 300) {
2428
+ return de_PutRuleCommandError(output, context);
2429
+ }
2430
+ const data = await parseBody(output.body, context);
2431
+ let contents = {};
2432
+ contents = (0, import_smithy_client._json)(data);
2433
+ const response = {
2434
+ $metadata: deserializeMetadata(output),
2435
+ ...contents
2436
+ };
2437
+ return response;
2438
+ }, "de_PutRuleCommand");
2439
+ var de_PutRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
2440
+ const parsedOutput = {
2441
+ ...output,
2442
+ body: await parseErrorBody(output.body, context)
2443
+ };
2444
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2445
+ switch (errorCode) {
2446
+ case "ConcurrentModificationException":
2447
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2448
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2449
+ case "InternalException":
2450
+ case "com.amazonaws.cloudwatchevents#InternalException":
2451
+ throw await de_InternalExceptionRes(parsedOutput, context);
2452
+ case "InvalidEventPatternException":
2453
+ case "com.amazonaws.cloudwatchevents#InvalidEventPatternException":
2454
+ throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
2455
+ case "LimitExceededException":
2456
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
2457
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2458
+ case "ManagedRuleException":
2459
+ case "com.amazonaws.cloudwatchevents#ManagedRuleException":
2460
+ throw await de_ManagedRuleExceptionRes(parsedOutput, context);
2461
+ case "ResourceNotFoundException":
2462
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2463
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2464
+ default:
2465
+ const parsedBody = parsedOutput.body;
2466
+ return throwDefaultError({
2467
+ output,
2468
+ parsedBody,
2469
+ errorCode
2470
+ });
2471
+ }
2472
+ }, "de_PutRuleCommandError");
2473
+ var de_PutTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
2474
+ if (output.statusCode >= 300) {
2475
+ return de_PutTargetsCommandError(output, context);
2476
+ }
2477
+ const data = await parseBody(output.body, context);
2478
+ let contents = {};
2479
+ contents = (0, import_smithy_client._json)(data);
2480
+ const response = {
2481
+ $metadata: deserializeMetadata(output),
2482
+ ...contents
2483
+ };
2484
+ return response;
2485
+ }, "de_PutTargetsCommand");
2486
+ var de_PutTargetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2487
+ const parsedOutput = {
2488
+ ...output,
2489
+ body: await parseErrorBody(output.body, context)
2490
+ };
2491
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2492
+ switch (errorCode) {
2493
+ case "ConcurrentModificationException":
2494
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2495
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2496
+ case "InternalException":
2497
+ case "com.amazonaws.cloudwatchevents#InternalException":
2498
+ throw await de_InternalExceptionRes(parsedOutput, context);
2499
+ case "LimitExceededException":
2500
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
2501
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2502
+ case "ManagedRuleException":
2503
+ case "com.amazonaws.cloudwatchevents#ManagedRuleException":
2504
+ throw await de_ManagedRuleExceptionRes(parsedOutput, context);
2505
+ case "ResourceNotFoundException":
2506
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2507
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2508
+ default:
2509
+ const parsedBody = parsedOutput.body;
2510
+ return throwDefaultError({
2511
+ output,
2512
+ parsedBody,
2513
+ errorCode
2514
+ });
2515
+ }
2516
+ }, "de_PutTargetsCommandError");
2517
+ var de_RemovePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
2518
+ if (output.statusCode >= 300) {
2519
+ return de_RemovePermissionCommandError(output, context);
2520
+ }
2521
+ await (0, import_smithy_client.collectBody)(output.body, context);
2522
+ const response = {
2523
+ $metadata: deserializeMetadata(output)
2524
+ };
2525
+ return response;
2526
+ }, "de_RemovePermissionCommand");
2527
+ var de_RemovePermissionCommandError = /* @__PURE__ */ __name(async (output, context) => {
2528
+ const parsedOutput = {
2529
+ ...output,
2530
+ body: await parseErrorBody(output.body, context)
2531
+ };
2532
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2533
+ switch (errorCode) {
2534
+ case "ConcurrentModificationException":
2535
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2536
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2537
+ case "InternalException":
2538
+ case "com.amazonaws.cloudwatchevents#InternalException":
2539
+ throw await de_InternalExceptionRes(parsedOutput, context);
2540
+ case "OperationDisabledException":
2541
+ case "com.amazonaws.cloudwatchevents#OperationDisabledException":
2542
+ throw await de_OperationDisabledExceptionRes(parsedOutput, context);
2543
+ case "ResourceNotFoundException":
2544
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2545
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2546
+ default:
2547
+ const parsedBody = parsedOutput.body;
2548
+ return throwDefaultError({
2549
+ output,
2550
+ parsedBody,
2551
+ errorCode
2552
+ });
2553
+ }
2554
+ }, "de_RemovePermissionCommandError");
2555
+ var de_RemoveTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
2556
+ if (output.statusCode >= 300) {
2557
+ return de_RemoveTargetsCommandError(output, context);
2558
+ }
2559
+ const data = await parseBody(output.body, context);
2560
+ let contents = {};
2561
+ contents = (0, import_smithy_client._json)(data);
2562
+ const response = {
2563
+ $metadata: deserializeMetadata(output),
2564
+ ...contents
2565
+ };
2566
+ return response;
2567
+ }, "de_RemoveTargetsCommand");
2568
+ var de_RemoveTargetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2569
+ const parsedOutput = {
2570
+ ...output,
2571
+ body: await parseErrorBody(output.body, context)
2572
+ };
2573
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2574
+ switch (errorCode) {
2575
+ case "ConcurrentModificationException":
2576
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2577
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2578
+ case "InternalException":
2579
+ case "com.amazonaws.cloudwatchevents#InternalException":
2580
+ throw await de_InternalExceptionRes(parsedOutput, context);
2581
+ case "ManagedRuleException":
2582
+ case "com.amazonaws.cloudwatchevents#ManagedRuleException":
2583
+ throw await de_ManagedRuleExceptionRes(parsedOutput, context);
2584
+ case "ResourceNotFoundException":
2585
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2586
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2587
+ default:
2588
+ const parsedBody = parsedOutput.body;
2589
+ return throwDefaultError({
2590
+ output,
2591
+ parsedBody,
2592
+ errorCode
2593
+ });
2594
+ }
2595
+ }, "de_RemoveTargetsCommandError");
2596
+ var de_StartReplayCommand = /* @__PURE__ */ __name(async (output, context) => {
2597
+ if (output.statusCode >= 300) {
2598
+ return de_StartReplayCommandError(output, context);
2599
+ }
2600
+ const data = await parseBody(output.body, context);
2601
+ let contents = {};
2602
+ contents = de_StartReplayResponse(data, context);
2603
+ const response = {
2604
+ $metadata: deserializeMetadata(output),
2605
+ ...contents
2606
+ };
2607
+ return response;
2608
+ }, "de_StartReplayCommand");
2609
+ var de_StartReplayCommandError = /* @__PURE__ */ __name(async (output, context) => {
2610
+ const parsedOutput = {
2611
+ ...output,
2612
+ body: await parseErrorBody(output.body, context)
2613
+ };
2614
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2615
+ switch (errorCode) {
2616
+ case "InternalException":
2617
+ case "com.amazonaws.cloudwatchevents#InternalException":
2618
+ throw await de_InternalExceptionRes(parsedOutput, context);
2619
+ case "InvalidEventPatternException":
2620
+ case "com.amazonaws.cloudwatchevents#InvalidEventPatternException":
2621
+ throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
2622
+ case "LimitExceededException":
2623
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
2624
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2625
+ case "ResourceAlreadyExistsException":
2626
+ case "com.amazonaws.cloudwatchevents#ResourceAlreadyExistsException":
2627
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
2628
+ case "ResourceNotFoundException":
2629
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2630
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2631
+ default:
2632
+ const parsedBody = parsedOutput.body;
2633
+ return throwDefaultError({
2634
+ output,
2635
+ parsedBody,
2636
+ errorCode
2637
+ });
2638
+ }
2639
+ }, "de_StartReplayCommandError");
2640
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2641
+ if (output.statusCode >= 300) {
2642
+ return de_TagResourceCommandError(output, context);
2643
+ }
2644
+ const data = await parseBody(output.body, context);
2645
+ let contents = {};
2646
+ contents = (0, import_smithy_client._json)(data);
2647
+ const response = {
2648
+ $metadata: deserializeMetadata(output),
2649
+ ...contents
2650
+ };
2651
+ return response;
2652
+ }, "de_TagResourceCommand");
2653
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2654
+ const parsedOutput = {
2655
+ ...output,
2656
+ body: await parseErrorBody(output.body, context)
2657
+ };
2658
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2659
+ switch (errorCode) {
2660
+ case "ConcurrentModificationException":
2661
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2662
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2663
+ case "InternalException":
2664
+ case "com.amazonaws.cloudwatchevents#InternalException":
2665
+ throw await de_InternalExceptionRes(parsedOutput, context);
2666
+ case "ManagedRuleException":
2667
+ case "com.amazonaws.cloudwatchevents#ManagedRuleException":
2668
+ throw await de_ManagedRuleExceptionRes(parsedOutput, context);
2669
+ case "ResourceNotFoundException":
2670
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2671
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2672
+ default:
2673
+ const parsedBody = parsedOutput.body;
2674
+ return throwDefaultError({
2675
+ output,
2676
+ parsedBody,
2677
+ errorCode
2678
+ });
2679
+ }
2680
+ }, "de_TagResourceCommandError");
2681
+ var de_TestEventPatternCommand = /* @__PURE__ */ __name(async (output, context) => {
2682
+ if (output.statusCode >= 300) {
2683
+ return de_TestEventPatternCommandError(output, context);
2684
+ }
2685
+ const data = await parseBody(output.body, context);
2686
+ let contents = {};
2687
+ contents = (0, import_smithy_client._json)(data);
2688
+ const response = {
2689
+ $metadata: deserializeMetadata(output),
2690
+ ...contents
2691
+ };
2692
+ return response;
2693
+ }, "de_TestEventPatternCommand");
2694
+ var de_TestEventPatternCommandError = /* @__PURE__ */ __name(async (output, context) => {
2695
+ const parsedOutput = {
2696
+ ...output,
2697
+ body: await parseErrorBody(output.body, context)
2698
+ };
2699
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2700
+ switch (errorCode) {
2701
+ case "InternalException":
2702
+ case "com.amazonaws.cloudwatchevents#InternalException":
2703
+ throw await de_InternalExceptionRes(parsedOutput, context);
2704
+ case "InvalidEventPatternException":
2705
+ case "com.amazonaws.cloudwatchevents#InvalidEventPatternException":
2706
+ throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
2707
+ default:
2708
+ const parsedBody = parsedOutput.body;
2709
+ return throwDefaultError({
2710
+ output,
2711
+ parsedBody,
2712
+ errorCode
2713
+ });
2714
+ }
2715
+ }, "de_TestEventPatternCommandError");
2716
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2717
+ if (output.statusCode >= 300) {
2718
+ return de_UntagResourceCommandError(output, context);
2719
+ }
2720
+ const data = await parseBody(output.body, context);
2721
+ let contents = {};
2722
+ contents = (0, import_smithy_client._json)(data);
2723
+ const response = {
2724
+ $metadata: deserializeMetadata(output),
2725
+ ...contents
2726
+ };
2727
+ return response;
2728
+ }, "de_UntagResourceCommand");
2729
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2730
+ const parsedOutput = {
2731
+ ...output,
2732
+ body: await parseErrorBody(output.body, context)
2733
+ };
2734
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2735
+ switch (errorCode) {
2736
+ case "ConcurrentModificationException":
2737
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2738
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2739
+ case "InternalException":
2740
+ case "com.amazonaws.cloudwatchevents#InternalException":
2741
+ throw await de_InternalExceptionRes(parsedOutput, context);
2742
+ case "ManagedRuleException":
2743
+ case "com.amazonaws.cloudwatchevents#ManagedRuleException":
2744
+ throw await de_ManagedRuleExceptionRes(parsedOutput, context);
2745
+ case "ResourceNotFoundException":
2746
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2747
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2748
+ default:
2749
+ const parsedBody = parsedOutput.body;
2750
+ return throwDefaultError({
2751
+ output,
2752
+ parsedBody,
2753
+ errorCode
2754
+ });
2755
+ }
2756
+ }, "de_UntagResourceCommandError");
2757
+ var de_UpdateApiDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
2758
+ if (output.statusCode >= 300) {
2759
+ return de_UpdateApiDestinationCommandError(output, context);
2760
+ }
2761
+ const data = await parseBody(output.body, context);
2762
+ let contents = {};
2763
+ contents = de_UpdateApiDestinationResponse(data, context);
2764
+ const response = {
2765
+ $metadata: deserializeMetadata(output),
2766
+ ...contents
2767
+ };
2768
+ return response;
2769
+ }, "de_UpdateApiDestinationCommand");
2770
+ var de_UpdateApiDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
2771
+ const parsedOutput = {
2772
+ ...output,
2773
+ body: await parseErrorBody(output.body, context)
2774
+ };
2775
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2776
+ switch (errorCode) {
2777
+ case "ConcurrentModificationException":
2778
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2779
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2780
+ case "InternalException":
2781
+ case "com.amazonaws.cloudwatchevents#InternalException":
2782
+ throw await de_InternalExceptionRes(parsedOutput, context);
2783
+ case "LimitExceededException":
2784
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
2785
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2786
+ case "ResourceNotFoundException":
2787
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2788
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2789
+ default:
2790
+ const parsedBody = parsedOutput.body;
2791
+ return throwDefaultError({
2792
+ output,
2793
+ parsedBody,
2794
+ errorCode
2795
+ });
2796
+ }
2797
+ }, "de_UpdateApiDestinationCommandError");
2798
+ var de_UpdateArchiveCommand = /* @__PURE__ */ __name(async (output, context) => {
2799
+ if (output.statusCode >= 300) {
2800
+ return de_UpdateArchiveCommandError(output, context);
2801
+ }
2802
+ const data = await parseBody(output.body, context);
2803
+ let contents = {};
2804
+ contents = de_UpdateArchiveResponse(data, context);
2805
+ const response = {
2806
+ $metadata: deserializeMetadata(output),
2807
+ ...contents
2808
+ };
2809
+ return response;
2810
+ }, "de_UpdateArchiveCommand");
2811
+ var de_UpdateArchiveCommandError = /* @__PURE__ */ __name(async (output, context) => {
2812
+ const parsedOutput = {
2813
+ ...output,
2814
+ body: await parseErrorBody(output.body, context)
2815
+ };
2816
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2817
+ switch (errorCode) {
2818
+ case "ConcurrentModificationException":
2819
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2820
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2821
+ case "InternalException":
2822
+ case "com.amazonaws.cloudwatchevents#InternalException":
2823
+ throw await de_InternalExceptionRes(parsedOutput, context);
2824
+ case "InvalidEventPatternException":
2825
+ case "com.amazonaws.cloudwatchevents#InvalidEventPatternException":
2826
+ throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
2827
+ case "LimitExceededException":
2828
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
2829
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2830
+ case "ResourceNotFoundException":
2831
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2832
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2833
+ default:
2834
+ const parsedBody = parsedOutput.body;
2835
+ return throwDefaultError({
2836
+ output,
2837
+ parsedBody,
2838
+ errorCode
2839
+ });
2840
+ }
2841
+ }, "de_UpdateArchiveCommandError");
2842
+ var de_UpdateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
2843
+ if (output.statusCode >= 300) {
2844
+ return de_UpdateConnectionCommandError(output, context);
2845
+ }
2846
+ const data = await parseBody(output.body, context);
2847
+ let contents = {};
2848
+ contents = de_UpdateConnectionResponse(data, context);
2849
+ const response = {
2850
+ $metadata: deserializeMetadata(output),
2851
+ ...contents
2852
+ };
2853
+ return response;
2854
+ }, "de_UpdateConnectionCommand");
2855
+ var de_UpdateConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
2856
+ const parsedOutput = {
2857
+ ...output,
2858
+ body: await parseErrorBody(output.body, context)
2859
+ };
2860
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2861
+ switch (errorCode) {
2862
+ case "ConcurrentModificationException":
2863
+ case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
2864
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2865
+ case "InternalException":
2866
+ case "com.amazonaws.cloudwatchevents#InternalException":
2867
+ throw await de_InternalExceptionRes(parsedOutput, context);
2868
+ case "LimitExceededException":
2869
+ case "com.amazonaws.cloudwatchevents#LimitExceededException":
2870
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2871
+ case "ResourceNotFoundException":
2872
+ case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
2873
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2874
+ default:
2875
+ const parsedBody = parsedOutput.body;
2876
+ return throwDefaultError({
2877
+ output,
2878
+ parsedBody,
2879
+ errorCode
2880
+ });
2881
+ }
2882
+ }, "de_UpdateConnectionCommandError");
2883
+ var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2884
+ const body = parsedOutput.body;
2885
+ const deserialized = (0, import_smithy_client._json)(body);
2886
+ const exception = new ConcurrentModificationException({
2887
+ $metadata: deserializeMetadata(parsedOutput),
2888
+ ...deserialized
2889
+ });
2890
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2891
+ }, "de_ConcurrentModificationExceptionRes");
2892
+ var de_IllegalStatusExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2893
+ const body = parsedOutput.body;
2894
+ const deserialized = (0, import_smithy_client._json)(body);
2895
+ const exception = new IllegalStatusException({
2896
+ $metadata: deserializeMetadata(parsedOutput),
2897
+ ...deserialized
2898
+ });
2899
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2900
+ }, "de_IllegalStatusExceptionRes");
2901
+ var de_InternalExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2902
+ const body = parsedOutput.body;
2903
+ const deserialized = (0, import_smithy_client._json)(body);
2904
+ const exception = new InternalException({
2905
+ $metadata: deserializeMetadata(parsedOutput),
2906
+ ...deserialized
2907
+ });
2908
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2909
+ }, "de_InternalExceptionRes");
2910
+ var de_InvalidEventPatternExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2911
+ const body = parsedOutput.body;
2912
+ const deserialized = (0, import_smithy_client._json)(body);
2913
+ const exception = new InvalidEventPatternException({
2914
+ $metadata: deserializeMetadata(parsedOutput),
2915
+ ...deserialized
2916
+ });
2917
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2918
+ }, "de_InvalidEventPatternExceptionRes");
2919
+ var de_InvalidStateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2920
+ const body = parsedOutput.body;
2921
+ const deserialized = (0, import_smithy_client._json)(body);
2922
+ const exception = new InvalidStateException({
2923
+ $metadata: deserializeMetadata(parsedOutput),
2924
+ ...deserialized
2925
+ });
2926
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2927
+ }, "de_InvalidStateExceptionRes");
2928
+ var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2929
+ const body = parsedOutput.body;
2930
+ const deserialized = (0, import_smithy_client._json)(body);
2931
+ const exception = new LimitExceededException({
2932
+ $metadata: deserializeMetadata(parsedOutput),
2933
+ ...deserialized
2934
+ });
2935
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2936
+ }, "de_LimitExceededExceptionRes");
2937
+ var de_ManagedRuleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2938
+ const body = parsedOutput.body;
2939
+ const deserialized = (0, import_smithy_client._json)(body);
2940
+ const exception = new ManagedRuleException({
2941
+ $metadata: deserializeMetadata(parsedOutput),
2942
+ ...deserialized
2943
+ });
2944
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2945
+ }, "de_ManagedRuleExceptionRes");
2946
+ var de_OperationDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2947
+ const body = parsedOutput.body;
2948
+ const deserialized = (0, import_smithy_client._json)(body);
2949
+ const exception = new OperationDisabledException({
2950
+ $metadata: deserializeMetadata(parsedOutput),
2951
+ ...deserialized
2952
+ });
2953
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2954
+ }, "de_OperationDisabledExceptionRes");
2955
+ var de_PolicyLengthExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2956
+ const body = parsedOutput.body;
2957
+ const deserialized = (0, import_smithy_client._json)(body);
2958
+ const exception = new PolicyLengthExceededException({
2959
+ $metadata: deserializeMetadata(parsedOutput),
2960
+ ...deserialized
2961
+ });
2962
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2963
+ }, "de_PolicyLengthExceededExceptionRes");
2964
+ var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2965
+ const body = parsedOutput.body;
2966
+ const deserialized = (0, import_smithy_client._json)(body);
2967
+ const exception = new ResourceAlreadyExistsException({
2968
+ $metadata: deserializeMetadata(parsedOutput),
2969
+ ...deserialized
2970
+ });
2971
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2972
+ }, "de_ResourceAlreadyExistsExceptionRes");
2973
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2974
+ const body = parsedOutput.body;
2975
+ const deserialized = (0, import_smithy_client._json)(body);
2976
+ const exception = new ResourceNotFoundException({
2977
+ $metadata: deserializeMetadata(parsedOutput),
2978
+ ...deserialized
2979
+ });
2980
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2981
+ }, "de_ResourceNotFoundExceptionRes");
2982
+ var se_PutEventsRequest = /* @__PURE__ */ __name((input, context) => {
2983
+ return (0, import_smithy_client.take)(input, {
2984
+ Entries: (_) => se_PutEventsRequestEntryList(_, context)
2985
+ });
2986
+ }, "se_PutEventsRequest");
2987
+ var se_PutEventsRequestEntry = /* @__PURE__ */ __name((input, context) => {
2988
+ return (0, import_smithy_client.take)(input, {
2989
+ Detail: [],
2990
+ DetailType: [],
2991
+ EventBusName: [],
2992
+ Resources: import_smithy_client._json,
2993
+ Source: [],
2994
+ Time: (_) => Math.round(_.getTime() / 1e3),
2995
+ TraceHeader: []
2996
+ });
2997
+ }, "se_PutEventsRequestEntry");
2998
+ var se_PutEventsRequestEntryList = /* @__PURE__ */ __name((input, context) => {
2999
+ return input.filter((e) => e != null).map((entry) => {
3000
+ return se_PutEventsRequestEntry(entry, context);
3001
+ });
3002
+ }, "se_PutEventsRequestEntryList");
3003
+ var se_PutPartnerEventsRequest = /* @__PURE__ */ __name((input, context) => {
3004
+ return (0, import_smithy_client.take)(input, {
3005
+ Entries: (_) => se_PutPartnerEventsRequestEntryList(_, context)
3006
+ });
3007
+ }, "se_PutPartnerEventsRequest");
3008
+ var se_PutPartnerEventsRequestEntry = /* @__PURE__ */ __name((input, context) => {
3009
+ return (0, import_smithy_client.take)(input, {
3010
+ Detail: [],
3011
+ DetailType: [],
3012
+ Resources: import_smithy_client._json,
3013
+ Source: [],
3014
+ Time: (_) => Math.round(_.getTime() / 1e3)
3015
+ });
3016
+ }, "se_PutPartnerEventsRequestEntry");
3017
+ var se_PutPartnerEventsRequestEntryList = /* @__PURE__ */ __name((input, context) => {
3018
+ return input.filter((e) => e != null).map((entry) => {
3019
+ return se_PutPartnerEventsRequestEntry(entry, context);
3020
+ });
3021
+ }, "se_PutPartnerEventsRequestEntryList");
3022
+ var se_StartReplayRequest = /* @__PURE__ */ __name((input, context) => {
3023
+ return (0, import_smithy_client.take)(input, {
3024
+ Description: [],
3025
+ Destination: import_smithy_client._json,
3026
+ EventEndTime: (_) => Math.round(_.getTime() / 1e3),
3027
+ EventSourceArn: [],
3028
+ EventStartTime: (_) => Math.round(_.getTime() / 1e3),
3029
+ ReplayName: []
3030
+ });
3031
+ }, "se_StartReplayRequest");
3032
+ var de_ApiDestination = /* @__PURE__ */ __name((output, context) => {
3033
+ return (0, import_smithy_client.take)(output, {
3034
+ ApiDestinationArn: import_smithy_client.expectString,
3035
+ ApiDestinationState: import_smithy_client.expectString,
3036
+ ConnectionArn: import_smithy_client.expectString,
3037
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3038
+ HttpMethod: import_smithy_client.expectString,
3039
+ InvocationEndpoint: import_smithy_client.expectString,
3040
+ InvocationRateLimitPerSecond: import_smithy_client.expectInt32,
3041
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3042
+ Name: import_smithy_client.expectString
3043
+ });
3044
+ }, "de_ApiDestination");
3045
+ var de_ApiDestinationResponseList = /* @__PURE__ */ __name((output, context) => {
3046
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3047
+ return de_ApiDestination(entry, context);
3048
+ });
3049
+ return retVal;
3050
+ }, "de_ApiDestinationResponseList");
3051
+ var de_Archive = /* @__PURE__ */ __name((output, context) => {
3052
+ return (0, import_smithy_client.take)(output, {
3053
+ ArchiveName: import_smithy_client.expectString,
3054
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3055
+ EventCount: import_smithy_client.expectLong,
3056
+ EventSourceArn: import_smithy_client.expectString,
3057
+ RetentionDays: import_smithy_client.expectInt32,
3058
+ SizeBytes: import_smithy_client.expectLong,
3059
+ State: import_smithy_client.expectString,
3060
+ StateReason: import_smithy_client.expectString
3061
+ });
3062
+ }, "de_Archive");
3063
+ var de_ArchiveResponseList = /* @__PURE__ */ __name((output, context) => {
3064
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3065
+ return de_Archive(entry, context);
3066
+ });
3067
+ return retVal;
3068
+ }, "de_ArchiveResponseList");
3069
+ var de_Connection = /* @__PURE__ */ __name((output, context) => {
3070
+ return (0, import_smithy_client.take)(output, {
3071
+ AuthorizationType: import_smithy_client.expectString,
3072
+ ConnectionArn: import_smithy_client.expectString,
3073
+ ConnectionState: import_smithy_client.expectString,
3074
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3075
+ LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3076
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3077
+ Name: import_smithy_client.expectString,
3078
+ StateReason: import_smithy_client.expectString
3079
+ });
3080
+ }, "de_Connection");
3081
+ var de_ConnectionResponseList = /* @__PURE__ */ __name((output, context) => {
3082
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3083
+ return de_Connection(entry, context);
3084
+ });
3085
+ return retVal;
3086
+ }, "de_ConnectionResponseList");
3087
+ var de_CreateApiDestinationResponse = /* @__PURE__ */ __name((output, context) => {
3088
+ return (0, import_smithy_client.take)(output, {
3089
+ ApiDestinationArn: import_smithy_client.expectString,
3090
+ ApiDestinationState: import_smithy_client.expectString,
3091
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3092
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3093
+ });
3094
+ }, "de_CreateApiDestinationResponse");
3095
+ var de_CreateArchiveResponse = /* @__PURE__ */ __name((output, context) => {
3096
+ return (0, import_smithy_client.take)(output, {
3097
+ ArchiveArn: import_smithy_client.expectString,
3098
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3099
+ State: import_smithy_client.expectString,
3100
+ StateReason: import_smithy_client.expectString
3101
+ });
3102
+ }, "de_CreateArchiveResponse");
3103
+ var de_CreateConnectionResponse = /* @__PURE__ */ __name((output, context) => {
3104
+ return (0, import_smithy_client.take)(output, {
3105
+ ConnectionArn: import_smithy_client.expectString,
3106
+ ConnectionState: import_smithy_client.expectString,
3107
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3108
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3109
+ });
3110
+ }, "de_CreateConnectionResponse");
3111
+ var de_DeauthorizeConnectionResponse = /* @__PURE__ */ __name((output, context) => {
3112
+ return (0, import_smithy_client.take)(output, {
3113
+ ConnectionArn: import_smithy_client.expectString,
3114
+ ConnectionState: import_smithy_client.expectString,
3115
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3116
+ LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3117
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3118
+ });
3119
+ }, "de_DeauthorizeConnectionResponse");
3120
+ var de_DeleteConnectionResponse = /* @__PURE__ */ __name((output, context) => {
3121
+ return (0, import_smithy_client.take)(output, {
3122
+ ConnectionArn: import_smithy_client.expectString,
3123
+ ConnectionState: import_smithy_client.expectString,
3124
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3125
+ LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3126
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3127
+ });
3128
+ }, "de_DeleteConnectionResponse");
3129
+ var de_DescribeApiDestinationResponse = /* @__PURE__ */ __name((output, context) => {
3130
+ return (0, import_smithy_client.take)(output, {
3131
+ ApiDestinationArn: import_smithy_client.expectString,
3132
+ ApiDestinationState: import_smithy_client.expectString,
3133
+ ConnectionArn: import_smithy_client.expectString,
3134
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3135
+ Description: import_smithy_client.expectString,
3136
+ HttpMethod: import_smithy_client.expectString,
3137
+ InvocationEndpoint: import_smithy_client.expectString,
3138
+ InvocationRateLimitPerSecond: import_smithy_client.expectInt32,
3139
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3140
+ Name: import_smithy_client.expectString
3141
+ });
3142
+ }, "de_DescribeApiDestinationResponse");
3143
+ var de_DescribeArchiveResponse = /* @__PURE__ */ __name((output, context) => {
3144
+ return (0, import_smithy_client.take)(output, {
3145
+ ArchiveArn: import_smithy_client.expectString,
3146
+ ArchiveName: import_smithy_client.expectString,
3147
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3148
+ Description: import_smithy_client.expectString,
3149
+ EventCount: import_smithy_client.expectLong,
3150
+ EventPattern: import_smithy_client.expectString,
3151
+ EventSourceArn: import_smithy_client.expectString,
3152
+ RetentionDays: import_smithy_client.expectInt32,
3153
+ SizeBytes: import_smithy_client.expectLong,
3154
+ State: import_smithy_client.expectString,
3155
+ StateReason: import_smithy_client.expectString
3156
+ });
3157
+ }, "de_DescribeArchiveResponse");
3158
+ var de_DescribeConnectionResponse = /* @__PURE__ */ __name((output, context) => {
3159
+ return (0, import_smithy_client.take)(output, {
3160
+ AuthParameters: import_smithy_client._json,
3161
+ AuthorizationType: import_smithy_client.expectString,
3162
+ ConnectionArn: import_smithy_client.expectString,
3163
+ ConnectionState: import_smithy_client.expectString,
3164
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3165
+ Description: import_smithy_client.expectString,
3166
+ LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3167
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3168
+ Name: import_smithy_client.expectString,
3169
+ SecretArn: import_smithy_client.expectString,
3170
+ StateReason: import_smithy_client.expectString
3171
+ });
3172
+ }, "de_DescribeConnectionResponse");
3173
+ var de_DescribeEventSourceResponse = /* @__PURE__ */ __name((output, context) => {
3174
+ return (0, import_smithy_client.take)(output, {
3175
+ Arn: import_smithy_client.expectString,
3176
+ CreatedBy: import_smithy_client.expectString,
3177
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3178
+ ExpirationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3179
+ Name: import_smithy_client.expectString,
3180
+ State: import_smithy_client.expectString
3181
+ });
3182
+ }, "de_DescribeEventSourceResponse");
3183
+ var de_DescribeReplayResponse = /* @__PURE__ */ __name((output, context) => {
3184
+ return (0, import_smithy_client.take)(output, {
3185
+ Description: import_smithy_client.expectString,
3186
+ Destination: import_smithy_client._json,
3187
+ EventEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3188
+ EventLastReplayedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3189
+ EventSourceArn: import_smithy_client.expectString,
3190
+ EventStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3191
+ ReplayArn: import_smithy_client.expectString,
3192
+ ReplayEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3193
+ ReplayName: import_smithy_client.expectString,
3194
+ ReplayStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3195
+ State: import_smithy_client.expectString,
3196
+ StateReason: import_smithy_client.expectString
3197
+ });
3198
+ }, "de_DescribeReplayResponse");
3199
+ var de_EventSource = /* @__PURE__ */ __name((output, context) => {
3200
+ return (0, import_smithy_client.take)(output, {
3201
+ Arn: import_smithy_client.expectString,
3202
+ CreatedBy: import_smithy_client.expectString,
3203
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3204
+ ExpirationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3205
+ Name: import_smithy_client.expectString,
3206
+ State: import_smithy_client.expectString
3207
+ });
3208
+ }, "de_EventSource");
3209
+ var de_EventSourceList = /* @__PURE__ */ __name((output, context) => {
3210
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3211
+ return de_EventSource(entry, context);
3212
+ });
3213
+ return retVal;
3214
+ }, "de_EventSourceList");
3215
+ var de_ListApiDestinationsResponse = /* @__PURE__ */ __name((output, context) => {
3216
+ return (0, import_smithy_client.take)(output, {
3217
+ ApiDestinations: (_) => de_ApiDestinationResponseList(_, context),
3218
+ NextToken: import_smithy_client.expectString
3219
+ });
3220
+ }, "de_ListApiDestinationsResponse");
3221
+ var de_ListArchivesResponse = /* @__PURE__ */ __name((output, context) => {
3222
+ return (0, import_smithy_client.take)(output, {
3223
+ Archives: (_) => de_ArchiveResponseList(_, context),
3224
+ NextToken: import_smithy_client.expectString
3225
+ });
3226
+ }, "de_ListArchivesResponse");
3227
+ var de_ListConnectionsResponse = /* @__PURE__ */ __name((output, context) => {
3228
+ return (0, import_smithy_client.take)(output, {
3229
+ Connections: (_) => de_ConnectionResponseList(_, context),
3230
+ NextToken: import_smithy_client.expectString
3231
+ });
3232
+ }, "de_ListConnectionsResponse");
3233
+ var de_ListEventSourcesResponse = /* @__PURE__ */ __name((output, context) => {
3234
+ return (0, import_smithy_client.take)(output, {
3235
+ EventSources: (_) => de_EventSourceList(_, context),
3236
+ NextToken: import_smithy_client.expectString
3237
+ });
3238
+ }, "de_ListEventSourcesResponse");
3239
+ var de_ListPartnerEventSourceAccountsResponse = /* @__PURE__ */ __name((output, context) => {
3240
+ return (0, import_smithy_client.take)(output, {
3241
+ NextToken: import_smithy_client.expectString,
3242
+ PartnerEventSourceAccounts: (_) => de_PartnerEventSourceAccountList(_, context)
3243
+ });
3244
+ }, "de_ListPartnerEventSourceAccountsResponse");
3245
+ var de_ListReplaysResponse = /* @__PURE__ */ __name((output, context) => {
3246
+ return (0, import_smithy_client.take)(output, {
3247
+ NextToken: import_smithy_client.expectString,
3248
+ Replays: (_) => de_ReplayList(_, context)
3249
+ });
3250
+ }, "de_ListReplaysResponse");
3251
+ var de_PartnerEventSourceAccount = /* @__PURE__ */ __name((output, context) => {
3252
+ return (0, import_smithy_client.take)(output, {
3253
+ Account: import_smithy_client.expectString,
3254
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3255
+ ExpirationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3256
+ State: import_smithy_client.expectString
3257
+ });
3258
+ }, "de_PartnerEventSourceAccount");
3259
+ var de_PartnerEventSourceAccountList = /* @__PURE__ */ __name((output, context) => {
3260
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3261
+ return de_PartnerEventSourceAccount(entry, context);
3262
+ });
3263
+ return retVal;
3264
+ }, "de_PartnerEventSourceAccountList");
3265
+ var de_Replay = /* @__PURE__ */ __name((output, context) => {
3266
+ return (0, import_smithy_client.take)(output, {
3267
+ EventEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3268
+ EventLastReplayedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3269
+ EventSourceArn: import_smithy_client.expectString,
3270
+ EventStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3271
+ ReplayEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3272
+ ReplayName: import_smithy_client.expectString,
3273
+ ReplayStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3274
+ State: import_smithy_client.expectString,
3275
+ StateReason: import_smithy_client.expectString
3276
+ });
3277
+ }, "de_Replay");
3278
+ var de_ReplayList = /* @__PURE__ */ __name((output, context) => {
3279
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3280
+ return de_Replay(entry, context);
3281
+ });
3282
+ return retVal;
3283
+ }, "de_ReplayList");
3284
+ var de_StartReplayResponse = /* @__PURE__ */ __name((output, context) => {
3285
+ return (0, import_smithy_client.take)(output, {
3286
+ ReplayArn: import_smithy_client.expectString,
3287
+ ReplayStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3288
+ State: import_smithy_client.expectString,
3289
+ StateReason: import_smithy_client.expectString
3290
+ });
3291
+ }, "de_StartReplayResponse");
3292
+ var de_UpdateApiDestinationResponse = /* @__PURE__ */ __name((output, context) => {
3293
+ return (0, import_smithy_client.take)(output, {
3294
+ ApiDestinationArn: import_smithy_client.expectString,
3295
+ ApiDestinationState: import_smithy_client.expectString,
3296
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3297
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3298
+ });
3299
+ }, "de_UpdateApiDestinationResponse");
3300
+ var de_UpdateArchiveResponse = /* @__PURE__ */ __name((output, context) => {
3301
+ return (0, import_smithy_client.take)(output, {
3302
+ ArchiveArn: import_smithy_client.expectString,
3303
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3304
+ State: import_smithy_client.expectString,
3305
+ StateReason: import_smithy_client.expectString
3306
+ });
3307
+ }, "de_UpdateArchiveResponse");
3308
+ var de_UpdateConnectionResponse = /* @__PURE__ */ __name((output, context) => {
3309
+ return (0, import_smithy_client.take)(output, {
3310
+ ConnectionArn: import_smithy_client.expectString,
3311
+ ConnectionState: import_smithy_client.expectString,
3312
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3313
+ LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3314
+ LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3315
+ });
3316
+ }, "de_UpdateConnectionResponse");
3317
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
3318
+ httpStatusCode: output.statusCode,
3319
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
3320
+ extendedRequestId: output.headers["x-amz-id-2"],
3321
+ cfId: output.headers["x-amz-cf-id"]
3322
+ }), "deserializeMetadata");
3323
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
3324
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(CloudWatchEventsServiceException);
3325
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
3326
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3327
+ const contents = {
3328
+ protocol,
3329
+ hostname,
3330
+ port,
3331
+ method: "POST",
3332
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
3333
+ headers
3334
+ };
3335
+ if (resolvedHostname !== void 0) {
3336
+ contents.hostname = resolvedHostname;
3337
+ }
3338
+ if (body !== void 0) {
3339
+ contents.body = body;
3340
+ }
3341
+ return new import_protocol_http.HttpRequest(contents);
3342
+ }, "buildHttpRpcRequest");
3343
+ function sharedHeaders(operation) {
3344
+ return {
3345
+ "content-type": "application/x-amz-json-1.1",
3346
+ "x-amz-target": `AWSEvents.${operation}`
3347
+ };
3348
+ }
3349
+ __name(sharedHeaders, "sharedHeaders");
3350
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
3351
+ if (encoded.length) {
3352
+ return JSON.parse(encoded);
3353
+ }
3354
+ return {};
3355
+ }), "parseBody");
3356
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
3357
+ const value = await parseBody(errorBody, context);
3358
+ value.message = value.message ?? value.Message;
3359
+ return value;
3360
+ }, "parseErrorBody");
3361
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
3362
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
3363
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
3364
+ let cleanValue = rawValue;
3365
+ if (typeof cleanValue === "number") {
3366
+ cleanValue = cleanValue.toString();
3367
+ }
3368
+ if (cleanValue.indexOf(",") >= 0) {
3369
+ cleanValue = cleanValue.split(",")[0];
3370
+ }
3371
+ if (cleanValue.indexOf(":") >= 0) {
3372
+ cleanValue = cleanValue.split(":")[0];
3373
+ }
3374
+ if (cleanValue.indexOf("#") >= 0) {
3375
+ cleanValue = cleanValue.split("#")[1];
3376
+ }
3377
+ return cleanValue;
3378
+ }, "sanitizeErrorCode");
3379
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
3380
+ if (headerKey !== void 0) {
3381
+ return sanitizeErrorCode(output.headers[headerKey]);
3382
+ }
3383
+ if (data.code !== void 0) {
3384
+ return sanitizeErrorCode(data.code);
3385
+ }
3386
+ if (data["__type"] !== void 0) {
3387
+ return sanitizeErrorCode(data["__type"]);
3388
+ }
3389
+ }, "loadRestJsonErrorCode");
3390
+
3391
+ // src/commands/ActivateEventSourceCommand.ts
3392
+ var _ActivateEventSourceCommand = class _ActivateEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
3393
+ ...commonParams
3394
+ }).m(function(Command, cs, config, o) {
3395
+ return [
3396
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3397
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3398
+ ];
3399
+ }).s("AWSEvents", "ActivateEventSource", {}).n("CloudWatchEventsClient", "ActivateEventSourceCommand").f(void 0, void 0).ser(se_ActivateEventSourceCommand).de(de_ActivateEventSourceCommand).build() {
3400
+ };
3401
+ __name(_ActivateEventSourceCommand, "ActivateEventSourceCommand");
3402
+ var ActivateEventSourceCommand = _ActivateEventSourceCommand;
3403
+
3404
+ // src/commands/CancelReplayCommand.ts
3405
+
3406
+
3407
+
3408
+
3409
+ var _CancelReplayCommand = class _CancelReplayCommand extends import_smithy_client.Command.classBuilder().ep({
3410
+ ...commonParams
3411
+ }).m(function(Command, cs, config, o) {
3412
+ return [
3413
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3414
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3415
+ ];
3416
+ }).s("AWSEvents", "CancelReplay", {}).n("CloudWatchEventsClient", "CancelReplayCommand").f(void 0, void 0).ser(se_CancelReplayCommand).de(de_CancelReplayCommand).build() {
3417
+ };
3418
+ __name(_CancelReplayCommand, "CancelReplayCommand");
3419
+ var CancelReplayCommand = _CancelReplayCommand;
3420
+
3421
+ // src/commands/CreateApiDestinationCommand.ts
3422
+
3423
+
3424
+
3425
+
3426
+ var _CreateApiDestinationCommand = class _CreateApiDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
3427
+ ...commonParams
3428
+ }).m(function(Command, cs, config, o) {
3429
+ return [
3430
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3431
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3432
+ ];
3433
+ }).s("AWSEvents", "CreateApiDestination", {}).n("CloudWatchEventsClient", "CreateApiDestinationCommand").f(void 0, void 0).ser(se_CreateApiDestinationCommand).de(de_CreateApiDestinationCommand).build() {
3434
+ };
3435
+ __name(_CreateApiDestinationCommand, "CreateApiDestinationCommand");
3436
+ var CreateApiDestinationCommand = _CreateApiDestinationCommand;
3437
+
3438
+ // src/commands/CreateArchiveCommand.ts
3439
+
3440
+
3441
+
3442
+
3443
+ var _CreateArchiveCommand = class _CreateArchiveCommand extends import_smithy_client.Command.classBuilder().ep({
3444
+ ...commonParams
3445
+ }).m(function(Command, cs, config, o) {
3446
+ return [
3447
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3448
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3449
+ ];
3450
+ }).s("AWSEvents", "CreateArchive", {}).n("CloudWatchEventsClient", "CreateArchiveCommand").f(void 0, void 0).ser(se_CreateArchiveCommand).de(de_CreateArchiveCommand).build() {
3451
+ };
3452
+ __name(_CreateArchiveCommand, "CreateArchiveCommand");
3453
+ var CreateArchiveCommand = _CreateArchiveCommand;
3454
+
3455
+ // src/commands/CreateConnectionCommand.ts
3456
+
3457
+
3458
+
3459
+
3460
+ var _CreateConnectionCommand = class _CreateConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
3461
+ ...commonParams
3462
+ }).m(function(Command, cs, config, o) {
3463
+ return [
3464
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3465
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3466
+ ];
3467
+ }).s("AWSEvents", "CreateConnection", {}).n("CloudWatchEventsClient", "CreateConnectionCommand").f(CreateConnectionRequestFilterSensitiveLog, void 0).ser(se_CreateConnectionCommand).de(de_CreateConnectionCommand).build() {
3468
+ };
3469
+ __name(_CreateConnectionCommand, "CreateConnectionCommand");
3470
+ var CreateConnectionCommand = _CreateConnectionCommand;
3471
+
3472
+ // src/commands/CreateEventBusCommand.ts
3473
+
3474
+
3475
+
3476
+
3477
+ var _CreateEventBusCommand = class _CreateEventBusCommand extends import_smithy_client.Command.classBuilder().ep({
3478
+ ...commonParams
3479
+ }).m(function(Command, cs, config, o) {
3480
+ return [
3481
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3482
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3483
+ ];
3484
+ }).s("AWSEvents", "CreateEventBus", {}).n("CloudWatchEventsClient", "CreateEventBusCommand").f(void 0, void 0).ser(se_CreateEventBusCommand).de(de_CreateEventBusCommand).build() {
3485
+ };
3486
+ __name(_CreateEventBusCommand, "CreateEventBusCommand");
3487
+ var CreateEventBusCommand = _CreateEventBusCommand;
3488
+
3489
+ // src/commands/CreatePartnerEventSourceCommand.ts
3490
+
3491
+
3492
+
3493
+
3494
+ var _CreatePartnerEventSourceCommand = class _CreatePartnerEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
3495
+ ...commonParams
3496
+ }).m(function(Command, cs, config, o) {
3497
+ return [
3498
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3499
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3500
+ ];
3501
+ }).s("AWSEvents", "CreatePartnerEventSource", {}).n("CloudWatchEventsClient", "CreatePartnerEventSourceCommand").f(void 0, void 0).ser(se_CreatePartnerEventSourceCommand).de(de_CreatePartnerEventSourceCommand).build() {
3502
+ };
3503
+ __name(_CreatePartnerEventSourceCommand, "CreatePartnerEventSourceCommand");
3504
+ var CreatePartnerEventSourceCommand = _CreatePartnerEventSourceCommand;
3505
+
3506
+ // src/commands/DeactivateEventSourceCommand.ts
3507
+
3508
+
3509
+
3510
+
3511
+ var _DeactivateEventSourceCommand = class _DeactivateEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
3512
+ ...commonParams
3513
+ }).m(function(Command, cs, config, o) {
3514
+ return [
3515
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3516
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3517
+ ];
3518
+ }).s("AWSEvents", "DeactivateEventSource", {}).n("CloudWatchEventsClient", "DeactivateEventSourceCommand").f(void 0, void 0).ser(se_DeactivateEventSourceCommand).de(de_DeactivateEventSourceCommand).build() {
3519
+ };
3520
+ __name(_DeactivateEventSourceCommand, "DeactivateEventSourceCommand");
3521
+ var DeactivateEventSourceCommand = _DeactivateEventSourceCommand;
3522
+
3523
+ // src/commands/DeauthorizeConnectionCommand.ts
3524
+
3525
+
3526
+
3527
+
3528
+ var _DeauthorizeConnectionCommand = class _DeauthorizeConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
3529
+ ...commonParams
3530
+ }).m(function(Command, cs, config, o) {
3531
+ return [
3532
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3533
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3534
+ ];
3535
+ }).s("AWSEvents", "DeauthorizeConnection", {}).n("CloudWatchEventsClient", "DeauthorizeConnectionCommand").f(void 0, void 0).ser(se_DeauthorizeConnectionCommand).de(de_DeauthorizeConnectionCommand).build() {
3536
+ };
3537
+ __name(_DeauthorizeConnectionCommand, "DeauthorizeConnectionCommand");
3538
+ var DeauthorizeConnectionCommand = _DeauthorizeConnectionCommand;
3539
+
3540
+ // src/commands/DeleteApiDestinationCommand.ts
3541
+
3542
+
3543
+
3544
+
3545
+ var _DeleteApiDestinationCommand = class _DeleteApiDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
3546
+ ...commonParams
3547
+ }).m(function(Command, cs, config, o) {
3548
+ return [
3549
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3550
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3551
+ ];
3552
+ }).s("AWSEvents", "DeleteApiDestination", {}).n("CloudWatchEventsClient", "DeleteApiDestinationCommand").f(void 0, void 0).ser(se_DeleteApiDestinationCommand).de(de_DeleteApiDestinationCommand).build() {
3553
+ };
3554
+ __name(_DeleteApiDestinationCommand, "DeleteApiDestinationCommand");
3555
+ var DeleteApiDestinationCommand = _DeleteApiDestinationCommand;
3556
+
3557
+ // src/commands/DeleteArchiveCommand.ts
3558
+
3559
+
3560
+
3561
+
3562
+ var _DeleteArchiveCommand = class _DeleteArchiveCommand extends import_smithy_client.Command.classBuilder().ep({
3563
+ ...commonParams
3564
+ }).m(function(Command, cs, config, o) {
3565
+ return [
3566
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3567
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3568
+ ];
3569
+ }).s("AWSEvents", "DeleteArchive", {}).n("CloudWatchEventsClient", "DeleteArchiveCommand").f(void 0, void 0).ser(se_DeleteArchiveCommand).de(de_DeleteArchiveCommand).build() {
3570
+ };
3571
+ __name(_DeleteArchiveCommand, "DeleteArchiveCommand");
3572
+ var DeleteArchiveCommand = _DeleteArchiveCommand;
3573
+
3574
+ // src/commands/DeleteConnectionCommand.ts
3575
+
3576
+
3577
+
3578
+
3579
+ var _DeleteConnectionCommand = class _DeleteConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
3580
+ ...commonParams
3581
+ }).m(function(Command, cs, config, o) {
3582
+ return [
3583
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3584
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3585
+ ];
3586
+ }).s("AWSEvents", "DeleteConnection", {}).n("CloudWatchEventsClient", "DeleteConnectionCommand").f(void 0, void 0).ser(se_DeleteConnectionCommand).de(de_DeleteConnectionCommand).build() {
3587
+ };
3588
+ __name(_DeleteConnectionCommand, "DeleteConnectionCommand");
3589
+ var DeleteConnectionCommand = _DeleteConnectionCommand;
3590
+
3591
+ // src/commands/DeleteEventBusCommand.ts
3592
+
3593
+
3594
+
3595
+
3596
+ var _DeleteEventBusCommand = class _DeleteEventBusCommand extends import_smithy_client.Command.classBuilder().ep({
3597
+ ...commonParams
3598
+ }).m(function(Command, cs, config, o) {
3599
+ return [
3600
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3601
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3602
+ ];
3603
+ }).s("AWSEvents", "DeleteEventBus", {}).n("CloudWatchEventsClient", "DeleteEventBusCommand").f(void 0, void 0).ser(se_DeleteEventBusCommand).de(de_DeleteEventBusCommand).build() {
3604
+ };
3605
+ __name(_DeleteEventBusCommand, "DeleteEventBusCommand");
3606
+ var DeleteEventBusCommand = _DeleteEventBusCommand;
3607
+
3608
+ // src/commands/DeletePartnerEventSourceCommand.ts
3609
+
3610
+
3611
+
3612
+
3613
+ var _DeletePartnerEventSourceCommand = class _DeletePartnerEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
3614
+ ...commonParams
3615
+ }).m(function(Command, cs, config, o) {
3616
+ return [
3617
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3618
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3619
+ ];
3620
+ }).s("AWSEvents", "DeletePartnerEventSource", {}).n("CloudWatchEventsClient", "DeletePartnerEventSourceCommand").f(void 0, void 0).ser(se_DeletePartnerEventSourceCommand).de(de_DeletePartnerEventSourceCommand).build() {
3621
+ };
3622
+ __name(_DeletePartnerEventSourceCommand, "DeletePartnerEventSourceCommand");
3623
+ var DeletePartnerEventSourceCommand = _DeletePartnerEventSourceCommand;
3624
+
3625
+ // src/commands/DeleteRuleCommand.ts
3626
+
3627
+
3628
+
3629
+
3630
+ var _DeleteRuleCommand = class _DeleteRuleCommand extends import_smithy_client.Command.classBuilder().ep({
3631
+ ...commonParams
3632
+ }).m(function(Command, cs, config, o) {
3633
+ return [
3634
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3635
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3636
+ ];
3637
+ }).s("AWSEvents", "DeleteRule", {}).n("CloudWatchEventsClient", "DeleteRuleCommand").f(void 0, void 0).ser(se_DeleteRuleCommand).de(de_DeleteRuleCommand).build() {
3638
+ };
3639
+ __name(_DeleteRuleCommand, "DeleteRuleCommand");
3640
+ var DeleteRuleCommand = _DeleteRuleCommand;
3641
+
3642
+ // src/commands/DescribeApiDestinationCommand.ts
3643
+
3644
+
3645
+
3646
+
3647
+ var _DescribeApiDestinationCommand = class _DescribeApiDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
3648
+ ...commonParams
3649
+ }).m(function(Command, cs, config, o) {
3650
+ return [
3651
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3652
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3653
+ ];
3654
+ }).s("AWSEvents", "DescribeApiDestination", {}).n("CloudWatchEventsClient", "DescribeApiDestinationCommand").f(void 0, void 0).ser(se_DescribeApiDestinationCommand).de(de_DescribeApiDestinationCommand).build() {
3655
+ };
3656
+ __name(_DescribeApiDestinationCommand, "DescribeApiDestinationCommand");
3657
+ var DescribeApiDestinationCommand = _DescribeApiDestinationCommand;
3658
+
3659
+ // src/commands/DescribeArchiveCommand.ts
3660
+
3661
+
3662
+
3663
+
3664
+ var _DescribeArchiveCommand = class _DescribeArchiveCommand extends import_smithy_client.Command.classBuilder().ep({
3665
+ ...commonParams
3666
+ }).m(function(Command, cs, config, o) {
3667
+ return [
3668
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3669
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3670
+ ];
3671
+ }).s("AWSEvents", "DescribeArchive", {}).n("CloudWatchEventsClient", "DescribeArchiveCommand").f(void 0, void 0).ser(se_DescribeArchiveCommand).de(de_DescribeArchiveCommand).build() {
3672
+ };
3673
+ __name(_DescribeArchiveCommand, "DescribeArchiveCommand");
3674
+ var DescribeArchiveCommand = _DescribeArchiveCommand;
3675
+
3676
+ // src/commands/DescribeConnectionCommand.ts
3677
+
3678
+
3679
+
3680
+
3681
+ var _DescribeConnectionCommand = class _DescribeConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
3682
+ ...commonParams
3683
+ }).m(function(Command, cs, config, o) {
3684
+ return [
3685
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3686
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3687
+ ];
3688
+ }).s("AWSEvents", "DescribeConnection", {}).n("CloudWatchEventsClient", "DescribeConnectionCommand").f(void 0, DescribeConnectionResponseFilterSensitiveLog).ser(se_DescribeConnectionCommand).de(de_DescribeConnectionCommand).build() {
3689
+ };
3690
+ __name(_DescribeConnectionCommand, "DescribeConnectionCommand");
3691
+ var DescribeConnectionCommand = _DescribeConnectionCommand;
3692
+
3693
+ // src/commands/DescribeEventBusCommand.ts
3694
+
3695
+
3696
+
3697
+
3698
+ var _DescribeEventBusCommand = class _DescribeEventBusCommand extends import_smithy_client.Command.classBuilder().ep({
3699
+ ...commonParams
3700
+ }).m(function(Command, cs, config, o) {
3701
+ return [
3702
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3703
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3704
+ ];
3705
+ }).s("AWSEvents", "DescribeEventBus", {}).n("CloudWatchEventsClient", "DescribeEventBusCommand").f(void 0, void 0).ser(se_DescribeEventBusCommand).de(de_DescribeEventBusCommand).build() {
3706
+ };
3707
+ __name(_DescribeEventBusCommand, "DescribeEventBusCommand");
3708
+ var DescribeEventBusCommand = _DescribeEventBusCommand;
3709
+
3710
+ // src/commands/DescribeEventSourceCommand.ts
3711
+
3712
+
3713
+
3714
+
3715
+ var _DescribeEventSourceCommand = class _DescribeEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
3716
+ ...commonParams
3717
+ }).m(function(Command, cs, config, o) {
3718
+ return [
3719
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3720
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3721
+ ];
3722
+ }).s("AWSEvents", "DescribeEventSource", {}).n("CloudWatchEventsClient", "DescribeEventSourceCommand").f(void 0, void 0).ser(se_DescribeEventSourceCommand).de(de_DescribeEventSourceCommand).build() {
3723
+ };
3724
+ __name(_DescribeEventSourceCommand, "DescribeEventSourceCommand");
3725
+ var DescribeEventSourceCommand = _DescribeEventSourceCommand;
3726
+
3727
+ // src/commands/DescribePartnerEventSourceCommand.ts
3728
+
3729
+
3730
+
3731
+
3732
+ var _DescribePartnerEventSourceCommand = class _DescribePartnerEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
3733
+ ...commonParams
3734
+ }).m(function(Command, cs, config, o) {
3735
+ return [
3736
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3737
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3738
+ ];
3739
+ }).s("AWSEvents", "DescribePartnerEventSource", {}).n("CloudWatchEventsClient", "DescribePartnerEventSourceCommand").f(void 0, void 0).ser(se_DescribePartnerEventSourceCommand).de(de_DescribePartnerEventSourceCommand).build() {
3740
+ };
3741
+ __name(_DescribePartnerEventSourceCommand, "DescribePartnerEventSourceCommand");
3742
+ var DescribePartnerEventSourceCommand = _DescribePartnerEventSourceCommand;
3743
+
3744
+ // src/commands/DescribeReplayCommand.ts
3745
+
3746
+
3747
+
3748
+
3749
+ var _DescribeReplayCommand = class _DescribeReplayCommand extends import_smithy_client.Command.classBuilder().ep({
3750
+ ...commonParams
3751
+ }).m(function(Command, cs, config, o) {
3752
+ return [
3753
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3754
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3755
+ ];
3756
+ }).s("AWSEvents", "DescribeReplay", {}).n("CloudWatchEventsClient", "DescribeReplayCommand").f(void 0, void 0).ser(se_DescribeReplayCommand).de(de_DescribeReplayCommand).build() {
3757
+ };
3758
+ __name(_DescribeReplayCommand, "DescribeReplayCommand");
3759
+ var DescribeReplayCommand = _DescribeReplayCommand;
3760
+
3761
+ // src/commands/DescribeRuleCommand.ts
3762
+
3763
+
3764
+
3765
+
3766
+ var _DescribeRuleCommand = class _DescribeRuleCommand extends import_smithy_client.Command.classBuilder().ep({
3767
+ ...commonParams
3768
+ }).m(function(Command, cs, config, o) {
3769
+ return [
3770
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3771
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3772
+ ];
3773
+ }).s("AWSEvents", "DescribeRule", {}).n("CloudWatchEventsClient", "DescribeRuleCommand").f(void 0, void 0).ser(se_DescribeRuleCommand).de(de_DescribeRuleCommand).build() {
3774
+ };
3775
+ __name(_DescribeRuleCommand, "DescribeRuleCommand");
3776
+ var DescribeRuleCommand = _DescribeRuleCommand;
3777
+
3778
+ // src/commands/DisableRuleCommand.ts
3779
+
3780
+
3781
+
3782
+
3783
+ var _DisableRuleCommand = class _DisableRuleCommand extends import_smithy_client.Command.classBuilder().ep({
3784
+ ...commonParams
3785
+ }).m(function(Command, cs, config, o) {
3786
+ return [
3787
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3788
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3789
+ ];
3790
+ }).s("AWSEvents", "DisableRule", {}).n("CloudWatchEventsClient", "DisableRuleCommand").f(void 0, void 0).ser(se_DisableRuleCommand).de(de_DisableRuleCommand).build() {
3791
+ };
3792
+ __name(_DisableRuleCommand, "DisableRuleCommand");
3793
+ var DisableRuleCommand = _DisableRuleCommand;
3794
+
3795
+ // src/commands/EnableRuleCommand.ts
3796
+
3797
+
3798
+
3799
+
3800
+ var _EnableRuleCommand = class _EnableRuleCommand extends import_smithy_client.Command.classBuilder().ep({
3801
+ ...commonParams
3802
+ }).m(function(Command, cs, config, o) {
3803
+ return [
3804
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3805
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3806
+ ];
3807
+ }).s("AWSEvents", "EnableRule", {}).n("CloudWatchEventsClient", "EnableRuleCommand").f(void 0, void 0).ser(se_EnableRuleCommand).de(de_EnableRuleCommand).build() {
3808
+ };
3809
+ __name(_EnableRuleCommand, "EnableRuleCommand");
3810
+ var EnableRuleCommand = _EnableRuleCommand;
3811
+
3812
+ // src/commands/ListApiDestinationsCommand.ts
3813
+
3814
+
3815
+
3816
+
3817
+ var _ListApiDestinationsCommand = class _ListApiDestinationsCommand extends import_smithy_client.Command.classBuilder().ep({
3818
+ ...commonParams
3819
+ }).m(function(Command, cs, config, o) {
3820
+ return [
3821
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3822
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3823
+ ];
3824
+ }).s("AWSEvents", "ListApiDestinations", {}).n("CloudWatchEventsClient", "ListApiDestinationsCommand").f(void 0, void 0).ser(se_ListApiDestinationsCommand).de(de_ListApiDestinationsCommand).build() {
3825
+ };
3826
+ __name(_ListApiDestinationsCommand, "ListApiDestinationsCommand");
3827
+ var ListApiDestinationsCommand = _ListApiDestinationsCommand;
3828
+
3829
+ // src/commands/ListArchivesCommand.ts
3830
+
3831
+
3832
+
3833
+
3834
+ var _ListArchivesCommand = class _ListArchivesCommand extends import_smithy_client.Command.classBuilder().ep({
3835
+ ...commonParams
3836
+ }).m(function(Command, cs, config, o) {
3837
+ return [
3838
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3839
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3840
+ ];
3841
+ }).s("AWSEvents", "ListArchives", {}).n("CloudWatchEventsClient", "ListArchivesCommand").f(void 0, void 0).ser(se_ListArchivesCommand).de(de_ListArchivesCommand).build() {
3842
+ };
3843
+ __name(_ListArchivesCommand, "ListArchivesCommand");
3844
+ var ListArchivesCommand = _ListArchivesCommand;
3845
+
3846
+ // src/commands/ListConnectionsCommand.ts
3847
+
3848
+
3849
+
3850
+
3851
+ var _ListConnectionsCommand = class _ListConnectionsCommand extends import_smithy_client.Command.classBuilder().ep({
3852
+ ...commonParams
3853
+ }).m(function(Command, cs, config, o) {
3854
+ return [
3855
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3856
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3857
+ ];
3858
+ }).s("AWSEvents", "ListConnections", {}).n("CloudWatchEventsClient", "ListConnectionsCommand").f(void 0, void 0).ser(se_ListConnectionsCommand).de(de_ListConnectionsCommand).build() {
3859
+ };
3860
+ __name(_ListConnectionsCommand, "ListConnectionsCommand");
3861
+ var ListConnectionsCommand = _ListConnectionsCommand;
3862
+
3863
+ // src/commands/ListEventBusesCommand.ts
3864
+
3865
+
3866
+
3867
+
3868
+ var _ListEventBusesCommand = class _ListEventBusesCommand extends import_smithy_client.Command.classBuilder().ep({
3869
+ ...commonParams
3870
+ }).m(function(Command, cs, config, o) {
3871
+ return [
3872
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3873
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3874
+ ];
3875
+ }).s("AWSEvents", "ListEventBuses", {}).n("CloudWatchEventsClient", "ListEventBusesCommand").f(void 0, void 0).ser(se_ListEventBusesCommand).de(de_ListEventBusesCommand).build() {
3876
+ };
3877
+ __name(_ListEventBusesCommand, "ListEventBusesCommand");
3878
+ var ListEventBusesCommand = _ListEventBusesCommand;
3879
+
3880
+ // src/commands/ListEventSourcesCommand.ts
3881
+
3882
+
3883
+
3884
+
3885
+ var _ListEventSourcesCommand = class _ListEventSourcesCommand extends import_smithy_client.Command.classBuilder().ep({
3886
+ ...commonParams
3887
+ }).m(function(Command, cs, config, o) {
3888
+ return [
3889
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3890
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3891
+ ];
3892
+ }).s("AWSEvents", "ListEventSources", {}).n("CloudWatchEventsClient", "ListEventSourcesCommand").f(void 0, void 0).ser(se_ListEventSourcesCommand).de(de_ListEventSourcesCommand).build() {
3893
+ };
3894
+ __name(_ListEventSourcesCommand, "ListEventSourcesCommand");
3895
+ var ListEventSourcesCommand = _ListEventSourcesCommand;
3896
+
3897
+ // src/commands/ListPartnerEventSourceAccountsCommand.ts
3898
+
3899
+
3900
+
3901
+
3902
+ var _ListPartnerEventSourceAccountsCommand = class _ListPartnerEventSourceAccountsCommand extends import_smithy_client.Command.classBuilder().ep({
3903
+ ...commonParams
3904
+ }).m(function(Command, cs, config, o) {
3905
+ return [
3906
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3907
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3908
+ ];
3909
+ }).s("AWSEvents", "ListPartnerEventSourceAccounts", {}).n("CloudWatchEventsClient", "ListPartnerEventSourceAccountsCommand").f(void 0, void 0).ser(se_ListPartnerEventSourceAccountsCommand).de(de_ListPartnerEventSourceAccountsCommand).build() {
3910
+ };
3911
+ __name(_ListPartnerEventSourceAccountsCommand, "ListPartnerEventSourceAccountsCommand");
3912
+ var ListPartnerEventSourceAccountsCommand = _ListPartnerEventSourceAccountsCommand;
3913
+
3914
+ // src/commands/ListPartnerEventSourcesCommand.ts
3915
+
3916
+
3917
+
3918
+
3919
+ var _ListPartnerEventSourcesCommand = class _ListPartnerEventSourcesCommand extends import_smithy_client.Command.classBuilder().ep({
3920
+ ...commonParams
3921
+ }).m(function(Command, cs, config, o) {
3922
+ return [
3923
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3924
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3925
+ ];
3926
+ }).s("AWSEvents", "ListPartnerEventSources", {}).n("CloudWatchEventsClient", "ListPartnerEventSourcesCommand").f(void 0, void 0).ser(se_ListPartnerEventSourcesCommand).de(de_ListPartnerEventSourcesCommand).build() {
3927
+ };
3928
+ __name(_ListPartnerEventSourcesCommand, "ListPartnerEventSourcesCommand");
3929
+ var ListPartnerEventSourcesCommand = _ListPartnerEventSourcesCommand;
3930
+
3931
+ // src/commands/ListReplaysCommand.ts
3932
+
3933
+
3934
+
3935
+
3936
+ var _ListReplaysCommand = class _ListReplaysCommand extends import_smithy_client.Command.classBuilder().ep({
3937
+ ...commonParams
3938
+ }).m(function(Command, cs, config, o) {
3939
+ return [
3940
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3941
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3942
+ ];
3943
+ }).s("AWSEvents", "ListReplays", {}).n("CloudWatchEventsClient", "ListReplaysCommand").f(void 0, void 0).ser(se_ListReplaysCommand).de(de_ListReplaysCommand).build() {
3944
+ };
3945
+ __name(_ListReplaysCommand, "ListReplaysCommand");
3946
+ var ListReplaysCommand = _ListReplaysCommand;
3947
+
3948
+ // src/commands/ListRuleNamesByTargetCommand.ts
3949
+
3950
+
3951
+
3952
+
3953
+ var _ListRuleNamesByTargetCommand = class _ListRuleNamesByTargetCommand extends import_smithy_client.Command.classBuilder().ep({
3954
+ ...commonParams
3955
+ }).m(function(Command, cs, config, o) {
3956
+ return [
3957
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3958
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3959
+ ];
3960
+ }).s("AWSEvents", "ListRuleNamesByTarget", {}).n("CloudWatchEventsClient", "ListRuleNamesByTargetCommand").f(void 0, void 0).ser(se_ListRuleNamesByTargetCommand).de(de_ListRuleNamesByTargetCommand).build() {
3961
+ };
3962
+ __name(_ListRuleNamesByTargetCommand, "ListRuleNamesByTargetCommand");
3963
+ var ListRuleNamesByTargetCommand = _ListRuleNamesByTargetCommand;
3964
+
3965
+ // src/commands/ListRulesCommand.ts
3966
+
3967
+
3968
+
3969
+
3970
+ var _ListRulesCommand = class _ListRulesCommand extends import_smithy_client.Command.classBuilder().ep({
3971
+ ...commonParams
3972
+ }).m(function(Command, cs, config, o) {
3973
+ return [
3974
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3975
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3976
+ ];
3977
+ }).s("AWSEvents", "ListRules", {}).n("CloudWatchEventsClient", "ListRulesCommand").f(void 0, void 0).ser(se_ListRulesCommand).de(de_ListRulesCommand).build() {
3978
+ };
3979
+ __name(_ListRulesCommand, "ListRulesCommand");
3980
+ var ListRulesCommand = _ListRulesCommand;
3981
+
3982
+ // src/commands/ListTagsForResourceCommand.ts
3983
+
3984
+
3985
+
3986
+
3987
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3988
+ ...commonParams
3989
+ }).m(function(Command, cs, config, o) {
3990
+ return [
3991
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3992
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3993
+ ];
3994
+ }).s("AWSEvents", "ListTagsForResource", {}).n("CloudWatchEventsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
3995
+ };
3996
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
3997
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
3998
+
3999
+ // src/commands/ListTargetsByRuleCommand.ts
4000
+
4001
+
4002
+
4003
+
4004
+ var _ListTargetsByRuleCommand = class _ListTargetsByRuleCommand extends import_smithy_client.Command.classBuilder().ep({
4005
+ ...commonParams
4006
+ }).m(function(Command, cs, config, o) {
4007
+ return [
4008
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4009
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4010
+ ];
4011
+ }).s("AWSEvents", "ListTargetsByRule", {}).n("CloudWatchEventsClient", "ListTargetsByRuleCommand").f(void 0, void 0).ser(se_ListTargetsByRuleCommand).de(de_ListTargetsByRuleCommand).build() {
4012
+ };
4013
+ __name(_ListTargetsByRuleCommand, "ListTargetsByRuleCommand");
4014
+ var ListTargetsByRuleCommand = _ListTargetsByRuleCommand;
4015
+
4016
+ // src/commands/PutEventsCommand.ts
4017
+
4018
+
4019
+
4020
+
4021
+ var _PutEventsCommand = class _PutEventsCommand extends import_smithy_client.Command.classBuilder().ep({
4022
+ ...commonParams
4023
+ }).m(function(Command, cs, config, o) {
4024
+ return [
4025
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4026
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4027
+ ];
4028
+ }).s("AWSEvents", "PutEvents", {}).n("CloudWatchEventsClient", "PutEventsCommand").f(void 0, void 0).ser(se_PutEventsCommand).de(de_PutEventsCommand).build() {
4029
+ };
4030
+ __name(_PutEventsCommand, "PutEventsCommand");
4031
+ var PutEventsCommand = _PutEventsCommand;
4032
+
4033
+ // src/commands/PutPartnerEventsCommand.ts
4034
+
4035
+
4036
+
4037
+
4038
+ var _PutPartnerEventsCommand = class _PutPartnerEventsCommand extends import_smithy_client.Command.classBuilder().ep({
4039
+ ...commonParams
4040
+ }).m(function(Command, cs, config, o) {
4041
+ return [
4042
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4043
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4044
+ ];
4045
+ }).s("AWSEvents", "PutPartnerEvents", {}).n("CloudWatchEventsClient", "PutPartnerEventsCommand").f(void 0, void 0).ser(se_PutPartnerEventsCommand).de(de_PutPartnerEventsCommand).build() {
4046
+ };
4047
+ __name(_PutPartnerEventsCommand, "PutPartnerEventsCommand");
4048
+ var PutPartnerEventsCommand = _PutPartnerEventsCommand;
4049
+
4050
+ // src/commands/PutPermissionCommand.ts
4051
+
4052
+
4053
+
4054
+
4055
+ var _PutPermissionCommand = class _PutPermissionCommand extends import_smithy_client.Command.classBuilder().ep({
4056
+ ...commonParams
4057
+ }).m(function(Command, cs, config, o) {
4058
+ return [
4059
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4060
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4061
+ ];
4062
+ }).s("AWSEvents", "PutPermission", {}).n("CloudWatchEventsClient", "PutPermissionCommand").f(void 0, void 0).ser(se_PutPermissionCommand).de(de_PutPermissionCommand).build() {
4063
+ };
4064
+ __name(_PutPermissionCommand, "PutPermissionCommand");
4065
+ var PutPermissionCommand = _PutPermissionCommand;
4066
+
4067
+ // src/commands/PutRuleCommand.ts
4068
+
4069
+
4070
+
4071
+
4072
+ var _PutRuleCommand = class _PutRuleCommand extends import_smithy_client.Command.classBuilder().ep({
4073
+ ...commonParams
4074
+ }).m(function(Command, cs, config, o) {
4075
+ return [
4076
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4077
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4078
+ ];
4079
+ }).s("AWSEvents", "PutRule", {}).n("CloudWatchEventsClient", "PutRuleCommand").f(void 0, void 0).ser(se_PutRuleCommand).de(de_PutRuleCommand).build() {
4080
+ };
4081
+ __name(_PutRuleCommand, "PutRuleCommand");
4082
+ var PutRuleCommand = _PutRuleCommand;
4083
+
4084
+ // src/commands/PutTargetsCommand.ts
4085
+
4086
+
4087
+
4088
+
4089
+ var _PutTargetsCommand = class _PutTargetsCommand extends import_smithy_client.Command.classBuilder().ep({
4090
+ ...commonParams
4091
+ }).m(function(Command, cs, config, o) {
4092
+ return [
4093
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4094
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4095
+ ];
4096
+ }).s("AWSEvents", "PutTargets", {}).n("CloudWatchEventsClient", "PutTargetsCommand").f(void 0, void 0).ser(se_PutTargetsCommand).de(de_PutTargetsCommand).build() {
4097
+ };
4098
+ __name(_PutTargetsCommand, "PutTargetsCommand");
4099
+ var PutTargetsCommand = _PutTargetsCommand;
4100
+
4101
+ // src/commands/RemovePermissionCommand.ts
4102
+
4103
+
4104
+
4105
+
4106
+ var _RemovePermissionCommand = class _RemovePermissionCommand extends import_smithy_client.Command.classBuilder().ep({
4107
+ ...commonParams
4108
+ }).m(function(Command, cs, config, o) {
4109
+ return [
4110
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4111
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4112
+ ];
4113
+ }).s("AWSEvents", "RemovePermission", {}).n("CloudWatchEventsClient", "RemovePermissionCommand").f(void 0, void 0).ser(se_RemovePermissionCommand).de(de_RemovePermissionCommand).build() {
4114
+ };
4115
+ __name(_RemovePermissionCommand, "RemovePermissionCommand");
4116
+ var RemovePermissionCommand = _RemovePermissionCommand;
4117
+
4118
+ // src/commands/RemoveTargetsCommand.ts
4119
+
4120
+
4121
+
4122
+
4123
+ var _RemoveTargetsCommand = class _RemoveTargetsCommand extends import_smithy_client.Command.classBuilder().ep({
4124
+ ...commonParams
4125
+ }).m(function(Command, cs, config, o) {
4126
+ return [
4127
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4128
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4129
+ ];
4130
+ }).s("AWSEvents", "RemoveTargets", {}).n("CloudWatchEventsClient", "RemoveTargetsCommand").f(void 0, void 0).ser(se_RemoveTargetsCommand).de(de_RemoveTargetsCommand).build() {
4131
+ };
4132
+ __name(_RemoveTargetsCommand, "RemoveTargetsCommand");
4133
+ var RemoveTargetsCommand = _RemoveTargetsCommand;
4134
+
4135
+ // src/commands/StartReplayCommand.ts
4136
+
4137
+
4138
+
4139
+
4140
+ var _StartReplayCommand = class _StartReplayCommand extends import_smithy_client.Command.classBuilder().ep({
4141
+ ...commonParams
4142
+ }).m(function(Command, cs, config, o) {
4143
+ return [
4144
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4145
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4146
+ ];
4147
+ }).s("AWSEvents", "StartReplay", {}).n("CloudWatchEventsClient", "StartReplayCommand").f(void 0, void 0).ser(se_StartReplayCommand).de(de_StartReplayCommand).build() {
4148
+ };
4149
+ __name(_StartReplayCommand, "StartReplayCommand");
4150
+ var StartReplayCommand = _StartReplayCommand;
4151
+
4152
+ // src/commands/TagResourceCommand.ts
4153
+
4154
+
4155
+
4156
+
4157
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4158
+ ...commonParams
4159
+ }).m(function(Command, cs, config, o) {
4160
+ return [
4161
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4162
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4163
+ ];
4164
+ }).s("AWSEvents", "TagResource", {}).n("CloudWatchEventsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
4165
+ };
4166
+ __name(_TagResourceCommand, "TagResourceCommand");
4167
+ var TagResourceCommand = _TagResourceCommand;
4168
+
4169
+ // src/commands/TestEventPatternCommand.ts
4170
+
4171
+
4172
+
4173
+
4174
+ var _TestEventPatternCommand = class _TestEventPatternCommand extends import_smithy_client.Command.classBuilder().ep({
4175
+ ...commonParams
4176
+ }).m(function(Command, cs, config, o) {
4177
+ return [
4178
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4179
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4180
+ ];
4181
+ }).s("AWSEvents", "TestEventPattern", {}).n("CloudWatchEventsClient", "TestEventPatternCommand").f(void 0, void 0).ser(se_TestEventPatternCommand).de(de_TestEventPatternCommand).build() {
4182
+ };
4183
+ __name(_TestEventPatternCommand, "TestEventPatternCommand");
4184
+ var TestEventPatternCommand = _TestEventPatternCommand;
4185
+
4186
+ // src/commands/UntagResourceCommand.ts
4187
+
4188
+
4189
+
4190
+
4191
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4192
+ ...commonParams
4193
+ }).m(function(Command, cs, config, o) {
4194
+ return [
4195
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4196
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4197
+ ];
4198
+ }).s("AWSEvents", "UntagResource", {}).n("CloudWatchEventsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
4199
+ };
4200
+ __name(_UntagResourceCommand, "UntagResourceCommand");
4201
+ var UntagResourceCommand = _UntagResourceCommand;
4202
+
4203
+ // src/commands/UpdateApiDestinationCommand.ts
4204
+
4205
+
4206
+
4207
+
4208
+ var _UpdateApiDestinationCommand = class _UpdateApiDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
4209
+ ...commonParams
4210
+ }).m(function(Command, cs, config, o) {
4211
+ return [
4212
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4213
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4214
+ ];
4215
+ }).s("AWSEvents", "UpdateApiDestination", {}).n("CloudWatchEventsClient", "UpdateApiDestinationCommand").f(void 0, void 0).ser(se_UpdateApiDestinationCommand).de(de_UpdateApiDestinationCommand).build() {
4216
+ };
4217
+ __name(_UpdateApiDestinationCommand, "UpdateApiDestinationCommand");
4218
+ var UpdateApiDestinationCommand = _UpdateApiDestinationCommand;
4219
+
4220
+ // src/commands/UpdateArchiveCommand.ts
4221
+
4222
+
4223
+
4224
+
4225
+ var _UpdateArchiveCommand = class _UpdateArchiveCommand extends import_smithy_client.Command.classBuilder().ep({
4226
+ ...commonParams
4227
+ }).m(function(Command, cs, config, o) {
4228
+ return [
4229
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4230
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4231
+ ];
4232
+ }).s("AWSEvents", "UpdateArchive", {}).n("CloudWatchEventsClient", "UpdateArchiveCommand").f(void 0, void 0).ser(se_UpdateArchiveCommand).de(de_UpdateArchiveCommand).build() {
4233
+ };
4234
+ __name(_UpdateArchiveCommand, "UpdateArchiveCommand");
4235
+ var UpdateArchiveCommand = _UpdateArchiveCommand;
4236
+
4237
+ // src/commands/UpdateConnectionCommand.ts
4238
+
4239
+
4240
+
4241
+
4242
+ var _UpdateConnectionCommand = class _UpdateConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
4243
+ ...commonParams
4244
+ }).m(function(Command, cs, config, o) {
4245
+ return [
4246
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4247
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4248
+ ];
4249
+ }).s("AWSEvents", "UpdateConnection", {}).n("CloudWatchEventsClient", "UpdateConnectionCommand").f(UpdateConnectionRequestFilterSensitiveLog, void 0).ser(se_UpdateConnectionCommand).de(de_UpdateConnectionCommand).build() {
4250
+ };
4251
+ __name(_UpdateConnectionCommand, "UpdateConnectionCommand");
4252
+ var UpdateConnectionCommand = _UpdateConnectionCommand;
4253
+
4254
+ // src/CloudWatchEvents.ts
4255
+ var commands = {
4256
+ ActivateEventSourceCommand,
4257
+ CancelReplayCommand,
4258
+ CreateApiDestinationCommand,
4259
+ CreateArchiveCommand,
4260
+ CreateConnectionCommand,
4261
+ CreateEventBusCommand,
4262
+ CreatePartnerEventSourceCommand,
4263
+ DeactivateEventSourceCommand,
4264
+ DeauthorizeConnectionCommand,
4265
+ DeleteApiDestinationCommand,
4266
+ DeleteArchiveCommand,
4267
+ DeleteConnectionCommand,
4268
+ DeleteEventBusCommand,
4269
+ DeletePartnerEventSourceCommand,
4270
+ DeleteRuleCommand,
4271
+ DescribeApiDestinationCommand,
4272
+ DescribeArchiveCommand,
4273
+ DescribeConnectionCommand,
4274
+ DescribeEventBusCommand,
4275
+ DescribeEventSourceCommand,
4276
+ DescribePartnerEventSourceCommand,
4277
+ DescribeReplayCommand,
4278
+ DescribeRuleCommand,
4279
+ DisableRuleCommand,
4280
+ EnableRuleCommand,
4281
+ ListApiDestinationsCommand,
4282
+ ListArchivesCommand,
4283
+ ListConnectionsCommand,
4284
+ ListEventBusesCommand,
4285
+ ListEventSourcesCommand,
4286
+ ListPartnerEventSourceAccountsCommand,
4287
+ ListPartnerEventSourcesCommand,
4288
+ ListReplaysCommand,
4289
+ ListRuleNamesByTargetCommand,
4290
+ ListRulesCommand,
4291
+ ListTagsForResourceCommand,
4292
+ ListTargetsByRuleCommand,
4293
+ PutEventsCommand,
4294
+ PutPartnerEventsCommand,
4295
+ PutPermissionCommand,
4296
+ PutRuleCommand,
4297
+ PutTargetsCommand,
4298
+ RemovePermissionCommand,
4299
+ RemoveTargetsCommand,
4300
+ StartReplayCommand,
4301
+ TagResourceCommand,
4302
+ TestEventPatternCommand,
4303
+ UntagResourceCommand,
4304
+ UpdateApiDestinationCommand,
4305
+ UpdateArchiveCommand,
4306
+ UpdateConnectionCommand
4307
+ };
4308
+ var _CloudWatchEvents = class _CloudWatchEvents extends CloudWatchEventsClient {
4309
+ };
4310
+ __name(_CloudWatchEvents, "CloudWatchEvents");
4311
+ var CloudWatchEvents = _CloudWatchEvents;
4312
+ (0, import_smithy_client.createAggregatedClient)(commands, CloudWatchEvents);
4313
+
4314
+ // src/index.ts
4315
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
4316
+ // Annotate the CommonJS export names for ESM import in node:
4317
+ 0 && (module.exports = {
4318
+ ActivateEventSourceCommand,
4319
+ ApiDestinationHttpMethod,
4320
+ ApiDestinationState,
4321
+ ArchiveState,
4322
+ AssignPublicIp,
4323
+ CancelReplayCommand,
4324
+ CloudWatchEvents,
4325
+ CloudWatchEventsClient,
4326
+ CloudWatchEventsServiceException,
4327
+ ConcurrentModificationException,
4328
+ ConnectionAuthResponseParametersFilterSensitiveLog,
4329
+ ConnectionAuthorizationType,
4330
+ ConnectionBodyParameterFilterSensitiveLog,
4331
+ ConnectionHeaderParameterFilterSensitiveLog,
4332
+ ConnectionHttpParametersFilterSensitiveLog,
4333
+ ConnectionOAuthHttpMethod,
4334
+ ConnectionOAuthResponseParametersFilterSensitiveLog,
4335
+ ConnectionQueryStringParameterFilterSensitiveLog,
4336
+ ConnectionState,
4337
+ CreateApiDestinationCommand,
4338
+ CreateArchiveCommand,
4339
+ CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog,
4340
+ CreateConnectionAuthRequestParametersFilterSensitiveLog,
4341
+ CreateConnectionBasicAuthRequestParametersFilterSensitiveLog,
4342
+ CreateConnectionCommand,
4343
+ CreateConnectionOAuthClientRequestParametersFilterSensitiveLog,
4344
+ CreateConnectionOAuthRequestParametersFilterSensitiveLog,
4345
+ CreateConnectionRequestFilterSensitiveLog,
4346
+ CreateEventBusCommand,
4347
+ CreatePartnerEventSourceCommand,
4348
+ DeactivateEventSourceCommand,
4349
+ DeauthorizeConnectionCommand,
4350
+ DeleteApiDestinationCommand,
4351
+ DeleteArchiveCommand,
4352
+ DeleteConnectionCommand,
4353
+ DeleteEventBusCommand,
4354
+ DeletePartnerEventSourceCommand,
4355
+ DeleteRuleCommand,
4356
+ DescribeApiDestinationCommand,
4357
+ DescribeArchiveCommand,
4358
+ DescribeConnectionCommand,
4359
+ DescribeConnectionResponseFilterSensitiveLog,
4360
+ DescribeEventBusCommand,
4361
+ DescribeEventSourceCommand,
4362
+ DescribePartnerEventSourceCommand,
4363
+ DescribeReplayCommand,
4364
+ DescribeRuleCommand,
4365
+ DisableRuleCommand,
4366
+ EnableRuleCommand,
4367
+ EventSourceState,
4368
+ IllegalStatusException,
4369
+ InternalException,
4370
+ InvalidEventPatternException,
4371
+ InvalidStateException,
4372
+ LaunchType,
4373
+ LimitExceededException,
4374
+ ListApiDestinationsCommand,
4375
+ ListArchivesCommand,
4376
+ ListConnectionsCommand,
4377
+ ListEventBusesCommand,
4378
+ ListEventSourcesCommand,
4379
+ ListPartnerEventSourceAccountsCommand,
4380
+ ListPartnerEventSourcesCommand,
4381
+ ListReplaysCommand,
4382
+ ListRuleNamesByTargetCommand,
4383
+ ListRulesCommand,
4384
+ ListTagsForResourceCommand,
4385
+ ListTargetsByRuleCommand,
4386
+ ManagedRuleException,
4387
+ OperationDisabledException,
4388
+ PlacementConstraintType,
4389
+ PlacementStrategyType,
4390
+ PolicyLengthExceededException,
4391
+ PropagateTags,
4392
+ PutEventsCommand,
4393
+ PutPartnerEventsCommand,
4394
+ PutPermissionCommand,
4395
+ PutRuleCommand,
4396
+ PutTargetsCommand,
4397
+ RemovePermissionCommand,
4398
+ RemoveTargetsCommand,
4399
+ ReplayState,
4400
+ ResourceAlreadyExistsException,
4401
+ ResourceNotFoundException,
4402
+ RuleState,
4403
+ StartReplayCommand,
4404
+ TagResourceCommand,
4405
+ TestEventPatternCommand,
4406
+ UntagResourceCommand,
4407
+ UpdateApiDestinationCommand,
4408
+ UpdateArchiveCommand,
4409
+ UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog,
4410
+ UpdateConnectionAuthRequestParametersFilterSensitiveLog,
4411
+ UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog,
4412
+ UpdateConnectionCommand,
4413
+ UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog,
4414
+ UpdateConnectionOAuthRequestParametersFilterSensitiveLog,
4415
+ UpdateConnectionRequestFilterSensitiveLog,
4416
+ __Client
4417
+ });