@aws-sdk/client-kafkaconnect 3.927.0 → 3.929.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 (42) hide show
  1. package/dist-cjs/index.js +1071 -978
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/KafkaConnectClient.js +2 -0
  4. package/dist-es/commands/CreateConnectorCommand.js +3 -10
  5. package/dist-es/commands/CreateCustomPluginCommand.js +3 -9
  6. package/dist-es/commands/CreateWorkerConfigurationCommand.js +3 -10
  7. package/dist-es/commands/DeleteConnectorCommand.js +3 -9
  8. package/dist-es/commands/DeleteCustomPluginCommand.js +3 -9
  9. package/dist-es/commands/DeleteWorkerConfigurationCommand.js +3 -9
  10. package/dist-es/commands/DescribeConnectorCommand.js +3 -10
  11. package/dist-es/commands/DescribeConnectorOperationCommand.js +3 -10
  12. package/dist-es/commands/DescribeCustomPluginCommand.js +3 -9
  13. package/dist-es/commands/DescribeWorkerConfigurationCommand.js +3 -10
  14. package/dist-es/commands/ListConnectorOperationsCommand.js +3 -9
  15. package/dist-es/commands/ListConnectorsCommand.js +3 -9
  16. package/dist-es/commands/ListCustomPluginsCommand.js +3 -9
  17. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  18. package/dist-es/commands/ListWorkerConfigurationsCommand.js +3 -9
  19. package/dist-es/commands/TagResourceCommand.js +3 -9
  20. package/dist-es/commands/UntagResourceCommand.js +3 -9
  21. package/dist-es/commands/UpdateConnectorCommand.js +3 -10
  22. package/dist-es/models/models_0.js +0 -32
  23. package/dist-es/runtimeConfig.shared.js +2 -0
  24. package/dist-es/schemas/schemas_0.js +1018 -0
  25. package/dist-types/KafkaConnectClient.d.ts +10 -1
  26. package/dist-types/models/models_0.d.ts +0 -28
  27. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  28. package/dist-types/runtimeConfig.d.ts +1 -0
  29. package/dist-types/runtimeConfig.native.d.ts +1 -0
  30. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  31. package/dist-types/schemas/schemas_0.d.ts +133 -0
  32. package/dist-types/ts3.4/KafkaConnectClient.d.ts +4 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +0 -21
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +140 -0
  39. package/package.json +5 -5
  40. package/dist-es/protocols/Aws_restJson1.js +0 -797
  41. package/dist-types/protocols/Aws_restJson1.d.ts +0 -164
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -221
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 KafkaConnectClient 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,12 +110,12 @@ class KafkaConnectClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class KafkaConnectServiceException extends smithyClient.ServiceException {
113
+ let KafkaConnectServiceException$1 = class KafkaConnectServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, KafkaConnectServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const ConnectorOperationStepState = {
121
121
  CANCELLED: "CANCELLED",
@@ -177,7 +177,7 @@ const WorkerConfigurationState = {
177
177
  ACTIVE: "ACTIVE",
178
178
  DELETING: "DELETING",
179
179
  };
180
- class BadRequestException extends KafkaConnectServiceException {
180
+ let BadRequestException$1 = class BadRequestException extends KafkaConnectServiceException$1 {
181
181
  name = "BadRequestException";
182
182
  $fault = "client";
183
183
  constructor(opts) {
@@ -188,8 +188,8 @@ class BadRequestException extends KafkaConnectServiceException {
188
188
  });
189
189
  Object.setPrototypeOf(this, BadRequestException.prototype);
190
190
  }
191
- }
192
- class ConflictException extends KafkaConnectServiceException {
191
+ };
192
+ let ConflictException$1 = class ConflictException extends KafkaConnectServiceException$1 {
193
193
  name = "ConflictException";
194
194
  $fault = "client";
195
195
  constructor(opts) {
@@ -200,8 +200,8 @@ class ConflictException extends KafkaConnectServiceException {
200
200
  });
201
201
  Object.setPrototypeOf(this, ConflictException.prototype);
202
202
  }
203
- }
204
- class ForbiddenException extends KafkaConnectServiceException {
203
+ };
204
+ let ForbiddenException$1 = class ForbiddenException extends KafkaConnectServiceException$1 {
205
205
  name = "ForbiddenException";
206
206
  $fault = "client";
207
207
  constructor(opts) {
@@ -212,8 +212,8 @@ class ForbiddenException extends KafkaConnectServiceException {
212
212
  });
213
213
  Object.setPrototypeOf(this, ForbiddenException.prototype);
214
214
  }
215
- }
216
- class InternalServerErrorException extends KafkaConnectServiceException {
215
+ };
216
+ let InternalServerErrorException$1 = class InternalServerErrorException extends KafkaConnectServiceException$1 {
217
217
  name = "InternalServerErrorException";
218
218
  $fault = "server";
219
219
  constructor(opts) {
@@ -224,8 +224,8 @@ class InternalServerErrorException extends KafkaConnectServiceException {
224
224
  });
225
225
  Object.setPrototypeOf(this, InternalServerErrorException.prototype);
226
226
  }
227
- }
228
- class NotFoundException extends KafkaConnectServiceException {
227
+ };
228
+ let NotFoundException$1 = class NotFoundException extends KafkaConnectServiceException$1 {
229
229
  name = "NotFoundException";
230
230
  $fault = "client";
231
231
  constructor(opts) {
@@ -236,8 +236,8 @@ class NotFoundException extends KafkaConnectServiceException {
236
236
  });
237
237
  Object.setPrototypeOf(this, NotFoundException.prototype);
238
238
  }
239
- }
240
- class ServiceUnavailableException extends KafkaConnectServiceException {
239
+ };
240
+ let ServiceUnavailableException$1 = class ServiceUnavailableException extends KafkaConnectServiceException$1 {
241
241
  name = "ServiceUnavailableException";
242
242
  $fault = "server";
243
243
  constructor(opts) {
@@ -248,8 +248,8 @@ class ServiceUnavailableException extends KafkaConnectServiceException {
248
248
  });
249
249
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
250
250
  }
251
- }
252
- class TooManyRequestsException extends KafkaConnectServiceException {
251
+ };
252
+ let TooManyRequestsException$1 = class TooManyRequestsException extends KafkaConnectServiceException$1 {
253
253
  name = "TooManyRequestsException";
254
254
  $fault = "client";
255
255
  constructor(opts) {
@@ -260,8 +260,8 @@ class TooManyRequestsException extends KafkaConnectServiceException {
260
260
  });
261
261
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
262
262
  }
263
- }
264
- class UnauthorizedException extends KafkaConnectServiceException {
263
+ };
264
+ let UnauthorizedException$1 = class UnauthorizedException extends KafkaConnectServiceException$1 {
265
265
  name = "UnauthorizedException";
266
266
  $fault = "client";
267
267
  constructor(opts) {
@@ -272,845 +272,1030 @@ class UnauthorizedException extends KafkaConnectServiceException {
272
272
  });
273
273
  Object.setPrototypeOf(this, UnauthorizedException.prototype);
274
274
  }
275
- }
276
- const CreateConnectorRequestFilterSensitiveLog = (obj) => ({
277
- ...obj,
278
- ...(obj.connectorConfiguration && { connectorConfiguration: smithyClient.SENSITIVE_STRING }),
279
- });
280
- const CreateWorkerConfigurationRequestFilterSensitiveLog = (obj) => ({
281
- ...obj,
282
- ...(obj.propertiesFileContent && { propertiesFileContent: smithyClient.SENSITIVE_STRING }),
283
- });
284
- const DescribeConnectorResponseFilterSensitiveLog = (obj) => ({
285
- ...obj,
286
- ...(obj.connectorConfiguration && { connectorConfiguration: smithyClient.SENSITIVE_STRING }),
287
- });
288
- const DescribeConnectorOperationResponseFilterSensitiveLog = (obj) => ({
289
- ...obj,
290
- ...(obj.originConnectorConfiguration && { originConnectorConfiguration: smithyClient.SENSITIVE_STRING }),
291
- ...(obj.targetConnectorConfiguration && { targetConnectorConfiguration: smithyClient.SENSITIVE_STRING }),
292
- });
293
- const WorkerConfigurationRevisionDescriptionFilterSensitiveLog = (obj) => ({
294
- ...obj,
295
- ...(obj.propertiesFileContent && { propertiesFileContent: smithyClient.SENSITIVE_STRING }),
296
- });
297
- const DescribeWorkerConfigurationResponseFilterSensitiveLog = (obj) => ({
298
- ...obj,
299
- ...(obj.latestRevision && {
300
- latestRevision: WorkerConfigurationRevisionDescriptionFilterSensitiveLog(obj.latestRevision),
301
- }),
302
- });
303
- const UpdateConnectorRequestFilterSensitiveLog = (obj) => ({
304
- ...obj,
305
- ...(obj.connectorConfiguration && { connectorConfiguration: smithyClient.SENSITIVE_STRING }),
306
- });
307
-
308
- const se_CreateConnectorCommand = async (input, context) => {
309
- const b = core.requestBuilder(input, context);
310
- const headers = {
311
- "content-type": "application/json",
312
- };
313
- b.bp("/v1/connectors");
314
- let body;
315
- body = JSON.stringify(smithyClient.take(input, {
316
- capacity: (_) => smithyClient._json(_),
317
- connectorConfiguration: (_) => smithyClient._json(_),
318
- connectorDescription: [],
319
- connectorName: [],
320
- kafkaCluster: (_) => smithyClient._json(_),
321
- kafkaClusterClientAuthentication: (_) => smithyClient._json(_),
322
- kafkaClusterEncryptionInTransit: (_) => smithyClient._json(_),
323
- kafkaConnectVersion: [],
324
- logDelivery: (_) => smithyClient._json(_),
325
- plugins: (_) => smithyClient._json(_),
326
- serviceExecutionRoleArn: [],
327
- tags: (_) => smithyClient._json(_),
328
- workerConfiguration: (_) => smithyClient._json(_),
329
- }));
330
- b.m("POST").h(headers).b(body);
331
- return b.build();
332
- };
333
- const se_CreateCustomPluginCommand = async (input, context) => {
334
- const b = core.requestBuilder(input, context);
335
- const headers = {
336
- "content-type": "application/json",
337
- };
338
- b.bp("/v1/custom-plugins");
339
- let body;
340
- body = JSON.stringify(smithyClient.take(input, {
341
- contentType: [],
342
- description: [],
343
- location: (_) => smithyClient._json(_),
344
- name: [],
345
- tags: (_) => smithyClient._json(_),
346
- }));
347
- b.m("POST").h(headers).b(body);
348
- return b.build();
349
- };
350
- const se_CreateWorkerConfigurationCommand = async (input, context) => {
351
- const b = core.requestBuilder(input, context);
352
- const headers = {
353
- "content-type": "application/json",
354
- };
355
- b.bp("/v1/worker-configurations");
356
- let body;
357
- body = JSON.stringify(smithyClient.take(input, {
358
- description: [],
359
- name: [],
360
- propertiesFileContent: [],
361
- tags: (_) => smithyClient._json(_),
362
- }));
363
- b.m("POST").h(headers).b(body);
364
- return b.build();
365
- };
366
- const se_DeleteConnectorCommand = async (input, context) => {
367
- const b = core.requestBuilder(input, context);
368
- const headers = {};
369
- b.bp("/v1/connectors/{connectorArn}");
370
- b.p("connectorArn", () => input.connectorArn, "{connectorArn}", false);
371
- const query = smithyClient.map({
372
- [_cV]: [, input[_cV]],
373
- });
374
- let body;
375
- b.m("DELETE").h(headers).q(query).b(body);
376
- return b.build();
377
- };
378
- const se_DeleteCustomPluginCommand = async (input, context) => {
379
- const b = core.requestBuilder(input, context);
380
- const headers = {};
381
- b.bp("/v1/custom-plugins/{customPluginArn}");
382
- b.p("customPluginArn", () => input.customPluginArn, "{customPluginArn}", false);
383
- let body;
384
- b.m("DELETE").h(headers).b(body);
385
- return b.build();
386
- };
387
- const se_DeleteWorkerConfigurationCommand = async (input, context) => {
388
- const b = core.requestBuilder(input, context);
389
- const headers = {};
390
- b.bp("/v1/worker-configurations/{workerConfigurationArn}");
391
- b.p("workerConfigurationArn", () => input.workerConfigurationArn, "{workerConfigurationArn}", false);
392
- let body;
393
- b.m("DELETE").h(headers).b(body);
394
- return b.build();
395
- };
396
- const se_DescribeConnectorCommand = async (input, context) => {
397
- const b = core.requestBuilder(input, context);
398
- const headers = {};
399
- b.bp("/v1/connectors/{connectorArn}");
400
- b.p("connectorArn", () => input.connectorArn, "{connectorArn}", false);
401
- let body;
402
- b.m("GET").h(headers).b(body);
403
- return b.build();
404
- };
405
- const se_DescribeConnectorOperationCommand = async (input, context) => {
406
- const b = core.requestBuilder(input, context);
407
- const headers = {};
408
- b.bp("/v1/connectorOperations/{connectorOperationArn}");
409
- b.p("connectorOperationArn", () => input.connectorOperationArn, "{connectorOperationArn}", false);
410
- let body;
411
- b.m("GET").h(headers).b(body);
412
- return b.build();
413
- };
414
- const se_DescribeCustomPluginCommand = async (input, context) => {
415
- const b = core.requestBuilder(input, context);
416
- const headers = {};
417
- b.bp("/v1/custom-plugins/{customPluginArn}");
418
- b.p("customPluginArn", () => input.customPluginArn, "{customPluginArn}", false);
419
- let body;
420
- b.m("GET").h(headers).b(body);
421
- return b.build();
422
- };
423
- const se_DescribeWorkerConfigurationCommand = async (input, context) => {
424
- const b = core.requestBuilder(input, context);
425
- const headers = {};
426
- b.bp("/v1/worker-configurations/{workerConfigurationArn}");
427
- b.p("workerConfigurationArn", () => input.workerConfigurationArn, "{workerConfigurationArn}", false);
428
- let body;
429
- b.m("GET").h(headers).b(body);
430
- return b.build();
431
- };
432
- const se_ListConnectorOperationsCommand = async (input, context) => {
433
- const b = core.requestBuilder(input, context);
434
- const headers = {};
435
- b.bp("/v1/connectors/{connectorArn}/operations");
436
- b.p("connectorArn", () => input.connectorArn, "{connectorArn}", false);
437
- const query = smithyClient.map({
438
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
439
- [_nT]: [, input[_nT]],
440
- });
441
- let body;
442
- b.m("GET").h(headers).q(query).b(body);
443
- return b.build();
444
- };
445
- const se_ListConnectorsCommand = async (input, context) => {
446
- const b = core.requestBuilder(input, context);
447
- const headers = {};
448
- b.bp("/v1/connectors");
449
- const query = smithyClient.map({
450
- [_cNP]: [, input[_cNP]],
451
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
452
- [_nT]: [, input[_nT]],
453
- });
454
- let body;
455
- b.m("GET").h(headers).q(query).b(body);
456
- return b.build();
457
- };
458
- const se_ListCustomPluginsCommand = async (input, context) => {
459
- const b = core.requestBuilder(input, context);
460
- const headers = {};
461
- b.bp("/v1/custom-plugins");
462
- const query = smithyClient.map({
463
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
464
- [_nT]: [, input[_nT]],
465
- [_nP]: [, input[_nP]],
466
- });
467
- let body;
468
- b.m("GET").h(headers).q(query).b(body);
469
- return b.build();
470
- };
471
- const se_ListTagsForResourceCommand = async (input, context) => {
472
- const b = core.requestBuilder(input, context);
473
- const headers = {};
474
- b.bp("/v1/tags/{resourceArn}");
475
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
476
- let body;
477
- b.m("GET").h(headers).b(body);
478
- return b.build();
479
- };
480
- const se_ListWorkerConfigurationsCommand = async (input, context) => {
481
- const b = core.requestBuilder(input, context);
482
- const headers = {};
483
- b.bp("/v1/worker-configurations");
484
- const query = smithyClient.map({
485
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
486
- [_nT]: [, input[_nT]],
487
- [_nP]: [, input[_nP]],
488
- });
489
- let body;
490
- b.m("GET").h(headers).q(query).b(body);
491
- return b.build();
492
- };
493
- const se_TagResourceCommand = async (input, context) => {
494
- const b = core.requestBuilder(input, context);
495
- const headers = {
496
- "content-type": "application/json",
497
- };
498
- b.bp("/v1/tags/{resourceArn}");
499
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
500
- let body;
501
- body = JSON.stringify(smithyClient.take(input, {
502
- tags: (_) => smithyClient._json(_),
503
- }));
504
- b.m("POST").h(headers).b(body);
505
- return b.build();
506
- };
507
- const se_UntagResourceCommand = async (input, context) => {
508
- const b = core.requestBuilder(input, context);
509
- const headers = {};
510
- b.bp("/v1/tags/{resourceArn}");
511
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
512
- const query = smithyClient.map({
513
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
514
- });
515
- let body;
516
- b.m("DELETE").h(headers).q(query).b(body);
517
- return b.build();
518
- };
519
- const se_UpdateConnectorCommand = async (input, context) => {
520
- const b = core.requestBuilder(input, context);
521
- const headers = {
522
- "content-type": "application/json",
523
- };
524
- b.bp("/v1/connectors/{connectorArn}");
525
- b.p("connectorArn", () => input.connectorArn, "{connectorArn}", false);
526
- const query = smithyClient.map({
527
- [_cV]: [, smithyClient.expectNonNull(input[_cV], `currentVersion`)],
528
- });
529
- let body;
530
- body = JSON.stringify(smithyClient.take(input, {
531
- capacity: (_) => smithyClient._json(_),
532
- connectorConfiguration: (_) => smithyClient._json(_),
533
- }));
534
- b.m("PUT").h(headers).q(query).b(body);
535
- return b.build();
536
- };
537
- const de_CreateConnectorCommand = async (output, context) => {
538
- if (output.statusCode !== 200 && output.statusCode >= 300) {
539
- return de_CommandError(output, context);
540
- }
541
- const contents = smithyClient.map({
542
- $metadata: deserializeMetadata(output),
543
- });
544
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
545
- const doc = smithyClient.take(data, {
546
- connectorArn: smithyClient.expectString,
547
- connectorName: smithyClient.expectString,
548
- connectorState: smithyClient.expectString,
549
- });
550
- Object.assign(contents, doc);
551
- return contents;
552
- };
553
- const de_CreateCustomPluginCommand = async (output, context) => {
554
- if (output.statusCode !== 200 && output.statusCode >= 300) {
555
- return de_CommandError(output, context);
556
- }
557
- const contents = smithyClient.map({
558
- $metadata: deserializeMetadata(output),
559
- });
560
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
561
- const doc = smithyClient.take(data, {
562
- customPluginArn: smithyClient.expectString,
563
- customPluginState: smithyClient.expectString,
564
- name: smithyClient.expectString,
565
- revision: smithyClient.expectLong,
566
- });
567
- Object.assign(contents, doc);
568
- return contents;
569
- };
570
- const de_CreateWorkerConfigurationCommand = async (output, context) => {
571
- if (output.statusCode !== 200 && output.statusCode >= 300) {
572
- return de_CommandError(output, context);
573
- }
574
- const contents = smithyClient.map({
575
- $metadata: deserializeMetadata(output),
576
- });
577
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
578
- const doc = smithyClient.take(data, {
579
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
580
- latestRevision: (_) => de_WorkerConfigurationRevisionSummary(_),
581
- name: smithyClient.expectString,
582
- workerConfigurationArn: smithyClient.expectString,
583
- workerConfigurationState: smithyClient.expectString,
584
- });
585
- Object.assign(contents, doc);
586
- return contents;
587
- };
588
- const de_DeleteConnectorCommand = async (output, context) => {
589
- if (output.statusCode !== 200 && output.statusCode >= 300) {
590
- return de_CommandError(output, context);
591
- }
592
- const contents = smithyClient.map({
593
- $metadata: deserializeMetadata(output),
594
- });
595
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
596
- const doc = smithyClient.take(data, {
597
- connectorArn: smithyClient.expectString,
598
- connectorState: smithyClient.expectString,
599
- });
600
- Object.assign(contents, doc);
601
- return contents;
602
- };
603
- const de_DeleteCustomPluginCommand = async (output, context) => {
604
- if (output.statusCode !== 200 && output.statusCode >= 300) {
605
- return de_CommandError(output, context);
606
- }
607
- const contents = smithyClient.map({
608
- $metadata: deserializeMetadata(output),
609
- });
610
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
611
- const doc = smithyClient.take(data, {
612
- customPluginArn: smithyClient.expectString,
613
- customPluginState: smithyClient.expectString,
614
- });
615
- Object.assign(contents, doc);
616
- return contents;
617
- };
618
- const de_DeleteWorkerConfigurationCommand = async (output, context) => {
619
- if (output.statusCode !== 200 && output.statusCode >= 300) {
620
- return de_CommandError(output, context);
621
- }
622
- const contents = smithyClient.map({
623
- $metadata: deserializeMetadata(output),
624
- });
625
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
626
- const doc = smithyClient.take(data, {
627
- workerConfigurationArn: smithyClient.expectString,
628
- workerConfigurationState: smithyClient.expectString,
629
- });
630
- Object.assign(contents, doc);
631
- return contents;
632
- };
633
- const de_DescribeConnectorCommand = async (output, context) => {
634
- if (output.statusCode !== 200 && output.statusCode >= 300) {
635
- return de_CommandError(output, context);
636
- }
637
- const contents = smithyClient.map({
638
- $metadata: deserializeMetadata(output),
639
- });
640
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
641
- const doc = smithyClient.take(data, {
642
- capacity: smithyClient._json,
643
- connectorArn: smithyClient.expectString,
644
- connectorConfiguration: smithyClient._json,
645
- connectorDescription: smithyClient.expectString,
646
- connectorName: smithyClient.expectString,
647
- connectorState: smithyClient.expectString,
648
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
649
- currentVersion: smithyClient.expectString,
650
- kafkaCluster: smithyClient._json,
651
- kafkaClusterClientAuthentication: smithyClient._json,
652
- kafkaClusterEncryptionInTransit: smithyClient._json,
653
- kafkaConnectVersion: smithyClient.expectString,
654
- logDelivery: smithyClient._json,
655
- plugins: smithyClient._json,
656
- serviceExecutionRoleArn: smithyClient.expectString,
657
- stateDescription: smithyClient._json,
658
- workerConfiguration: smithyClient._json,
659
- });
660
- Object.assign(contents, doc);
661
- return contents;
662
275
  };
663
- const de_DescribeConnectorOperationCommand = async (output, context) => {
664
- if (output.statusCode !== 200 && output.statusCode >= 300) {
665
- return de_CommandError(output, context);
666
- }
667
- const contents = smithyClient.map({
668
- $metadata: deserializeMetadata(output),
669
- });
670
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
671
- const doc = smithyClient.take(data, {
672
- connectorArn: smithyClient.expectString,
673
- connectorOperationArn: smithyClient.expectString,
674
- connectorOperationState: smithyClient.expectString,
675
- connectorOperationType: smithyClient.expectString,
676
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
677
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
678
- errorInfo: smithyClient._json,
679
- operationSteps: smithyClient._json,
680
- originConnectorConfiguration: smithyClient._json,
681
- originWorkerSetting: smithyClient._json,
682
- targetConnectorConfiguration: smithyClient._json,
683
- targetWorkerSetting: smithyClient._json,
684
- });
685
- Object.assign(contents, doc);
686
- return contents;
687
- };
688
- const de_DescribeCustomPluginCommand = async (output, context) => {
689
- if (output.statusCode !== 200 && output.statusCode >= 300) {
690
- return de_CommandError(output, context);
691
- }
692
- const contents = smithyClient.map({
693
- $metadata: deserializeMetadata(output),
694
- });
695
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
696
- const doc = smithyClient.take(data, {
697
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
698
- customPluginArn: smithyClient.expectString,
699
- customPluginState: smithyClient.expectString,
700
- description: smithyClient.expectString,
701
- latestRevision: (_) => de_CustomPluginRevisionSummary(_),
702
- name: smithyClient.expectString,
703
- stateDescription: smithyClient._json,
704
- });
705
- Object.assign(contents, doc);
706
- return contents;
707
- };
708
- const de_DescribeWorkerConfigurationCommand = async (output, context) => {
709
- if (output.statusCode !== 200 && output.statusCode >= 300) {
710
- return de_CommandError(output, context);
711
- }
712
- const contents = smithyClient.map({
713
- $metadata: deserializeMetadata(output),
714
- });
715
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
716
- const doc = smithyClient.take(data, {
717
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
718
- description: smithyClient.expectString,
719
- latestRevision: (_) => de_WorkerConfigurationRevisionDescription(_),
720
- name: smithyClient.expectString,
721
- workerConfigurationArn: smithyClient.expectString,
722
- workerConfigurationState: smithyClient.expectString,
723
- });
724
- Object.assign(contents, doc);
725
- return contents;
726
- };
727
- const de_ListConnectorOperationsCommand = async (output, context) => {
728
- if (output.statusCode !== 200 && output.statusCode >= 300) {
729
- return de_CommandError(output, context);
730
- }
731
- const contents = smithyClient.map({
732
- $metadata: deserializeMetadata(output),
733
- });
734
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
735
- const doc = smithyClient.take(data, {
736
- connectorOperations: (_) => de___listOfConnectorOperationSummary(_),
737
- nextToken: smithyClient.expectString,
738
- });
739
- Object.assign(contents, doc);
740
- return contents;
741
- };
742
- const de_ListConnectorsCommand = async (output, context) => {
743
- if (output.statusCode !== 200 && output.statusCode >= 300) {
744
- return de_CommandError(output, context);
745
- }
746
- const contents = smithyClient.map({
747
- $metadata: deserializeMetadata(output),
748
- });
749
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
750
- const doc = smithyClient.take(data, {
751
- connectors: (_) => de___listOfConnectorSummary(_),
752
- nextToken: smithyClient.expectString,
753
- });
754
- Object.assign(contents, doc);
755
- return contents;
756
- };
757
- const de_ListCustomPluginsCommand = async (output, context) => {
758
- if (output.statusCode !== 200 && output.statusCode >= 300) {
759
- return de_CommandError(output, context);
760
- }
761
- const contents = smithyClient.map({
762
- $metadata: deserializeMetadata(output),
763
- });
764
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
765
- const doc = smithyClient.take(data, {
766
- customPlugins: (_) => de___listOfCustomPluginSummary(_),
767
- nextToken: smithyClient.expectString,
768
- });
769
- Object.assign(contents, doc);
770
- return contents;
771
- };
772
- const de_ListTagsForResourceCommand = async (output, context) => {
773
- if (output.statusCode !== 200 && output.statusCode >= 300) {
774
- return de_CommandError(output, context);
775
- }
776
- const contents = smithyClient.map({
777
- $metadata: deserializeMetadata(output),
778
- });
779
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
780
- const doc = smithyClient.take(data, {
781
- tags: smithyClient._json,
782
- });
783
- Object.assign(contents, doc);
784
- return contents;
785
- };
786
- const de_ListWorkerConfigurationsCommand = async (output, context) => {
787
- if (output.statusCode !== 200 && output.statusCode >= 300) {
788
- return de_CommandError(output, context);
789
- }
790
- const contents = smithyClient.map({
791
- $metadata: deserializeMetadata(output),
792
- });
793
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
794
- const doc = smithyClient.take(data, {
795
- nextToken: smithyClient.expectString,
796
- workerConfigurations: (_) => de___listOfWorkerConfigurationSummary(_),
797
- });
798
- Object.assign(contents, doc);
799
- return contents;
800
- };
801
- const de_TagResourceCommand = async (output, context) => {
802
- if (output.statusCode !== 200 && output.statusCode >= 300) {
803
- return de_CommandError(output, context);
804
- }
805
- const contents = smithyClient.map({
806
- $metadata: deserializeMetadata(output),
807
- });
808
- await smithyClient.collectBody(output.body, context);
809
- return contents;
810
- };
811
- const de_UntagResourceCommand = async (output, context) => {
812
- if (output.statusCode !== 200 && output.statusCode >= 300) {
813
- return de_CommandError(output, context);
814
- }
815
- const contents = smithyClient.map({
816
- $metadata: deserializeMetadata(output),
817
- });
818
- await smithyClient.collectBody(output.body, context);
819
- return contents;
820
- };
821
- const de_UpdateConnectorCommand = async (output, context) => {
822
- if (output.statusCode !== 200 && output.statusCode >= 300) {
823
- return de_CommandError(output, context);
824
- }
825
- const contents = smithyClient.map({
826
- $metadata: deserializeMetadata(output),
827
- });
828
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
829
- const doc = smithyClient.take(data, {
830
- connectorArn: smithyClient.expectString,
831
- connectorOperationArn: smithyClient.expectString,
832
- connectorState: smithyClient.expectString,
833
- });
834
- Object.assign(contents, doc);
835
- return contents;
836
- };
837
- const de_CommandError = async (output, context) => {
838
- const parsedOutput = {
839
- ...output,
840
- body: await core$1.parseJsonErrorBody(output.body, context),
841
- };
842
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
843
- switch (errorCode) {
844
- case "BadRequestException":
845
- case "com.amazonaws.kafkaconnect#BadRequestException":
846
- throw await de_BadRequestExceptionRes(parsedOutput);
847
- case "ConflictException":
848
- case "com.amazonaws.kafkaconnect#ConflictException":
849
- throw await de_ConflictExceptionRes(parsedOutput);
850
- case "ForbiddenException":
851
- case "com.amazonaws.kafkaconnect#ForbiddenException":
852
- throw await de_ForbiddenExceptionRes(parsedOutput);
853
- case "InternalServerErrorException":
854
- case "com.amazonaws.kafkaconnect#InternalServerErrorException":
855
- throw await de_InternalServerErrorExceptionRes(parsedOutput);
856
- case "NotFoundException":
857
- case "com.amazonaws.kafkaconnect#NotFoundException":
858
- throw await de_NotFoundExceptionRes(parsedOutput);
859
- case "ServiceUnavailableException":
860
- case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
861
- throw await de_ServiceUnavailableExceptionRes(parsedOutput);
862
- case "TooManyRequestsException":
863
- case "com.amazonaws.kafkaconnect#TooManyRequestsException":
864
- throw await de_TooManyRequestsExceptionRes(parsedOutput);
865
- case "UnauthorizedException":
866
- case "com.amazonaws.kafkaconnect#UnauthorizedException":
867
- throw await de_UnauthorizedExceptionRes(parsedOutput);
868
- default:
869
- const parsedBody = parsedOutput.body;
870
- return throwDefaultError({
871
- output,
872
- parsedBody,
873
- errorCode,
874
- });
875
- }
876
- };
877
- const throwDefaultError = smithyClient.withBaseException(KafkaConnectServiceException);
878
- const de_BadRequestExceptionRes = async (parsedOutput, context) => {
879
- const contents = smithyClient.map({});
880
- const data = parsedOutput.body;
881
- const doc = smithyClient.take(data, {
882
- message: smithyClient.expectString,
883
- });
884
- Object.assign(contents, doc);
885
- const exception = new BadRequestException({
886
- $metadata: deserializeMetadata(parsedOutput),
887
- ...contents,
888
- });
889
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
890
- };
891
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
892
- const contents = smithyClient.map({});
893
- const data = parsedOutput.body;
894
- const doc = smithyClient.take(data, {
895
- message: smithyClient.expectString,
896
- });
897
- Object.assign(contents, doc);
898
- const exception = new ConflictException({
899
- $metadata: deserializeMetadata(parsedOutput),
900
- ...contents,
901
- });
902
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
903
- };
904
- const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
905
- const contents = smithyClient.map({});
906
- const data = parsedOutput.body;
907
- const doc = smithyClient.take(data, {
908
- message: smithyClient.expectString,
909
- });
910
- Object.assign(contents, doc);
911
- const exception = new ForbiddenException({
912
- $metadata: deserializeMetadata(parsedOutput),
913
- ...contents,
914
- });
915
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
916
- };
917
- const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
918
- const contents = smithyClient.map({});
919
- const data = parsedOutput.body;
920
- const doc = smithyClient.take(data, {
921
- message: smithyClient.expectString,
922
- });
923
- Object.assign(contents, doc);
924
- const exception = new InternalServerErrorException({
925
- $metadata: deserializeMetadata(parsedOutput),
926
- ...contents,
927
- });
928
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
929
- };
930
- const de_NotFoundExceptionRes = async (parsedOutput, context) => {
931
- const contents = smithyClient.map({});
932
- const data = parsedOutput.body;
933
- const doc = smithyClient.take(data, {
934
- message: smithyClient.expectString,
935
- });
936
- Object.assign(contents, doc);
937
- const exception = new NotFoundException({
938
- $metadata: deserializeMetadata(parsedOutput),
939
- ...contents,
940
- });
941
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
942
- };
943
- const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
944
- const contents = smithyClient.map({});
945
- const data = parsedOutput.body;
946
- const doc = smithyClient.take(data, {
947
- message: smithyClient.expectString,
948
- });
949
- Object.assign(contents, doc);
950
- const exception = new ServiceUnavailableException({
951
- $metadata: deserializeMetadata(parsedOutput),
952
- ...contents,
953
- });
954
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
955
- };
956
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
957
- const contents = smithyClient.map({});
958
- const data = parsedOutput.body;
959
- const doc = smithyClient.take(data, {
960
- message: smithyClient.expectString,
961
- });
962
- Object.assign(contents, doc);
963
- const exception = new TooManyRequestsException({
964
- $metadata: deserializeMetadata(parsedOutput),
965
- ...contents,
966
- });
967
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
968
- };
969
- const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
970
- const contents = smithyClient.map({});
971
- const data = parsedOutput.body;
972
- const doc = smithyClient.take(data, {
973
- message: smithyClient.expectString,
974
- });
975
- Object.assign(contents, doc);
976
- const exception = new UnauthorizedException({
977
- $metadata: deserializeMetadata(parsedOutput),
978
- ...contents,
979
- });
980
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
981
- };
982
- const de___listOfConnectorOperationSummary = (output, context) => {
983
- const retVal = (output || [])
984
- .filter((e) => e != null)
985
- .map((entry) => {
986
- return de_ConnectorOperationSummary(entry);
987
- });
988
- return retVal;
989
- };
990
- const de___listOfConnectorSummary = (output, context) => {
991
- const retVal = (output || [])
992
- .filter((e) => e != null)
993
- .map((entry) => {
994
- return de_ConnectorSummary(entry);
995
- });
996
- return retVal;
997
- };
998
- const de___listOfCustomPluginSummary = (output, context) => {
999
- const retVal = (output || [])
1000
- .filter((e) => e != null)
1001
- .map((entry) => {
1002
- return de_CustomPluginSummary(entry);
1003
- });
1004
- return retVal;
1005
- };
1006
- const de___listOfWorkerConfigurationSummary = (output, context) => {
1007
- const retVal = (output || [])
1008
- .filter((e) => e != null)
1009
- .map((entry) => {
1010
- return de_WorkerConfigurationSummary(entry);
1011
- });
1012
- return retVal;
1013
- };
1014
- const de_ConnectorOperationSummary = (output, context) => {
1015
- return smithyClient.take(output, {
1016
- connectorOperationArn: smithyClient.expectString,
1017
- connectorOperationState: smithyClient.expectString,
1018
- connectorOperationType: smithyClient.expectString,
1019
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1020
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1021
- });
1022
- };
1023
- const de_ConnectorSummary = (output, context) => {
1024
- return smithyClient.take(output, {
1025
- capacity: smithyClient._json,
1026
- connectorArn: smithyClient.expectString,
1027
- connectorDescription: smithyClient.expectString,
1028
- connectorName: smithyClient.expectString,
1029
- connectorState: smithyClient.expectString,
1030
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1031
- currentVersion: smithyClient.expectString,
1032
- kafkaCluster: smithyClient._json,
1033
- kafkaClusterClientAuthentication: smithyClient._json,
1034
- kafkaClusterEncryptionInTransit: smithyClient._json,
1035
- kafkaConnectVersion: smithyClient.expectString,
1036
- logDelivery: smithyClient._json,
1037
- plugins: smithyClient._json,
1038
- serviceExecutionRoleArn: smithyClient.expectString,
1039
- workerConfiguration: smithyClient._json,
1040
- });
1041
- };
1042
- const de_CustomPluginRevisionSummary = (output, context) => {
1043
- return smithyClient.take(output, {
1044
- contentType: smithyClient.expectString,
1045
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1046
- description: smithyClient.expectString,
1047
- fileDescription: smithyClient._json,
1048
- location: smithyClient._json,
1049
- revision: smithyClient.expectLong,
1050
- });
1051
- };
1052
- const de_CustomPluginSummary = (output, context) => {
1053
- return smithyClient.take(output, {
1054
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1055
- customPluginArn: smithyClient.expectString,
1056
- customPluginState: smithyClient.expectString,
1057
- description: smithyClient.expectString,
1058
- latestRevision: (_) => de_CustomPluginRevisionSummary(_),
1059
- name: smithyClient.expectString,
1060
- });
1061
- };
1062
- const de_WorkerConfigurationRevisionDescription = (output, context) => {
1063
- return smithyClient.take(output, {
1064
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1065
- description: smithyClient.expectString,
1066
- propertiesFileContent: smithyClient.expectString,
1067
- revision: smithyClient.expectLong,
1068
- });
1069
- };
1070
- const de_WorkerConfigurationRevisionSummary = (output, context) => {
1071
- return smithyClient.take(output, {
1072
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1073
- description: smithyClient.expectString,
1074
- revision: smithyClient.expectLong,
1075
- });
1076
- };
1077
- const de_WorkerConfigurationSummary = (output, context) => {
1078
- return smithyClient.take(output, {
1079
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1080
- description: smithyClient.expectString,
1081
- latestRevision: (_) => de_WorkerConfigurationRevisionSummary(_),
1082
- name: smithyClient.expectString,
1083
- workerConfigurationArn: smithyClient.expectString,
1084
- workerConfigurationState: smithyClient.expectString,
1085
- });
1086
- };
1087
- const deserializeMetadata = (output) => ({
1088
- httpStatusCode: output.statusCode,
1089
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1090
- extendedRequestId: output.headers["x-amz-id-2"],
1091
- cfId: output.headers["x-amz-cf-id"],
1092
- });
276
+
277
+ const _AKC = "ApacheKafkaCluster";
278
+ const _AKCD = "ApacheKafkaClusterDescription";
279
+ const _AS = "AutoScaling";
280
+ const _ASD = "AutoScalingDescription";
281
+ const _ASU = "AutoScalingUpdate";
282
+ const _BRE = "BadRequestException";
283
+ const _C = "Capacity";
284
+ const _CC = "ConnectorConfiguration";
285
+ const _CCP = "CreateCustomPlugin";
286
+ const _CCPR = "CreateCustomPluginRequest";
287
+ const _CCPRr = "CreateCustomPluginResponse";
288
+ const _CCR = "CreateConnectorRequest";
289
+ const _CCRr = "CreateConnectorResponse";
290
+ const _CCU = "ConnectorConfigurationUpdate";
291
+ const _CCr = "CreateConnector";
292
+ const _CD = "CapacityDescription";
293
+ const _CE = "ConflictException";
294
+ const _COS = "ConnectorOperationStep";
295
+ const _COSo = "ConnectorOperationSummary";
296
+ const _CP = "CustomPlugin";
297
+ const _CPD = "CustomPluginDescription";
298
+ const _CPFD = "CustomPluginFileDescription";
299
+ const _CPL = "CustomPluginLocation";
300
+ const _CPLD = "CustomPluginLocationDescription";
301
+ const _CPRS = "CustomPluginRevisionSummary";
302
+ const _CPS = "CustomPluginSummary";
303
+ const _CS = "ConnectorSummary";
304
+ const _CU = "CapacityUpdate";
305
+ const _CWC = "CreateWorkerConfiguration";
306
+ const _CWCR = "CreateWorkerConfigurationRequest";
307
+ const _CWCRr = "CreateWorkerConfigurationResponse";
308
+ const _CWLLD = "CloudWatchLogsLogDelivery";
309
+ const _CWLLDD = "CloudWatchLogsLogDeliveryDescription";
310
+ const _DC = "DeleteConnector";
311
+ const _DCO = "DescribeConnectorOperation";
312
+ const _DCOR = "DescribeConnectorOperationRequest";
313
+ const _DCORe = "DescribeConnectorOperationResponse";
314
+ const _DCP = "DeleteCustomPlugin";
315
+ const _DCPR = "DeleteCustomPluginRequest";
316
+ const _DCPRe = "DeleteCustomPluginResponse";
317
+ const _DCPRes = "DescribeCustomPluginRequest";
318
+ const _DCPResc = "DescribeCustomPluginResponse";
319
+ const _DCPe = "DescribeCustomPlugin";
320
+ const _DCR = "DeleteConnectorRequest";
321
+ const _DCRe = "DeleteConnectorResponse";
322
+ const _DCRes = "DescribeConnectorRequest";
323
+ const _DCResc = "DescribeConnectorResponse";
324
+ const _DCe = "DescribeConnector";
325
+ const _DWC = "DeleteWorkerConfiguration";
326
+ const _DWCR = "DeleteWorkerConfigurationRequest";
327
+ const _DWCRe = "DeleteWorkerConfigurationResponse";
328
+ const _DWCRes = "DescribeWorkerConfigurationRequest";
329
+ const _DWCResc = "DescribeWorkerConfigurationResponse";
330
+ const _DWCe = "DescribeWorkerConfiguration";
331
+ const _FE = "ForbiddenException";
332
+ const _FLD = "FirehoseLogDelivery";
333
+ const _FLDD = "FirehoseLogDeliveryDescription";
334
+ const _ISEE = "InternalServerErrorException";
335
+ const _KC = "KafkaCluster";
336
+ const _KCCA = "KafkaClusterClientAuthentication";
337
+ const _KCCAD = "KafkaClusterClientAuthenticationDescription";
338
+ const _KCD = "KafkaClusterDescription";
339
+ const _KCEIT = "KafkaClusterEncryptionInTransit";
340
+ const _KCEITD = "KafkaClusterEncryptionInTransitDescription";
341
+ const _LC = "ListConnectors";
342
+ const _LCO = "ListConnectorOperations";
343
+ const _LCOR = "ListConnectorOperationsRequest";
344
+ const _LCORi = "ListConnectorOperationsResponse";
345
+ const _LCP = "ListCustomPlugins";
346
+ const _LCPR = "ListCustomPluginsRequest";
347
+ const _LCPRi = "ListCustomPluginsResponse";
348
+ const _LCR = "ListConnectorsRequest";
349
+ const _LCRi = "ListConnectorsResponse";
350
+ const _LD = "LogDelivery";
351
+ const _LDD = "LogDeliveryDescription";
352
+ const _LTFR = "ListTagsForResource";
353
+ const _LTFRR = "ListTagsForResourceRequest";
354
+ const _LTFRRi = "ListTagsForResourceResponse";
355
+ const _LWC = "ListWorkerConfigurations";
356
+ const _LWCR = "ListWorkerConfigurationsRequest";
357
+ const _LWCRi = "ListWorkerConfigurationsResponse";
358
+ const _NFE = "NotFoundException";
359
+ const _P = "Plugin";
360
+ const _PC = "ProvisionedCapacity";
361
+ const _PCD = "ProvisionedCapacityDescription";
362
+ const _PCU = "ProvisionedCapacityUpdate";
363
+ const _PD = "PluginDescription";
364
+ const _SD = "StateDescription";
365
+ const _SIP = "ScaleInPolicy";
366
+ const _SIPD = "ScaleInPolicyDescription";
367
+ const _SIPU = "ScaleInPolicyUpdate";
368
+ const _SL = "S3Location";
369
+ const _SLD = "S3LocationDescription";
370
+ const _SLDD = "S3LogDeliveryDescription";
371
+ const _SLDo = "S3LogDelivery";
372
+ const _SOP = "ScaleOutPolicy";
373
+ const _SOPD = "ScaleOutPolicyDescription";
374
+ const _SOPU = "ScaleOutPolicyUpdate";
375
+ const _SUE = "ServiceUnavailableException";
376
+ const _TMRE = "TooManyRequestsException";
377
+ const _TR = "TagResource";
378
+ const _TRR = "TagResourceRequest";
379
+ const _TRRa = "TagResourceResponse";
380
+ const _UC = "UpdateConnector";
381
+ const _UCR = "UpdateConnectorRequest";
382
+ const _UCRp = "UpdateConnectorResponse";
383
+ const _UE = "UnauthorizedException";
384
+ const _UR = "UntagResource";
385
+ const _URR = "UntagResourceRequest";
386
+ const _URRn = "UntagResourceResponse";
387
+ const _V = "Vpc";
388
+ const _VD = "VpcDescription";
389
+ const _WC = "WorkerConfiguration";
390
+ const _WCD = "WorkerConfigurationDescription";
391
+ const _WCRD = "WorkerConfigurationRevisionDescription";
392
+ const _WCRS = "WorkerConfigurationRevisionSummary";
393
+ const _WCS = "WorkerConfigurationSummary";
394
+ const _WLD = "WorkerLogDelivery";
395
+ const _WLDD = "WorkerLogDeliveryDescription";
396
+ const _WS = "WorkerSetting";
397
+ const _aKC = "apacheKafkaCluster";
398
+ const _aS = "autoScaling";
399
+ const _aT = "authenticationType";
400
+ const _b = "bucket";
401
+ const _bA = "bucketArn";
402
+ const _bS = "bootstrapServers";
403
+ const _c = "client";
404
+ const _cA = "connectorArn";
405
+ const _cC = "connectorConfiguration";
406
+ const _cD = "connectorDescription";
407
+ const _cN = "connectorName";
1093
408
  const _cNP = "connectorNamePrefix";
409
+ const _cO = "connectorOperations";
410
+ const _cOA = "connectorOperationArn";
411
+ const _cOS = "connectorOperationState";
412
+ const _cOT = "connectorOperationType";
413
+ const _cP = "customPlugins";
414
+ const _cPA = "customPluginArn";
415
+ const _cPS = "customPluginState";
416
+ const _cPu = "customPlugin";
417
+ const _cS = "connectorState";
418
+ const _cT = "creationTime";
419
+ const _cTo = "contentType";
420
+ const _cUP = "cpuUtilizationPercentage";
1094
421
  const _cV = "currentVersion";
422
+ const _cWL = "cloudWatchLogs";
423
+ const _ca = "capacity";
424
+ const _co = "connectors";
425
+ const _cod = "code";
426
+ const _d = "description";
427
+ const _dS = "deliveryStream";
428
+ const _e = "error";
429
+ const _eI = "errorInfo";
430
+ const _eT = "endTime";
431
+ const _eTn = "encryptionType";
432
+ const _en = "enabled";
433
+ const _f = "firehose";
434
+ const _fD = "fileDescription";
435
+ const _fK = "fileKey";
436
+ const _fM = "fileMd5";
437
+ const _fS = "fileSize";
438
+ const _h = "http";
439
+ const _hE = "httpError";
440
+ const _hQ = "httpQuery";
441
+ const _kC = "kafkaCluster";
442
+ const _kCCA = "kafkaClusterClientAuthentication";
443
+ const _kCEIT = "kafkaClusterEncryptionInTransit";
444
+ const _kCV = "kafkaConnectVersion";
445
+ const _l = "location";
446
+ const _lD = "logDelivery";
447
+ const _lG = "logGroup";
448
+ const _lOCOS = "__listOfConnectorOperationStep";
449
+ const _lOCOSi = "__listOfConnectorOperationSummary";
450
+ const _lOCPS = "__listOfCustomPluginSummary";
451
+ const _lOCS = "__listOfConnectorSummary";
452
+ const _lOP = "__listOfPlugin";
453
+ const _lOPD = "__listOfPluginDescription";
454
+ const _lOWCS = "__listOfWorkerConfigurationSummary";
455
+ const _lR = "latestRevision";
456
+ const _m = "message";
457
+ const _mC = "mcuCount";
1095
458
  const _mR = "maxResults";
459
+ const _mWC = "maxWorkerCount";
460
+ const _mWCi = "minWorkerCount";
461
+ const _n = "name";
1096
462
  const _nP = "namePrefix";
1097
463
  const _nT = "nextToken";
464
+ const _oCC = "originConnectorConfiguration";
465
+ const _oS = "operationSteps";
466
+ const _oV = "objectVersion";
467
+ const _oWS = "originWorkerSetting";
468
+ const _p = "plugins";
469
+ const _pC = "provisionedCapacity";
470
+ const _pFC = "propertiesFileContent";
471
+ const _pr = "prefix";
472
+ const _r = "revision";
473
+ const _rA = "resourceArn";
474
+ const _s = "server";
475
+ const _sD = "stateDescription";
476
+ const _sERA = "serviceExecutionRoleArn";
477
+ const _sG = "securityGroups";
478
+ const _sIP = "scaleInPolicy";
479
+ const _sL = "s3Location";
480
+ const _sOP = "scaleOutPolicy";
481
+ const _sS = "__sensitiveString";
482
+ const _sSt = "stepState";
483
+ const _sT = "stepType";
484
+ const _s_ = "s3";
485
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kafkaconnect";
486
+ const _su = "subnets";
487
+ const _t = "tags";
488
+ const _tCC = "targetConnectorConfiguration";
1098
489
  const _tK = "tagKeys";
490
+ const _tWS = "targetWorkerSetting";
491
+ const _v = "vpc";
492
+ const _wC = "workerConfiguration";
493
+ const _wCA = "workerConfigurationArn";
494
+ const _wCS = "workerConfigurationState";
495
+ const _wCo = "workerConfigurations";
496
+ const _wCor = "workerCount";
497
+ const _wLD = "workerLogDelivery";
498
+ const n0 = "com.amazonaws.kafkaconnect";
499
+ var __sensitiveString = [0, n0, _sS, 8, 0];
500
+ var ApacheKafkaCluster = [3, n0, _AKC, 0, [_bS, _v], [0, () => Vpc]];
501
+ var ApacheKafkaClusterDescription = [
502
+ 3,
503
+ n0,
504
+ _AKCD,
505
+ 0,
506
+ [_bS, _v],
507
+ [0, () => VpcDescription],
508
+ ];
509
+ var AutoScaling = [
510
+ 3,
511
+ n0,
512
+ _AS,
513
+ 0,
514
+ [_mWC, _mC, _mWCi, _sIP, _sOP],
515
+ [1, 1, 1, () => ScaleInPolicy, () => ScaleOutPolicy],
516
+ ];
517
+ var AutoScalingDescription = [
518
+ 3,
519
+ n0,
520
+ _ASD,
521
+ 0,
522
+ [_mWC, _mC, _mWCi, _sIP, _sOP],
523
+ [1, 1, 1, () => ScaleInPolicyDescription, () => ScaleOutPolicyDescription],
524
+ ];
525
+ var AutoScalingUpdate = [
526
+ 3,
527
+ n0,
528
+ _ASU,
529
+ 0,
530
+ [_mWC, _mC, _mWCi, _sIP, _sOP],
531
+ [1, 1, 1, () => ScaleInPolicyUpdate, () => ScaleOutPolicyUpdate],
532
+ ];
533
+ var BadRequestException = [
534
+ -3,
535
+ n0,
536
+ _BRE,
537
+ {
538
+ [_e]: _c,
539
+ [_hE]: 400,
540
+ },
541
+ [_m],
542
+ [0],
543
+ ];
544
+ schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
545
+ var Capacity = [3, n0, _C, 0, [_aS, _pC], [() => AutoScaling, () => ProvisionedCapacity]];
546
+ var CapacityDescription = [
547
+ 3,
548
+ n0,
549
+ _CD,
550
+ 0,
551
+ [_aS, _pC],
552
+ [() => AutoScalingDescription, () => ProvisionedCapacityDescription],
553
+ ];
554
+ var CapacityUpdate = [
555
+ 3,
556
+ n0,
557
+ _CU,
558
+ 0,
559
+ [_aS, _pC],
560
+ [() => AutoScalingUpdate, () => ProvisionedCapacityUpdate],
561
+ ];
562
+ var CloudWatchLogsLogDelivery = [3, n0, _CWLLD, 0, [_en, _lG], [2, 0]];
563
+ var CloudWatchLogsLogDeliveryDescription = [3, n0, _CWLLDD, 0, [_en, _lG], [2, 0]];
564
+ var ConflictException = [
565
+ -3,
566
+ n0,
567
+ _CE,
568
+ {
569
+ [_e]: _c,
570
+ [_hE]: 409,
571
+ },
572
+ [_m],
573
+ [0],
574
+ ];
575
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
576
+ var ConnectorOperationStep = [3, n0, _COS, 0, [_sT, _sSt], [0, 0]];
577
+ var ConnectorOperationSummary = [
578
+ 3,
579
+ n0,
580
+ _COSo,
581
+ 0,
582
+ [_cOA, _cOT, _cOS, _cT, _eT],
583
+ [0, 0, 0, 5, 5],
584
+ ];
585
+ var ConnectorSummary = [
586
+ 3,
587
+ n0,
588
+ _CS,
589
+ 0,
590
+ [_ca, _cA, _cD, _cN, _cS, _cT, _cV, _kC, _kCCA, _kCEIT, _kCV, _lD, _p, _sERA, _wC],
591
+ [
592
+ () => CapacityDescription,
593
+ 0,
594
+ 0,
595
+ 0,
596
+ 0,
597
+ 5,
598
+ 0,
599
+ () => KafkaClusterDescription,
600
+ () => KafkaClusterClientAuthenticationDescription,
601
+ () => KafkaClusterEncryptionInTransitDescription,
602
+ 0,
603
+ () => LogDeliveryDescription,
604
+ () => __listOfPluginDescription,
605
+ 0,
606
+ () => WorkerConfigurationDescription,
607
+ ],
608
+ ];
609
+ var CreateConnectorRequest = [
610
+ 3,
611
+ n0,
612
+ _CCR,
613
+ 0,
614
+ [_ca, _cC, _cD, _cN, _kC, _kCCA, _kCEIT, _kCV, _lD, _p, _sERA, _wC, _t],
615
+ [
616
+ () => Capacity,
617
+ [() => ConnectorConfiguration, 0],
618
+ 0,
619
+ 0,
620
+ () => KafkaCluster,
621
+ () => KafkaClusterClientAuthentication,
622
+ () => KafkaClusterEncryptionInTransit,
623
+ 0,
624
+ () => LogDelivery,
625
+ () => __listOfPlugin,
626
+ 0,
627
+ () => WorkerConfiguration,
628
+ 128 | 0,
629
+ ],
630
+ ];
631
+ var CreateConnectorResponse = [3, n0, _CCRr, 0, [_cA, _cN, _cS], [0, 0, 0]];
632
+ var CreateCustomPluginRequest = [
633
+ 3,
634
+ n0,
635
+ _CCPR,
636
+ 0,
637
+ [_cTo, _d, _l, _n, _t],
638
+ [0, 0, () => CustomPluginLocation, 0, 128 | 0],
639
+ ];
640
+ var CreateCustomPluginResponse = [3, n0, _CCPRr, 0, [_cPA, _cPS, _n, _r], [0, 0, 0, 1]];
641
+ var CreateWorkerConfigurationRequest = [
642
+ 3,
643
+ n0,
644
+ _CWCR,
645
+ 0,
646
+ [_d, _n, _pFC, _t],
647
+ [0, 0, [() => __sensitiveString, 0], 128 | 0],
648
+ ];
649
+ var CreateWorkerConfigurationResponse = [
650
+ 3,
651
+ n0,
652
+ _CWCRr,
653
+ 0,
654
+ [_cT, _lR, _n, _wCA, _wCS],
655
+ [5, () => WorkerConfigurationRevisionSummary, 0, 0, 0],
656
+ ];
657
+ var CustomPlugin = [3, n0, _CP, 0, [_cPA, _r], [0, 1]];
658
+ var CustomPluginDescription = [3, n0, _CPD, 0, [_cPA, _r], [0, 1]];
659
+ var CustomPluginFileDescription = [3, n0, _CPFD, 0, [_fM, _fS], [0, 1]];
660
+ var CustomPluginLocation = [3, n0, _CPL, 0, [_sL], [() => S3Location]];
661
+ var CustomPluginLocationDescription = [
662
+ 3,
663
+ n0,
664
+ _CPLD,
665
+ 0,
666
+ [_sL],
667
+ [() => S3LocationDescription],
668
+ ];
669
+ var CustomPluginRevisionSummary = [
670
+ 3,
671
+ n0,
672
+ _CPRS,
673
+ 0,
674
+ [_cTo, _cT, _d, _fD, _l, _r],
675
+ [0, 5, 0, () => CustomPluginFileDescription, () => CustomPluginLocationDescription, 1],
676
+ ];
677
+ var CustomPluginSummary = [
678
+ 3,
679
+ n0,
680
+ _CPS,
681
+ 0,
682
+ [_cT, _cPA, _cPS, _d, _lR, _n],
683
+ [5, 0, 0, 0, () => CustomPluginRevisionSummary, 0],
684
+ ];
685
+ var DeleteConnectorRequest = [
686
+ 3,
687
+ n0,
688
+ _DCR,
689
+ 0,
690
+ [_cA, _cV],
691
+ [
692
+ [0, 1],
693
+ [
694
+ 0,
695
+ {
696
+ [_hQ]: _cV,
697
+ },
698
+ ],
699
+ ],
700
+ ];
701
+ var DeleteConnectorResponse = [3, n0, _DCRe, 0, [_cA, _cS], [0, 0]];
702
+ var DeleteCustomPluginRequest = [3, n0, _DCPR, 0, [_cPA], [[0, 1]]];
703
+ var DeleteCustomPluginResponse = [3, n0, _DCPRe, 0, [_cPA, _cPS], [0, 0]];
704
+ var DeleteWorkerConfigurationRequest = [3, n0, _DWCR, 0, [_wCA], [[0, 1]]];
705
+ var DeleteWorkerConfigurationResponse = [3, n0, _DWCRe, 0, [_wCA, _wCS], [0, 0]];
706
+ var DescribeConnectorOperationRequest = [3, n0, _DCOR, 0, [_cOA], [[0, 1]]];
707
+ var DescribeConnectorOperationResponse = [
708
+ 3,
709
+ n0,
710
+ _DCORe,
711
+ 0,
712
+ [_cA, _cOA, _cOS, _cOT, _oS, _oWS, _oCC, _tWS, _tCC, _eI, _cT, _eT],
713
+ [
714
+ 0,
715
+ 0,
716
+ 0,
717
+ 0,
718
+ () => __listOfConnectorOperationStep,
719
+ () => WorkerSetting,
720
+ [() => ConnectorConfiguration, 0],
721
+ () => WorkerSetting,
722
+ [() => ConnectorConfiguration, 0],
723
+ () => StateDescription,
724
+ 5,
725
+ 5,
726
+ ],
727
+ ];
728
+ var DescribeConnectorRequest = [3, n0, _DCRes, 0, [_cA], [[0, 1]]];
729
+ var DescribeConnectorResponse = [
730
+ 3,
731
+ n0,
732
+ _DCResc,
733
+ 0,
734
+ [_ca, _cA, _cC, _cD, _cN, _cS, _cT, _cV, _kC, _kCCA, _kCEIT, _kCV, _lD, _p, _sERA, _wC, _sD],
735
+ [
736
+ () => CapacityDescription,
737
+ 0,
738
+ [() => ConnectorConfiguration, 0],
739
+ 0,
740
+ 0,
741
+ 0,
742
+ 5,
743
+ 0,
744
+ () => KafkaClusterDescription,
745
+ () => KafkaClusterClientAuthenticationDescription,
746
+ () => KafkaClusterEncryptionInTransitDescription,
747
+ 0,
748
+ () => LogDeliveryDescription,
749
+ () => __listOfPluginDescription,
750
+ 0,
751
+ () => WorkerConfigurationDescription,
752
+ () => StateDescription,
753
+ ],
754
+ ];
755
+ var DescribeCustomPluginRequest = [3, n0, _DCPRes, 0, [_cPA], [[0, 1]]];
756
+ var DescribeCustomPluginResponse = [
757
+ 3,
758
+ n0,
759
+ _DCPResc,
760
+ 0,
761
+ [_cT, _cPA, _cPS, _d, _lR, _n, _sD],
762
+ [5, 0, 0, 0, () => CustomPluginRevisionSummary, 0, () => StateDescription],
763
+ ];
764
+ var DescribeWorkerConfigurationRequest = [3, n0, _DWCRes, 0, [_wCA], [[0, 1]]];
765
+ var DescribeWorkerConfigurationResponse = [
766
+ 3,
767
+ n0,
768
+ _DWCResc,
769
+ 0,
770
+ [_cT, _d, _lR, _n, _wCA, _wCS],
771
+ [5, 0, [() => WorkerConfigurationRevisionDescription, 0], 0, 0, 0],
772
+ ];
773
+ var FirehoseLogDelivery = [3, n0, _FLD, 0, [_dS, _en], [0, 2]];
774
+ var FirehoseLogDeliveryDescription = [3, n0, _FLDD, 0, [_dS, _en], [0, 2]];
775
+ var ForbiddenException = [
776
+ -3,
777
+ n0,
778
+ _FE,
779
+ {
780
+ [_e]: _c,
781
+ [_hE]: 403,
782
+ },
783
+ [_m],
784
+ [0],
785
+ ];
786
+ schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
787
+ var InternalServerErrorException = [
788
+ -3,
789
+ n0,
790
+ _ISEE,
791
+ {
792
+ [_e]: _s,
793
+ [_hE]: 500,
794
+ },
795
+ [_m],
796
+ [0],
797
+ ];
798
+ schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
799
+ var KafkaCluster = [3, n0, _KC, 0, [_aKC], [() => ApacheKafkaCluster]];
800
+ var KafkaClusterClientAuthentication = [3, n0, _KCCA, 0, [_aT], [0]];
801
+ var KafkaClusterClientAuthenticationDescription = [3, n0, _KCCAD, 0, [_aT], [0]];
802
+ var KafkaClusterDescription = [
803
+ 3,
804
+ n0,
805
+ _KCD,
806
+ 0,
807
+ [_aKC],
808
+ [() => ApacheKafkaClusterDescription],
809
+ ];
810
+ var KafkaClusterEncryptionInTransit = [3, n0, _KCEIT, 0, [_eTn], [0]];
811
+ var KafkaClusterEncryptionInTransitDescription = [3, n0, _KCEITD, 0, [_eTn], [0]];
812
+ var ListConnectorOperationsRequest = [
813
+ 3,
814
+ n0,
815
+ _LCOR,
816
+ 0,
817
+ [_cA, _mR, _nT],
818
+ [
819
+ [0, 1],
820
+ [
821
+ 1,
822
+ {
823
+ [_hQ]: _mR,
824
+ },
825
+ ],
826
+ [
827
+ 0,
828
+ {
829
+ [_hQ]: _nT,
830
+ },
831
+ ],
832
+ ],
833
+ ];
834
+ var ListConnectorOperationsResponse = [
835
+ 3,
836
+ n0,
837
+ _LCORi,
838
+ 0,
839
+ [_cO, _nT],
840
+ [() => __listOfConnectorOperationSummary, 0],
841
+ ];
842
+ var ListConnectorsRequest = [
843
+ 3,
844
+ n0,
845
+ _LCR,
846
+ 0,
847
+ [_cNP, _mR, _nT],
848
+ [
849
+ [
850
+ 0,
851
+ {
852
+ [_hQ]: _cNP,
853
+ },
854
+ ],
855
+ [
856
+ 1,
857
+ {
858
+ [_hQ]: _mR,
859
+ },
860
+ ],
861
+ [
862
+ 0,
863
+ {
864
+ [_hQ]: _nT,
865
+ },
866
+ ],
867
+ ],
868
+ ];
869
+ var ListConnectorsResponse = [
870
+ 3,
871
+ n0,
872
+ _LCRi,
873
+ 0,
874
+ [_co, _nT],
875
+ [() => __listOfConnectorSummary, 0],
876
+ ];
877
+ var ListCustomPluginsRequest = [
878
+ 3,
879
+ n0,
880
+ _LCPR,
881
+ 0,
882
+ [_mR, _nT, _nP],
883
+ [
884
+ [
885
+ 1,
886
+ {
887
+ [_hQ]: _mR,
888
+ },
889
+ ],
890
+ [
891
+ 0,
892
+ {
893
+ [_hQ]: _nT,
894
+ },
895
+ ],
896
+ [
897
+ 0,
898
+ {
899
+ [_hQ]: _nP,
900
+ },
901
+ ],
902
+ ],
903
+ ];
904
+ var ListCustomPluginsResponse = [
905
+ 3,
906
+ n0,
907
+ _LCPRi,
908
+ 0,
909
+ [_cP, _nT],
910
+ [() => __listOfCustomPluginSummary, 0],
911
+ ];
912
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
913
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
914
+ var ListWorkerConfigurationsRequest = [
915
+ 3,
916
+ n0,
917
+ _LWCR,
918
+ 0,
919
+ [_mR, _nT, _nP],
920
+ [
921
+ [
922
+ 1,
923
+ {
924
+ [_hQ]: _mR,
925
+ },
926
+ ],
927
+ [
928
+ 0,
929
+ {
930
+ [_hQ]: _nT,
931
+ },
932
+ ],
933
+ [
934
+ 0,
935
+ {
936
+ [_hQ]: _nP,
937
+ },
938
+ ],
939
+ ],
940
+ ];
941
+ var ListWorkerConfigurationsResponse = [
942
+ 3,
943
+ n0,
944
+ _LWCRi,
945
+ 0,
946
+ [_nT, _wCo],
947
+ [0, () => __listOfWorkerConfigurationSummary],
948
+ ];
949
+ var LogDelivery = [3, n0, _LD, 0, [_wLD], [() => WorkerLogDelivery]];
950
+ var LogDeliveryDescription = [
951
+ 3,
952
+ n0,
953
+ _LDD,
954
+ 0,
955
+ [_wLD],
956
+ [() => WorkerLogDeliveryDescription],
957
+ ];
958
+ var NotFoundException = [
959
+ -3,
960
+ n0,
961
+ _NFE,
962
+ {
963
+ [_e]: _c,
964
+ [_hE]: 404,
965
+ },
966
+ [_m],
967
+ [0],
968
+ ];
969
+ schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
970
+ var Plugin = [3, n0, _P, 0, [_cPu], [() => CustomPlugin]];
971
+ var PluginDescription = [3, n0, _PD, 0, [_cPu], [() => CustomPluginDescription]];
972
+ var ProvisionedCapacity = [3, n0, _PC, 0, [_mC, _wCor], [1, 1]];
973
+ var ProvisionedCapacityDescription = [3, n0, _PCD, 0, [_mC, _wCor], [1, 1]];
974
+ var ProvisionedCapacityUpdate = [3, n0, _PCU, 0, [_mC, _wCor], [1, 1]];
975
+ var S3Location = [3, n0, _SL, 0, [_bA, _fK, _oV], [0, 0, 0]];
976
+ var S3LocationDescription = [3, n0, _SLD, 0, [_bA, _fK, _oV], [0, 0, 0]];
977
+ var S3LogDelivery = [3, n0, _SLDo, 0, [_b, _en, _pr], [0, 2, 0]];
978
+ var S3LogDeliveryDescription = [3, n0, _SLDD, 0, [_b, _en, _pr], [0, 2, 0]];
979
+ var ScaleInPolicy = [3, n0, _SIP, 0, [_cUP], [1]];
980
+ var ScaleInPolicyDescription = [3, n0, _SIPD, 0, [_cUP], [1]];
981
+ var ScaleInPolicyUpdate = [3, n0, _SIPU, 0, [_cUP], [1]];
982
+ var ScaleOutPolicy = [3, n0, _SOP, 0, [_cUP], [1]];
983
+ var ScaleOutPolicyDescription = [3, n0, _SOPD, 0, [_cUP], [1]];
984
+ var ScaleOutPolicyUpdate = [3, n0, _SOPU, 0, [_cUP], [1]];
985
+ var ServiceUnavailableException = [
986
+ -3,
987
+ n0,
988
+ _SUE,
989
+ {
990
+ [_e]: _s,
991
+ [_hE]: 503,
992
+ },
993
+ [_m],
994
+ [0],
995
+ ];
996
+ schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
997
+ var StateDescription = [3, n0, _SD, 0, [_cod, _m], [0, 0]];
998
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
999
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1000
+ var TooManyRequestsException = [
1001
+ -3,
1002
+ n0,
1003
+ _TMRE,
1004
+ {
1005
+ [_e]: _c,
1006
+ [_hE]: 429,
1007
+ },
1008
+ [_m],
1009
+ [0],
1010
+ ];
1011
+ schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
1012
+ var UnauthorizedException = [
1013
+ -3,
1014
+ n0,
1015
+ _UE,
1016
+ {
1017
+ [_e]: _c,
1018
+ [_hE]: 401,
1019
+ },
1020
+ [_m],
1021
+ [0],
1022
+ ];
1023
+ schema.TypeRegistry.for(n0).registerError(UnauthorizedException, UnauthorizedException$1);
1024
+ var UntagResourceRequest = [
1025
+ 3,
1026
+ n0,
1027
+ _URR,
1028
+ 0,
1029
+ [_rA, _tK],
1030
+ [
1031
+ [0, 1],
1032
+ [
1033
+ 64 | 0,
1034
+ {
1035
+ [_hQ]: _tK,
1036
+ },
1037
+ ],
1038
+ ],
1039
+ ];
1040
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1041
+ var UpdateConnectorRequest = [
1042
+ 3,
1043
+ n0,
1044
+ _UCR,
1045
+ 0,
1046
+ [_ca, _cC, _cA, _cV],
1047
+ [
1048
+ () => CapacityUpdate,
1049
+ [() => ConnectorConfigurationUpdate, 0],
1050
+ [0, 1],
1051
+ [
1052
+ 0,
1053
+ {
1054
+ [_hQ]: _cV,
1055
+ },
1056
+ ],
1057
+ ],
1058
+ ];
1059
+ var UpdateConnectorResponse = [3, n0, _UCRp, 0, [_cA, _cS, _cOA], [0, 0, 0]];
1060
+ var Vpc = [3, n0, _V, 0, [_sG, _su], [64 | 0, 64 | 0]];
1061
+ var VpcDescription = [3, n0, _VD, 0, [_sG, _su], [64 | 0, 64 | 0]];
1062
+ var WorkerConfiguration = [3, n0, _WC, 0, [_r, _wCA], [1, 0]];
1063
+ var WorkerConfigurationDescription = [3, n0, _WCD, 0, [_r, _wCA], [1, 0]];
1064
+ var WorkerConfigurationRevisionDescription = [
1065
+ 3,
1066
+ n0,
1067
+ _WCRD,
1068
+ 0,
1069
+ [_cT, _d, _pFC, _r],
1070
+ [5, 0, [() => __sensitiveString, 0], 1],
1071
+ ];
1072
+ var WorkerConfigurationRevisionSummary = [3, n0, _WCRS, 0, [_cT, _d, _r], [5, 0, 1]];
1073
+ var WorkerConfigurationSummary = [
1074
+ 3,
1075
+ n0,
1076
+ _WCS,
1077
+ 0,
1078
+ [_cT, _d, _lR, _n, _wCA, _wCS],
1079
+ [5, 0, () => WorkerConfigurationRevisionSummary, 0, 0, 0],
1080
+ ];
1081
+ var WorkerLogDelivery = [
1082
+ 3,
1083
+ n0,
1084
+ _WLD,
1085
+ 0,
1086
+ [_cWL, _f, _s_],
1087
+ [() => CloudWatchLogsLogDelivery, () => FirehoseLogDelivery, () => S3LogDelivery],
1088
+ ];
1089
+ var WorkerLogDeliveryDescription = [
1090
+ 3,
1091
+ n0,
1092
+ _WLDD,
1093
+ 0,
1094
+ [_cWL, _f, _s_],
1095
+ [() => CloudWatchLogsLogDeliveryDescription, () => FirehoseLogDeliveryDescription, () => S3LogDeliveryDescription],
1096
+ ];
1097
+ var WorkerSetting = [3, n0, _WS, 0, [_ca], [() => CapacityDescription]];
1098
+ var KafkaConnectServiceException = [-3, _sm, "KafkaConnectServiceException", 0, [], []];
1099
+ schema.TypeRegistry.for(_sm).registerError(KafkaConnectServiceException, KafkaConnectServiceException$1);
1100
+ var __listOfConnectorOperationStep = [1, n0, _lOCOS, 0, () => ConnectorOperationStep];
1101
+ var __listOfConnectorOperationSummary = [1, n0, _lOCOSi, 0, () => ConnectorOperationSummary];
1102
+ var __listOfConnectorSummary = [1, n0, _lOCS, 0, () => ConnectorSummary];
1103
+ var __listOfCustomPluginSummary = [1, n0, _lOCPS, 0, () => CustomPluginSummary];
1104
+ var __listOfPlugin = [1, n0, _lOP, 0, () => Plugin];
1105
+ var __listOfPluginDescription = [1, n0, _lOPD, 0, () => PluginDescription];
1106
+ var __listOfWorkerConfigurationSummary = [1, n0, _lOWCS, 0, () => WorkerConfigurationSummary];
1107
+ var ConnectorConfiguration = [2, n0, _CC, 8, 0, 0];
1108
+ var ConnectorConfigurationUpdate = [2, n0, _CCU, 8, 0, 0];
1109
+ var CreateConnector = [
1110
+ 9,
1111
+ n0,
1112
+ _CCr,
1113
+ {
1114
+ [_h]: ["POST", "/v1/connectors", 200],
1115
+ },
1116
+ () => CreateConnectorRequest,
1117
+ () => CreateConnectorResponse,
1118
+ ];
1119
+ var CreateCustomPlugin = [
1120
+ 9,
1121
+ n0,
1122
+ _CCP,
1123
+ {
1124
+ [_h]: ["POST", "/v1/custom-plugins", 200],
1125
+ },
1126
+ () => CreateCustomPluginRequest,
1127
+ () => CreateCustomPluginResponse,
1128
+ ];
1129
+ var CreateWorkerConfiguration = [
1130
+ 9,
1131
+ n0,
1132
+ _CWC,
1133
+ {
1134
+ [_h]: ["POST", "/v1/worker-configurations", 200],
1135
+ },
1136
+ () => CreateWorkerConfigurationRequest,
1137
+ () => CreateWorkerConfigurationResponse,
1138
+ ];
1139
+ var DeleteConnector = [
1140
+ 9,
1141
+ n0,
1142
+ _DC,
1143
+ {
1144
+ [_h]: ["DELETE", "/v1/connectors/{connectorArn}", 200],
1145
+ },
1146
+ () => DeleteConnectorRequest,
1147
+ () => DeleteConnectorResponse,
1148
+ ];
1149
+ var DeleteCustomPlugin = [
1150
+ 9,
1151
+ n0,
1152
+ _DCP,
1153
+ {
1154
+ [_h]: ["DELETE", "/v1/custom-plugins/{customPluginArn}", 200],
1155
+ },
1156
+ () => DeleteCustomPluginRequest,
1157
+ () => DeleteCustomPluginResponse,
1158
+ ];
1159
+ var DeleteWorkerConfiguration = [
1160
+ 9,
1161
+ n0,
1162
+ _DWC,
1163
+ {
1164
+ [_h]: ["DELETE", "/v1/worker-configurations/{workerConfigurationArn}", 200],
1165
+ },
1166
+ () => DeleteWorkerConfigurationRequest,
1167
+ () => DeleteWorkerConfigurationResponse,
1168
+ ];
1169
+ var DescribeConnector = [
1170
+ 9,
1171
+ n0,
1172
+ _DCe,
1173
+ {
1174
+ [_h]: ["GET", "/v1/connectors/{connectorArn}", 200],
1175
+ },
1176
+ () => DescribeConnectorRequest,
1177
+ () => DescribeConnectorResponse,
1178
+ ];
1179
+ var DescribeConnectorOperation = [
1180
+ 9,
1181
+ n0,
1182
+ _DCO,
1183
+ {
1184
+ [_h]: ["GET", "/v1/connectorOperations/{connectorOperationArn}", 200],
1185
+ },
1186
+ () => DescribeConnectorOperationRequest,
1187
+ () => DescribeConnectorOperationResponse,
1188
+ ];
1189
+ var DescribeCustomPlugin = [
1190
+ 9,
1191
+ n0,
1192
+ _DCPe,
1193
+ {
1194
+ [_h]: ["GET", "/v1/custom-plugins/{customPluginArn}", 200],
1195
+ },
1196
+ () => DescribeCustomPluginRequest,
1197
+ () => DescribeCustomPluginResponse,
1198
+ ];
1199
+ var DescribeWorkerConfiguration = [
1200
+ 9,
1201
+ n0,
1202
+ _DWCe,
1203
+ {
1204
+ [_h]: ["GET", "/v1/worker-configurations/{workerConfigurationArn}", 200],
1205
+ },
1206
+ () => DescribeWorkerConfigurationRequest,
1207
+ () => DescribeWorkerConfigurationResponse,
1208
+ ];
1209
+ var ListConnectorOperations = [
1210
+ 9,
1211
+ n0,
1212
+ _LCO,
1213
+ {
1214
+ [_h]: ["GET", "/v1/connectors/{connectorArn}/operations", 200],
1215
+ },
1216
+ () => ListConnectorOperationsRequest,
1217
+ () => ListConnectorOperationsResponse,
1218
+ ];
1219
+ var ListConnectors = [
1220
+ 9,
1221
+ n0,
1222
+ _LC,
1223
+ {
1224
+ [_h]: ["GET", "/v1/connectors", 200],
1225
+ },
1226
+ () => ListConnectorsRequest,
1227
+ () => ListConnectorsResponse,
1228
+ ];
1229
+ var ListCustomPlugins = [
1230
+ 9,
1231
+ n0,
1232
+ _LCP,
1233
+ {
1234
+ [_h]: ["GET", "/v1/custom-plugins", 200],
1235
+ },
1236
+ () => ListCustomPluginsRequest,
1237
+ () => ListCustomPluginsResponse,
1238
+ ];
1239
+ var ListTagsForResource = [
1240
+ 9,
1241
+ n0,
1242
+ _LTFR,
1243
+ {
1244
+ [_h]: ["GET", "/v1/tags/{resourceArn}", 200],
1245
+ },
1246
+ () => ListTagsForResourceRequest,
1247
+ () => ListTagsForResourceResponse,
1248
+ ];
1249
+ var ListWorkerConfigurations = [
1250
+ 9,
1251
+ n0,
1252
+ _LWC,
1253
+ {
1254
+ [_h]: ["GET", "/v1/worker-configurations", 200],
1255
+ },
1256
+ () => ListWorkerConfigurationsRequest,
1257
+ () => ListWorkerConfigurationsResponse,
1258
+ ];
1259
+ var TagResource = [
1260
+ 9,
1261
+ n0,
1262
+ _TR,
1263
+ {
1264
+ [_h]: ["POST", "/v1/tags/{resourceArn}", 200],
1265
+ },
1266
+ () => TagResourceRequest,
1267
+ () => TagResourceResponse,
1268
+ ];
1269
+ var UntagResource = [
1270
+ 9,
1271
+ n0,
1272
+ _UR,
1273
+ {
1274
+ [_h]: ["DELETE", "/v1/tags/{resourceArn}", 200],
1275
+ },
1276
+ () => UntagResourceRequest,
1277
+ () => UntagResourceResponse,
1278
+ ];
1279
+ var UpdateConnector = [
1280
+ 9,
1281
+ n0,
1282
+ _UC,
1283
+ {
1284
+ [_h]: ["PUT", "/v1/connectors/{connectorArn}", 200],
1285
+ },
1286
+ () => UpdateConnectorRequest,
1287
+ () => UpdateConnectorResponse,
1288
+ ];
1099
1289
 
1100
1290
  class CreateConnectorCommand extends smithyClient.Command
1101
1291
  .classBuilder()
1102
1292
  .ep(commonParams)
1103
1293
  .m(function (Command, cs, config, o) {
1104
- return [
1105
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1106
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1107
- ];
1294
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1108
1295
  })
1109
1296
  .s("KafkaConnect", "CreateConnector", {})
1110
1297
  .n("KafkaConnectClient", "CreateConnectorCommand")
1111
- .f(CreateConnectorRequestFilterSensitiveLog, void 0)
1112
- .ser(se_CreateConnectorCommand)
1113
- .de(de_CreateConnectorCommand)
1298
+ .sc(CreateConnector)
1114
1299
  .build() {
1115
1300
  }
1116
1301
 
@@ -1118,16 +1303,11 @@ class CreateCustomPluginCommand extends smithyClient.Command
1118
1303
  .classBuilder()
1119
1304
  .ep(commonParams)
1120
1305
  .m(function (Command, cs, config, o) {
1121
- return [
1122
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1123
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1124
- ];
1306
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1125
1307
  })
1126
1308
  .s("KafkaConnect", "CreateCustomPlugin", {})
1127
1309
  .n("KafkaConnectClient", "CreateCustomPluginCommand")
1128
- .f(void 0, void 0)
1129
- .ser(se_CreateCustomPluginCommand)
1130
- .de(de_CreateCustomPluginCommand)
1310
+ .sc(CreateCustomPlugin)
1131
1311
  .build() {
1132
1312
  }
1133
1313
 
@@ -1135,16 +1315,11 @@ class CreateWorkerConfigurationCommand extends smithyClient.Command
1135
1315
  .classBuilder()
1136
1316
  .ep(commonParams)
1137
1317
  .m(function (Command, cs, config, o) {
1138
- return [
1139
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1140
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1141
- ];
1318
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1142
1319
  })
1143
1320
  .s("KafkaConnect", "CreateWorkerConfiguration", {})
1144
1321
  .n("KafkaConnectClient", "CreateWorkerConfigurationCommand")
1145
- .f(CreateWorkerConfigurationRequestFilterSensitiveLog, void 0)
1146
- .ser(se_CreateWorkerConfigurationCommand)
1147
- .de(de_CreateWorkerConfigurationCommand)
1322
+ .sc(CreateWorkerConfiguration)
1148
1323
  .build() {
1149
1324
  }
1150
1325
 
@@ -1152,16 +1327,11 @@ class DeleteConnectorCommand extends smithyClient.Command
1152
1327
  .classBuilder()
1153
1328
  .ep(commonParams)
1154
1329
  .m(function (Command, cs, config, o) {
1155
- return [
1156
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1157
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1158
- ];
1330
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1159
1331
  })
1160
1332
  .s("KafkaConnect", "DeleteConnector", {})
1161
1333
  .n("KafkaConnectClient", "DeleteConnectorCommand")
1162
- .f(void 0, void 0)
1163
- .ser(se_DeleteConnectorCommand)
1164
- .de(de_DeleteConnectorCommand)
1334
+ .sc(DeleteConnector)
1165
1335
  .build() {
1166
1336
  }
1167
1337
 
@@ -1169,16 +1339,11 @@ class DeleteCustomPluginCommand extends smithyClient.Command
1169
1339
  .classBuilder()
1170
1340
  .ep(commonParams)
1171
1341
  .m(function (Command, cs, config, o) {
1172
- return [
1173
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1174
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1175
- ];
1342
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1176
1343
  })
1177
1344
  .s("KafkaConnect", "DeleteCustomPlugin", {})
1178
1345
  .n("KafkaConnectClient", "DeleteCustomPluginCommand")
1179
- .f(void 0, void 0)
1180
- .ser(se_DeleteCustomPluginCommand)
1181
- .de(de_DeleteCustomPluginCommand)
1346
+ .sc(DeleteCustomPlugin)
1182
1347
  .build() {
1183
1348
  }
1184
1349
 
@@ -1186,16 +1351,11 @@ class DeleteWorkerConfigurationCommand extends smithyClient.Command
1186
1351
  .classBuilder()
1187
1352
  .ep(commonParams)
1188
1353
  .m(function (Command, cs, config, o) {
1189
- return [
1190
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1191
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1192
- ];
1354
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1193
1355
  })
1194
1356
  .s("KafkaConnect", "DeleteWorkerConfiguration", {})
1195
1357
  .n("KafkaConnectClient", "DeleteWorkerConfigurationCommand")
1196
- .f(void 0, void 0)
1197
- .ser(se_DeleteWorkerConfigurationCommand)
1198
- .de(de_DeleteWorkerConfigurationCommand)
1358
+ .sc(DeleteWorkerConfiguration)
1199
1359
  .build() {
1200
1360
  }
1201
1361
 
@@ -1203,16 +1363,11 @@ class DescribeConnectorCommand extends smithyClient.Command
1203
1363
  .classBuilder()
1204
1364
  .ep(commonParams)
1205
1365
  .m(function (Command, cs, config, o) {
1206
- return [
1207
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1208
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1209
- ];
1366
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1210
1367
  })
1211
1368
  .s("KafkaConnect", "DescribeConnector", {})
1212
1369
  .n("KafkaConnectClient", "DescribeConnectorCommand")
1213
- .f(void 0, DescribeConnectorResponseFilterSensitiveLog)
1214
- .ser(se_DescribeConnectorCommand)
1215
- .de(de_DescribeConnectorCommand)
1370
+ .sc(DescribeConnector)
1216
1371
  .build() {
1217
1372
  }
1218
1373
 
@@ -1220,16 +1375,11 @@ class DescribeConnectorOperationCommand extends smithyClient.Command
1220
1375
  .classBuilder()
1221
1376
  .ep(commonParams)
1222
1377
  .m(function (Command, cs, config, o) {
1223
- return [
1224
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1225
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1226
- ];
1378
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1227
1379
  })
1228
1380
  .s("KafkaConnect", "DescribeConnectorOperation", {})
1229
1381
  .n("KafkaConnectClient", "DescribeConnectorOperationCommand")
1230
- .f(void 0, DescribeConnectorOperationResponseFilterSensitiveLog)
1231
- .ser(se_DescribeConnectorOperationCommand)
1232
- .de(de_DescribeConnectorOperationCommand)
1382
+ .sc(DescribeConnectorOperation)
1233
1383
  .build() {
1234
1384
  }
1235
1385
 
@@ -1237,16 +1387,11 @@ class DescribeCustomPluginCommand extends smithyClient.Command
1237
1387
  .classBuilder()
1238
1388
  .ep(commonParams)
1239
1389
  .m(function (Command, cs, config, o) {
1240
- return [
1241
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1242
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1243
- ];
1390
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1244
1391
  })
1245
1392
  .s("KafkaConnect", "DescribeCustomPlugin", {})
1246
1393
  .n("KafkaConnectClient", "DescribeCustomPluginCommand")
1247
- .f(void 0, void 0)
1248
- .ser(se_DescribeCustomPluginCommand)
1249
- .de(de_DescribeCustomPluginCommand)
1394
+ .sc(DescribeCustomPlugin)
1250
1395
  .build() {
1251
1396
  }
1252
1397
 
@@ -1254,16 +1399,11 @@ class DescribeWorkerConfigurationCommand extends smithyClient.Command
1254
1399
  .classBuilder()
1255
1400
  .ep(commonParams)
1256
1401
  .m(function (Command, cs, config, o) {
1257
- return [
1258
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1259
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1260
- ];
1402
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1261
1403
  })
1262
1404
  .s("KafkaConnect", "DescribeWorkerConfiguration", {})
1263
1405
  .n("KafkaConnectClient", "DescribeWorkerConfigurationCommand")
1264
- .f(void 0, DescribeWorkerConfigurationResponseFilterSensitiveLog)
1265
- .ser(se_DescribeWorkerConfigurationCommand)
1266
- .de(de_DescribeWorkerConfigurationCommand)
1406
+ .sc(DescribeWorkerConfiguration)
1267
1407
  .build() {
1268
1408
  }
1269
1409
 
@@ -1271,16 +1411,11 @@ class ListConnectorOperationsCommand extends smithyClient.Command
1271
1411
  .classBuilder()
1272
1412
  .ep(commonParams)
1273
1413
  .m(function (Command, cs, config, o) {
1274
- return [
1275
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1276
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1277
- ];
1414
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1278
1415
  })
1279
1416
  .s("KafkaConnect", "ListConnectorOperations", {})
1280
1417
  .n("KafkaConnectClient", "ListConnectorOperationsCommand")
1281
- .f(void 0, void 0)
1282
- .ser(se_ListConnectorOperationsCommand)
1283
- .de(de_ListConnectorOperationsCommand)
1418
+ .sc(ListConnectorOperations)
1284
1419
  .build() {
1285
1420
  }
1286
1421
 
@@ -1288,16 +1423,11 @@ class ListConnectorsCommand extends smithyClient.Command
1288
1423
  .classBuilder()
1289
1424
  .ep(commonParams)
1290
1425
  .m(function (Command, cs, config, o) {
1291
- return [
1292
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1293
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1294
- ];
1426
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1295
1427
  })
1296
1428
  .s("KafkaConnect", "ListConnectors", {})
1297
1429
  .n("KafkaConnectClient", "ListConnectorsCommand")
1298
- .f(void 0, void 0)
1299
- .ser(se_ListConnectorsCommand)
1300
- .de(de_ListConnectorsCommand)
1430
+ .sc(ListConnectors)
1301
1431
  .build() {
1302
1432
  }
1303
1433
 
@@ -1305,16 +1435,11 @@ class ListCustomPluginsCommand extends smithyClient.Command
1305
1435
  .classBuilder()
1306
1436
  .ep(commonParams)
1307
1437
  .m(function (Command, cs, config, o) {
1308
- return [
1309
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1310
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1311
- ];
1438
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1312
1439
  })
1313
1440
  .s("KafkaConnect", "ListCustomPlugins", {})
1314
1441
  .n("KafkaConnectClient", "ListCustomPluginsCommand")
1315
- .f(void 0, void 0)
1316
- .ser(se_ListCustomPluginsCommand)
1317
- .de(de_ListCustomPluginsCommand)
1442
+ .sc(ListCustomPlugins)
1318
1443
  .build() {
1319
1444
  }
1320
1445
 
@@ -1322,16 +1447,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1322
1447
  .classBuilder()
1323
1448
  .ep(commonParams)
1324
1449
  .m(function (Command, cs, config, o) {
1325
- return [
1326
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1327
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1328
- ];
1450
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1329
1451
  })
1330
1452
  .s("KafkaConnect", "ListTagsForResource", {})
1331
1453
  .n("KafkaConnectClient", "ListTagsForResourceCommand")
1332
- .f(void 0, void 0)
1333
- .ser(se_ListTagsForResourceCommand)
1334
- .de(de_ListTagsForResourceCommand)
1454
+ .sc(ListTagsForResource)
1335
1455
  .build() {
1336
1456
  }
1337
1457
 
@@ -1339,16 +1459,11 @@ class ListWorkerConfigurationsCommand extends smithyClient.Command
1339
1459
  .classBuilder()
1340
1460
  .ep(commonParams)
1341
1461
  .m(function (Command, cs, config, o) {
1342
- return [
1343
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1344
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1345
- ];
1462
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1346
1463
  })
1347
1464
  .s("KafkaConnect", "ListWorkerConfigurations", {})
1348
1465
  .n("KafkaConnectClient", "ListWorkerConfigurationsCommand")
1349
- .f(void 0, void 0)
1350
- .ser(se_ListWorkerConfigurationsCommand)
1351
- .de(de_ListWorkerConfigurationsCommand)
1466
+ .sc(ListWorkerConfigurations)
1352
1467
  .build() {
1353
1468
  }
1354
1469
 
@@ -1356,16 +1471,11 @@ class TagResourceCommand extends smithyClient.Command
1356
1471
  .classBuilder()
1357
1472
  .ep(commonParams)
1358
1473
  .m(function (Command, cs, config, o) {
1359
- return [
1360
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1361
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1362
- ];
1474
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1363
1475
  })
1364
1476
  .s("KafkaConnect", "TagResource", {})
1365
1477
  .n("KafkaConnectClient", "TagResourceCommand")
1366
- .f(void 0, void 0)
1367
- .ser(se_TagResourceCommand)
1368
- .de(de_TagResourceCommand)
1478
+ .sc(TagResource)
1369
1479
  .build() {
1370
1480
  }
1371
1481
 
@@ -1373,16 +1483,11 @@ class UntagResourceCommand extends smithyClient.Command
1373
1483
  .classBuilder()
1374
1484
  .ep(commonParams)
1375
1485
  .m(function (Command, cs, config, o) {
1376
- return [
1377
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1378
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1379
- ];
1486
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1380
1487
  })
1381
1488
  .s("KafkaConnect", "UntagResource", {})
1382
1489
  .n("KafkaConnectClient", "UntagResourceCommand")
1383
- .f(void 0, void 0)
1384
- .ser(se_UntagResourceCommand)
1385
- .de(de_UntagResourceCommand)
1490
+ .sc(UntagResource)
1386
1491
  .build() {
1387
1492
  }
1388
1493
 
@@ -1390,16 +1495,11 @@ class UpdateConnectorCommand extends smithyClient.Command
1390
1495
  .classBuilder()
1391
1496
  .ep(commonParams)
1392
1497
  .m(function (Command, cs, config, o) {
1393
- return [
1394
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1395
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1396
- ];
1498
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1397
1499
  })
1398
1500
  .s("KafkaConnect", "UpdateConnector", {})
1399
1501
  .n("KafkaConnectClient", "UpdateConnectorCommand")
1400
- .f(UpdateConnectorRequestFilterSensitiveLog, void 0)
1401
- .ser(se_UpdateConnectorCommand)
1402
- .de(de_UpdateConnectorCommand)
1502
+ .sc(UpdateConnector)
1403
1503
  .build() {
1404
1504
  }
1405
1505
 
@@ -1443,18 +1543,16 @@ Object.defineProperty(exports, "__Client", {
1443
1543
  enumerable: true,
1444
1544
  get: function () { return smithyClient.Client; }
1445
1545
  });
1446
- exports.BadRequestException = BadRequestException;
1447
- exports.ConflictException = ConflictException;
1546
+ exports.BadRequestException = BadRequestException$1;
1547
+ exports.ConflictException = ConflictException$1;
1448
1548
  exports.ConnectorOperationState = ConnectorOperationState;
1449
1549
  exports.ConnectorOperationStepState = ConnectorOperationStepState;
1450
1550
  exports.ConnectorOperationStepType = ConnectorOperationStepType;
1451
1551
  exports.ConnectorOperationType = ConnectorOperationType;
1452
1552
  exports.ConnectorState = ConnectorState;
1453
1553
  exports.CreateConnectorCommand = CreateConnectorCommand;
1454
- exports.CreateConnectorRequestFilterSensitiveLog = CreateConnectorRequestFilterSensitiveLog;
1455
1554
  exports.CreateCustomPluginCommand = CreateCustomPluginCommand;
1456
1555
  exports.CreateWorkerConfigurationCommand = CreateWorkerConfigurationCommand;
1457
- exports.CreateWorkerConfigurationRequestFilterSensitiveLog = CreateWorkerConfigurationRequestFilterSensitiveLog;
1458
1556
  exports.CustomPluginContentType = CustomPluginContentType;
1459
1557
  exports.CustomPluginState = CustomPluginState;
1460
1558
  exports.DeleteConnectorCommand = DeleteConnectorCommand;
@@ -1462,32 +1560,27 @@ exports.DeleteCustomPluginCommand = DeleteCustomPluginCommand;
1462
1560
  exports.DeleteWorkerConfigurationCommand = DeleteWorkerConfigurationCommand;
1463
1561
  exports.DescribeConnectorCommand = DescribeConnectorCommand;
1464
1562
  exports.DescribeConnectorOperationCommand = DescribeConnectorOperationCommand;
1465
- exports.DescribeConnectorOperationResponseFilterSensitiveLog = DescribeConnectorOperationResponseFilterSensitiveLog;
1466
- exports.DescribeConnectorResponseFilterSensitiveLog = DescribeConnectorResponseFilterSensitiveLog;
1467
1563
  exports.DescribeCustomPluginCommand = DescribeCustomPluginCommand;
1468
1564
  exports.DescribeWorkerConfigurationCommand = DescribeWorkerConfigurationCommand;
1469
- exports.DescribeWorkerConfigurationResponseFilterSensitiveLog = DescribeWorkerConfigurationResponseFilterSensitiveLog;
1470
- exports.ForbiddenException = ForbiddenException;
1471
- exports.InternalServerErrorException = InternalServerErrorException;
1565
+ exports.ForbiddenException = ForbiddenException$1;
1566
+ exports.InternalServerErrorException = InternalServerErrorException$1;
1472
1567
  exports.KafkaClusterClientAuthenticationType = KafkaClusterClientAuthenticationType;
1473
1568
  exports.KafkaClusterEncryptionInTransitType = KafkaClusterEncryptionInTransitType;
1474
1569
  exports.KafkaConnect = KafkaConnect;
1475
1570
  exports.KafkaConnectClient = KafkaConnectClient;
1476
- exports.KafkaConnectServiceException = KafkaConnectServiceException;
1571
+ exports.KafkaConnectServiceException = KafkaConnectServiceException$1;
1477
1572
  exports.ListConnectorOperationsCommand = ListConnectorOperationsCommand;
1478
1573
  exports.ListConnectorsCommand = ListConnectorsCommand;
1479
1574
  exports.ListCustomPluginsCommand = ListCustomPluginsCommand;
1480
1575
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1481
1576
  exports.ListWorkerConfigurationsCommand = ListWorkerConfigurationsCommand;
1482
- exports.NotFoundException = NotFoundException;
1483
- exports.ServiceUnavailableException = ServiceUnavailableException;
1577
+ exports.NotFoundException = NotFoundException$1;
1578
+ exports.ServiceUnavailableException = ServiceUnavailableException$1;
1484
1579
  exports.TagResourceCommand = TagResourceCommand;
1485
- exports.TooManyRequestsException = TooManyRequestsException;
1486
- exports.UnauthorizedException = UnauthorizedException;
1580
+ exports.TooManyRequestsException = TooManyRequestsException$1;
1581
+ exports.UnauthorizedException = UnauthorizedException$1;
1487
1582
  exports.UntagResourceCommand = UntagResourceCommand;
1488
1583
  exports.UpdateConnectorCommand = UpdateConnectorCommand;
1489
- exports.UpdateConnectorRequestFilterSensitiveLog = UpdateConnectorRequestFilterSensitiveLog;
1490
- exports.WorkerConfigurationRevisionDescriptionFilterSensitiveLog = WorkerConfigurationRevisionDescriptionFilterSensitiveLog;
1491
1584
  exports.WorkerConfigurationState = WorkerConfigurationState;
1492
1585
  exports.paginateListConnectorOperations = paginateListConnectorOperations;
1493
1586
  exports.paginateListConnectors = paginateListConnectors;