@aws-sdk/client-cloudwatch-events 3.926.0 → 3.928.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 (75) hide show
  1. package/dist-cjs/index.js +1612 -2010
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CloudWatchEventsClient.js +2 -0
  4. package/dist-es/commands/ActivateEventSourceCommand.js +3 -9
  5. package/dist-es/commands/CancelReplayCommand.js +3 -9
  6. package/dist-es/commands/CreateApiDestinationCommand.js +3 -9
  7. package/dist-es/commands/CreateArchiveCommand.js +3 -9
  8. package/dist-es/commands/CreateConnectionCommand.js +3 -10
  9. package/dist-es/commands/CreateEventBusCommand.js +3 -9
  10. package/dist-es/commands/CreatePartnerEventSourceCommand.js +3 -9
  11. package/dist-es/commands/DeactivateEventSourceCommand.js +3 -9
  12. package/dist-es/commands/DeauthorizeConnectionCommand.js +3 -9
  13. package/dist-es/commands/DeleteApiDestinationCommand.js +3 -9
  14. package/dist-es/commands/DeleteArchiveCommand.js +3 -9
  15. package/dist-es/commands/DeleteConnectionCommand.js +3 -9
  16. package/dist-es/commands/DeleteEventBusCommand.js +3 -9
  17. package/dist-es/commands/DeletePartnerEventSourceCommand.js +3 -9
  18. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  19. package/dist-es/commands/DescribeApiDestinationCommand.js +3 -9
  20. package/dist-es/commands/DescribeArchiveCommand.js +3 -9
  21. package/dist-es/commands/DescribeConnectionCommand.js +3 -10
  22. package/dist-es/commands/DescribeEventBusCommand.js +3 -9
  23. package/dist-es/commands/DescribeEventSourceCommand.js +3 -9
  24. package/dist-es/commands/DescribePartnerEventSourceCommand.js +3 -9
  25. package/dist-es/commands/DescribeReplayCommand.js +3 -9
  26. package/dist-es/commands/DescribeRuleCommand.js +3 -9
  27. package/dist-es/commands/DisableRuleCommand.js +3 -9
  28. package/dist-es/commands/EnableRuleCommand.js +3 -9
  29. package/dist-es/commands/ListApiDestinationsCommand.js +3 -9
  30. package/dist-es/commands/ListArchivesCommand.js +3 -9
  31. package/dist-es/commands/ListConnectionsCommand.js +3 -9
  32. package/dist-es/commands/ListEventBusesCommand.js +3 -9
  33. package/dist-es/commands/ListEventSourcesCommand.js +3 -9
  34. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +3 -9
  35. package/dist-es/commands/ListPartnerEventSourcesCommand.js +3 -9
  36. package/dist-es/commands/ListReplaysCommand.js +3 -9
  37. package/dist-es/commands/ListRuleNamesByTargetCommand.js +3 -9
  38. package/dist-es/commands/ListRulesCommand.js +3 -9
  39. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  40. package/dist-es/commands/ListTargetsByRuleCommand.js +3 -9
  41. package/dist-es/commands/PutEventsCommand.js +3 -9
  42. package/dist-es/commands/PutPartnerEventsCommand.js +3 -9
  43. package/dist-es/commands/PutPermissionCommand.js +3 -9
  44. package/dist-es/commands/PutRuleCommand.js +3 -9
  45. package/dist-es/commands/PutTargetsCommand.js +3 -9
  46. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  47. package/dist-es/commands/RemoveTargetsCommand.js +3 -9
  48. package/dist-es/commands/StartReplayCommand.js +3 -9
  49. package/dist-es/commands/TagResourceCommand.js +3 -9
  50. package/dist-es/commands/TestEventPatternCommand.js +3 -9
  51. package/dist-es/commands/UntagResourceCommand.js +3 -9
  52. package/dist-es/commands/UpdateApiDestinationCommand.js +3 -9
  53. package/dist-es/commands/UpdateArchiveCommand.js +3 -9
  54. package/dist-es/commands/UpdateConnectionCommand.js +3 -10
  55. package/dist-es/models/models_0.js +0 -128
  56. package/dist-es/runtimeConfig.shared.js +7 -0
  57. package/dist-es/schemas/schemas_0.js +1486 -0
  58. package/dist-types/CloudWatchEventsClient.d.ts +10 -1
  59. package/dist-types/models/models_0.d.ts +0 -76
  60. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  61. package/dist-types/runtimeConfig.d.ts +1 -0
  62. package/dist-types/runtimeConfig.native.d.ts +1 -0
  63. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  64. package/dist-types/schemas/schemas_0.d.ts +256 -0
  65. package/dist-types/ts3.4/CloudWatchEventsClient.d.ts +4 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +0 -57
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  71. package/dist-types/ts3.4/schemas/schemas_0.d.ts +262 -0
  72. package/package.json +5 -5
  73. package/dist-es/protocols/Aws_json1_1.js +0 -1478
  74. package/dist-types/protocols/Aws_json1_1.d.ts +0 -461
  75. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -617
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class CloudWatchEventsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class CloudWatchEventsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class CloudWatchEventsServiceException extends smithyClient.ServiceException {
113
+ let CloudWatchEventsServiceException$1 = class CloudWatchEventsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, CloudWatchEventsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class ConcurrentModificationException extends CloudWatchEventsServiceException {
120
+ let ConcurrentModificationException$1 = class ConcurrentModificationException extends CloudWatchEventsServiceException$1 {
121
121
  name = "ConcurrentModificationException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ class ConcurrentModificationException extends CloudWatchEventsServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
130
130
  }
131
- }
132
- class InternalException extends CloudWatchEventsServiceException {
131
+ };
132
+ let InternalException$1 = class InternalException extends CloudWatchEventsServiceException$1 {
133
133
  name = "InternalException";
134
134
  $fault = "server";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ class InternalException extends CloudWatchEventsServiceException {
140
140
  });
141
141
  Object.setPrototypeOf(this, InternalException.prototype);
142
142
  }
143
- }
144
- class InvalidStateException extends CloudWatchEventsServiceException {
143
+ };
144
+ let InvalidStateException$1 = class InvalidStateException extends CloudWatchEventsServiceException$1 {
145
145
  name = "InvalidStateException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ class InvalidStateException extends CloudWatchEventsServiceException {
152
152
  });
153
153
  Object.setPrototypeOf(this, InvalidStateException.prototype);
154
154
  }
155
- }
156
- class OperationDisabledException extends CloudWatchEventsServiceException {
155
+ };
156
+ let OperationDisabledException$1 = class OperationDisabledException extends CloudWatchEventsServiceException$1 {
157
157
  name = "OperationDisabledException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ class OperationDisabledException extends CloudWatchEventsServiceException {
164
164
  });
165
165
  Object.setPrototypeOf(this, OperationDisabledException.prototype);
166
166
  }
167
- }
168
- class ResourceNotFoundException extends CloudWatchEventsServiceException {
167
+ };
168
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends CloudWatchEventsServiceException$1 {
169
169
  name = "ResourceNotFoundException";
170
170
  $fault = "client";
171
171
  constructor(opts) {
@@ -176,7 +176,7 @@ class ResourceNotFoundException extends CloudWatchEventsServiceException {
176
176
  });
177
177
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
178
178
  }
179
- }
179
+ };
180
180
  const ApiDestinationState = {
181
181
  ACTIVE: "ACTIVE",
182
182
  INACTIVE: "INACTIVE",
@@ -210,7 +210,7 @@ const ReplayState = {
210
210
  RUNNING: "RUNNING",
211
211
  STARTING: "STARTING",
212
212
  };
213
- class IllegalStatusException extends CloudWatchEventsServiceException {
213
+ let IllegalStatusException$1 = class IllegalStatusException extends CloudWatchEventsServiceException$1 {
214
214
  name = "IllegalStatusException";
215
215
  $fault = "client";
216
216
  constructor(opts) {
@@ -221,8 +221,8 @@ class IllegalStatusException extends CloudWatchEventsServiceException {
221
221
  });
222
222
  Object.setPrototypeOf(this, IllegalStatusException.prototype);
223
223
  }
224
- }
225
- class LimitExceededException extends CloudWatchEventsServiceException {
224
+ };
225
+ let LimitExceededException$1 = class LimitExceededException extends CloudWatchEventsServiceException$1 {
226
226
  name = "LimitExceededException";
227
227
  $fault = "client";
228
228
  constructor(opts) {
@@ -233,8 +233,8 @@ class LimitExceededException extends CloudWatchEventsServiceException {
233
233
  });
234
234
  Object.setPrototypeOf(this, LimitExceededException.prototype);
235
235
  }
236
- }
237
- class ResourceAlreadyExistsException extends CloudWatchEventsServiceException {
236
+ };
237
+ let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException extends CloudWatchEventsServiceException$1 {
238
238
  name = "ResourceAlreadyExistsException";
239
239
  $fault = "client";
240
240
  constructor(opts) {
@@ -245,8 +245,8 @@ class ResourceAlreadyExistsException extends CloudWatchEventsServiceException {
245
245
  });
246
246
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
247
247
  }
248
- }
249
- class InvalidEventPatternException extends CloudWatchEventsServiceException {
248
+ };
249
+ let InvalidEventPatternException$1 = class InvalidEventPatternException extends CloudWatchEventsServiceException$1 {
250
250
  name = "InvalidEventPatternException";
251
251
  $fault = "client";
252
252
  constructor(opts) {
@@ -257,7 +257,7 @@ class InvalidEventPatternException extends CloudWatchEventsServiceException {
257
257
  });
258
258
  Object.setPrototypeOf(this, InvalidEventPatternException.prototype);
259
259
  }
260
- }
260
+ };
261
261
  const ConnectionAuthorizationType = {
262
262
  API_KEY: "API_KEY",
263
263
  BASIC: "BASIC",
@@ -277,7 +277,7 @@ const ConnectionState = {
277
277
  DELETING: "DELETING",
278
278
  UPDATING: "UPDATING",
279
279
  };
280
- class ManagedRuleException extends CloudWatchEventsServiceException {
280
+ let ManagedRuleException$1 = class ManagedRuleException extends CloudWatchEventsServiceException$1 {
281
281
  name = "ManagedRuleException";
282
282
  $fault = "client";
283
283
  constructor(opts) {
@@ -288,7 +288,7 @@ class ManagedRuleException extends CloudWatchEventsServiceException {
288
288
  });
289
289
  Object.setPrototypeOf(this, ManagedRuleException.prototype);
290
290
  }
291
- }
291
+ };
292
292
  const EventSourceState = {
293
293
  ACTIVE: "ACTIVE",
294
294
  DELETED: "DELETED",
@@ -315,7 +315,7 @@ const PlacementStrategyType = {
315
315
  const PropagateTags = {
316
316
  TASK_DEFINITION: "TASK_DEFINITION",
317
317
  };
318
- class PolicyLengthExceededException extends CloudWatchEventsServiceException {
318
+ let PolicyLengthExceededException$1 = class PolicyLengthExceededException extends CloudWatchEventsServiceException$1 {
319
319
  name = "PolicyLengthExceededException";
320
320
  $fault = "client";
321
321
  constructor(opts) {
@@ -326,1619 +326,1490 @@ class PolicyLengthExceededException extends CloudWatchEventsServiceException {
326
326
  });
327
327
  Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
328
328
  }
329
- }
330
- const CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = (obj) => ({
331
- ...obj,
332
- ...(obj.ApiKeyValue && { ApiKeyValue: smithyClient.SENSITIVE_STRING }),
333
- });
334
- const CreateConnectionBasicAuthRequestParametersFilterSensitiveLog = (obj) => ({
335
- ...obj,
336
- ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
337
- });
338
- const ConnectionBodyParameterFilterSensitiveLog = (obj) => ({
339
- ...obj,
340
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
341
- });
342
- const ConnectionHeaderParameterFilterSensitiveLog = (obj) => ({
343
- ...obj,
344
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
345
- });
346
- const ConnectionQueryStringParameterFilterSensitiveLog = (obj) => ({
347
- ...obj,
348
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
349
- });
350
- const ConnectionHttpParametersFilterSensitiveLog = (obj) => ({
351
- ...obj,
352
- ...(obj.HeaderParameters && {
353
- HeaderParameters: obj.HeaderParameters.map((item) => ConnectionHeaderParameterFilterSensitiveLog(item)),
354
- }),
355
- ...(obj.QueryStringParameters && {
356
- QueryStringParameters: obj.QueryStringParameters.map((item) => ConnectionQueryStringParameterFilterSensitiveLog(item)),
357
- }),
358
- ...(obj.BodyParameters && {
359
- BodyParameters: obj.BodyParameters.map((item) => ConnectionBodyParameterFilterSensitiveLog(item)),
360
- }),
361
- });
362
- const CreateConnectionOAuthClientRequestParametersFilterSensitiveLog = (obj) => ({
363
- ...obj,
364
- ...(obj.ClientSecret && { ClientSecret: smithyClient.SENSITIVE_STRING }),
365
- });
366
- const CreateConnectionOAuthRequestParametersFilterSensitiveLog = (obj) => ({
367
- ...obj,
368
- ...(obj.ClientParameters && {
369
- ClientParameters: CreateConnectionOAuthClientRequestParametersFilterSensitiveLog(obj.ClientParameters),
370
- }),
371
- ...(obj.OAuthHttpParameters && {
372
- OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters),
373
- }),
374
- });
375
- const CreateConnectionAuthRequestParametersFilterSensitiveLog = (obj) => ({
376
- ...obj,
377
- ...(obj.BasicAuthParameters && {
378
- BasicAuthParameters: CreateConnectionBasicAuthRequestParametersFilterSensitiveLog(obj.BasicAuthParameters),
379
- }),
380
- ...(obj.OAuthParameters && {
381
- OAuthParameters: CreateConnectionOAuthRequestParametersFilterSensitiveLog(obj.OAuthParameters),
382
- }),
383
- ...(obj.ApiKeyAuthParameters && {
384
- ApiKeyAuthParameters: CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog(obj.ApiKeyAuthParameters),
385
- }),
386
- ...(obj.InvocationHttpParameters && {
387
- InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters),
388
- }),
389
- });
390
- const CreateConnectionRequestFilterSensitiveLog = (obj) => ({
391
- ...obj,
392
- ...(obj.AuthParameters && {
393
- AuthParameters: CreateConnectionAuthRequestParametersFilterSensitiveLog(obj.AuthParameters),
394
- }),
395
- });
396
- const ConnectionOAuthResponseParametersFilterSensitiveLog = (obj) => ({
397
- ...obj,
398
- ...(obj.OAuthHttpParameters && {
399
- OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters),
400
- }),
401
- });
402
- const ConnectionAuthResponseParametersFilterSensitiveLog = (obj) => ({
403
- ...obj,
404
- ...(obj.OAuthParameters && {
405
- OAuthParameters: ConnectionOAuthResponseParametersFilterSensitiveLog(obj.OAuthParameters),
406
- }),
407
- ...(obj.InvocationHttpParameters && {
408
- InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters),
409
- }),
410
- });
411
- const DescribeConnectionResponseFilterSensitiveLog = (obj) => ({
412
- ...obj,
413
- ...(obj.AuthParameters && { AuthParameters: ConnectionAuthResponseParametersFilterSensitiveLog(obj.AuthParameters) }),
414
- });
415
- const UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = (obj) => ({
416
- ...obj,
417
- ...(obj.ApiKeyValue && { ApiKeyValue: smithyClient.SENSITIVE_STRING }),
418
- });
419
- const UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog = (obj) => ({
420
- ...obj,
421
- ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
422
- });
423
- const UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog = (obj) => ({
424
- ...obj,
425
- ...(obj.ClientSecret && { ClientSecret: smithyClient.SENSITIVE_STRING }),
426
- });
427
- const UpdateConnectionOAuthRequestParametersFilterSensitiveLog = (obj) => ({
428
- ...obj,
429
- ...(obj.ClientParameters && {
430
- ClientParameters: UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog(obj.ClientParameters),
431
- }),
432
- ...(obj.OAuthHttpParameters && {
433
- OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters),
434
- }),
435
- });
436
- const UpdateConnectionAuthRequestParametersFilterSensitiveLog = (obj) => ({
437
- ...obj,
438
- ...(obj.BasicAuthParameters && {
439
- BasicAuthParameters: UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog(obj.BasicAuthParameters),
440
- }),
441
- ...(obj.OAuthParameters && {
442
- OAuthParameters: UpdateConnectionOAuthRequestParametersFilterSensitiveLog(obj.OAuthParameters),
443
- }),
444
- ...(obj.ApiKeyAuthParameters && {
445
- ApiKeyAuthParameters: UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog(obj.ApiKeyAuthParameters),
446
- }),
447
- ...(obj.InvocationHttpParameters && {
448
- InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters),
449
- }),
450
- });
451
- const UpdateConnectionRequestFilterSensitiveLog = (obj) => ({
452
- ...obj,
453
- ...(obj.AuthParameters && {
454
- AuthParameters: UpdateConnectionAuthRequestParametersFilterSensitiveLog(obj.AuthParameters),
455
- }),
456
- });
457
-
458
- const se_ActivateEventSourceCommand = async (input, context) => {
459
- const headers = sharedHeaders("ActivateEventSource");
460
- let body;
461
- body = JSON.stringify(smithyClient._json(input));
462
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
463
- };
464
- const se_CancelReplayCommand = async (input, context) => {
465
- const headers = sharedHeaders("CancelReplay");
466
- let body;
467
- body = JSON.stringify(smithyClient._json(input));
468
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
469
- };
470
- const se_CreateApiDestinationCommand = async (input, context) => {
471
- const headers = sharedHeaders("CreateApiDestination");
472
- let body;
473
- body = JSON.stringify(smithyClient._json(input));
474
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
475
- };
476
- const se_CreateArchiveCommand = async (input, context) => {
477
- const headers = sharedHeaders("CreateArchive");
478
- let body;
479
- body = JSON.stringify(smithyClient._json(input));
480
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
481
- };
482
- const se_CreateConnectionCommand = async (input, context) => {
483
- const headers = sharedHeaders("CreateConnection");
484
- let body;
485
- body = JSON.stringify(smithyClient._json(input));
486
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
487
- };
488
- const se_CreateEventBusCommand = async (input, context) => {
489
- const headers = sharedHeaders("CreateEventBus");
490
- let body;
491
- body = JSON.stringify(smithyClient._json(input));
492
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
493
- };
494
- const se_CreatePartnerEventSourceCommand = async (input, context) => {
495
- const headers = sharedHeaders("CreatePartnerEventSource");
496
- let body;
497
- body = JSON.stringify(smithyClient._json(input));
498
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
499
- };
500
- const se_DeactivateEventSourceCommand = async (input, context) => {
501
- const headers = sharedHeaders("DeactivateEventSource");
502
- let body;
503
- body = JSON.stringify(smithyClient._json(input));
504
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
505
- };
506
- const se_DeauthorizeConnectionCommand = async (input, context) => {
507
- const headers = sharedHeaders("DeauthorizeConnection");
508
- let body;
509
- body = JSON.stringify(smithyClient._json(input));
510
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
511
- };
512
- const se_DeleteApiDestinationCommand = async (input, context) => {
513
- const headers = sharedHeaders("DeleteApiDestination");
514
- let body;
515
- body = JSON.stringify(smithyClient._json(input));
516
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
517
- };
518
- const se_DeleteArchiveCommand = async (input, context) => {
519
- const headers = sharedHeaders("DeleteArchive");
520
- let body;
521
- body = JSON.stringify(smithyClient._json(input));
522
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
523
- };
524
- const se_DeleteConnectionCommand = async (input, context) => {
525
- const headers = sharedHeaders("DeleteConnection");
526
- let body;
527
- body = JSON.stringify(smithyClient._json(input));
528
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
529
- };
530
- const se_DeleteEventBusCommand = async (input, context) => {
531
- const headers = sharedHeaders("DeleteEventBus");
532
- let body;
533
- body = JSON.stringify(smithyClient._json(input));
534
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
535
- };
536
- const se_DeletePartnerEventSourceCommand = async (input, context) => {
537
- const headers = sharedHeaders("DeletePartnerEventSource");
538
- let body;
539
- body = JSON.stringify(smithyClient._json(input));
540
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
541
- };
542
- const se_DeleteRuleCommand = async (input, context) => {
543
- const headers = sharedHeaders("DeleteRule");
544
- let body;
545
- body = JSON.stringify(smithyClient._json(input));
546
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
547
- };
548
- const se_DescribeApiDestinationCommand = async (input, context) => {
549
- const headers = sharedHeaders("DescribeApiDestination");
550
- let body;
551
- body = JSON.stringify(smithyClient._json(input));
552
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
553
- };
554
- const se_DescribeArchiveCommand = async (input, context) => {
555
- const headers = sharedHeaders("DescribeArchive");
556
- let body;
557
- body = JSON.stringify(smithyClient._json(input));
558
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
559
- };
560
- const se_DescribeConnectionCommand = async (input, context) => {
561
- const headers = sharedHeaders("DescribeConnection");
562
- let body;
563
- body = JSON.stringify(smithyClient._json(input));
564
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
565
- };
566
- const se_DescribeEventBusCommand = async (input, context) => {
567
- const headers = sharedHeaders("DescribeEventBus");
568
- let body;
569
- body = JSON.stringify(smithyClient._json(input));
570
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
571
- };
572
- const se_DescribeEventSourceCommand = async (input, context) => {
573
- const headers = sharedHeaders("DescribeEventSource");
574
- let body;
575
- body = JSON.stringify(smithyClient._json(input));
576
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
577
- };
578
- const se_DescribePartnerEventSourceCommand = async (input, context) => {
579
- const headers = sharedHeaders("DescribePartnerEventSource");
580
- let body;
581
- body = JSON.stringify(smithyClient._json(input));
582
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
583
- };
584
- const se_DescribeReplayCommand = async (input, context) => {
585
- const headers = sharedHeaders("DescribeReplay");
586
- let body;
587
- body = JSON.stringify(smithyClient._json(input));
588
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
589
- };
590
- const se_DescribeRuleCommand = async (input, context) => {
591
- const headers = sharedHeaders("DescribeRule");
592
- let body;
593
- body = JSON.stringify(smithyClient._json(input));
594
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
595
- };
596
- const se_DisableRuleCommand = async (input, context) => {
597
- const headers = sharedHeaders("DisableRule");
598
- let body;
599
- body = JSON.stringify(smithyClient._json(input));
600
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
601
- };
602
- const se_EnableRuleCommand = async (input, context) => {
603
- const headers = sharedHeaders("EnableRule");
604
- let body;
605
- body = JSON.stringify(smithyClient._json(input));
606
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
607
- };
608
- const se_ListApiDestinationsCommand = async (input, context) => {
609
- const headers = sharedHeaders("ListApiDestinations");
610
- let body;
611
- body = JSON.stringify(smithyClient._json(input));
612
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
613
- };
614
- const se_ListArchivesCommand = async (input, context) => {
615
- const headers = sharedHeaders("ListArchives");
616
- let body;
617
- body = JSON.stringify(smithyClient._json(input));
618
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
619
- };
620
- const se_ListConnectionsCommand = async (input, context) => {
621
- const headers = sharedHeaders("ListConnections");
622
- let body;
623
- body = JSON.stringify(smithyClient._json(input));
624
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
625
- };
626
- const se_ListEventBusesCommand = async (input, context) => {
627
- const headers = sharedHeaders("ListEventBuses");
628
- let body;
629
- body = JSON.stringify(smithyClient._json(input));
630
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
631
- };
632
- const se_ListEventSourcesCommand = async (input, context) => {
633
- const headers = sharedHeaders("ListEventSources");
634
- let body;
635
- body = JSON.stringify(smithyClient._json(input));
636
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
637
- };
638
- const se_ListPartnerEventSourceAccountsCommand = async (input, context) => {
639
- const headers = sharedHeaders("ListPartnerEventSourceAccounts");
640
- let body;
641
- body = JSON.stringify(smithyClient._json(input));
642
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
643
- };
644
- const se_ListPartnerEventSourcesCommand = async (input, context) => {
645
- const headers = sharedHeaders("ListPartnerEventSources");
646
- let body;
647
- body = JSON.stringify(smithyClient._json(input));
648
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
649
- };
650
- const se_ListReplaysCommand = async (input, context) => {
651
- const headers = sharedHeaders("ListReplays");
652
- let body;
653
- body = JSON.stringify(smithyClient._json(input));
654
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
655
- };
656
- const se_ListRuleNamesByTargetCommand = async (input, context) => {
657
- const headers = sharedHeaders("ListRuleNamesByTarget");
658
- let body;
659
- body = JSON.stringify(smithyClient._json(input));
660
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
661
- };
662
- const se_ListRulesCommand = async (input, context) => {
663
- const headers = sharedHeaders("ListRules");
664
- let body;
665
- body = JSON.stringify(smithyClient._json(input));
666
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
667
- };
668
- const se_ListTagsForResourceCommand = async (input, context) => {
669
- const headers = sharedHeaders("ListTagsForResource");
670
- let body;
671
- body = JSON.stringify(smithyClient._json(input));
672
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
673
- };
674
- const se_ListTargetsByRuleCommand = async (input, context) => {
675
- const headers = sharedHeaders("ListTargetsByRule");
676
- let body;
677
- body = JSON.stringify(smithyClient._json(input));
678
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
679
- };
680
- const se_PutEventsCommand = async (input, context) => {
681
- const headers = sharedHeaders("PutEvents");
682
- let body;
683
- body = JSON.stringify(se_PutEventsRequest(input));
684
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
685
- };
686
- const se_PutPartnerEventsCommand = async (input, context) => {
687
- const headers = sharedHeaders("PutPartnerEvents");
688
- let body;
689
- body = JSON.stringify(se_PutPartnerEventsRequest(input));
690
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
691
- };
692
- const se_PutPermissionCommand = async (input, context) => {
693
- const headers = sharedHeaders("PutPermission");
694
- let body;
695
- body = JSON.stringify(smithyClient._json(input));
696
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
697
- };
698
- const se_PutRuleCommand = async (input, context) => {
699
- const headers = sharedHeaders("PutRule");
700
- let body;
701
- body = JSON.stringify(smithyClient._json(input));
702
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
703
- };
704
- const se_PutTargetsCommand = async (input, context) => {
705
- const headers = sharedHeaders("PutTargets");
706
- let body;
707
- body = JSON.stringify(smithyClient._json(input));
708
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
709
- };
710
- const se_RemovePermissionCommand = async (input, context) => {
711
- const headers = sharedHeaders("RemovePermission");
712
- let body;
713
- body = JSON.stringify(smithyClient._json(input));
714
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
715
- };
716
- const se_RemoveTargetsCommand = async (input, context) => {
717
- const headers = sharedHeaders("RemoveTargets");
718
- let body;
719
- body = JSON.stringify(smithyClient._json(input));
720
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
721
- };
722
- const se_StartReplayCommand = async (input, context) => {
723
- const headers = sharedHeaders("StartReplay");
724
- let body;
725
- body = JSON.stringify(se_StartReplayRequest(input));
726
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
727
- };
728
- const se_TagResourceCommand = async (input, context) => {
729
- const headers = sharedHeaders("TagResource");
730
- let body;
731
- body = JSON.stringify(smithyClient._json(input));
732
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
733
- };
734
- const se_TestEventPatternCommand = async (input, context) => {
735
- const headers = sharedHeaders("TestEventPattern");
736
- let body;
737
- body = JSON.stringify(smithyClient._json(input));
738
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
739
- };
740
- const se_UntagResourceCommand = async (input, context) => {
741
- const headers = sharedHeaders("UntagResource");
742
- let body;
743
- body = JSON.stringify(smithyClient._json(input));
744
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
745
329
  };
746
- const se_UpdateApiDestinationCommand = async (input, context) => {
747
- const headers = sharedHeaders("UpdateApiDestination");
748
- let body;
749
- body = JSON.stringify(smithyClient._json(input));
750
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
751
- };
752
- const se_UpdateArchiveCommand = async (input, context) => {
753
- const headers = sharedHeaders("UpdateArchive");
754
- let body;
755
- body = JSON.stringify(smithyClient._json(input));
756
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
757
- };
758
- const se_UpdateConnectionCommand = async (input, context) => {
759
- const headers = sharedHeaders("UpdateConnection");
760
- let body;
761
- body = JSON.stringify(smithyClient._json(input));
762
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
763
- };
764
- const de_ActivateEventSourceCommand = async (output, context) => {
765
- if (output.statusCode >= 300) {
766
- return de_CommandError(output, context);
767
- }
768
- await smithyClient.collectBody(output.body, context);
769
- const response = {
770
- $metadata: deserializeMetadata(output),
771
- };
772
- return response;
773
- };
774
- const de_CancelReplayCommand = async (output, context) => {
775
- if (output.statusCode >= 300) {
776
- return de_CommandError(output, context);
777
- }
778
- const data = await core$1.parseJsonBody(output.body, context);
779
- let contents = {};
780
- contents = smithyClient._json(data);
781
- const response = {
782
- $metadata: deserializeMetadata(output),
783
- ...contents,
784
- };
785
- return response;
786
- };
787
- const de_CreateApiDestinationCommand = async (output, context) => {
788
- if (output.statusCode >= 300) {
789
- return de_CommandError(output, context);
790
- }
791
- const data = await core$1.parseJsonBody(output.body, context);
792
- let contents = {};
793
- contents = de_CreateApiDestinationResponse(data);
794
- const response = {
795
- $metadata: deserializeMetadata(output),
796
- ...contents,
797
- };
798
- return response;
799
- };
800
- const de_CreateArchiveCommand = async (output, context) => {
801
- if (output.statusCode >= 300) {
802
- return de_CommandError(output, context);
803
- }
804
- const data = await core$1.parseJsonBody(output.body, context);
805
- let contents = {};
806
- contents = de_CreateArchiveResponse(data);
807
- const response = {
808
- $metadata: deserializeMetadata(output),
809
- ...contents,
810
- };
811
- return response;
812
- };
813
- const de_CreateConnectionCommand = async (output, context) => {
814
- if (output.statusCode >= 300) {
815
- return de_CommandError(output, context);
816
- }
817
- const data = await core$1.parseJsonBody(output.body, context);
818
- let contents = {};
819
- contents = de_CreateConnectionResponse(data);
820
- const response = {
821
- $metadata: deserializeMetadata(output),
822
- ...contents,
823
- };
824
- return response;
825
- };
826
- const de_CreateEventBusCommand = async (output, context) => {
827
- if (output.statusCode >= 300) {
828
- return de_CommandError(output, context);
829
- }
830
- const data = await core$1.parseJsonBody(output.body, context);
831
- let contents = {};
832
- contents = smithyClient._json(data);
833
- const response = {
834
- $metadata: deserializeMetadata(output),
835
- ...contents,
836
- };
837
- return response;
838
- };
839
- const de_CreatePartnerEventSourceCommand = async (output, context) => {
840
- if (output.statusCode >= 300) {
841
- return de_CommandError(output, context);
842
- }
843
- const data = await core$1.parseJsonBody(output.body, context);
844
- let contents = {};
845
- contents = smithyClient._json(data);
846
- const response = {
847
- $metadata: deserializeMetadata(output),
848
- ...contents,
849
- };
850
- return response;
851
- };
852
- const de_DeactivateEventSourceCommand = async (output, context) => {
853
- if (output.statusCode >= 300) {
854
- return de_CommandError(output, context);
855
- }
856
- await smithyClient.collectBody(output.body, context);
857
- const response = {
858
- $metadata: deserializeMetadata(output),
859
- };
860
- return response;
861
- };
862
- const de_DeauthorizeConnectionCommand = async (output, context) => {
863
- if (output.statusCode >= 300) {
864
- return de_CommandError(output, context);
865
- }
866
- const data = await core$1.parseJsonBody(output.body, context);
867
- let contents = {};
868
- contents = de_DeauthorizeConnectionResponse(data);
869
- const response = {
870
- $metadata: deserializeMetadata(output),
871
- ...contents,
872
- };
873
- return response;
874
- };
875
- const de_DeleteApiDestinationCommand = async (output, context) => {
876
- if (output.statusCode >= 300) {
877
- return de_CommandError(output, context);
878
- }
879
- const data = await core$1.parseJsonBody(output.body, context);
880
- let contents = {};
881
- contents = smithyClient._json(data);
882
- const response = {
883
- $metadata: deserializeMetadata(output),
884
- ...contents,
885
- };
886
- return response;
887
- };
888
- const de_DeleteArchiveCommand = async (output, context) => {
889
- if (output.statusCode >= 300) {
890
- return de_CommandError(output, context);
891
- }
892
- const data = await core$1.parseJsonBody(output.body, context);
893
- let contents = {};
894
- contents = smithyClient._json(data);
895
- const response = {
896
- $metadata: deserializeMetadata(output),
897
- ...contents,
898
- };
899
- return response;
900
- };
901
- const de_DeleteConnectionCommand = async (output, context) => {
902
- if (output.statusCode >= 300) {
903
- return de_CommandError(output, context);
904
- }
905
- const data = await core$1.parseJsonBody(output.body, context);
906
- let contents = {};
907
- contents = de_DeleteConnectionResponse(data);
908
- const response = {
909
- $metadata: deserializeMetadata(output),
910
- ...contents,
911
- };
912
- return response;
913
- };
914
- const de_DeleteEventBusCommand = async (output, context) => {
915
- if (output.statusCode >= 300) {
916
- return de_CommandError(output, context);
917
- }
918
- await smithyClient.collectBody(output.body, context);
919
- const response = {
920
- $metadata: deserializeMetadata(output),
921
- };
922
- return response;
923
- };
924
- const de_DeletePartnerEventSourceCommand = async (output, context) => {
925
- if (output.statusCode >= 300) {
926
- return de_CommandError(output, context);
927
- }
928
- await smithyClient.collectBody(output.body, context);
929
- const response = {
930
- $metadata: deserializeMetadata(output),
931
- };
932
- return response;
933
- };
934
- const de_DeleteRuleCommand = async (output, context) => {
935
- if (output.statusCode >= 300) {
936
- return de_CommandError(output, context);
937
- }
938
- await smithyClient.collectBody(output.body, context);
939
- const response = {
940
- $metadata: deserializeMetadata(output),
941
- };
942
- return response;
943
- };
944
- const de_DescribeApiDestinationCommand = async (output, context) => {
945
- if (output.statusCode >= 300) {
946
- return de_CommandError(output, context);
947
- }
948
- const data = await core$1.parseJsonBody(output.body, context);
949
- let contents = {};
950
- contents = de_DescribeApiDestinationResponse(data);
951
- const response = {
952
- $metadata: deserializeMetadata(output),
953
- ...contents,
954
- };
955
- return response;
956
- };
957
- const de_DescribeArchiveCommand = async (output, context) => {
958
- if (output.statusCode >= 300) {
959
- return de_CommandError(output, context);
960
- }
961
- const data = await core$1.parseJsonBody(output.body, context);
962
- let contents = {};
963
- contents = de_DescribeArchiveResponse(data);
964
- const response = {
965
- $metadata: deserializeMetadata(output),
966
- ...contents,
967
- };
968
- return response;
969
- };
970
- const de_DescribeConnectionCommand = async (output, context) => {
971
- if (output.statusCode >= 300) {
972
- return de_CommandError(output, context);
973
- }
974
- const data = await core$1.parseJsonBody(output.body, context);
975
- let contents = {};
976
- contents = de_DescribeConnectionResponse(data);
977
- const response = {
978
- $metadata: deserializeMetadata(output),
979
- ...contents,
980
- };
981
- return response;
982
- };
983
- const de_DescribeEventBusCommand = async (output, context) => {
984
- if (output.statusCode >= 300) {
985
- return de_CommandError(output, context);
986
- }
987
- const data = await core$1.parseJsonBody(output.body, context);
988
- let contents = {};
989
- contents = smithyClient._json(data);
990
- const response = {
991
- $metadata: deserializeMetadata(output),
992
- ...contents,
993
- };
994
- return response;
995
- };
996
- const de_DescribeEventSourceCommand = async (output, context) => {
997
- if (output.statusCode >= 300) {
998
- return de_CommandError(output, context);
999
- }
1000
- const data = await core$1.parseJsonBody(output.body, context);
1001
- let contents = {};
1002
- contents = de_DescribeEventSourceResponse(data);
1003
- const response = {
1004
- $metadata: deserializeMetadata(output),
1005
- ...contents,
1006
- };
1007
- return response;
1008
- };
1009
- const de_DescribePartnerEventSourceCommand = async (output, context) => {
1010
- if (output.statusCode >= 300) {
1011
- return de_CommandError(output, context);
1012
- }
1013
- const data = await core$1.parseJsonBody(output.body, context);
1014
- let contents = {};
1015
- contents = smithyClient._json(data);
1016
- const response = {
1017
- $metadata: deserializeMetadata(output),
1018
- ...contents,
1019
- };
1020
- return response;
1021
- };
1022
- const de_DescribeReplayCommand = async (output, context) => {
1023
- if (output.statusCode >= 300) {
1024
- return de_CommandError(output, context);
1025
- }
1026
- const data = await core$1.parseJsonBody(output.body, context);
1027
- let contents = {};
1028
- contents = de_DescribeReplayResponse(data);
1029
- const response = {
1030
- $metadata: deserializeMetadata(output),
1031
- ...contents,
1032
- };
1033
- return response;
1034
- };
1035
- const de_DescribeRuleCommand = async (output, context) => {
1036
- if (output.statusCode >= 300) {
1037
- return de_CommandError(output, context);
1038
- }
1039
- const data = await core$1.parseJsonBody(output.body, context);
1040
- let contents = {};
1041
- contents = smithyClient._json(data);
1042
- const response = {
1043
- $metadata: deserializeMetadata(output),
1044
- ...contents,
1045
- };
1046
- return response;
1047
- };
1048
- const de_DisableRuleCommand = async (output, context) => {
1049
- if (output.statusCode >= 300) {
1050
- return de_CommandError(output, context);
1051
- }
1052
- await smithyClient.collectBody(output.body, context);
1053
- const response = {
1054
- $metadata: deserializeMetadata(output),
1055
- };
1056
- return response;
1057
- };
1058
- const de_EnableRuleCommand = async (output, context) => {
1059
- if (output.statusCode >= 300) {
1060
- return de_CommandError(output, context);
1061
- }
1062
- await smithyClient.collectBody(output.body, context);
1063
- const response = {
1064
- $metadata: deserializeMetadata(output),
1065
- };
1066
- return response;
1067
- };
1068
- const de_ListApiDestinationsCommand = async (output, context) => {
1069
- if (output.statusCode >= 300) {
1070
- return de_CommandError(output, context);
1071
- }
1072
- const data = await core$1.parseJsonBody(output.body, context);
1073
- let contents = {};
1074
- contents = de_ListApiDestinationsResponse(data);
1075
- const response = {
1076
- $metadata: deserializeMetadata(output),
1077
- ...contents,
1078
- };
1079
- return response;
1080
- };
1081
- const de_ListArchivesCommand = async (output, context) => {
1082
- if (output.statusCode >= 300) {
1083
- return de_CommandError(output, context);
1084
- }
1085
- const data = await core$1.parseJsonBody(output.body, context);
1086
- let contents = {};
1087
- contents = de_ListArchivesResponse(data);
1088
- const response = {
1089
- $metadata: deserializeMetadata(output),
1090
- ...contents,
1091
- };
1092
- return response;
1093
- };
1094
- const de_ListConnectionsCommand = async (output, context) => {
1095
- if (output.statusCode >= 300) {
1096
- return de_CommandError(output, context);
1097
- }
1098
- const data = await core$1.parseJsonBody(output.body, context);
1099
- let contents = {};
1100
- contents = de_ListConnectionsResponse(data);
1101
- const response = {
1102
- $metadata: deserializeMetadata(output),
1103
- ...contents,
1104
- };
1105
- return response;
1106
- };
1107
- const de_ListEventBusesCommand = async (output, context) => {
1108
- if (output.statusCode >= 300) {
1109
- return de_CommandError(output, context);
1110
- }
1111
- const data = await core$1.parseJsonBody(output.body, context);
1112
- let contents = {};
1113
- contents = smithyClient._json(data);
1114
- const response = {
1115
- $metadata: deserializeMetadata(output),
1116
- ...contents,
1117
- };
1118
- return response;
1119
- };
1120
- const de_ListEventSourcesCommand = async (output, context) => {
1121
- if (output.statusCode >= 300) {
1122
- return de_CommandError(output, context);
1123
- }
1124
- const data = await core$1.parseJsonBody(output.body, context);
1125
- let contents = {};
1126
- contents = de_ListEventSourcesResponse(data);
1127
- const response = {
1128
- $metadata: deserializeMetadata(output),
1129
- ...contents,
1130
- };
1131
- return response;
1132
- };
1133
- const de_ListPartnerEventSourceAccountsCommand = async (output, context) => {
1134
- if (output.statusCode >= 300) {
1135
- return de_CommandError(output, context);
1136
- }
1137
- const data = await core$1.parseJsonBody(output.body, context);
1138
- let contents = {};
1139
- contents = de_ListPartnerEventSourceAccountsResponse(data);
1140
- const response = {
1141
- $metadata: deserializeMetadata(output),
1142
- ...contents,
1143
- };
1144
- return response;
1145
- };
1146
- const de_ListPartnerEventSourcesCommand = async (output, context) => {
1147
- if (output.statusCode >= 300) {
1148
- return de_CommandError(output, context);
1149
- }
1150
- const data = await core$1.parseJsonBody(output.body, context);
1151
- let contents = {};
1152
- contents = smithyClient._json(data);
1153
- const response = {
1154
- $metadata: deserializeMetadata(output),
1155
- ...contents,
1156
- };
1157
- return response;
1158
- };
1159
- const de_ListReplaysCommand = async (output, context) => {
1160
- if (output.statusCode >= 300) {
1161
- return de_CommandError(output, context);
1162
- }
1163
- const data = await core$1.parseJsonBody(output.body, context);
1164
- let contents = {};
1165
- contents = de_ListReplaysResponse(data);
1166
- const response = {
1167
- $metadata: deserializeMetadata(output),
1168
- ...contents,
1169
- };
1170
- return response;
1171
- };
1172
- const de_ListRuleNamesByTargetCommand = async (output, context) => {
1173
- if (output.statusCode >= 300) {
1174
- return de_CommandError(output, context);
1175
- }
1176
- const data = await core$1.parseJsonBody(output.body, context);
1177
- let contents = {};
1178
- contents = smithyClient._json(data);
1179
- const response = {
1180
- $metadata: deserializeMetadata(output),
1181
- ...contents,
1182
- };
1183
- return response;
1184
- };
1185
- const de_ListRulesCommand = async (output, context) => {
1186
- if (output.statusCode >= 300) {
1187
- return de_CommandError(output, context);
1188
- }
1189
- const data = await core$1.parseJsonBody(output.body, context);
1190
- let contents = {};
1191
- contents = smithyClient._json(data);
1192
- const response = {
1193
- $metadata: deserializeMetadata(output),
1194
- ...contents,
1195
- };
1196
- return response;
1197
- };
1198
- const de_ListTagsForResourceCommand = async (output, context) => {
1199
- if (output.statusCode >= 300) {
1200
- return de_CommandError(output, context);
1201
- }
1202
- const data = await core$1.parseJsonBody(output.body, context);
1203
- let contents = {};
1204
- contents = smithyClient._json(data);
1205
- const response = {
1206
- $metadata: deserializeMetadata(output),
1207
- ...contents,
1208
- };
1209
- return response;
1210
- };
1211
- const de_ListTargetsByRuleCommand = async (output, context) => {
1212
- if (output.statusCode >= 300) {
1213
- return de_CommandError(output, context);
1214
- }
1215
- const data = await core$1.parseJsonBody(output.body, context);
1216
- let contents = {};
1217
- contents = smithyClient._json(data);
1218
- const response = {
1219
- $metadata: deserializeMetadata(output),
1220
- ...contents,
1221
- };
1222
- return response;
1223
- };
1224
- const de_PutEventsCommand = async (output, context) => {
1225
- if (output.statusCode >= 300) {
1226
- return de_CommandError(output, context);
1227
- }
1228
- const data = await core$1.parseJsonBody(output.body, context);
1229
- let contents = {};
1230
- contents = smithyClient._json(data);
1231
- const response = {
1232
- $metadata: deserializeMetadata(output),
1233
- ...contents,
1234
- };
1235
- return response;
1236
- };
1237
- const de_PutPartnerEventsCommand = async (output, context) => {
1238
- if (output.statusCode >= 300) {
1239
- return de_CommandError(output, context);
1240
- }
1241
- const data = await core$1.parseJsonBody(output.body, context);
1242
- let contents = {};
1243
- contents = smithyClient._json(data);
1244
- const response = {
1245
- $metadata: deserializeMetadata(output),
1246
- ...contents,
1247
- };
1248
- return response;
1249
- };
1250
- const de_PutPermissionCommand = async (output, context) => {
1251
- if (output.statusCode >= 300) {
1252
- return de_CommandError(output, context);
1253
- }
1254
- await smithyClient.collectBody(output.body, context);
1255
- const response = {
1256
- $metadata: deserializeMetadata(output),
1257
- };
1258
- return response;
1259
- };
1260
- const de_PutRuleCommand = async (output, context) => {
1261
- if (output.statusCode >= 300) {
1262
- return de_CommandError(output, context);
1263
- }
1264
- const data = await core$1.parseJsonBody(output.body, context);
1265
- let contents = {};
1266
- contents = smithyClient._json(data);
1267
- const response = {
1268
- $metadata: deserializeMetadata(output),
1269
- ...contents,
1270
- };
1271
- return response;
1272
- };
1273
- const de_PutTargetsCommand = async (output, context) => {
1274
- if (output.statusCode >= 300) {
1275
- return de_CommandError(output, context);
1276
- }
1277
- const data = await core$1.parseJsonBody(output.body, context);
1278
- let contents = {};
1279
- contents = smithyClient._json(data);
1280
- const response = {
1281
- $metadata: deserializeMetadata(output),
1282
- ...contents,
1283
- };
1284
- return response;
1285
- };
1286
- const de_RemovePermissionCommand = async (output, context) => {
1287
- if (output.statusCode >= 300) {
1288
- return de_CommandError(output, context);
1289
- }
1290
- await smithyClient.collectBody(output.body, context);
1291
- const response = {
1292
- $metadata: deserializeMetadata(output),
1293
- };
1294
- return response;
1295
- };
1296
- const de_RemoveTargetsCommand = async (output, context) => {
1297
- if (output.statusCode >= 300) {
1298
- return de_CommandError(output, context);
1299
- }
1300
- const data = await core$1.parseJsonBody(output.body, context);
1301
- let contents = {};
1302
- contents = smithyClient._json(data);
1303
- const response = {
1304
- $metadata: deserializeMetadata(output),
1305
- ...contents,
1306
- };
1307
- return response;
1308
- };
1309
- const de_StartReplayCommand = async (output, context) => {
1310
- if (output.statusCode >= 300) {
1311
- return de_CommandError(output, context);
1312
- }
1313
- const data = await core$1.parseJsonBody(output.body, context);
1314
- let contents = {};
1315
- contents = de_StartReplayResponse(data);
1316
- const response = {
1317
- $metadata: deserializeMetadata(output),
1318
- ...contents,
1319
- };
1320
- return response;
1321
- };
1322
- const de_TagResourceCommand = async (output, context) => {
1323
- if (output.statusCode >= 300) {
1324
- return de_CommandError(output, context);
1325
- }
1326
- const data = await core$1.parseJsonBody(output.body, context);
1327
- let contents = {};
1328
- contents = smithyClient._json(data);
1329
- const response = {
1330
- $metadata: deserializeMetadata(output),
1331
- ...contents,
1332
- };
1333
- return response;
1334
- };
1335
- const de_TestEventPatternCommand = async (output, context) => {
1336
- if (output.statusCode >= 300) {
1337
- return de_CommandError(output, context);
1338
- }
1339
- const data = await core$1.parseJsonBody(output.body, context);
1340
- let contents = {};
1341
- contents = smithyClient._json(data);
1342
- const response = {
1343
- $metadata: deserializeMetadata(output),
1344
- ...contents,
1345
- };
1346
- return response;
1347
- };
1348
- const de_UntagResourceCommand = async (output, context) => {
1349
- if (output.statusCode >= 300) {
1350
- return de_CommandError(output, context);
1351
- }
1352
- const data = await core$1.parseJsonBody(output.body, context);
1353
- let contents = {};
1354
- contents = smithyClient._json(data);
1355
- const response = {
1356
- $metadata: deserializeMetadata(output),
1357
- ...contents,
1358
- };
1359
- return response;
1360
- };
1361
- const de_UpdateApiDestinationCommand = async (output, context) => {
1362
- if (output.statusCode >= 300) {
1363
- return de_CommandError(output, context);
1364
- }
1365
- const data = await core$1.parseJsonBody(output.body, context);
1366
- let contents = {};
1367
- contents = de_UpdateApiDestinationResponse(data);
1368
- const response = {
1369
- $metadata: deserializeMetadata(output),
1370
- ...contents,
1371
- };
1372
- return response;
1373
- };
1374
- const de_UpdateArchiveCommand = async (output, context) => {
1375
- if (output.statusCode >= 300) {
1376
- return de_CommandError(output, context);
1377
- }
1378
- const data = await core$1.parseJsonBody(output.body, context);
1379
- let contents = {};
1380
- contents = de_UpdateArchiveResponse(data);
1381
- const response = {
1382
- $metadata: deserializeMetadata(output),
1383
- ...contents,
1384
- };
1385
- return response;
1386
- };
1387
- const de_UpdateConnectionCommand = async (output, context) => {
1388
- if (output.statusCode >= 300) {
1389
- return de_CommandError(output, context);
1390
- }
1391
- const data = await core$1.parseJsonBody(output.body, context);
1392
- let contents = {};
1393
- contents = de_UpdateConnectionResponse(data);
1394
- const response = {
1395
- $metadata: deserializeMetadata(output),
1396
- ...contents,
1397
- };
1398
- return response;
1399
- };
1400
- const de_CommandError = async (output, context) => {
1401
- const parsedOutput = {
1402
- ...output,
1403
- body: await core$1.parseJsonErrorBody(output.body, context),
1404
- };
1405
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1406
- switch (errorCode) {
1407
- case "ConcurrentModificationException":
1408
- case "com.amazonaws.cloudwatchevents#ConcurrentModificationException":
1409
- throw await de_ConcurrentModificationExceptionRes(parsedOutput);
1410
- case "InternalException":
1411
- case "com.amazonaws.cloudwatchevents#InternalException":
1412
- throw await de_InternalExceptionRes(parsedOutput);
1413
- case "InvalidStateException":
1414
- case "com.amazonaws.cloudwatchevents#InvalidStateException":
1415
- throw await de_InvalidStateExceptionRes(parsedOutput);
1416
- case "OperationDisabledException":
1417
- case "com.amazonaws.cloudwatchevents#OperationDisabledException":
1418
- throw await de_OperationDisabledExceptionRes(parsedOutput);
1419
- case "ResourceNotFoundException":
1420
- case "com.amazonaws.cloudwatchevents#ResourceNotFoundException":
1421
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1422
- case "IllegalStatusException":
1423
- case "com.amazonaws.cloudwatchevents#IllegalStatusException":
1424
- throw await de_IllegalStatusExceptionRes(parsedOutput);
1425
- case "LimitExceededException":
1426
- case "com.amazonaws.cloudwatchevents#LimitExceededException":
1427
- throw await de_LimitExceededExceptionRes(parsedOutput);
1428
- case "ResourceAlreadyExistsException":
1429
- case "com.amazonaws.cloudwatchevents#ResourceAlreadyExistsException":
1430
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput);
1431
- case "InvalidEventPatternException":
1432
- case "com.amazonaws.cloudwatchevents#InvalidEventPatternException":
1433
- throw await de_InvalidEventPatternExceptionRes(parsedOutput);
1434
- case "ManagedRuleException":
1435
- case "com.amazonaws.cloudwatchevents#ManagedRuleException":
1436
- throw await de_ManagedRuleExceptionRes(parsedOutput);
1437
- case "PolicyLengthExceededException":
1438
- case "com.amazonaws.cloudwatchevents#PolicyLengthExceededException":
1439
- throw await de_PolicyLengthExceededExceptionRes(parsedOutput);
1440
- default:
1441
- const parsedBody = parsedOutput.body;
1442
- return throwDefaultError({
1443
- output,
1444
- parsedBody,
1445
- errorCode,
1446
- });
1447
- }
1448
- };
1449
- const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
1450
- const body = parsedOutput.body;
1451
- const deserialized = smithyClient._json(body);
1452
- const exception = new ConcurrentModificationException({
1453
- $metadata: deserializeMetadata(parsedOutput),
1454
- ...deserialized,
1455
- });
1456
- return smithyClient.decorateServiceException(exception, body);
1457
- };
1458
- const de_IllegalStatusExceptionRes = async (parsedOutput, context) => {
1459
- const body = parsedOutput.body;
1460
- const deserialized = smithyClient._json(body);
1461
- const exception = new IllegalStatusException({
1462
- $metadata: deserializeMetadata(parsedOutput),
1463
- ...deserialized,
1464
- });
1465
- return smithyClient.decorateServiceException(exception, body);
1466
- };
1467
- const de_InternalExceptionRes = async (parsedOutput, context) => {
1468
- const body = parsedOutput.body;
1469
- const deserialized = smithyClient._json(body);
1470
- const exception = new InternalException({
1471
- $metadata: deserializeMetadata(parsedOutput),
1472
- ...deserialized,
1473
- });
1474
- return smithyClient.decorateServiceException(exception, body);
1475
- };
1476
- const de_InvalidEventPatternExceptionRes = async (parsedOutput, context) => {
1477
- const body = parsedOutput.body;
1478
- const deserialized = smithyClient._json(body);
1479
- const exception = new InvalidEventPatternException({
1480
- $metadata: deserializeMetadata(parsedOutput),
1481
- ...deserialized,
1482
- });
1483
- return smithyClient.decorateServiceException(exception, body);
1484
- };
1485
- const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
1486
- const body = parsedOutput.body;
1487
- const deserialized = smithyClient._json(body);
1488
- const exception = new InvalidStateException({
1489
- $metadata: deserializeMetadata(parsedOutput),
1490
- ...deserialized,
1491
- });
1492
- return smithyClient.decorateServiceException(exception, body);
1493
- };
1494
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1495
- const body = parsedOutput.body;
1496
- const deserialized = smithyClient._json(body);
1497
- const exception = new LimitExceededException({
1498
- $metadata: deserializeMetadata(parsedOutput),
1499
- ...deserialized,
1500
- });
1501
- return smithyClient.decorateServiceException(exception, body);
1502
- };
1503
- const de_ManagedRuleExceptionRes = async (parsedOutput, context) => {
1504
- const body = parsedOutput.body;
1505
- const deserialized = smithyClient._json(body);
1506
- const exception = new ManagedRuleException({
1507
- $metadata: deserializeMetadata(parsedOutput),
1508
- ...deserialized,
1509
- });
1510
- return smithyClient.decorateServiceException(exception, body);
1511
- };
1512
- const de_OperationDisabledExceptionRes = async (parsedOutput, context) => {
1513
- const body = parsedOutput.body;
1514
- const deserialized = smithyClient._json(body);
1515
- const exception = new OperationDisabledException({
1516
- $metadata: deserializeMetadata(parsedOutput),
1517
- ...deserialized,
1518
- });
1519
- return smithyClient.decorateServiceException(exception, body);
1520
- };
1521
- const de_PolicyLengthExceededExceptionRes = async (parsedOutput, context) => {
1522
- const body = parsedOutput.body;
1523
- const deserialized = smithyClient._json(body);
1524
- const exception = new PolicyLengthExceededException({
1525
- $metadata: deserializeMetadata(parsedOutput),
1526
- ...deserialized,
1527
- });
1528
- return smithyClient.decorateServiceException(exception, body);
1529
- };
1530
- const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1531
- const body = parsedOutput.body;
1532
- const deserialized = smithyClient._json(body);
1533
- const exception = new ResourceAlreadyExistsException({
1534
- $metadata: deserializeMetadata(parsedOutput),
1535
- ...deserialized,
1536
- });
1537
- return smithyClient.decorateServiceException(exception, body);
1538
- };
1539
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1540
- const body = parsedOutput.body;
1541
- const deserialized = smithyClient._json(body);
1542
- const exception = new ResourceNotFoundException({
1543
- $metadata: deserializeMetadata(parsedOutput),
1544
- ...deserialized,
1545
- });
1546
- return smithyClient.decorateServiceException(exception, body);
1547
- };
1548
- const se_PutEventsRequest = (input, context) => {
1549
- return smithyClient.take(input, {
1550
- Entries: (_) => se_PutEventsRequestEntryList(_),
1551
- });
1552
- };
1553
- const se_PutEventsRequestEntry = (input, context) => {
1554
- return smithyClient.take(input, {
1555
- Detail: [],
1556
- DetailType: [],
1557
- EventBusName: [],
1558
- Resources: smithyClient._json,
1559
- Source: [],
1560
- Time: (_) => _.getTime() / 1_000,
1561
- TraceHeader: [],
1562
- });
1563
- };
1564
- const se_PutEventsRequestEntryList = (input, context) => {
1565
- return input
1566
- .filter((e) => e != null)
1567
- .map((entry) => {
1568
- return se_PutEventsRequestEntry(entry);
1569
- });
1570
- };
1571
- const se_PutPartnerEventsRequest = (input, context) => {
1572
- return smithyClient.take(input, {
1573
- Entries: (_) => se_PutPartnerEventsRequestEntryList(_),
1574
- });
1575
- };
1576
- const se_PutPartnerEventsRequestEntry = (input, context) => {
1577
- return smithyClient.take(input, {
1578
- Detail: [],
1579
- DetailType: [],
1580
- Resources: smithyClient._json,
1581
- Source: [],
1582
- Time: (_) => _.getTime() / 1_000,
1583
- });
1584
- };
1585
- const se_PutPartnerEventsRequestEntryList = (input, context) => {
1586
- return input
1587
- .filter((e) => e != null)
1588
- .map((entry) => {
1589
- return se_PutPartnerEventsRequestEntry(entry);
1590
- });
1591
- };
1592
- const se_StartReplayRequest = (input, context) => {
1593
- return smithyClient.take(input, {
1594
- Description: [],
1595
- Destination: smithyClient._json,
1596
- EventEndTime: (_) => _.getTime() / 1_000,
1597
- EventSourceArn: [],
1598
- EventStartTime: (_) => _.getTime() / 1_000,
1599
- ReplayName: [],
1600
- });
1601
- };
1602
- const de_ApiDestination = (output, context) => {
1603
- return smithyClient.take(output, {
1604
- ApiDestinationArn: smithyClient.expectString,
1605
- ApiDestinationState: smithyClient.expectString,
1606
- ConnectionArn: smithyClient.expectString,
1607
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1608
- HttpMethod: smithyClient.expectString,
1609
- InvocationEndpoint: smithyClient.expectString,
1610
- InvocationRateLimitPerSecond: smithyClient.expectInt32,
1611
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1612
- Name: smithyClient.expectString,
1613
- });
1614
- };
1615
- const de_ApiDestinationResponseList = (output, context) => {
1616
- const retVal = (output || [])
1617
- .filter((e) => e != null)
1618
- .map((entry) => {
1619
- return de_ApiDestination(entry);
1620
- });
1621
- return retVal;
1622
- };
1623
- const de_Archive = (output, context) => {
1624
- return smithyClient.take(output, {
1625
- ArchiveName: smithyClient.expectString,
1626
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1627
- EventCount: smithyClient.expectLong,
1628
- EventSourceArn: smithyClient.expectString,
1629
- RetentionDays: smithyClient.expectInt32,
1630
- SizeBytes: smithyClient.expectLong,
1631
- State: smithyClient.expectString,
1632
- StateReason: smithyClient.expectString,
1633
- });
1634
- };
1635
- const de_ArchiveResponseList = (output, context) => {
1636
- const retVal = (output || [])
1637
- .filter((e) => e != null)
1638
- .map((entry) => {
1639
- return de_Archive(entry);
1640
- });
1641
- return retVal;
1642
- };
1643
- const de_Connection = (output, context) => {
1644
- return smithyClient.take(output, {
1645
- AuthorizationType: smithyClient.expectString,
1646
- ConnectionArn: smithyClient.expectString,
1647
- ConnectionState: smithyClient.expectString,
1648
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1649
- LastAuthorizedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1650
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1651
- Name: smithyClient.expectString,
1652
- StateReason: smithyClient.expectString,
1653
- });
1654
- };
1655
- const de_ConnectionResponseList = (output, context) => {
1656
- const retVal = (output || [])
1657
- .filter((e) => e != null)
1658
- .map((entry) => {
1659
- return de_Connection(entry);
1660
- });
1661
- return retVal;
1662
- };
1663
- const de_CreateApiDestinationResponse = (output, context) => {
1664
- return smithyClient.take(output, {
1665
- ApiDestinationArn: smithyClient.expectString,
1666
- ApiDestinationState: smithyClient.expectString,
1667
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1668
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1669
- });
1670
- };
1671
- const de_CreateArchiveResponse = (output, context) => {
1672
- return smithyClient.take(output, {
1673
- ArchiveArn: smithyClient.expectString,
1674
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1675
- State: smithyClient.expectString,
1676
- StateReason: smithyClient.expectString,
1677
- });
1678
- };
1679
- const de_CreateConnectionResponse = (output, context) => {
1680
- return smithyClient.take(output, {
1681
- ConnectionArn: smithyClient.expectString,
1682
- ConnectionState: smithyClient.expectString,
1683
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1684
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1685
- });
1686
- };
1687
- const de_DeauthorizeConnectionResponse = (output, context) => {
1688
- return smithyClient.take(output, {
1689
- ConnectionArn: smithyClient.expectString,
1690
- ConnectionState: smithyClient.expectString,
1691
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1692
- LastAuthorizedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1693
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1694
- });
1695
- };
1696
- const de_DeleteConnectionResponse = (output, context) => {
1697
- return smithyClient.take(output, {
1698
- ConnectionArn: smithyClient.expectString,
1699
- ConnectionState: smithyClient.expectString,
1700
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1701
- LastAuthorizedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1702
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1703
- });
1704
- };
1705
- const de_DescribeApiDestinationResponse = (output, context) => {
1706
- return smithyClient.take(output, {
1707
- ApiDestinationArn: smithyClient.expectString,
1708
- ApiDestinationState: smithyClient.expectString,
1709
- ConnectionArn: smithyClient.expectString,
1710
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1711
- Description: smithyClient.expectString,
1712
- HttpMethod: smithyClient.expectString,
1713
- InvocationEndpoint: smithyClient.expectString,
1714
- InvocationRateLimitPerSecond: smithyClient.expectInt32,
1715
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1716
- Name: smithyClient.expectString,
1717
- });
1718
- };
1719
- const de_DescribeArchiveResponse = (output, context) => {
1720
- return smithyClient.take(output, {
1721
- ArchiveArn: smithyClient.expectString,
1722
- ArchiveName: smithyClient.expectString,
1723
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1724
- Description: smithyClient.expectString,
1725
- EventCount: smithyClient.expectLong,
1726
- EventPattern: smithyClient.expectString,
1727
- EventSourceArn: smithyClient.expectString,
1728
- RetentionDays: smithyClient.expectInt32,
1729
- SizeBytes: smithyClient.expectLong,
1730
- State: smithyClient.expectString,
1731
- StateReason: smithyClient.expectString,
1732
- });
1733
- };
1734
- const de_DescribeConnectionResponse = (output, context) => {
1735
- return smithyClient.take(output, {
1736
- AuthParameters: smithyClient._json,
1737
- AuthorizationType: smithyClient.expectString,
1738
- ConnectionArn: smithyClient.expectString,
1739
- ConnectionState: smithyClient.expectString,
1740
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1741
- Description: smithyClient.expectString,
1742
- LastAuthorizedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1743
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1744
- Name: smithyClient.expectString,
1745
- SecretArn: smithyClient.expectString,
1746
- StateReason: smithyClient.expectString,
1747
- });
1748
- };
1749
- const de_DescribeEventSourceResponse = (output, context) => {
1750
- return smithyClient.take(output, {
1751
- Arn: smithyClient.expectString,
1752
- CreatedBy: smithyClient.expectString,
1753
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1754
- ExpirationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1755
- Name: smithyClient.expectString,
1756
- State: smithyClient.expectString,
1757
- });
1758
- };
1759
- const de_DescribeReplayResponse = (output, context) => {
1760
- return smithyClient.take(output, {
1761
- Description: smithyClient.expectString,
1762
- Destination: smithyClient._json,
1763
- EventEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1764
- EventLastReplayedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1765
- EventSourceArn: smithyClient.expectString,
1766
- EventStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1767
- ReplayArn: smithyClient.expectString,
1768
- ReplayEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1769
- ReplayName: smithyClient.expectString,
1770
- ReplayStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1771
- State: smithyClient.expectString,
1772
- StateReason: smithyClient.expectString,
1773
- });
1774
- };
1775
- const de_EventSource = (output, context) => {
1776
- return smithyClient.take(output, {
1777
- Arn: smithyClient.expectString,
1778
- CreatedBy: smithyClient.expectString,
1779
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1780
- ExpirationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1781
- Name: smithyClient.expectString,
1782
- State: smithyClient.expectString,
1783
- });
1784
- };
1785
- const de_EventSourceList = (output, context) => {
1786
- const retVal = (output || [])
1787
- .filter((e) => e != null)
1788
- .map((entry) => {
1789
- return de_EventSource(entry);
1790
- });
1791
- return retVal;
1792
- };
1793
- const de_ListApiDestinationsResponse = (output, context) => {
1794
- return smithyClient.take(output, {
1795
- ApiDestinations: (_) => de_ApiDestinationResponseList(_),
1796
- NextToken: smithyClient.expectString,
1797
- });
1798
- };
1799
- const de_ListArchivesResponse = (output, context) => {
1800
- return smithyClient.take(output, {
1801
- Archives: (_) => de_ArchiveResponseList(_),
1802
- NextToken: smithyClient.expectString,
1803
- });
1804
- };
1805
- const de_ListConnectionsResponse = (output, context) => {
1806
- return smithyClient.take(output, {
1807
- Connections: (_) => de_ConnectionResponseList(_),
1808
- NextToken: smithyClient.expectString,
1809
- });
1810
- };
1811
- const de_ListEventSourcesResponse = (output, context) => {
1812
- return smithyClient.take(output, {
1813
- EventSources: (_) => de_EventSourceList(_),
1814
- NextToken: smithyClient.expectString,
1815
- });
1816
- };
1817
- const de_ListPartnerEventSourceAccountsResponse = (output, context) => {
1818
- return smithyClient.take(output, {
1819
- NextToken: smithyClient.expectString,
1820
- PartnerEventSourceAccounts: (_) => de_PartnerEventSourceAccountList(_),
1821
- });
1822
- };
1823
- const de_ListReplaysResponse = (output, context) => {
1824
- return smithyClient.take(output, {
1825
- NextToken: smithyClient.expectString,
1826
- Replays: (_) => de_ReplayList(_),
1827
- });
1828
- };
1829
- const de_PartnerEventSourceAccount = (output, context) => {
1830
- return smithyClient.take(output, {
1831
- Account: smithyClient.expectString,
1832
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1833
- ExpirationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1834
- State: smithyClient.expectString,
1835
- });
1836
- };
1837
- const de_PartnerEventSourceAccountList = (output, context) => {
1838
- const retVal = (output || [])
1839
- .filter((e) => e != null)
1840
- .map((entry) => {
1841
- return de_PartnerEventSourceAccount(entry);
1842
- });
1843
- return retVal;
1844
- };
1845
- const de_Replay = (output, context) => {
1846
- return smithyClient.take(output, {
1847
- EventEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1848
- EventLastReplayedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1849
- EventSourceArn: smithyClient.expectString,
1850
- EventStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1851
- ReplayEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1852
- ReplayName: smithyClient.expectString,
1853
- ReplayStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1854
- State: smithyClient.expectString,
1855
- StateReason: smithyClient.expectString,
1856
- });
1857
- };
1858
- const de_ReplayList = (output, context) => {
1859
- const retVal = (output || [])
1860
- .filter((e) => e != null)
1861
- .map((entry) => {
1862
- return de_Replay(entry);
1863
- });
1864
- return retVal;
1865
- };
1866
- const de_StartReplayResponse = (output, context) => {
1867
- return smithyClient.take(output, {
1868
- ReplayArn: smithyClient.expectString,
1869
- ReplayStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1870
- State: smithyClient.expectString,
1871
- StateReason: smithyClient.expectString,
1872
- });
1873
- };
1874
- const de_UpdateApiDestinationResponse = (output, context) => {
1875
- return smithyClient.take(output, {
1876
- ApiDestinationArn: smithyClient.expectString,
1877
- ApiDestinationState: smithyClient.expectString,
1878
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1879
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1880
- });
1881
- };
1882
- const de_UpdateArchiveResponse = (output, context) => {
1883
- return smithyClient.take(output, {
1884
- ArchiveArn: smithyClient.expectString,
1885
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1886
- State: smithyClient.expectString,
1887
- StateReason: smithyClient.expectString,
1888
- });
1889
- };
1890
- const de_UpdateConnectionResponse = (output, context) => {
1891
- return smithyClient.take(output, {
1892
- ConnectionArn: smithyClient.expectString,
1893
- ConnectionState: smithyClient.expectString,
1894
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1895
- LastAuthorizedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1896
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1897
- });
1898
- };
1899
- const deserializeMetadata = (output) => ({
1900
- httpStatusCode: output.statusCode,
1901
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1902
- extendedRequestId: output.headers["x-amz-id-2"],
1903
- cfId: output.headers["x-amz-cf-id"],
1904
- });
1905
- const throwDefaultError = smithyClient.withBaseException(CloudWatchEventsServiceException);
1906
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1907
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1908
- const contents = {
1909
- protocol,
1910
- hostname,
1911
- port,
1912
- method: "POST",
1913
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1914
- headers,
1915
- };
1916
- if (body !== undefined) {
1917
- contents.body = body;
1918
- }
1919
- return new protocolHttp.HttpRequest(contents);
1920
- };
1921
- function sharedHeaders(operation) {
1922
- return {
1923
- "content-type": "application/x-amz-json-1.1",
1924
- "x-amz-target": `AWSEvents.${operation}`,
1925
- };
1926
- }
330
+
331
+ const _A = "Archive";
332
+ const _AA = "ArchiveArn";
333
+ const _AD = "ApiDestination";
334
+ const _ADA = "ApiDestinationArn";
335
+ const _ADRL = "ApiDestinationResponseList";
336
+ const _ADS = "ApiDestinationState";
337
+ const _ADp = "ApiDestinations";
338
+ const _AE = "AuthorizationEndpoint";
339
+ const _AES = "ActivateEventSource";
340
+ const _AESR = "ActivateEventSourceRequest";
341
+ const _AHPS = "AuthHeaderParametersSensitive";
342
+ const _AKAP = "ApiKeyAuthParameters";
343
+ const _AKN = "ApiKeyName";
344
+ const _AKV = "ApiKeyValue";
345
+ const _AN = "ArchiveName";
346
+ const _AP = "ArrayProperties";
347
+ const _API = "AssignPublicIp";
348
+ const _APu = "AuthParameters";
349
+ const _ARL = "ArchiveResponseList";
350
+ const _AT = "AuthorizationType";
351
+ const _AVC = "AwsVpcConfiguration";
352
+ const _Ac = "Account";
353
+ const _Act = "Action";
354
+ const _Ar = "Arn";
355
+ const _Arc = "Archives";
356
+ const _At = "Attempts";
357
+ const _BAP = "BatchArrayProperties";
358
+ const _BAPa = "BasicAuthParameters";
359
+ const _BP = "BatchParameters";
360
+ const _BPo = "BodyParameters";
361
+ const _BRS = "BatchRetryStrategy";
362
+ const _C = "Condition";
363
+ const _CA = "ConnectionArn";
364
+ const _CAD = "CreateApiDestination";
365
+ const _CADR = "CreateApiDestinationRequest";
366
+ const _CADRr = "CreateApiDestinationResponse";
367
+ const _CAKARP = "ConnectionApiKeyAuthResponseParameters";
368
+ const _CAR = "CreateArchiveRequest";
369
+ const _CARP = "ConnectionAuthResponseParameters";
370
+ const _CARr = "CreateArchiveResponse";
371
+ const _CAr = "CreateArchive";
372
+ const _CB = "CreatedBy";
373
+ const _CBARP = "ConnectionBasicAuthResponseParameters";
374
+ const _CBP = "ConnectionBodyParameter";
375
+ const _CBPL = "ConnectionBodyParametersList";
376
+ const _CC = "CreateConnection";
377
+ const _CCAKARP = "CreateConnectionApiKeyAuthRequestParameters";
378
+ const _CCARP = "CreateConnectionAuthRequestParameters";
379
+ const _CCBARP = "CreateConnectionBasicAuthRequestParameters";
380
+ const _CCOACRP = "CreateConnectionOAuthClientRequestParameters";
381
+ const _CCOARP = "CreateConnectionOAuthRequestParameters";
382
+ const _CCR = "CreateConnectionRequest";
383
+ const _CCRr = "CreateConnectionResponse";
384
+ const _CEB = "CreateEventBus";
385
+ const _CEBR = "CreateEventBusRequest";
386
+ const _CEBRr = "CreateEventBusResponse";
387
+ const _CHP = "ConnectionHeaderParameter";
388
+ const _CHPL = "ConnectionHeaderParametersList";
389
+ const _CHPo = "ConnectionHttpParameters";
390
+ const _CID = "ClientID";
391
+ const _CME = "ConcurrentModificationException";
392
+ const _COACRP = "ConnectionOAuthClientResponseParameters";
393
+ const _COARP = "ConnectionOAuthResponseParameters";
394
+ const _CP = "ClientParameters";
395
+ const _CPES = "CreatePartnerEventSource";
396
+ const _CPESR = "CreatePartnerEventSourceRequest";
397
+ const _CPESRr = "CreatePartnerEventSourceResponse";
398
+ const _CPS = "CapacityProviderStrategy";
399
+ const _CPSI = "CapacityProviderStrategyItem";
400
+ const _CQSP = "ConnectionQueryStringParameter";
401
+ const _CQSPL = "ConnectionQueryStringParametersList";
402
+ const _CR = "CancelReplay";
403
+ const _CRL = "ConnectionResponseList";
404
+ const _CRR = "CancelReplayRequest";
405
+ const _CRRa = "CancelReplayResponse";
406
+ const _CS = "ConnectionState";
407
+ const _CSl = "ClientSecret";
408
+ const _CT = "CreationTime";
409
+ const _Co = "Connection";
410
+ const _Con = "Connections";
411
+ const _D = "Description";
412
+ const _DA = "DeleteArchive";
413
+ const _DAD = "DeleteApiDestination";
414
+ const _DADR = "DeleteApiDestinationRequest";
415
+ const _DADRe = "DeleteApiDestinationResponse";
416
+ const _DADRes = "DescribeApiDestinationRequest";
417
+ const _DADResc = "DescribeApiDestinationResponse";
418
+ const _DADe = "DescribeApiDestination";
419
+ const _DAR = "DeleteArchiveRequest";
420
+ const _DARe = "DeleteArchiveResponse";
421
+ const _DARes = "DescribeArchiveRequest";
422
+ const _DAResc = "DescribeArchiveResponse";
423
+ const _DAe = "DescribeArchive";
424
+ const _DC = "DeauthorizeConnection";
425
+ const _DCR = "DeauthorizeConnectionRequest";
426
+ const _DCRe = "DeauthorizeConnectionResponse";
427
+ const _DCRel = "DeleteConnectionRequest";
428
+ const _DCRele = "DeleteConnectionResponse";
429
+ const _DCRes = "DescribeConnectionRequest";
430
+ const _DCResc = "DescribeConnectionResponse";
431
+ const _DCe = "DeleteConnection";
432
+ const _DCes = "DescribeConnection";
433
+ const _DEB = "DeleteEventBus";
434
+ const _DEBR = "DeleteEventBusRequest";
435
+ const _DEBRe = "DescribeEventBusRequest";
436
+ const _DEBRes = "DescribeEventBusResponse";
437
+ const _DEBe = "DescribeEventBus";
438
+ const _DES = "DeactivateEventSource";
439
+ const _DESR = "DeactivateEventSourceRequest";
440
+ const _DESRe = "DescribeEventSourceRequest";
441
+ const _DESRes = "DescribeEventSourceResponse";
442
+ const _DESe = "DescribeEventSource";
443
+ const _DLC = "DeadLetterConfig";
444
+ const _DPES = "DeletePartnerEventSource";
445
+ const _DPESR = "DeletePartnerEventSourceRequest";
446
+ const _DPESRe = "DescribePartnerEventSourceRequest";
447
+ const _DPESRes = "DescribePartnerEventSourceResponse";
448
+ const _DPESe = "DescribePartnerEventSource";
449
+ const _DR = "DeleteRule";
450
+ const _DRR = "DeleteRuleRequest";
451
+ const _DRRe = "DescribeReplayRequest";
452
+ const _DRRes = "DescribeReplayResponse";
453
+ const _DRResc = "DescribeRuleRequest";
454
+ const _DRRescr = "DescribeRuleResponse";
455
+ const _DRRi = "DisableRuleRequest";
456
+ const _DRe = "DescribeReplay";
457
+ const _DRes = "DescribeRule";
458
+ const _DRi = "DisableRule";
459
+ const _DT = "DetailType";
460
+ const _DU = "DbUser";
461
+ const _Da = "Database";
462
+ const _De = "Destination";
463
+ const _Det = "Detail";
464
+ const _E = "Entries";
465
+ const _EB = "EventBus";
466
+ const _EBA = "EventBusArn";
467
+ const _EBL = "EventBusList";
468
+ const _EBN = "EventBusName";
469
+ const _EBv = "EventBuses";
470
+ const _EC = "EventCount";
471
+ const _ECr = "ErrorCode";
472
+ const _EEC = "EnableExecuteCommand";
473
+ const _EECSMT = "EnableECSManagedTags";
474
+ const _EET = "EventEndTime";
475
+ const _EI = "EventId";
476
+ const _ELRT = "EventLastReplayedTime";
477
+ const _EM = "ErrorMessage";
478
+ const _EP = "EventPattern";
479
+ const _EPc = "EcsParameters";
480
+ const _ER = "EnableRule";
481
+ const _ERR = "EnableRuleRequest";
482
+ const _ES = "EventSource";
483
+ const _ESA = "EventSourceArn";
484
+ const _ESL = "EventSourceList";
485
+ const _ESN = "EventSourceName";
486
+ const _EST = "EventStartTime";
487
+ const _ESv = "EventSources";
488
+ const _ET = "ExpirationTime";
489
+ const _Ev = "Event";
490
+ const _F = "Force";
491
+ const _FA = "FilterArns";
492
+ const _FE = "FailedEntries";
493
+ const _FEC = "FailedEntryCount";
494
+ const _G = "Group";
495
+ const _HM = "HttpMethod";
496
+ const _HP = "HeaderParameters";
497
+ const _HPt = "HttpParameters";
498
+ const _HVS = "HeaderValueSensitive";
499
+ const _I = "Ids";
500
+ const _IE = "InvocationEndpoint";
501
+ const _IEPE = "InvalidEventPatternException";
502
+ const _IEn = "InternalException";
503
+ const _IHP = "InvocationHttpParameters";
504
+ const _IP = "InputPath";
505
+ const _IPM = "InputPathsMap";
506
+ const _IRLPS = "InvocationRateLimitPerSecond";
507
+ const _ISE = "IllegalStatusException";
508
+ const _ISEn = "InvalidStateException";
509
+ const _IT = "InputTransformer";
510
+ const _ITn = "InputTemplate";
511
+ const _IVS = "IsValueSecret";
512
+ const _Id = "Id";
513
+ const _In = "Input";
514
+ const _JD = "JobDefinition";
515
+ const _JN = "JobName";
516
+ const _K = "Key";
517
+ const _KP = "KinesisParameters";
518
+ const _L = "Limit";
519
+ const _LA = "ListArchives";
520
+ const _LAD = "ListApiDestinations";
521
+ const _LADR = "ListApiDestinationsRequest";
522
+ const _LADRi = "ListApiDestinationsResponse";
523
+ const _LAR = "ListArchivesRequest";
524
+ const _LARi = "ListArchivesResponse";
525
+ const _LAT = "LastAuthorizedTime";
526
+ const _LC = "ListConnections";
527
+ const _LCR = "ListConnectionsRequest";
528
+ const _LCRi = "ListConnectionsResponse";
529
+ const _LEB = "ListEventBuses";
530
+ const _LEBR = "ListEventBusesRequest";
531
+ const _LEBRi = "ListEventBusesResponse";
532
+ const _LEE = "LimitExceededException";
533
+ const _LES = "ListEventSources";
534
+ const _LESR = "ListEventSourcesRequest";
535
+ const _LESRi = "ListEventSourcesResponse";
536
+ const _LMT = "LastModifiedTime";
537
+ const _LPES = "ListPartnerEventSources";
538
+ const _LPESA = "ListPartnerEventSourceAccounts";
539
+ const _LPESAR = "ListPartnerEventSourceAccountsRequest";
540
+ const _LPESARi = "ListPartnerEventSourceAccountsResponse";
541
+ const _LPESR = "ListPartnerEventSourcesRequest";
542
+ const _LPESRi = "ListPartnerEventSourcesResponse";
543
+ const _LR = "ListReplays";
544
+ const _LRNBT = "ListRuleNamesByTarget";
545
+ const _LRNBTR = "ListRuleNamesByTargetRequest";
546
+ const _LRNBTRi = "ListRuleNamesByTargetResponse";
547
+ const _LRR = "ListReplaysRequest";
548
+ const _LRRi = "ListReplaysResponse";
549
+ const _LRRis = "ListRulesRequest";
550
+ const _LRRist = "ListRulesResponse";
551
+ const _LRi = "ListRules";
552
+ const _LT = "LaunchType";
553
+ const _LTBR = "ListTargetsByRule";
554
+ const _LTBRR = "ListTargetsByRuleRequest";
555
+ const _LTBRRi = "ListTargetsByRuleResponse";
556
+ const _LTFR = "ListTagsForResource";
557
+ const _LTFRR = "ListTagsForResourceRequest";
558
+ const _LTFRRi = "ListTagsForResourceResponse";
559
+ const _MB = "ManagedBy";
560
+ const _MEAIS = "MaximumEventAgeInSeconds";
561
+ const _MGI = "MessageGroupId";
562
+ const _MRA = "MaximumRetryAttempts";
563
+ const _MRE = "ManagedRuleException";
564
+ const _N = "Name";
565
+ const _NC = "NetworkConfiguration";
566
+ const _NP = "NamePrefix";
567
+ const _NT = "NextToken";
568
+ const _OAHP = "OAuthHttpParameters";
569
+ const _OAP = "OAuthParameters";
570
+ const _ODE = "OperationDisabledException";
571
+ const _P = "Password";
572
+ const _PC = "PlacementConstraints";
573
+ const _PCl = "PlacementConstraint";
574
+ const _PE = "PutEvents";
575
+ const _PER = "PutEventsRequest";
576
+ const _PERE = "PutEventsRequestEntry";
577
+ const _PEREL = "PutEventsRequestEntryList";
578
+ const _PERELu = "PutEventsResultEntryList";
579
+ const _PEREu = "PutEventsResultEntry";
580
+ const _PERu = "PutEventsResponse";
581
+ const _PES = "PartnerEventSources";
582
+ const _PESA = "PartnerEventSourceAccounts";
583
+ const _PESAL = "PartnerEventSourceAccountList";
584
+ const _PESAa = "PartnerEventSourceAccount";
585
+ const _PESL = "PartnerEventSourceList";
586
+ const _PESa = "PartnerEventSource";
587
+ const _PKP = "PartitionKeyPath";
588
+ const _PLEE = "PolicyLengthExceededException";
589
+ const _PP = "PutPermission";
590
+ const _PPE = "PutPartnerEvents";
591
+ const _PPER = "PutPartnerEventsRequest";
592
+ const _PPERE = "PutPartnerEventsRequestEntry";
593
+ const _PPEREL = "PutPartnerEventsRequestEntryList";
594
+ const _PPERELu = "PutPartnerEventsResultEntryList";
595
+ const _PPEREu = "PutPartnerEventsResultEntry";
596
+ const _PPERu = "PutPartnerEventsResponse";
597
+ const _PPL = "PipelineParameterList";
598
+ const _PPR = "PutPermissionRequest";
599
+ const _PPV = "PathParameterValues";
600
+ const _PR = "PutRule";
601
+ const _PRR = "PutRuleRequest";
602
+ const _PRRu = "PutRuleResponse";
603
+ const _PS = "PlacementStrategy";
604
+ const _PSl = "PlacementStrategies";
605
+ const _PT = "PropagateTags";
606
+ const _PTR = "PutTargetsRequest";
607
+ const _PTRE = "PutTargetsResultEntry";
608
+ const _PTREL = "PutTargetsResultEntryList";
609
+ const _PTRu = "PutTargetsResponse";
610
+ const _PTu = "PutTargets";
611
+ const _PV = "PlatformVersion";
612
+ const _Po = "Policy";
613
+ const _Pr = "Principal";
614
+ const _QSP = "QueryStringParameters";
615
+ const _QSVS = "QueryStringValueSensitive";
616
+ const _R = "Replays";
617
+ const _RA = "ReplayArn";
618
+ const _RAEE = "ResourceAlreadyExistsException";
619
+ const _RAP = "RemoveAllPermissions";
620
+ const _RARN = "ResourceARN";
621
+ const _RAo = "RoleArn";
622
+ const _RAu = "RuleArn";
623
+ const _RCP = "RunCommandParameters";
624
+ const _RCT = "RunCommandTargets";
625
+ const _RCTu = "RunCommandTarget";
626
+ const _RD = "RetentionDays";
627
+ const _RDP = "RedshiftDataParameters";
628
+ const _RDe = "ReplayDestination";
629
+ const _RET = "ReplayEndTime";
630
+ const _RI = "ReferenceId";
631
+ const _RL = "ReplayList";
632
+ const _RN = "ReplayName";
633
+ const _RNFE = "ResourceNotFoundException";
634
+ const _RNu = "RuleNames";
635
+ const _RP = "RetryPolicy";
636
+ const _RPR = "RemovePermissionRequest";
637
+ const _RPe = "RemovePermission";
638
+ const _RRL = "RuleResponseList";
639
+ const _RS = "RetryStrategy";
640
+ const _RST = "ReplayStartTime";
641
+ const _RT = "RemoveTargets";
642
+ const _RTR = "RemoveTargetsRequest";
643
+ const _RTRE = "RemoveTargetsResultEntry";
644
+ const _RTREL = "RemoveTargetsResultEntryList";
645
+ const _RTRe = "RemoveTargetsResponse";
646
+ const _Re = "Resources";
647
+ const _Rep = "Replay";
648
+ const _Res = "Result";
649
+ const _Ru = "Rules";
650
+ const _Rul = "Rule";
651
+ const _S = "State";
652
+ const _SA = "SecretArn";
653
+ const _SB = "SizeBytes";
654
+ const _SE = "ScheduleExpression";
655
+ const _SG = "SecurityGroups";
656
+ const _SI = "StatementId";
657
+ const _SMA = "SecretManagerArn";
658
+ const _SMPP = "SageMakerPipelineParameter";
659
+ const _SMPPL = "SageMakerPipelineParameterList";
660
+ const _SMPPa = "SageMakerPipelineParameters";
661
+ const _SN = "StatementName";
662
+ const _SP = "SqsParameters";
663
+ const _SR = "StateReason";
664
+ const _SRR = "StartReplayRequest";
665
+ const _SRRt = "StartReplayResponse";
666
+ const _SRt = "StartReplay";
667
+ const _SS = "SensitiveString";
668
+ const _Si = "Size";
669
+ const _So = "Source";
670
+ const _Sq = "Sql";
671
+ const _Su = "Subnets";
672
+ const _T = "Type";
673
+ const _TA = "TargetArn";
674
+ const _TC = "TaskCount";
675
+ const _TDA = "TaskDefinitionArn";
676
+ const _TEP = "TestEventPattern";
677
+ const _TEPR = "TestEventPatternRequest";
678
+ const _TEPRe = "TestEventPatternResponse";
679
+ const _TH = "TraceHeader";
680
+ const _TI = "TargetId";
681
+ const _TK = "TagKeys";
682
+ const _TL = "TagList";
683
+ const _TLa = "TargetList";
684
+ const _TR = "TagResource";
685
+ const _TRR = "TagResourceRequest";
686
+ const _TRRa = "TagResourceResponse";
687
+ const _Ta = "Tags";
688
+ const _Tag = "Tag";
689
+ const _Tar = "Targets";
690
+ const _Targ = "Target";
691
+ const _Ti = "Time";
692
+ const _U = "Username";
693
+ const _UA = "UpdateArchive";
694
+ const _UAD = "UpdateApiDestination";
695
+ const _UADR = "UpdateApiDestinationRequest";
696
+ const _UADRp = "UpdateApiDestinationResponse";
697
+ const _UAR = "UpdateArchiveRequest";
698
+ const _UARp = "UpdateArchiveResponse";
699
+ const _UC = "UpdateConnection";
700
+ const _UCAKARP = "UpdateConnectionApiKeyAuthRequestParameters";
701
+ const _UCARP = "UpdateConnectionAuthRequestParameters";
702
+ const _UCBARP = "UpdateConnectionBasicAuthRequestParameters";
703
+ const _UCOACRP = "UpdateConnectionOAuthClientRequestParameters";
704
+ const _UCOARP = "UpdateConnectionOAuthRequestParameters";
705
+ const _UCR = "UpdateConnectionRequest";
706
+ const _UCRp = "UpdateConnectionResponse";
707
+ const _UR = "UntagResource";
708
+ const _URR = "UntagResourceRequest";
709
+ const _URRn = "UntagResourceResponse";
710
+ const _V = "Value";
711
+ const _Va = "Values";
712
+ const _WE = "WithEvent";
713
+ const _aC = "awsvpcConfiguration";
714
+ const _b = "base";
715
+ const _c = "client";
716
+ const _cP = "capacityProvider";
717
+ const _e = "error";
718
+ const _ex = "expression";
719
+ const _f = "field";
720
+ const _m = "message";
721
+ const _s = "server";
722
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudwatchevents";
723
+ const _t = "type";
724
+ const _w = "weight";
725
+ const n0 = "com.amazonaws.cloudwatchevents";
726
+ var AuthHeaderParametersSensitive = [0, n0, _AHPS, 8, 0];
727
+ var HeaderValueSensitive = [0, n0, _HVS, 8, 0];
728
+ var QueryStringValueSensitive = [0, n0, _QSVS, 8, 0];
729
+ var SensitiveString = [0, n0, _SS, 8, 0];
730
+ var ActivateEventSourceRequest = [3, n0, _AESR, 0, [_N], [0]];
731
+ var ApiDestination = [
732
+ 3,
733
+ n0,
734
+ _AD,
735
+ 0,
736
+ [_ADA, _N, _ADS, _CA, _IE, _HM, _IRLPS, _CT, _LMT],
737
+ [0, 0, 0, 0, 0, 0, 1, 4, 4],
738
+ ];
739
+ var Archive = [
740
+ 3,
741
+ n0,
742
+ _A,
743
+ 0,
744
+ [_AN, _ESA, _S, _SR, _RD, _SB, _EC, _CT],
745
+ [0, 0, 0, 0, 1, 1, 1, 4],
746
+ ];
747
+ var AwsVpcConfiguration = [3, n0, _AVC, 0, [_Su, _SG, _API], [64 | 0, 64 | 0, 0]];
748
+ var BatchArrayProperties = [3, n0, _BAP, 0, [_Si], [1]];
749
+ var BatchParameters = [
750
+ 3,
751
+ n0,
752
+ _BP,
753
+ 0,
754
+ [_JD, _JN, _AP, _RS],
755
+ [0, 0, () => BatchArrayProperties, () => BatchRetryStrategy],
756
+ ];
757
+ var BatchRetryStrategy = [3, n0, _BRS, 0, [_At], [1]];
758
+ var CancelReplayRequest = [3, n0, _CRR, 0, [_RN], [0]];
759
+ var CancelReplayResponse = [3, n0, _CRRa, 0, [_RA, _S, _SR], [0, 0, 0]];
760
+ var CapacityProviderStrategyItem = [3, n0, _CPSI, 0, [_cP, _w, _b], [0, 1, 1]];
761
+ var ConcurrentModificationException = [
762
+ -3,
763
+ n0,
764
+ _CME,
765
+ {
766
+ [_e]: _c,
767
+ },
768
+ [_m],
769
+ [0],
770
+ ];
771
+ schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException, ConcurrentModificationException$1);
772
+ var Condition = [3, n0, _C, 0, [_T, _K, _V], [0, 0, 0]];
773
+ var Connection = [
774
+ 3,
775
+ n0,
776
+ _Co,
777
+ 0,
778
+ [_CA, _N, _CS, _SR, _AT, _CT, _LMT, _LAT],
779
+ [0, 0, 0, 0, 0, 4, 4, 4],
780
+ ];
781
+ var ConnectionApiKeyAuthResponseParameters = [3, n0, _CAKARP, 0, [_AKN], [0]];
782
+ var ConnectionAuthResponseParameters = [
783
+ 3,
784
+ n0,
785
+ _CARP,
786
+ 0,
787
+ [_BAPa, _OAP, _AKAP, _IHP],
788
+ [
789
+ () => ConnectionBasicAuthResponseParameters,
790
+ [() => ConnectionOAuthResponseParameters, 0],
791
+ () => ConnectionApiKeyAuthResponseParameters,
792
+ [() => ConnectionHttpParameters, 0],
793
+ ],
794
+ ];
795
+ var ConnectionBasicAuthResponseParameters = [3, n0, _CBARP, 0, [_U], [0]];
796
+ var ConnectionBodyParameter = [
797
+ 3,
798
+ n0,
799
+ _CBP,
800
+ 0,
801
+ [_K, _V, _IVS],
802
+ [0, [() => SensitiveString, 0], 2],
803
+ ];
804
+ var ConnectionHeaderParameter = [
805
+ 3,
806
+ n0,
807
+ _CHP,
808
+ 0,
809
+ [_K, _V, _IVS],
810
+ [0, [() => HeaderValueSensitive, 0], 2],
811
+ ];
812
+ var ConnectionHttpParameters = [
813
+ 3,
814
+ n0,
815
+ _CHPo,
816
+ 0,
817
+ [_HP, _QSP, _BPo],
818
+ [
819
+ [() => ConnectionHeaderParametersList, 0],
820
+ [() => ConnectionQueryStringParametersList, 0],
821
+ [() => ConnectionBodyParametersList, 0],
822
+ ],
823
+ ];
824
+ var ConnectionOAuthClientResponseParameters = [3, n0, _COACRP, 0, [_CID], [0]];
825
+ var ConnectionOAuthResponseParameters = [
826
+ 3,
827
+ n0,
828
+ _COARP,
829
+ 0,
830
+ [_CP, _AE, _HM, _OAHP],
831
+ [() => ConnectionOAuthClientResponseParameters, 0, 0, [() => ConnectionHttpParameters, 0]],
832
+ ];
833
+ var ConnectionQueryStringParameter = [
834
+ 3,
835
+ n0,
836
+ _CQSP,
837
+ 0,
838
+ [_K, _V, _IVS],
839
+ [0, [() => QueryStringValueSensitive, 0], 2],
840
+ ];
841
+ var CreateApiDestinationRequest = [
842
+ 3,
843
+ n0,
844
+ _CADR,
845
+ 0,
846
+ [_N, _D, _CA, _IE, _HM, _IRLPS],
847
+ [0, 0, 0, 0, 0, 1],
848
+ ];
849
+ var CreateApiDestinationResponse = [
850
+ 3,
851
+ n0,
852
+ _CADRr,
853
+ 0,
854
+ [_ADA, _ADS, _CT, _LMT],
855
+ [0, 0, 4, 4],
856
+ ];
857
+ var CreateArchiveRequest = [3, n0, _CAR, 0, [_AN, _ESA, _D, _EP, _RD], [0, 0, 0, 0, 1]];
858
+ var CreateArchiveResponse = [3, n0, _CARr, 0, [_AA, _S, _SR, _CT], [0, 0, 0, 4]];
859
+ var CreateConnectionApiKeyAuthRequestParameters = [
860
+ 3,
861
+ n0,
862
+ _CCAKARP,
863
+ 0,
864
+ [_AKN, _AKV],
865
+ [0, [() => AuthHeaderParametersSensitive, 0]],
866
+ ];
867
+ var CreateConnectionAuthRequestParameters = [
868
+ 3,
869
+ n0,
870
+ _CCARP,
871
+ 0,
872
+ [_BAPa, _OAP, _AKAP, _IHP],
873
+ [
874
+ [() => CreateConnectionBasicAuthRequestParameters, 0],
875
+ [() => CreateConnectionOAuthRequestParameters, 0],
876
+ [() => CreateConnectionApiKeyAuthRequestParameters, 0],
877
+ [() => ConnectionHttpParameters, 0],
878
+ ],
879
+ ];
880
+ var CreateConnectionBasicAuthRequestParameters = [
881
+ 3,
882
+ n0,
883
+ _CCBARP,
884
+ 0,
885
+ [_U, _P],
886
+ [0, [() => AuthHeaderParametersSensitive, 0]],
887
+ ];
888
+ var CreateConnectionOAuthClientRequestParameters = [
889
+ 3,
890
+ n0,
891
+ _CCOACRP,
892
+ 0,
893
+ [_CID, _CSl],
894
+ [0, [() => AuthHeaderParametersSensitive, 0]],
895
+ ];
896
+ var CreateConnectionOAuthRequestParameters = [
897
+ 3,
898
+ n0,
899
+ _CCOARP,
900
+ 0,
901
+ [_CP, _AE, _HM, _OAHP],
902
+ [[() => CreateConnectionOAuthClientRequestParameters, 0], 0, 0, [() => ConnectionHttpParameters, 0]],
903
+ ];
904
+ var CreateConnectionRequest = [
905
+ 3,
906
+ n0,
907
+ _CCR,
908
+ 0,
909
+ [_N, _D, _AT, _APu],
910
+ [0, 0, 0, [() => CreateConnectionAuthRequestParameters, 0]],
911
+ ];
912
+ var CreateConnectionResponse = [3, n0, _CCRr, 0, [_CA, _CS, _CT, _LMT], [0, 0, 4, 4]];
913
+ var CreateEventBusRequest = [3, n0, _CEBR, 0, [_N, _ESN, _Ta], [0, 0, () => TagList]];
914
+ var CreateEventBusResponse = [3, n0, _CEBRr, 0, [_EBA], [0]];
915
+ var CreatePartnerEventSourceRequest = [3, n0, _CPESR, 0, [_N, _Ac], [0, 0]];
916
+ var CreatePartnerEventSourceResponse = [3, n0, _CPESRr, 0, [_ESA], [0]];
917
+ var DeactivateEventSourceRequest = [3, n0, _DESR, 0, [_N], [0]];
918
+ var DeadLetterConfig = [3, n0, _DLC, 0, [_Ar], [0]];
919
+ var DeauthorizeConnectionRequest = [3, n0, _DCR, 0, [_N], [0]];
920
+ var DeauthorizeConnectionResponse = [
921
+ 3,
922
+ n0,
923
+ _DCRe,
924
+ 0,
925
+ [_CA, _CS, _CT, _LMT, _LAT],
926
+ [0, 0, 4, 4, 4],
927
+ ];
928
+ var DeleteApiDestinationRequest = [3, n0, _DADR, 0, [_N], [0]];
929
+ var DeleteApiDestinationResponse = [3, n0, _DADRe, 0, [], []];
930
+ var DeleteArchiveRequest = [3, n0, _DAR, 0, [_AN], [0]];
931
+ var DeleteArchiveResponse = [3, n0, _DARe, 0, [], []];
932
+ var DeleteConnectionRequest = [3, n0, _DCRel, 0, [_N], [0]];
933
+ var DeleteConnectionResponse = [
934
+ 3,
935
+ n0,
936
+ _DCRele,
937
+ 0,
938
+ [_CA, _CS, _CT, _LMT, _LAT],
939
+ [0, 0, 4, 4, 4],
940
+ ];
941
+ var DeleteEventBusRequest = [3, n0, _DEBR, 0, [_N], [0]];
942
+ var DeletePartnerEventSourceRequest = [3, n0, _DPESR, 0, [_N, _Ac], [0, 0]];
943
+ var DeleteRuleRequest = [3, n0, _DRR, 0, [_N, _EBN, _F], [0, 0, 2]];
944
+ var DescribeApiDestinationRequest = [3, n0, _DADRes, 0, [_N], [0]];
945
+ var DescribeApiDestinationResponse = [
946
+ 3,
947
+ n0,
948
+ _DADResc,
949
+ 0,
950
+ [_ADA, _N, _D, _ADS, _CA, _IE, _HM, _IRLPS, _CT, _LMT],
951
+ [0, 0, 0, 0, 0, 0, 0, 1, 4, 4],
952
+ ];
953
+ var DescribeArchiveRequest = [3, n0, _DARes, 0, [_AN], [0]];
954
+ var DescribeArchiveResponse = [
955
+ 3,
956
+ n0,
957
+ _DAResc,
958
+ 0,
959
+ [_AA, _AN, _ESA, _D, _EP, _S, _SR, _RD, _SB, _EC, _CT],
960
+ [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 4],
961
+ ];
962
+ var DescribeConnectionRequest = [3, n0, _DCRes, 0, [_N], [0]];
963
+ var DescribeConnectionResponse = [
964
+ 3,
965
+ n0,
966
+ _DCResc,
967
+ 0,
968
+ [_CA, _N, _D, _CS, _SR, _AT, _SA, _APu, _CT, _LMT, _LAT],
969
+ [0, 0, 0, 0, 0, 0, 0, [() => ConnectionAuthResponseParameters, 0], 4, 4, 4],
970
+ ];
971
+ var DescribeEventBusRequest = [3, n0, _DEBRe, 0, [_N], [0]];
972
+ var DescribeEventBusResponse = [3, n0, _DEBRes, 0, [_N, _Ar, _Po], [0, 0, 0]];
973
+ var DescribeEventSourceRequest = [3, n0, _DESRe, 0, [_N], [0]];
974
+ var DescribeEventSourceResponse = [
975
+ 3,
976
+ n0,
977
+ _DESRes,
978
+ 0,
979
+ [_Ar, _CB, _CT, _ET, _N, _S],
980
+ [0, 0, 4, 4, 0, 0],
981
+ ];
982
+ var DescribePartnerEventSourceRequest = [3, n0, _DPESRe, 0, [_N], [0]];
983
+ var DescribePartnerEventSourceResponse = [3, n0, _DPESRes, 0, [_Ar, _N], [0, 0]];
984
+ var DescribeReplayRequest = [3, n0, _DRRe, 0, [_RN], [0]];
985
+ var DescribeReplayResponse = [
986
+ 3,
987
+ n0,
988
+ _DRRes,
989
+ 0,
990
+ [_RN, _RA, _D, _S, _SR, _ESA, _De, _EST, _EET, _ELRT, _RST, _RET],
991
+ [0, 0, 0, 0, 0, 0, () => ReplayDestination, 4, 4, 4, 4, 4],
992
+ ];
993
+ var DescribeRuleRequest = [3, n0, _DRResc, 0, [_N, _EBN], [0, 0]];
994
+ var DescribeRuleResponse = [
995
+ 3,
996
+ n0,
997
+ _DRRescr,
998
+ 0,
999
+ [_N, _Ar, _EP, _SE, _S, _D, _RAo, _MB, _EBN, _CB],
1000
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
1001
+ ];
1002
+ var DisableRuleRequest = [3, n0, _DRRi, 0, [_N, _EBN], [0, 0]];
1003
+ var EcsParameters = [
1004
+ 3,
1005
+ n0,
1006
+ _EPc,
1007
+ 0,
1008
+ [_TDA, _TC, _LT, _NC, _PV, _G, _CPS, _EECSMT, _EEC, _PC, _PS, _PT, _RI, _Ta],
1009
+ [
1010
+ 0,
1011
+ 1,
1012
+ 0,
1013
+ () => NetworkConfiguration,
1014
+ 0,
1015
+ 0,
1016
+ () => CapacityProviderStrategy,
1017
+ 2,
1018
+ 2,
1019
+ () => PlacementConstraints,
1020
+ () => PlacementStrategies,
1021
+ 0,
1022
+ 0,
1023
+ () => TagList,
1024
+ ],
1025
+ ];
1026
+ var EnableRuleRequest = [3, n0, _ERR, 0, [_N, _EBN], [0, 0]];
1027
+ var EventBus = [3, n0, _EB, 0, [_N, _Ar, _Po], [0, 0, 0]];
1028
+ var EventSource = [3, n0, _ES, 0, [_Ar, _CB, _CT, _ET, _N, _S], [0, 0, 4, 4, 0, 0]];
1029
+ var HttpParameters = [3, n0, _HPt, 0, [_PPV, _HP, _QSP], [64 | 0, 128 | 0, 128 | 0]];
1030
+ var IllegalStatusException = [
1031
+ -3,
1032
+ n0,
1033
+ _ISE,
1034
+ {
1035
+ [_e]: _c,
1036
+ },
1037
+ [_m],
1038
+ [0],
1039
+ ];
1040
+ schema.TypeRegistry.for(n0).registerError(IllegalStatusException, IllegalStatusException$1);
1041
+ var InputTransformer = [3, n0, _IT, 0, [_IPM, _ITn], [128 | 0, 0]];
1042
+ var InternalException = [
1043
+ -3,
1044
+ n0,
1045
+ _IEn,
1046
+ {
1047
+ [_e]: _s,
1048
+ },
1049
+ [_m],
1050
+ [0],
1051
+ ];
1052
+ schema.TypeRegistry.for(n0).registerError(InternalException, InternalException$1);
1053
+ var InvalidEventPatternException = [
1054
+ -3,
1055
+ n0,
1056
+ _IEPE,
1057
+ {
1058
+ [_e]: _c,
1059
+ },
1060
+ [_m],
1061
+ [0],
1062
+ ];
1063
+ schema.TypeRegistry.for(n0).registerError(InvalidEventPatternException, InvalidEventPatternException$1);
1064
+ var InvalidStateException = [
1065
+ -3,
1066
+ n0,
1067
+ _ISEn,
1068
+ {
1069
+ [_e]: _c,
1070
+ },
1071
+ [_m],
1072
+ [0],
1073
+ ];
1074
+ schema.TypeRegistry.for(n0).registerError(InvalidStateException, InvalidStateException$1);
1075
+ var KinesisParameters = [3, n0, _KP, 0, [_PKP], [0]];
1076
+ var LimitExceededException = [
1077
+ -3,
1078
+ n0,
1079
+ _LEE,
1080
+ {
1081
+ [_e]: _c,
1082
+ },
1083
+ [_m],
1084
+ [0],
1085
+ ];
1086
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
1087
+ var ListApiDestinationsRequest = [3, n0, _LADR, 0, [_NP, _CA, _NT, _L], [0, 0, 0, 1]];
1088
+ var ListApiDestinationsResponse = [
1089
+ 3,
1090
+ n0,
1091
+ _LADRi,
1092
+ 0,
1093
+ [_ADp, _NT],
1094
+ [() => ApiDestinationResponseList, 0],
1095
+ ];
1096
+ var ListArchivesRequest = [3, n0, _LAR, 0, [_NP, _ESA, _S, _NT, _L], [0, 0, 0, 0, 1]];
1097
+ var ListArchivesResponse = [3, n0, _LARi, 0, [_Arc, _NT], [() => ArchiveResponseList, 0]];
1098
+ var ListConnectionsRequest = [3, n0, _LCR, 0, [_NP, _CS, _NT, _L], [0, 0, 0, 1]];
1099
+ var ListConnectionsResponse = [
1100
+ 3,
1101
+ n0,
1102
+ _LCRi,
1103
+ 0,
1104
+ [_Con, _NT],
1105
+ [() => ConnectionResponseList, 0],
1106
+ ];
1107
+ var ListEventBusesRequest = [3, n0, _LEBR, 0, [_NP, _NT, _L], [0, 0, 1]];
1108
+ var ListEventBusesResponse = [3, n0, _LEBRi, 0, [_EBv, _NT], [() => EventBusList, 0]];
1109
+ var ListEventSourcesRequest = [3, n0, _LESR, 0, [_NP, _NT, _L], [0, 0, 1]];
1110
+ var ListEventSourcesResponse = [
1111
+ 3,
1112
+ n0,
1113
+ _LESRi,
1114
+ 0,
1115
+ [_ESv, _NT],
1116
+ [() => EventSourceList, 0],
1117
+ ];
1118
+ var ListPartnerEventSourceAccountsRequest = [
1119
+ 3,
1120
+ n0,
1121
+ _LPESAR,
1122
+ 0,
1123
+ [_ESN, _NT, _L],
1124
+ [0, 0, 1],
1125
+ ];
1126
+ var ListPartnerEventSourceAccountsResponse = [
1127
+ 3,
1128
+ n0,
1129
+ _LPESARi,
1130
+ 0,
1131
+ [_PESA, _NT],
1132
+ [() => PartnerEventSourceAccountList, 0],
1133
+ ];
1134
+ var ListPartnerEventSourcesRequest = [3, n0, _LPESR, 0, [_NP, _NT, _L], [0, 0, 1]];
1135
+ var ListPartnerEventSourcesResponse = [
1136
+ 3,
1137
+ n0,
1138
+ _LPESRi,
1139
+ 0,
1140
+ [_PES, _NT],
1141
+ [() => PartnerEventSourceList, 0],
1142
+ ];
1143
+ var ListReplaysRequest = [3, n0, _LRR, 0, [_NP, _S, _ESA, _NT, _L], [0, 0, 0, 0, 1]];
1144
+ var ListReplaysResponse = [3, n0, _LRRi, 0, [_R, _NT], [() => ReplayList, 0]];
1145
+ var ListRuleNamesByTargetRequest = [
1146
+ 3,
1147
+ n0,
1148
+ _LRNBTR,
1149
+ 0,
1150
+ [_TA, _EBN, _NT, _L],
1151
+ [0, 0, 0, 1],
1152
+ ];
1153
+ var ListRuleNamesByTargetResponse = [3, n0, _LRNBTRi, 0, [_RNu, _NT], [64 | 0, 0]];
1154
+ var ListRulesRequest = [3, n0, _LRRis, 0, [_NP, _EBN, _NT, _L], [0, 0, 0, 1]];
1155
+ var ListRulesResponse = [3, n0, _LRRist, 0, [_Ru, _NT], [() => RuleResponseList, 0]];
1156
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
1157
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_Ta], [() => TagList]];
1158
+ var ListTargetsByRuleRequest = [3, n0, _LTBRR, 0, [_Rul, _EBN, _NT, _L], [0, 0, 0, 1]];
1159
+ var ListTargetsByRuleResponse = [3, n0, _LTBRRi, 0, [_Tar, _NT], [() => TargetList, 0]];
1160
+ var ManagedRuleException = [
1161
+ -3,
1162
+ n0,
1163
+ _MRE,
1164
+ {
1165
+ [_e]: _c,
1166
+ },
1167
+ [_m],
1168
+ [0],
1169
+ ];
1170
+ schema.TypeRegistry.for(n0).registerError(ManagedRuleException, ManagedRuleException$1);
1171
+ var NetworkConfiguration = [3, n0, _NC, 0, [_aC], [() => AwsVpcConfiguration]];
1172
+ var OperationDisabledException = [
1173
+ -3,
1174
+ n0,
1175
+ _ODE,
1176
+ {
1177
+ [_e]: _c,
1178
+ },
1179
+ [_m],
1180
+ [0],
1181
+ ];
1182
+ schema.TypeRegistry.for(n0).registerError(OperationDisabledException, OperationDisabledException$1);
1183
+ var PartnerEventSource = [3, n0, _PESa, 0, [_Ar, _N], [0, 0]];
1184
+ var PartnerEventSourceAccount = [3, n0, _PESAa, 0, [_Ac, _CT, _ET, _S], [0, 4, 4, 0]];
1185
+ var PlacementConstraint = [3, n0, _PCl, 0, [_t, _ex], [0, 0]];
1186
+ var PlacementStrategy = [3, n0, _PS, 0, [_t, _f], [0, 0]];
1187
+ var PolicyLengthExceededException = [
1188
+ -3,
1189
+ n0,
1190
+ _PLEE,
1191
+ {
1192
+ [_e]: _c,
1193
+ },
1194
+ [_m],
1195
+ [0],
1196
+ ];
1197
+ schema.TypeRegistry.for(n0).registerError(PolicyLengthExceededException, PolicyLengthExceededException$1);
1198
+ var PutEventsRequest = [3, n0, _PER, 0, [_E], [() => PutEventsRequestEntryList]];
1199
+ var PutEventsRequestEntry = [
1200
+ 3,
1201
+ n0,
1202
+ _PERE,
1203
+ 0,
1204
+ [_Ti, _So, _Re, _DT, _Det, _EBN, _TH],
1205
+ [4, 0, 64 | 0, 0, 0, 0, 0],
1206
+ ];
1207
+ var PutEventsResponse = [
1208
+ 3,
1209
+ n0,
1210
+ _PERu,
1211
+ 0,
1212
+ [_FEC, _E],
1213
+ [1, () => PutEventsResultEntryList],
1214
+ ];
1215
+ var PutEventsResultEntry = [3, n0, _PEREu, 0, [_EI, _ECr, _EM], [0, 0, 0]];
1216
+ var PutPartnerEventsRequest = [
1217
+ 3,
1218
+ n0,
1219
+ _PPER,
1220
+ 0,
1221
+ [_E],
1222
+ [() => PutPartnerEventsRequestEntryList],
1223
+ ];
1224
+ var PutPartnerEventsRequestEntry = [
1225
+ 3,
1226
+ n0,
1227
+ _PPERE,
1228
+ 0,
1229
+ [_Ti, _So, _Re, _DT, _Det],
1230
+ [4, 0, 64 | 0, 0, 0],
1231
+ ];
1232
+ var PutPartnerEventsResponse = [
1233
+ 3,
1234
+ n0,
1235
+ _PPERu,
1236
+ 0,
1237
+ [_FEC, _E],
1238
+ [1, () => PutPartnerEventsResultEntryList],
1239
+ ];
1240
+ var PutPartnerEventsResultEntry = [3, n0, _PPEREu, 0, [_EI, _ECr, _EM], [0, 0, 0]];
1241
+ var PutPermissionRequest = [
1242
+ 3,
1243
+ n0,
1244
+ _PPR,
1245
+ 0,
1246
+ [_EBN, _Act, _Pr, _SI, _C, _Po],
1247
+ [0, 0, 0, 0, () => Condition, 0],
1248
+ ];
1249
+ var PutRuleRequest = [
1250
+ 3,
1251
+ n0,
1252
+ _PRR,
1253
+ 0,
1254
+ [_N, _SE, _EP, _S, _D, _RAo, _Ta, _EBN],
1255
+ [0, 0, 0, 0, 0, 0, () => TagList, 0],
1256
+ ];
1257
+ var PutRuleResponse = [3, n0, _PRRu, 0, [_RAu], [0]];
1258
+ var PutTargetsRequest = [3, n0, _PTR, 0, [_Rul, _EBN, _Tar], [0, 0, () => TargetList]];
1259
+ var PutTargetsResponse = [
1260
+ 3,
1261
+ n0,
1262
+ _PTRu,
1263
+ 0,
1264
+ [_FEC, _FE],
1265
+ [1, () => PutTargetsResultEntryList],
1266
+ ];
1267
+ var PutTargetsResultEntry = [3, n0, _PTRE, 0, [_TI, _ECr, _EM], [0, 0, 0]];
1268
+ var RedshiftDataParameters = [
1269
+ 3,
1270
+ n0,
1271
+ _RDP,
1272
+ 0,
1273
+ [_SMA, _Da, _DU, _Sq, _SN, _WE],
1274
+ [0, 0, 0, 0, 0, 2],
1275
+ ];
1276
+ var RemovePermissionRequest = [3, n0, _RPR, 0, [_SI, _RAP, _EBN], [0, 2, 0]];
1277
+ var RemoveTargetsRequest = [3, n0, _RTR, 0, [_Rul, _EBN, _I, _F], [0, 0, 64 | 0, 2]];
1278
+ var RemoveTargetsResponse = [
1279
+ 3,
1280
+ n0,
1281
+ _RTRe,
1282
+ 0,
1283
+ [_FEC, _FE],
1284
+ [1, () => RemoveTargetsResultEntryList],
1285
+ ];
1286
+ var RemoveTargetsResultEntry = [3, n0, _RTRE, 0, [_TI, _ECr, _EM], [0, 0, 0]];
1287
+ var Replay = [
1288
+ 3,
1289
+ n0,
1290
+ _Rep,
1291
+ 0,
1292
+ [_RN, _ESA, _S, _SR, _EST, _EET, _ELRT, _RST, _RET],
1293
+ [0, 0, 0, 0, 4, 4, 4, 4, 4],
1294
+ ];
1295
+ var ReplayDestination = [3, n0, _RDe, 0, [_Ar, _FA], [0, 64 | 0]];
1296
+ var ResourceAlreadyExistsException = [
1297
+ -3,
1298
+ n0,
1299
+ _RAEE,
1300
+ {
1301
+ [_e]: _c,
1302
+ },
1303
+ [_m],
1304
+ [0],
1305
+ ];
1306
+ schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
1307
+ var ResourceNotFoundException = [
1308
+ -3,
1309
+ n0,
1310
+ _RNFE,
1311
+ {
1312
+ [_e]: _c,
1313
+ },
1314
+ [_m],
1315
+ [0],
1316
+ ];
1317
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1318
+ var RetryPolicy = [3, n0, _RP, 0, [_MRA, _MEAIS], [1, 1]];
1319
+ var Rule = [
1320
+ 3,
1321
+ n0,
1322
+ _Rul,
1323
+ 0,
1324
+ [_N, _Ar, _EP, _S, _D, _SE, _RAo, _MB, _EBN],
1325
+ [0, 0, 0, 0, 0, 0, 0, 0, 0],
1326
+ ];
1327
+ var RunCommandParameters = [3, n0, _RCP, 0, [_RCT], [() => RunCommandTargets]];
1328
+ var RunCommandTarget = [3, n0, _RCTu, 0, [_K, _Va], [0, 64 | 0]];
1329
+ var SageMakerPipelineParameter = [3, n0, _SMPP, 0, [_N, _V], [0, 0]];
1330
+ var SageMakerPipelineParameters = [
1331
+ 3,
1332
+ n0,
1333
+ _SMPPa,
1334
+ 0,
1335
+ [_PPL],
1336
+ [() => SageMakerPipelineParameterList],
1337
+ ];
1338
+ var SqsParameters = [3, n0, _SP, 0, [_MGI], [0]];
1339
+ var StartReplayRequest = [
1340
+ 3,
1341
+ n0,
1342
+ _SRR,
1343
+ 0,
1344
+ [_RN, _D, _ESA, _EST, _EET, _De],
1345
+ [0, 0, 0, 4, 4, () => ReplayDestination],
1346
+ ];
1347
+ var StartReplayResponse = [3, n0, _SRRt, 0, [_RA, _S, _SR, _RST], [0, 0, 0, 4]];
1348
+ var Tag = [3, n0, _Tag, 0, [_K, _V], [0, 0]];
1349
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _Ta], [0, () => TagList]];
1350
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1351
+ var Target = [
1352
+ 3,
1353
+ n0,
1354
+ _Targ,
1355
+ 0,
1356
+ [_Id, _Ar, _RAo, _In, _IP, _IT, _KP, _RCP, _EPc, _BP, _SP, _HPt, _RDP, _SMPPa, _DLC, _RP],
1357
+ [
1358
+ 0,
1359
+ 0,
1360
+ 0,
1361
+ 0,
1362
+ 0,
1363
+ () => InputTransformer,
1364
+ () => KinesisParameters,
1365
+ () => RunCommandParameters,
1366
+ () => EcsParameters,
1367
+ () => BatchParameters,
1368
+ () => SqsParameters,
1369
+ () => HttpParameters,
1370
+ () => RedshiftDataParameters,
1371
+ () => SageMakerPipelineParameters,
1372
+ () => DeadLetterConfig,
1373
+ () => RetryPolicy,
1374
+ ],
1375
+ ];
1376
+ var TestEventPatternRequest = [3, n0, _TEPR, 0, [_EP, _Ev], [0, 0]];
1377
+ var TestEventPatternResponse = [3, n0, _TEPRe, 0, [_Res], [2]];
1378
+ var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
1379
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1380
+ var UpdateApiDestinationRequest = [
1381
+ 3,
1382
+ n0,
1383
+ _UADR,
1384
+ 0,
1385
+ [_N, _D, _CA, _IE, _HM, _IRLPS],
1386
+ [0, 0, 0, 0, 0, 1],
1387
+ ];
1388
+ var UpdateApiDestinationResponse = [
1389
+ 3,
1390
+ n0,
1391
+ _UADRp,
1392
+ 0,
1393
+ [_ADA, _ADS, _CT, _LMT],
1394
+ [0, 0, 4, 4],
1395
+ ];
1396
+ var UpdateArchiveRequest = [3, n0, _UAR, 0, [_AN, _D, _EP, _RD], [0, 0, 0, 1]];
1397
+ var UpdateArchiveResponse = [3, n0, _UARp, 0, [_AA, _S, _SR, _CT], [0, 0, 0, 4]];
1398
+ var UpdateConnectionApiKeyAuthRequestParameters = [
1399
+ 3,
1400
+ n0,
1401
+ _UCAKARP,
1402
+ 0,
1403
+ [_AKN, _AKV],
1404
+ [0, [() => AuthHeaderParametersSensitive, 0]],
1405
+ ];
1406
+ var UpdateConnectionAuthRequestParameters = [
1407
+ 3,
1408
+ n0,
1409
+ _UCARP,
1410
+ 0,
1411
+ [_BAPa, _OAP, _AKAP, _IHP],
1412
+ [
1413
+ [() => UpdateConnectionBasicAuthRequestParameters, 0],
1414
+ [() => UpdateConnectionOAuthRequestParameters, 0],
1415
+ [() => UpdateConnectionApiKeyAuthRequestParameters, 0],
1416
+ [() => ConnectionHttpParameters, 0],
1417
+ ],
1418
+ ];
1419
+ var UpdateConnectionBasicAuthRequestParameters = [
1420
+ 3,
1421
+ n0,
1422
+ _UCBARP,
1423
+ 0,
1424
+ [_U, _P],
1425
+ [0, [() => AuthHeaderParametersSensitive, 0]],
1426
+ ];
1427
+ var UpdateConnectionOAuthClientRequestParameters = [
1428
+ 3,
1429
+ n0,
1430
+ _UCOACRP,
1431
+ 0,
1432
+ [_CID, _CSl],
1433
+ [0, [() => AuthHeaderParametersSensitive, 0]],
1434
+ ];
1435
+ var UpdateConnectionOAuthRequestParameters = [
1436
+ 3,
1437
+ n0,
1438
+ _UCOARP,
1439
+ 0,
1440
+ [_CP, _AE, _HM, _OAHP],
1441
+ [[() => UpdateConnectionOAuthClientRequestParameters, 0], 0, 0, [() => ConnectionHttpParameters, 0]],
1442
+ ];
1443
+ var UpdateConnectionRequest = [
1444
+ 3,
1445
+ n0,
1446
+ _UCR,
1447
+ 0,
1448
+ [_N, _D, _AT, _APu],
1449
+ [0, 0, 0, [() => UpdateConnectionAuthRequestParameters, 0]],
1450
+ ];
1451
+ var UpdateConnectionResponse = [
1452
+ 3,
1453
+ n0,
1454
+ _UCRp,
1455
+ 0,
1456
+ [_CA, _CS, _CT, _LMT, _LAT],
1457
+ [0, 0, 4, 4, 4],
1458
+ ];
1459
+ var __Unit = "unit";
1460
+ var CloudWatchEventsServiceException = [
1461
+ -3,
1462
+ _sm,
1463
+ "CloudWatchEventsServiceException",
1464
+ 0,
1465
+ [],
1466
+ [],
1467
+ ];
1468
+ schema.TypeRegistry.for(_sm).registerError(CloudWatchEventsServiceException, CloudWatchEventsServiceException$1);
1469
+ var ApiDestinationResponseList = [1, n0, _ADRL, 0, () => ApiDestination];
1470
+ var ArchiveResponseList = [1, n0, _ARL, 0, () => Archive];
1471
+ var CapacityProviderStrategy = [1, n0, _CPS, 0, () => CapacityProviderStrategyItem];
1472
+ var ConnectionBodyParametersList = [1, n0, _CBPL, 0, [() => ConnectionBodyParameter, 0]];
1473
+ var ConnectionHeaderParametersList = [1, n0, _CHPL, 0, [() => ConnectionHeaderParameter, 0]];
1474
+ var ConnectionQueryStringParametersList = [
1475
+ 1,
1476
+ n0,
1477
+ _CQSPL,
1478
+ 0,
1479
+ [() => ConnectionQueryStringParameter, 0],
1480
+ ];
1481
+ var ConnectionResponseList = [1, n0, _CRL, 0, () => Connection];
1482
+ var EventBusList = [1, n0, _EBL, 0, () => EventBus];
1483
+ var EventSourceList = [1, n0, _ESL, 0, () => EventSource];
1484
+ var PartnerEventSourceAccountList = [1, n0, _PESAL, 0, () => PartnerEventSourceAccount];
1485
+ var PartnerEventSourceList = [1, n0, _PESL, 0, () => PartnerEventSource];
1486
+ var PlacementConstraints = [1, n0, _PC, 0, () => PlacementConstraint];
1487
+ var PlacementStrategies = [1, n0, _PSl, 0, () => PlacementStrategy];
1488
+ var PutEventsRequestEntryList = [1, n0, _PEREL, 0, () => PutEventsRequestEntry];
1489
+ var PutEventsResultEntryList = [1, n0, _PERELu, 0, () => PutEventsResultEntry];
1490
+ var PutPartnerEventsRequestEntryList = [1, n0, _PPEREL, 0, () => PutPartnerEventsRequestEntry];
1491
+ var PutPartnerEventsResultEntryList = [1, n0, _PPERELu, 0, () => PutPartnerEventsResultEntry];
1492
+ var PutTargetsResultEntryList = [1, n0, _PTREL, 0, () => PutTargetsResultEntry];
1493
+ var RemoveTargetsResultEntryList = [1, n0, _RTREL, 0, () => RemoveTargetsResultEntry];
1494
+ var ReplayList = [1, n0, _RL, 0, () => Replay];
1495
+ var RuleResponseList = [1, n0, _RRL, 0, () => Rule];
1496
+ var RunCommandTargets = [1, n0, _RCT, 0, () => RunCommandTarget];
1497
+ var SageMakerPipelineParameterList = [1, n0, _SMPPL, 0, () => SageMakerPipelineParameter];
1498
+ var TagList = [1, n0, _TL, 0, () => Tag];
1499
+ var TargetList = [1, n0, _TLa, 0, () => Target];
1500
+ var ActivateEventSource = [
1501
+ 9,
1502
+ n0,
1503
+ _AES,
1504
+ 0,
1505
+ () => ActivateEventSourceRequest,
1506
+ () => __Unit,
1507
+ ];
1508
+ var CancelReplay = [9, n0, _CR, 0, () => CancelReplayRequest, () => CancelReplayResponse];
1509
+ var CreateApiDestination = [
1510
+ 9,
1511
+ n0,
1512
+ _CAD,
1513
+ 0,
1514
+ () => CreateApiDestinationRequest,
1515
+ () => CreateApiDestinationResponse,
1516
+ ];
1517
+ var CreateArchive = [
1518
+ 9,
1519
+ n0,
1520
+ _CAr,
1521
+ 0,
1522
+ () => CreateArchiveRequest,
1523
+ () => CreateArchiveResponse,
1524
+ ];
1525
+ var CreateConnection = [
1526
+ 9,
1527
+ n0,
1528
+ _CC,
1529
+ 0,
1530
+ () => CreateConnectionRequest,
1531
+ () => CreateConnectionResponse,
1532
+ ];
1533
+ var CreateEventBus = [
1534
+ 9,
1535
+ n0,
1536
+ _CEB,
1537
+ 0,
1538
+ () => CreateEventBusRequest,
1539
+ () => CreateEventBusResponse,
1540
+ ];
1541
+ var CreatePartnerEventSource = [
1542
+ 9,
1543
+ n0,
1544
+ _CPES,
1545
+ 0,
1546
+ () => CreatePartnerEventSourceRequest,
1547
+ () => CreatePartnerEventSourceResponse,
1548
+ ];
1549
+ var DeactivateEventSource = [
1550
+ 9,
1551
+ n0,
1552
+ _DES,
1553
+ 0,
1554
+ () => DeactivateEventSourceRequest,
1555
+ () => __Unit,
1556
+ ];
1557
+ var DeauthorizeConnection = [
1558
+ 9,
1559
+ n0,
1560
+ _DC,
1561
+ 0,
1562
+ () => DeauthorizeConnectionRequest,
1563
+ () => DeauthorizeConnectionResponse,
1564
+ ];
1565
+ var DeleteApiDestination = [
1566
+ 9,
1567
+ n0,
1568
+ _DAD,
1569
+ 0,
1570
+ () => DeleteApiDestinationRequest,
1571
+ () => DeleteApiDestinationResponse,
1572
+ ];
1573
+ var DeleteArchive = [
1574
+ 9,
1575
+ n0,
1576
+ _DA,
1577
+ 0,
1578
+ () => DeleteArchiveRequest,
1579
+ () => DeleteArchiveResponse,
1580
+ ];
1581
+ var DeleteConnection = [
1582
+ 9,
1583
+ n0,
1584
+ _DCe,
1585
+ 0,
1586
+ () => DeleteConnectionRequest,
1587
+ () => DeleteConnectionResponse,
1588
+ ];
1589
+ var DeleteEventBus = [9, n0, _DEB, 0, () => DeleteEventBusRequest, () => __Unit];
1590
+ var DeletePartnerEventSource = [
1591
+ 9,
1592
+ n0,
1593
+ _DPES,
1594
+ 0,
1595
+ () => DeletePartnerEventSourceRequest,
1596
+ () => __Unit,
1597
+ ];
1598
+ var DeleteRule = [9, n0, _DR, 0, () => DeleteRuleRequest, () => __Unit];
1599
+ var DescribeApiDestination = [
1600
+ 9,
1601
+ n0,
1602
+ _DADe,
1603
+ 0,
1604
+ () => DescribeApiDestinationRequest,
1605
+ () => DescribeApiDestinationResponse,
1606
+ ];
1607
+ var DescribeArchive = [
1608
+ 9,
1609
+ n0,
1610
+ _DAe,
1611
+ 0,
1612
+ () => DescribeArchiveRequest,
1613
+ () => DescribeArchiveResponse,
1614
+ ];
1615
+ var DescribeConnection = [
1616
+ 9,
1617
+ n0,
1618
+ _DCes,
1619
+ 0,
1620
+ () => DescribeConnectionRequest,
1621
+ () => DescribeConnectionResponse,
1622
+ ];
1623
+ var DescribeEventBus = [
1624
+ 9,
1625
+ n0,
1626
+ _DEBe,
1627
+ 0,
1628
+ () => DescribeEventBusRequest,
1629
+ () => DescribeEventBusResponse,
1630
+ ];
1631
+ var DescribeEventSource = [
1632
+ 9,
1633
+ n0,
1634
+ _DESe,
1635
+ 0,
1636
+ () => DescribeEventSourceRequest,
1637
+ () => DescribeEventSourceResponse,
1638
+ ];
1639
+ var DescribePartnerEventSource = [
1640
+ 9,
1641
+ n0,
1642
+ _DPESe,
1643
+ 0,
1644
+ () => DescribePartnerEventSourceRequest,
1645
+ () => DescribePartnerEventSourceResponse,
1646
+ ];
1647
+ var DescribeReplay = [
1648
+ 9,
1649
+ n0,
1650
+ _DRe,
1651
+ 0,
1652
+ () => DescribeReplayRequest,
1653
+ () => DescribeReplayResponse,
1654
+ ];
1655
+ var DescribeRule = [
1656
+ 9,
1657
+ n0,
1658
+ _DRes,
1659
+ 0,
1660
+ () => DescribeRuleRequest,
1661
+ () => DescribeRuleResponse,
1662
+ ];
1663
+ var DisableRule = [9, n0, _DRi, 0, () => DisableRuleRequest, () => __Unit];
1664
+ var EnableRule = [9, n0, _ER, 0, () => EnableRuleRequest, () => __Unit];
1665
+ var ListApiDestinations = [
1666
+ 9,
1667
+ n0,
1668
+ _LAD,
1669
+ 0,
1670
+ () => ListApiDestinationsRequest,
1671
+ () => ListApiDestinationsResponse,
1672
+ ];
1673
+ var ListArchives = [9, n0, _LA, 0, () => ListArchivesRequest, () => ListArchivesResponse];
1674
+ var ListConnections = [
1675
+ 9,
1676
+ n0,
1677
+ _LC,
1678
+ 0,
1679
+ () => ListConnectionsRequest,
1680
+ () => ListConnectionsResponse,
1681
+ ];
1682
+ var ListEventBuses = [
1683
+ 9,
1684
+ n0,
1685
+ _LEB,
1686
+ 0,
1687
+ () => ListEventBusesRequest,
1688
+ () => ListEventBusesResponse,
1689
+ ];
1690
+ var ListEventSources = [
1691
+ 9,
1692
+ n0,
1693
+ _LES,
1694
+ 0,
1695
+ () => ListEventSourcesRequest,
1696
+ () => ListEventSourcesResponse,
1697
+ ];
1698
+ var ListPartnerEventSourceAccounts = [
1699
+ 9,
1700
+ n0,
1701
+ _LPESA,
1702
+ 0,
1703
+ () => ListPartnerEventSourceAccountsRequest,
1704
+ () => ListPartnerEventSourceAccountsResponse,
1705
+ ];
1706
+ var ListPartnerEventSources = [
1707
+ 9,
1708
+ n0,
1709
+ _LPES,
1710
+ 0,
1711
+ () => ListPartnerEventSourcesRequest,
1712
+ () => ListPartnerEventSourcesResponse,
1713
+ ];
1714
+ var ListReplays = [9, n0, _LR, 0, () => ListReplaysRequest, () => ListReplaysResponse];
1715
+ var ListRuleNamesByTarget = [
1716
+ 9,
1717
+ n0,
1718
+ _LRNBT,
1719
+ 0,
1720
+ () => ListRuleNamesByTargetRequest,
1721
+ () => ListRuleNamesByTargetResponse,
1722
+ ];
1723
+ var ListRules = [9, n0, _LRi, 0, () => ListRulesRequest, () => ListRulesResponse];
1724
+ var ListTagsForResource = [
1725
+ 9,
1726
+ n0,
1727
+ _LTFR,
1728
+ 0,
1729
+ () => ListTagsForResourceRequest,
1730
+ () => ListTagsForResourceResponse,
1731
+ ];
1732
+ var ListTargetsByRule = [
1733
+ 9,
1734
+ n0,
1735
+ _LTBR,
1736
+ 0,
1737
+ () => ListTargetsByRuleRequest,
1738
+ () => ListTargetsByRuleResponse,
1739
+ ];
1740
+ var PutEvents = [9, n0, _PE, 0, () => PutEventsRequest, () => PutEventsResponse];
1741
+ var PutPartnerEvents = [
1742
+ 9,
1743
+ n0,
1744
+ _PPE,
1745
+ 0,
1746
+ () => PutPartnerEventsRequest,
1747
+ () => PutPartnerEventsResponse,
1748
+ ];
1749
+ var PutPermission = [9, n0, _PP, 0, () => PutPermissionRequest, () => __Unit];
1750
+ var PutRule = [9, n0, _PR, 0, () => PutRuleRequest, () => PutRuleResponse];
1751
+ var PutTargets = [9, n0, _PTu, 0, () => PutTargetsRequest, () => PutTargetsResponse];
1752
+ var RemovePermission = [9, n0, _RPe, 0, () => RemovePermissionRequest, () => __Unit];
1753
+ var RemoveTargets = [
1754
+ 9,
1755
+ n0,
1756
+ _RT,
1757
+ 0,
1758
+ () => RemoveTargetsRequest,
1759
+ () => RemoveTargetsResponse,
1760
+ ];
1761
+ var StartReplay = [9, n0, _SRt, 0, () => StartReplayRequest, () => StartReplayResponse];
1762
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
1763
+ var TestEventPattern = [
1764
+ 9,
1765
+ n0,
1766
+ _TEP,
1767
+ 0,
1768
+ () => TestEventPatternRequest,
1769
+ () => TestEventPatternResponse,
1770
+ ];
1771
+ var UntagResource = [
1772
+ 9,
1773
+ n0,
1774
+ _UR,
1775
+ 0,
1776
+ () => UntagResourceRequest,
1777
+ () => UntagResourceResponse,
1778
+ ];
1779
+ var UpdateApiDestination = [
1780
+ 9,
1781
+ n0,
1782
+ _UAD,
1783
+ 0,
1784
+ () => UpdateApiDestinationRequest,
1785
+ () => UpdateApiDestinationResponse,
1786
+ ];
1787
+ var UpdateArchive = [
1788
+ 9,
1789
+ n0,
1790
+ _UA,
1791
+ 0,
1792
+ () => UpdateArchiveRequest,
1793
+ () => UpdateArchiveResponse,
1794
+ ];
1795
+ var UpdateConnection = [
1796
+ 9,
1797
+ n0,
1798
+ _UC,
1799
+ 0,
1800
+ () => UpdateConnectionRequest,
1801
+ () => UpdateConnectionResponse,
1802
+ ];
1927
1803
 
1928
1804
  class ActivateEventSourceCommand extends smithyClient.Command
1929
1805
  .classBuilder()
1930
1806
  .ep(commonParams)
1931
1807
  .m(function (Command, cs, config, o) {
1932
- return [
1933
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1934
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1935
- ];
1808
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1936
1809
  })
1937
1810
  .s("AWSEvents", "ActivateEventSource", {})
1938
1811
  .n("CloudWatchEventsClient", "ActivateEventSourceCommand")
1939
- .f(void 0, void 0)
1940
- .ser(se_ActivateEventSourceCommand)
1941
- .de(de_ActivateEventSourceCommand)
1812
+ .sc(ActivateEventSource)
1942
1813
  .build() {
1943
1814
  }
1944
1815
 
@@ -1946,16 +1817,11 @@ class CancelReplayCommand extends smithyClient.Command
1946
1817
  .classBuilder()
1947
1818
  .ep(commonParams)
1948
1819
  .m(function (Command, cs, config, o) {
1949
- return [
1950
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1951
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1952
- ];
1820
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1953
1821
  })
1954
1822
  .s("AWSEvents", "CancelReplay", {})
1955
1823
  .n("CloudWatchEventsClient", "CancelReplayCommand")
1956
- .f(void 0, void 0)
1957
- .ser(se_CancelReplayCommand)
1958
- .de(de_CancelReplayCommand)
1824
+ .sc(CancelReplay)
1959
1825
  .build() {
1960
1826
  }
1961
1827
 
@@ -1963,16 +1829,11 @@ class CreateApiDestinationCommand extends smithyClient.Command
1963
1829
  .classBuilder()
1964
1830
  .ep(commonParams)
1965
1831
  .m(function (Command, cs, config, o) {
1966
- return [
1967
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1968
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1969
- ];
1832
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1970
1833
  })
1971
1834
  .s("AWSEvents", "CreateApiDestination", {})
1972
1835
  .n("CloudWatchEventsClient", "CreateApiDestinationCommand")
1973
- .f(void 0, void 0)
1974
- .ser(se_CreateApiDestinationCommand)
1975
- .de(de_CreateApiDestinationCommand)
1836
+ .sc(CreateApiDestination)
1976
1837
  .build() {
1977
1838
  }
1978
1839
 
@@ -1980,16 +1841,11 @@ class CreateArchiveCommand extends smithyClient.Command
1980
1841
  .classBuilder()
1981
1842
  .ep(commonParams)
1982
1843
  .m(function (Command, cs, config, o) {
1983
- return [
1984
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1985
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1986
- ];
1844
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1987
1845
  })
1988
1846
  .s("AWSEvents", "CreateArchive", {})
1989
1847
  .n("CloudWatchEventsClient", "CreateArchiveCommand")
1990
- .f(void 0, void 0)
1991
- .ser(se_CreateArchiveCommand)
1992
- .de(de_CreateArchiveCommand)
1848
+ .sc(CreateArchive)
1993
1849
  .build() {
1994
1850
  }
1995
1851
 
@@ -1997,16 +1853,11 @@ class CreateConnectionCommand extends smithyClient.Command
1997
1853
  .classBuilder()
1998
1854
  .ep(commonParams)
1999
1855
  .m(function (Command, cs, config, o) {
2000
- return [
2001
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2002
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2003
- ];
1856
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2004
1857
  })
2005
1858
  .s("AWSEvents", "CreateConnection", {})
2006
1859
  .n("CloudWatchEventsClient", "CreateConnectionCommand")
2007
- .f(CreateConnectionRequestFilterSensitiveLog, void 0)
2008
- .ser(se_CreateConnectionCommand)
2009
- .de(de_CreateConnectionCommand)
1860
+ .sc(CreateConnection)
2010
1861
  .build() {
2011
1862
  }
2012
1863
 
@@ -2014,16 +1865,11 @@ class CreateEventBusCommand extends smithyClient.Command
2014
1865
  .classBuilder()
2015
1866
  .ep(commonParams)
2016
1867
  .m(function (Command, cs, config, o) {
2017
- return [
2018
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2019
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2020
- ];
1868
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2021
1869
  })
2022
1870
  .s("AWSEvents", "CreateEventBus", {})
2023
1871
  .n("CloudWatchEventsClient", "CreateEventBusCommand")
2024
- .f(void 0, void 0)
2025
- .ser(se_CreateEventBusCommand)
2026
- .de(de_CreateEventBusCommand)
1872
+ .sc(CreateEventBus)
2027
1873
  .build() {
2028
1874
  }
2029
1875
 
@@ -2031,16 +1877,11 @@ class CreatePartnerEventSourceCommand extends smithyClient.Command
2031
1877
  .classBuilder()
2032
1878
  .ep(commonParams)
2033
1879
  .m(function (Command, cs, config, o) {
2034
- return [
2035
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2036
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2037
- ];
1880
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2038
1881
  })
2039
1882
  .s("AWSEvents", "CreatePartnerEventSource", {})
2040
1883
  .n("CloudWatchEventsClient", "CreatePartnerEventSourceCommand")
2041
- .f(void 0, void 0)
2042
- .ser(se_CreatePartnerEventSourceCommand)
2043
- .de(de_CreatePartnerEventSourceCommand)
1884
+ .sc(CreatePartnerEventSource)
2044
1885
  .build() {
2045
1886
  }
2046
1887
 
@@ -2048,16 +1889,11 @@ class DeactivateEventSourceCommand extends smithyClient.Command
2048
1889
  .classBuilder()
2049
1890
  .ep(commonParams)
2050
1891
  .m(function (Command, cs, config, o) {
2051
- return [
2052
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2053
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2054
- ];
1892
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2055
1893
  })
2056
1894
  .s("AWSEvents", "DeactivateEventSource", {})
2057
1895
  .n("CloudWatchEventsClient", "DeactivateEventSourceCommand")
2058
- .f(void 0, void 0)
2059
- .ser(se_DeactivateEventSourceCommand)
2060
- .de(de_DeactivateEventSourceCommand)
1896
+ .sc(DeactivateEventSource)
2061
1897
  .build() {
2062
1898
  }
2063
1899
 
@@ -2065,16 +1901,11 @@ class DeauthorizeConnectionCommand extends smithyClient.Command
2065
1901
  .classBuilder()
2066
1902
  .ep(commonParams)
2067
1903
  .m(function (Command, cs, config, o) {
2068
- return [
2069
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2070
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2071
- ];
1904
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2072
1905
  })
2073
1906
  .s("AWSEvents", "DeauthorizeConnection", {})
2074
1907
  .n("CloudWatchEventsClient", "DeauthorizeConnectionCommand")
2075
- .f(void 0, void 0)
2076
- .ser(se_DeauthorizeConnectionCommand)
2077
- .de(de_DeauthorizeConnectionCommand)
1908
+ .sc(DeauthorizeConnection)
2078
1909
  .build() {
2079
1910
  }
2080
1911
 
@@ -2082,16 +1913,11 @@ class DeleteApiDestinationCommand extends smithyClient.Command
2082
1913
  .classBuilder()
2083
1914
  .ep(commonParams)
2084
1915
  .m(function (Command, cs, config, o) {
2085
- return [
2086
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2087
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2088
- ];
1916
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2089
1917
  })
2090
1918
  .s("AWSEvents", "DeleteApiDestination", {})
2091
1919
  .n("CloudWatchEventsClient", "DeleteApiDestinationCommand")
2092
- .f(void 0, void 0)
2093
- .ser(se_DeleteApiDestinationCommand)
2094
- .de(de_DeleteApiDestinationCommand)
1920
+ .sc(DeleteApiDestination)
2095
1921
  .build() {
2096
1922
  }
2097
1923
 
@@ -2099,16 +1925,11 @@ class DeleteArchiveCommand extends smithyClient.Command
2099
1925
  .classBuilder()
2100
1926
  .ep(commonParams)
2101
1927
  .m(function (Command, cs, config, o) {
2102
- return [
2103
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2104
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2105
- ];
1928
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2106
1929
  })
2107
1930
  .s("AWSEvents", "DeleteArchive", {})
2108
1931
  .n("CloudWatchEventsClient", "DeleteArchiveCommand")
2109
- .f(void 0, void 0)
2110
- .ser(se_DeleteArchiveCommand)
2111
- .de(de_DeleteArchiveCommand)
1932
+ .sc(DeleteArchive)
2112
1933
  .build() {
2113
1934
  }
2114
1935
 
@@ -2116,16 +1937,11 @@ class DeleteConnectionCommand extends smithyClient.Command
2116
1937
  .classBuilder()
2117
1938
  .ep(commonParams)
2118
1939
  .m(function (Command, cs, config, o) {
2119
- return [
2120
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2121
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2122
- ];
1940
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2123
1941
  })
2124
1942
  .s("AWSEvents", "DeleteConnection", {})
2125
1943
  .n("CloudWatchEventsClient", "DeleteConnectionCommand")
2126
- .f(void 0, void 0)
2127
- .ser(se_DeleteConnectionCommand)
2128
- .de(de_DeleteConnectionCommand)
1944
+ .sc(DeleteConnection)
2129
1945
  .build() {
2130
1946
  }
2131
1947
 
@@ -2133,16 +1949,11 @@ class DeleteEventBusCommand extends smithyClient.Command
2133
1949
  .classBuilder()
2134
1950
  .ep(commonParams)
2135
1951
  .m(function (Command, cs, config, o) {
2136
- return [
2137
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2138
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2139
- ];
1952
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2140
1953
  })
2141
1954
  .s("AWSEvents", "DeleteEventBus", {})
2142
1955
  .n("CloudWatchEventsClient", "DeleteEventBusCommand")
2143
- .f(void 0, void 0)
2144
- .ser(se_DeleteEventBusCommand)
2145
- .de(de_DeleteEventBusCommand)
1956
+ .sc(DeleteEventBus)
2146
1957
  .build() {
2147
1958
  }
2148
1959
 
@@ -2150,16 +1961,11 @@ class DeletePartnerEventSourceCommand extends smithyClient.Command
2150
1961
  .classBuilder()
2151
1962
  .ep(commonParams)
2152
1963
  .m(function (Command, cs, config, o) {
2153
- return [
2154
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2155
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2156
- ];
1964
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2157
1965
  })
2158
1966
  .s("AWSEvents", "DeletePartnerEventSource", {})
2159
1967
  .n("CloudWatchEventsClient", "DeletePartnerEventSourceCommand")
2160
- .f(void 0, void 0)
2161
- .ser(se_DeletePartnerEventSourceCommand)
2162
- .de(de_DeletePartnerEventSourceCommand)
1968
+ .sc(DeletePartnerEventSource)
2163
1969
  .build() {
2164
1970
  }
2165
1971
 
@@ -2167,16 +1973,11 @@ class DeleteRuleCommand extends smithyClient.Command
2167
1973
  .classBuilder()
2168
1974
  .ep(commonParams)
2169
1975
  .m(function (Command, cs, config, o) {
2170
- return [
2171
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2172
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2173
- ];
1976
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2174
1977
  })
2175
1978
  .s("AWSEvents", "DeleteRule", {})
2176
1979
  .n("CloudWatchEventsClient", "DeleteRuleCommand")
2177
- .f(void 0, void 0)
2178
- .ser(se_DeleteRuleCommand)
2179
- .de(de_DeleteRuleCommand)
1980
+ .sc(DeleteRule)
2180
1981
  .build() {
2181
1982
  }
2182
1983
 
@@ -2184,16 +1985,11 @@ class DescribeApiDestinationCommand extends smithyClient.Command
2184
1985
  .classBuilder()
2185
1986
  .ep(commonParams)
2186
1987
  .m(function (Command, cs, config, o) {
2187
- return [
2188
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2189
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2190
- ];
1988
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2191
1989
  })
2192
1990
  .s("AWSEvents", "DescribeApiDestination", {})
2193
1991
  .n("CloudWatchEventsClient", "DescribeApiDestinationCommand")
2194
- .f(void 0, void 0)
2195
- .ser(se_DescribeApiDestinationCommand)
2196
- .de(de_DescribeApiDestinationCommand)
1992
+ .sc(DescribeApiDestination)
2197
1993
  .build() {
2198
1994
  }
2199
1995
 
@@ -2201,16 +1997,11 @@ class DescribeArchiveCommand extends smithyClient.Command
2201
1997
  .classBuilder()
2202
1998
  .ep(commonParams)
2203
1999
  .m(function (Command, cs, config, o) {
2204
- return [
2205
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2206
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2207
- ];
2000
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2208
2001
  })
2209
2002
  .s("AWSEvents", "DescribeArchive", {})
2210
2003
  .n("CloudWatchEventsClient", "DescribeArchiveCommand")
2211
- .f(void 0, void 0)
2212
- .ser(se_DescribeArchiveCommand)
2213
- .de(de_DescribeArchiveCommand)
2004
+ .sc(DescribeArchive)
2214
2005
  .build() {
2215
2006
  }
2216
2007
 
@@ -2218,16 +2009,11 @@ class DescribeConnectionCommand extends smithyClient.Command
2218
2009
  .classBuilder()
2219
2010
  .ep(commonParams)
2220
2011
  .m(function (Command, cs, config, o) {
2221
- return [
2222
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2223
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2224
- ];
2012
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2225
2013
  })
2226
2014
  .s("AWSEvents", "DescribeConnection", {})
2227
2015
  .n("CloudWatchEventsClient", "DescribeConnectionCommand")
2228
- .f(void 0, DescribeConnectionResponseFilterSensitiveLog)
2229
- .ser(se_DescribeConnectionCommand)
2230
- .de(de_DescribeConnectionCommand)
2016
+ .sc(DescribeConnection)
2231
2017
  .build() {
2232
2018
  }
2233
2019
 
@@ -2235,16 +2021,11 @@ class DescribeEventBusCommand extends smithyClient.Command
2235
2021
  .classBuilder()
2236
2022
  .ep(commonParams)
2237
2023
  .m(function (Command, cs, config, o) {
2238
- return [
2239
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2240
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2241
- ];
2024
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2242
2025
  })
2243
2026
  .s("AWSEvents", "DescribeEventBus", {})
2244
2027
  .n("CloudWatchEventsClient", "DescribeEventBusCommand")
2245
- .f(void 0, void 0)
2246
- .ser(se_DescribeEventBusCommand)
2247
- .de(de_DescribeEventBusCommand)
2028
+ .sc(DescribeEventBus)
2248
2029
  .build() {
2249
2030
  }
2250
2031
 
@@ -2252,16 +2033,11 @@ class DescribeEventSourceCommand extends smithyClient.Command
2252
2033
  .classBuilder()
2253
2034
  .ep(commonParams)
2254
2035
  .m(function (Command, cs, config, o) {
2255
- return [
2256
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2257
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2258
- ];
2036
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2259
2037
  })
2260
2038
  .s("AWSEvents", "DescribeEventSource", {})
2261
2039
  .n("CloudWatchEventsClient", "DescribeEventSourceCommand")
2262
- .f(void 0, void 0)
2263
- .ser(se_DescribeEventSourceCommand)
2264
- .de(de_DescribeEventSourceCommand)
2040
+ .sc(DescribeEventSource)
2265
2041
  .build() {
2266
2042
  }
2267
2043
 
@@ -2269,16 +2045,11 @@ class DescribePartnerEventSourceCommand extends smithyClient.Command
2269
2045
  .classBuilder()
2270
2046
  .ep(commonParams)
2271
2047
  .m(function (Command, cs, config, o) {
2272
- return [
2273
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2274
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2275
- ];
2048
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2276
2049
  })
2277
2050
  .s("AWSEvents", "DescribePartnerEventSource", {})
2278
2051
  .n("CloudWatchEventsClient", "DescribePartnerEventSourceCommand")
2279
- .f(void 0, void 0)
2280
- .ser(se_DescribePartnerEventSourceCommand)
2281
- .de(de_DescribePartnerEventSourceCommand)
2052
+ .sc(DescribePartnerEventSource)
2282
2053
  .build() {
2283
2054
  }
2284
2055
 
@@ -2286,16 +2057,11 @@ class DescribeReplayCommand extends smithyClient.Command
2286
2057
  .classBuilder()
2287
2058
  .ep(commonParams)
2288
2059
  .m(function (Command, cs, config, o) {
2289
- return [
2290
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2291
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2292
- ];
2060
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2293
2061
  })
2294
2062
  .s("AWSEvents", "DescribeReplay", {})
2295
2063
  .n("CloudWatchEventsClient", "DescribeReplayCommand")
2296
- .f(void 0, void 0)
2297
- .ser(se_DescribeReplayCommand)
2298
- .de(de_DescribeReplayCommand)
2064
+ .sc(DescribeReplay)
2299
2065
  .build() {
2300
2066
  }
2301
2067
 
@@ -2303,16 +2069,11 @@ class DescribeRuleCommand extends smithyClient.Command
2303
2069
  .classBuilder()
2304
2070
  .ep(commonParams)
2305
2071
  .m(function (Command, cs, config, o) {
2306
- return [
2307
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2308
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2309
- ];
2072
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2310
2073
  })
2311
2074
  .s("AWSEvents", "DescribeRule", {})
2312
2075
  .n("CloudWatchEventsClient", "DescribeRuleCommand")
2313
- .f(void 0, void 0)
2314
- .ser(se_DescribeRuleCommand)
2315
- .de(de_DescribeRuleCommand)
2076
+ .sc(DescribeRule)
2316
2077
  .build() {
2317
2078
  }
2318
2079
 
@@ -2320,16 +2081,11 @@ class DisableRuleCommand extends smithyClient.Command
2320
2081
  .classBuilder()
2321
2082
  .ep(commonParams)
2322
2083
  .m(function (Command, cs, config, o) {
2323
- return [
2324
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2325
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2326
- ];
2084
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2327
2085
  })
2328
2086
  .s("AWSEvents", "DisableRule", {})
2329
2087
  .n("CloudWatchEventsClient", "DisableRuleCommand")
2330
- .f(void 0, void 0)
2331
- .ser(se_DisableRuleCommand)
2332
- .de(de_DisableRuleCommand)
2088
+ .sc(DisableRule)
2333
2089
  .build() {
2334
2090
  }
2335
2091
 
@@ -2337,16 +2093,11 @@ class EnableRuleCommand extends smithyClient.Command
2337
2093
  .classBuilder()
2338
2094
  .ep(commonParams)
2339
2095
  .m(function (Command, cs, config, o) {
2340
- return [
2341
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2342
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2343
- ];
2096
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2344
2097
  })
2345
2098
  .s("AWSEvents", "EnableRule", {})
2346
2099
  .n("CloudWatchEventsClient", "EnableRuleCommand")
2347
- .f(void 0, void 0)
2348
- .ser(se_EnableRuleCommand)
2349
- .de(de_EnableRuleCommand)
2100
+ .sc(EnableRule)
2350
2101
  .build() {
2351
2102
  }
2352
2103
 
@@ -2354,16 +2105,11 @@ class ListApiDestinationsCommand extends smithyClient.Command
2354
2105
  .classBuilder()
2355
2106
  .ep(commonParams)
2356
2107
  .m(function (Command, cs, config, o) {
2357
- return [
2358
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2359
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2360
- ];
2108
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2361
2109
  })
2362
2110
  .s("AWSEvents", "ListApiDestinations", {})
2363
2111
  .n("CloudWatchEventsClient", "ListApiDestinationsCommand")
2364
- .f(void 0, void 0)
2365
- .ser(se_ListApiDestinationsCommand)
2366
- .de(de_ListApiDestinationsCommand)
2112
+ .sc(ListApiDestinations)
2367
2113
  .build() {
2368
2114
  }
2369
2115
 
@@ -2371,16 +2117,11 @@ class ListArchivesCommand extends smithyClient.Command
2371
2117
  .classBuilder()
2372
2118
  .ep(commonParams)
2373
2119
  .m(function (Command, cs, config, o) {
2374
- return [
2375
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2376
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2377
- ];
2120
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2378
2121
  })
2379
2122
  .s("AWSEvents", "ListArchives", {})
2380
2123
  .n("CloudWatchEventsClient", "ListArchivesCommand")
2381
- .f(void 0, void 0)
2382
- .ser(se_ListArchivesCommand)
2383
- .de(de_ListArchivesCommand)
2124
+ .sc(ListArchives)
2384
2125
  .build() {
2385
2126
  }
2386
2127
 
@@ -2388,16 +2129,11 @@ class ListConnectionsCommand extends smithyClient.Command
2388
2129
  .classBuilder()
2389
2130
  .ep(commonParams)
2390
2131
  .m(function (Command, cs, config, o) {
2391
- return [
2392
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2393
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2394
- ];
2132
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2395
2133
  })
2396
2134
  .s("AWSEvents", "ListConnections", {})
2397
2135
  .n("CloudWatchEventsClient", "ListConnectionsCommand")
2398
- .f(void 0, void 0)
2399
- .ser(se_ListConnectionsCommand)
2400
- .de(de_ListConnectionsCommand)
2136
+ .sc(ListConnections)
2401
2137
  .build() {
2402
2138
  }
2403
2139
 
@@ -2405,16 +2141,11 @@ class ListEventBusesCommand extends smithyClient.Command
2405
2141
  .classBuilder()
2406
2142
  .ep(commonParams)
2407
2143
  .m(function (Command, cs, config, o) {
2408
- return [
2409
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2410
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2411
- ];
2144
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2412
2145
  })
2413
2146
  .s("AWSEvents", "ListEventBuses", {})
2414
2147
  .n("CloudWatchEventsClient", "ListEventBusesCommand")
2415
- .f(void 0, void 0)
2416
- .ser(se_ListEventBusesCommand)
2417
- .de(de_ListEventBusesCommand)
2148
+ .sc(ListEventBuses)
2418
2149
  .build() {
2419
2150
  }
2420
2151
 
@@ -2422,16 +2153,11 @@ class ListEventSourcesCommand extends smithyClient.Command
2422
2153
  .classBuilder()
2423
2154
  .ep(commonParams)
2424
2155
  .m(function (Command, cs, config, o) {
2425
- return [
2426
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2427
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2428
- ];
2156
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2429
2157
  })
2430
2158
  .s("AWSEvents", "ListEventSources", {})
2431
2159
  .n("CloudWatchEventsClient", "ListEventSourcesCommand")
2432
- .f(void 0, void 0)
2433
- .ser(se_ListEventSourcesCommand)
2434
- .de(de_ListEventSourcesCommand)
2160
+ .sc(ListEventSources)
2435
2161
  .build() {
2436
2162
  }
2437
2163
 
@@ -2439,16 +2165,11 @@ class ListPartnerEventSourceAccountsCommand extends smithyClient.Command
2439
2165
  .classBuilder()
2440
2166
  .ep(commonParams)
2441
2167
  .m(function (Command, cs, config, o) {
2442
- return [
2443
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2444
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2445
- ];
2168
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2446
2169
  })
2447
2170
  .s("AWSEvents", "ListPartnerEventSourceAccounts", {})
2448
2171
  .n("CloudWatchEventsClient", "ListPartnerEventSourceAccountsCommand")
2449
- .f(void 0, void 0)
2450
- .ser(se_ListPartnerEventSourceAccountsCommand)
2451
- .de(de_ListPartnerEventSourceAccountsCommand)
2172
+ .sc(ListPartnerEventSourceAccounts)
2452
2173
  .build() {
2453
2174
  }
2454
2175
 
@@ -2456,16 +2177,11 @@ class ListPartnerEventSourcesCommand extends smithyClient.Command
2456
2177
  .classBuilder()
2457
2178
  .ep(commonParams)
2458
2179
  .m(function (Command, cs, config, o) {
2459
- return [
2460
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2461
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2462
- ];
2180
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2463
2181
  })
2464
2182
  .s("AWSEvents", "ListPartnerEventSources", {})
2465
2183
  .n("CloudWatchEventsClient", "ListPartnerEventSourcesCommand")
2466
- .f(void 0, void 0)
2467
- .ser(se_ListPartnerEventSourcesCommand)
2468
- .de(de_ListPartnerEventSourcesCommand)
2184
+ .sc(ListPartnerEventSources)
2469
2185
  .build() {
2470
2186
  }
2471
2187
 
@@ -2473,16 +2189,11 @@ class ListReplaysCommand extends smithyClient.Command
2473
2189
  .classBuilder()
2474
2190
  .ep(commonParams)
2475
2191
  .m(function (Command, cs, config, o) {
2476
- return [
2477
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2478
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2479
- ];
2192
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2480
2193
  })
2481
2194
  .s("AWSEvents", "ListReplays", {})
2482
2195
  .n("CloudWatchEventsClient", "ListReplaysCommand")
2483
- .f(void 0, void 0)
2484
- .ser(se_ListReplaysCommand)
2485
- .de(de_ListReplaysCommand)
2196
+ .sc(ListReplays)
2486
2197
  .build() {
2487
2198
  }
2488
2199
 
@@ -2490,16 +2201,11 @@ class ListRuleNamesByTargetCommand extends smithyClient.Command
2490
2201
  .classBuilder()
2491
2202
  .ep(commonParams)
2492
2203
  .m(function (Command, cs, config, o) {
2493
- return [
2494
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2495
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2496
- ];
2204
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2497
2205
  })
2498
2206
  .s("AWSEvents", "ListRuleNamesByTarget", {})
2499
2207
  .n("CloudWatchEventsClient", "ListRuleNamesByTargetCommand")
2500
- .f(void 0, void 0)
2501
- .ser(se_ListRuleNamesByTargetCommand)
2502
- .de(de_ListRuleNamesByTargetCommand)
2208
+ .sc(ListRuleNamesByTarget)
2503
2209
  .build() {
2504
2210
  }
2505
2211
 
@@ -2507,16 +2213,11 @@ class ListRulesCommand extends smithyClient.Command
2507
2213
  .classBuilder()
2508
2214
  .ep(commonParams)
2509
2215
  .m(function (Command, cs, config, o) {
2510
- return [
2511
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2512
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2513
- ];
2216
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2514
2217
  })
2515
2218
  .s("AWSEvents", "ListRules", {})
2516
2219
  .n("CloudWatchEventsClient", "ListRulesCommand")
2517
- .f(void 0, void 0)
2518
- .ser(se_ListRulesCommand)
2519
- .de(de_ListRulesCommand)
2220
+ .sc(ListRules)
2520
2221
  .build() {
2521
2222
  }
2522
2223
 
@@ -2524,16 +2225,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2524
2225
  .classBuilder()
2525
2226
  .ep(commonParams)
2526
2227
  .m(function (Command, cs, config, o) {
2527
- return [
2528
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2529
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2530
- ];
2228
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2531
2229
  })
2532
2230
  .s("AWSEvents", "ListTagsForResource", {})
2533
2231
  .n("CloudWatchEventsClient", "ListTagsForResourceCommand")
2534
- .f(void 0, void 0)
2535
- .ser(se_ListTagsForResourceCommand)
2536
- .de(de_ListTagsForResourceCommand)
2232
+ .sc(ListTagsForResource)
2537
2233
  .build() {
2538
2234
  }
2539
2235
 
@@ -2541,16 +2237,11 @@ class ListTargetsByRuleCommand extends smithyClient.Command
2541
2237
  .classBuilder()
2542
2238
  .ep(commonParams)
2543
2239
  .m(function (Command, cs, config, o) {
2544
- return [
2545
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2546
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2547
- ];
2240
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2548
2241
  })
2549
2242
  .s("AWSEvents", "ListTargetsByRule", {})
2550
2243
  .n("CloudWatchEventsClient", "ListTargetsByRuleCommand")
2551
- .f(void 0, void 0)
2552
- .ser(se_ListTargetsByRuleCommand)
2553
- .de(de_ListTargetsByRuleCommand)
2244
+ .sc(ListTargetsByRule)
2554
2245
  .build() {
2555
2246
  }
2556
2247
 
@@ -2558,16 +2249,11 @@ class PutEventsCommand extends smithyClient.Command
2558
2249
  .classBuilder()
2559
2250
  .ep(commonParams)
2560
2251
  .m(function (Command, cs, config, o) {
2561
- return [
2562
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2563
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2564
- ];
2252
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2565
2253
  })
2566
2254
  .s("AWSEvents", "PutEvents", {})
2567
2255
  .n("CloudWatchEventsClient", "PutEventsCommand")
2568
- .f(void 0, void 0)
2569
- .ser(se_PutEventsCommand)
2570
- .de(de_PutEventsCommand)
2256
+ .sc(PutEvents)
2571
2257
  .build() {
2572
2258
  }
2573
2259
 
@@ -2575,16 +2261,11 @@ class PutPartnerEventsCommand extends smithyClient.Command
2575
2261
  .classBuilder()
2576
2262
  .ep(commonParams)
2577
2263
  .m(function (Command, cs, config, o) {
2578
- return [
2579
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2580
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2581
- ];
2264
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2582
2265
  })
2583
2266
  .s("AWSEvents", "PutPartnerEvents", {})
2584
2267
  .n("CloudWatchEventsClient", "PutPartnerEventsCommand")
2585
- .f(void 0, void 0)
2586
- .ser(se_PutPartnerEventsCommand)
2587
- .de(de_PutPartnerEventsCommand)
2268
+ .sc(PutPartnerEvents)
2588
2269
  .build() {
2589
2270
  }
2590
2271
 
@@ -2592,16 +2273,11 @@ class PutPermissionCommand extends smithyClient.Command
2592
2273
  .classBuilder()
2593
2274
  .ep(commonParams)
2594
2275
  .m(function (Command, cs, config, o) {
2595
- return [
2596
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2597
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2598
- ];
2276
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2599
2277
  })
2600
2278
  .s("AWSEvents", "PutPermission", {})
2601
2279
  .n("CloudWatchEventsClient", "PutPermissionCommand")
2602
- .f(void 0, void 0)
2603
- .ser(se_PutPermissionCommand)
2604
- .de(de_PutPermissionCommand)
2280
+ .sc(PutPermission)
2605
2281
  .build() {
2606
2282
  }
2607
2283
 
@@ -2609,16 +2285,11 @@ class PutRuleCommand extends smithyClient.Command
2609
2285
  .classBuilder()
2610
2286
  .ep(commonParams)
2611
2287
  .m(function (Command, cs, config, o) {
2612
- return [
2613
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2614
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2615
- ];
2288
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2616
2289
  })
2617
2290
  .s("AWSEvents", "PutRule", {})
2618
2291
  .n("CloudWatchEventsClient", "PutRuleCommand")
2619
- .f(void 0, void 0)
2620
- .ser(se_PutRuleCommand)
2621
- .de(de_PutRuleCommand)
2292
+ .sc(PutRule)
2622
2293
  .build() {
2623
2294
  }
2624
2295
 
@@ -2626,16 +2297,11 @@ class PutTargetsCommand extends smithyClient.Command
2626
2297
  .classBuilder()
2627
2298
  .ep(commonParams)
2628
2299
  .m(function (Command, cs, config, o) {
2629
- return [
2630
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2631
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2632
- ];
2300
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2633
2301
  })
2634
2302
  .s("AWSEvents", "PutTargets", {})
2635
2303
  .n("CloudWatchEventsClient", "PutTargetsCommand")
2636
- .f(void 0, void 0)
2637
- .ser(se_PutTargetsCommand)
2638
- .de(de_PutTargetsCommand)
2304
+ .sc(PutTargets)
2639
2305
  .build() {
2640
2306
  }
2641
2307
 
@@ -2643,16 +2309,11 @@ class RemovePermissionCommand extends smithyClient.Command
2643
2309
  .classBuilder()
2644
2310
  .ep(commonParams)
2645
2311
  .m(function (Command, cs, config, o) {
2646
- return [
2647
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2648
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2649
- ];
2312
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2650
2313
  })
2651
2314
  .s("AWSEvents", "RemovePermission", {})
2652
2315
  .n("CloudWatchEventsClient", "RemovePermissionCommand")
2653
- .f(void 0, void 0)
2654
- .ser(se_RemovePermissionCommand)
2655
- .de(de_RemovePermissionCommand)
2316
+ .sc(RemovePermission)
2656
2317
  .build() {
2657
2318
  }
2658
2319
 
@@ -2660,16 +2321,11 @@ class RemoveTargetsCommand extends smithyClient.Command
2660
2321
  .classBuilder()
2661
2322
  .ep(commonParams)
2662
2323
  .m(function (Command, cs, config, o) {
2663
- return [
2664
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2665
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2666
- ];
2324
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2667
2325
  })
2668
2326
  .s("AWSEvents", "RemoveTargets", {})
2669
2327
  .n("CloudWatchEventsClient", "RemoveTargetsCommand")
2670
- .f(void 0, void 0)
2671
- .ser(se_RemoveTargetsCommand)
2672
- .de(de_RemoveTargetsCommand)
2328
+ .sc(RemoveTargets)
2673
2329
  .build() {
2674
2330
  }
2675
2331
 
@@ -2677,16 +2333,11 @@ class StartReplayCommand extends smithyClient.Command
2677
2333
  .classBuilder()
2678
2334
  .ep(commonParams)
2679
2335
  .m(function (Command, cs, config, o) {
2680
- return [
2681
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2682
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2683
- ];
2336
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2684
2337
  })
2685
2338
  .s("AWSEvents", "StartReplay", {})
2686
2339
  .n("CloudWatchEventsClient", "StartReplayCommand")
2687
- .f(void 0, void 0)
2688
- .ser(se_StartReplayCommand)
2689
- .de(de_StartReplayCommand)
2340
+ .sc(StartReplay)
2690
2341
  .build() {
2691
2342
  }
2692
2343
 
@@ -2694,16 +2345,11 @@ class TagResourceCommand extends smithyClient.Command
2694
2345
  .classBuilder()
2695
2346
  .ep(commonParams)
2696
2347
  .m(function (Command, cs, config, o) {
2697
- return [
2698
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2699
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2700
- ];
2348
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2701
2349
  })
2702
2350
  .s("AWSEvents", "TagResource", {})
2703
2351
  .n("CloudWatchEventsClient", "TagResourceCommand")
2704
- .f(void 0, void 0)
2705
- .ser(se_TagResourceCommand)
2706
- .de(de_TagResourceCommand)
2352
+ .sc(TagResource)
2707
2353
  .build() {
2708
2354
  }
2709
2355
 
@@ -2711,16 +2357,11 @@ class TestEventPatternCommand extends smithyClient.Command
2711
2357
  .classBuilder()
2712
2358
  .ep(commonParams)
2713
2359
  .m(function (Command, cs, config, o) {
2714
- return [
2715
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2716
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2717
- ];
2360
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2718
2361
  })
2719
2362
  .s("AWSEvents", "TestEventPattern", {})
2720
2363
  .n("CloudWatchEventsClient", "TestEventPatternCommand")
2721
- .f(void 0, void 0)
2722
- .ser(se_TestEventPatternCommand)
2723
- .de(de_TestEventPatternCommand)
2364
+ .sc(TestEventPattern)
2724
2365
  .build() {
2725
2366
  }
2726
2367
 
@@ -2728,16 +2369,11 @@ class UntagResourceCommand extends smithyClient.Command
2728
2369
  .classBuilder()
2729
2370
  .ep(commonParams)
2730
2371
  .m(function (Command, cs, config, o) {
2731
- return [
2732
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2733
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2734
- ];
2372
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2735
2373
  })
2736
2374
  .s("AWSEvents", "UntagResource", {})
2737
2375
  .n("CloudWatchEventsClient", "UntagResourceCommand")
2738
- .f(void 0, void 0)
2739
- .ser(se_UntagResourceCommand)
2740
- .de(de_UntagResourceCommand)
2376
+ .sc(UntagResource)
2741
2377
  .build() {
2742
2378
  }
2743
2379
 
@@ -2745,16 +2381,11 @@ class UpdateApiDestinationCommand extends smithyClient.Command
2745
2381
  .classBuilder()
2746
2382
  .ep(commonParams)
2747
2383
  .m(function (Command, cs, config, o) {
2748
- return [
2749
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2750
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2751
- ];
2384
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2752
2385
  })
2753
2386
  .s("AWSEvents", "UpdateApiDestination", {})
2754
2387
  .n("CloudWatchEventsClient", "UpdateApiDestinationCommand")
2755
- .f(void 0, void 0)
2756
- .ser(se_UpdateApiDestinationCommand)
2757
- .de(de_UpdateApiDestinationCommand)
2388
+ .sc(UpdateApiDestination)
2758
2389
  .build() {
2759
2390
  }
2760
2391
 
@@ -2762,16 +2393,11 @@ class UpdateArchiveCommand extends smithyClient.Command
2762
2393
  .classBuilder()
2763
2394
  .ep(commonParams)
2764
2395
  .m(function (Command, cs, config, o) {
2765
- return [
2766
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2767
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2768
- ];
2396
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2769
2397
  })
2770
2398
  .s("AWSEvents", "UpdateArchive", {})
2771
2399
  .n("CloudWatchEventsClient", "UpdateArchiveCommand")
2772
- .f(void 0, void 0)
2773
- .ser(se_UpdateArchiveCommand)
2774
- .de(de_UpdateArchiveCommand)
2400
+ .sc(UpdateArchive)
2775
2401
  .build() {
2776
2402
  }
2777
2403
 
@@ -2779,16 +2405,11 @@ class UpdateConnectionCommand extends smithyClient.Command
2779
2405
  .classBuilder()
2780
2406
  .ep(commonParams)
2781
2407
  .m(function (Command, cs, config, o) {
2782
- return [
2783
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2784
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2785
- ];
2408
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2786
2409
  })
2787
2410
  .s("AWSEvents", "UpdateConnection", {})
2788
2411
  .n("CloudWatchEventsClient", "UpdateConnectionCommand")
2789
- .f(UpdateConnectionRequestFilterSensitiveLog, void 0)
2790
- .ser(se_UpdateConnectionCommand)
2791
- .de(de_UpdateConnectionCommand)
2412
+ .sc(UpdateConnection)
2792
2413
  .build() {
2793
2414
  }
2794
2415
 
@@ -2865,26 +2486,14 @@ exports.AssignPublicIp = AssignPublicIp;
2865
2486
  exports.CancelReplayCommand = CancelReplayCommand;
2866
2487
  exports.CloudWatchEvents = CloudWatchEvents;
2867
2488
  exports.CloudWatchEventsClient = CloudWatchEventsClient;
2868
- exports.CloudWatchEventsServiceException = CloudWatchEventsServiceException;
2869
- exports.ConcurrentModificationException = ConcurrentModificationException;
2870
- exports.ConnectionAuthResponseParametersFilterSensitiveLog = ConnectionAuthResponseParametersFilterSensitiveLog;
2489
+ exports.CloudWatchEventsServiceException = CloudWatchEventsServiceException$1;
2490
+ exports.ConcurrentModificationException = ConcurrentModificationException$1;
2871
2491
  exports.ConnectionAuthorizationType = ConnectionAuthorizationType;
2872
- exports.ConnectionBodyParameterFilterSensitiveLog = ConnectionBodyParameterFilterSensitiveLog;
2873
- exports.ConnectionHeaderParameterFilterSensitiveLog = ConnectionHeaderParameterFilterSensitiveLog;
2874
- exports.ConnectionHttpParametersFilterSensitiveLog = ConnectionHttpParametersFilterSensitiveLog;
2875
2492
  exports.ConnectionOAuthHttpMethod = ConnectionOAuthHttpMethod;
2876
- exports.ConnectionOAuthResponseParametersFilterSensitiveLog = ConnectionOAuthResponseParametersFilterSensitiveLog;
2877
- exports.ConnectionQueryStringParameterFilterSensitiveLog = ConnectionQueryStringParameterFilterSensitiveLog;
2878
2493
  exports.ConnectionState = ConnectionState;
2879
2494
  exports.CreateApiDestinationCommand = CreateApiDestinationCommand;
2880
2495
  exports.CreateArchiveCommand = CreateArchiveCommand;
2881
- exports.CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog;
2882
- exports.CreateConnectionAuthRequestParametersFilterSensitiveLog = CreateConnectionAuthRequestParametersFilterSensitiveLog;
2883
- exports.CreateConnectionBasicAuthRequestParametersFilterSensitiveLog = CreateConnectionBasicAuthRequestParametersFilterSensitiveLog;
2884
2496
  exports.CreateConnectionCommand = CreateConnectionCommand;
2885
- exports.CreateConnectionOAuthClientRequestParametersFilterSensitiveLog = CreateConnectionOAuthClientRequestParametersFilterSensitiveLog;
2886
- exports.CreateConnectionOAuthRequestParametersFilterSensitiveLog = CreateConnectionOAuthRequestParametersFilterSensitiveLog;
2887
- exports.CreateConnectionRequestFilterSensitiveLog = CreateConnectionRequestFilterSensitiveLog;
2888
2497
  exports.CreateEventBusCommand = CreateEventBusCommand;
2889
2498
  exports.CreatePartnerEventSourceCommand = CreatePartnerEventSourceCommand;
2890
2499
  exports.DeactivateEventSourceCommand = DeactivateEventSourceCommand;
@@ -2898,7 +2507,6 @@ exports.DeleteRuleCommand = DeleteRuleCommand;
2898
2507
  exports.DescribeApiDestinationCommand = DescribeApiDestinationCommand;
2899
2508
  exports.DescribeArchiveCommand = DescribeArchiveCommand;
2900
2509
  exports.DescribeConnectionCommand = DescribeConnectionCommand;
2901
- exports.DescribeConnectionResponseFilterSensitiveLog = DescribeConnectionResponseFilterSensitiveLog;
2902
2510
  exports.DescribeEventBusCommand = DescribeEventBusCommand;
2903
2511
  exports.DescribeEventSourceCommand = DescribeEventSourceCommand;
2904
2512
  exports.DescribePartnerEventSourceCommand = DescribePartnerEventSourceCommand;
@@ -2907,12 +2515,12 @@ exports.DescribeRuleCommand = DescribeRuleCommand;
2907
2515
  exports.DisableRuleCommand = DisableRuleCommand;
2908
2516
  exports.EnableRuleCommand = EnableRuleCommand;
2909
2517
  exports.EventSourceState = EventSourceState;
2910
- exports.IllegalStatusException = IllegalStatusException;
2911
- exports.InternalException = InternalException;
2912
- exports.InvalidEventPatternException = InvalidEventPatternException;
2913
- exports.InvalidStateException = InvalidStateException;
2518
+ exports.IllegalStatusException = IllegalStatusException$1;
2519
+ exports.InternalException = InternalException$1;
2520
+ exports.InvalidEventPatternException = InvalidEventPatternException$1;
2521
+ exports.InvalidStateException = InvalidStateException$1;
2914
2522
  exports.LaunchType = LaunchType;
2915
- exports.LimitExceededException = LimitExceededException;
2523
+ exports.LimitExceededException = LimitExceededException$1;
2916
2524
  exports.ListApiDestinationsCommand = ListApiDestinationsCommand;
2917
2525
  exports.ListArchivesCommand = ListArchivesCommand;
2918
2526
  exports.ListConnectionsCommand = ListConnectionsCommand;
@@ -2925,11 +2533,11 @@ exports.ListRuleNamesByTargetCommand = ListRuleNamesByTargetCommand;
2925
2533
  exports.ListRulesCommand = ListRulesCommand;
2926
2534
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2927
2535
  exports.ListTargetsByRuleCommand = ListTargetsByRuleCommand;
2928
- exports.ManagedRuleException = ManagedRuleException;
2929
- exports.OperationDisabledException = OperationDisabledException;
2536
+ exports.ManagedRuleException = ManagedRuleException$1;
2537
+ exports.OperationDisabledException = OperationDisabledException$1;
2930
2538
  exports.PlacementConstraintType = PlacementConstraintType;
2931
2539
  exports.PlacementStrategyType = PlacementStrategyType;
2932
- exports.PolicyLengthExceededException = PolicyLengthExceededException;
2540
+ exports.PolicyLengthExceededException = PolicyLengthExceededException$1;
2933
2541
  exports.PropagateTags = PropagateTags;
2934
2542
  exports.PutEventsCommand = PutEventsCommand;
2935
2543
  exports.PutPartnerEventsCommand = PutPartnerEventsCommand;
@@ -2939,8 +2547,8 @@ exports.PutTargetsCommand = PutTargetsCommand;
2939
2547
  exports.RemovePermissionCommand = RemovePermissionCommand;
2940
2548
  exports.RemoveTargetsCommand = RemoveTargetsCommand;
2941
2549
  exports.ReplayState = ReplayState;
2942
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
2943
- exports.ResourceNotFoundException = ResourceNotFoundException;
2550
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
2551
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2944
2552
  exports.RuleState = RuleState;
2945
2553
  exports.StartReplayCommand = StartReplayCommand;
2946
2554
  exports.TagResourceCommand = TagResourceCommand;
@@ -2948,10 +2556,4 @@ exports.TestEventPatternCommand = TestEventPatternCommand;
2948
2556
  exports.UntagResourceCommand = UntagResourceCommand;
2949
2557
  exports.UpdateApiDestinationCommand = UpdateApiDestinationCommand;
2950
2558
  exports.UpdateArchiveCommand = UpdateArchiveCommand;
2951
- exports.UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog;
2952
- exports.UpdateConnectionAuthRequestParametersFilterSensitiveLog = UpdateConnectionAuthRequestParametersFilterSensitiveLog;
2953
- exports.UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog = UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog;
2954
2559
  exports.UpdateConnectionCommand = UpdateConnectionCommand;
2955
- exports.UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog = UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog;
2956
- exports.UpdateConnectionOAuthRequestParametersFilterSensitiveLog = UpdateConnectionOAuthRequestParametersFilterSensitiveLog;
2957
- exports.UpdateConnectionRequestFilterSensitiveLog = UpdateConnectionRequestFilterSensitiveLog;