@aws-sdk/client-kafkaconnect 3.51.0 → 3.54.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 (39) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/KafkaConnect.js +15 -0
  3. package/dist-cjs/commands/DeleteCustomPluginCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/index.js +3 -0
  6. package/dist-cjs/models/KafkaConnectServiceException.js +11 -0
  7. package/dist-cjs/models/models_0.js +133 -2
  8. package/dist-cjs/protocols/Aws_restJson1.js +283 -651
  9. package/dist-es/KafkaConnect.js +15 -0
  10. package/dist-es/commands/DeleteCustomPluginCommand.js +39 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/index.js +1 -0
  13. package/dist-es/models/KafkaConnectServiceException.js +12 -0
  14. package/dist-es/models/models_0.js +118 -6
  15. package/dist-es/protocols/Aws_restJson1.js +466 -704
  16. package/dist-types/KafkaConnect.d.ts +10 -1
  17. package/dist-types/KafkaConnectClient.d.ts +5 -4
  18. package/dist-types/commands/DeleteCustomPluginCommand.d.ts +35 -0
  19. package/dist-types/commands/ListConnectorsCommand.d.ts +3 -1
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/index.d.ts +1 -0
  22. package/dist-types/models/KafkaConnectServiceException.d.ts +10 -0
  23. package/dist-types/models/models_0.d.ts +237 -91
  24. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  26. package/dist-types/runtimeConfig.d.ts +1 -1
  27. package/dist-types/runtimeConfig.native.d.ts +1 -1
  28. package/dist-types/ts3.4/KafkaConnect.d.ts +5 -0
  29. package/dist-types/ts3.4/KafkaConnectClient.d.ts +5 -4
  30. package/dist-types/ts3.4/commands/DeleteCustomPluginCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  32. package/dist-types/ts3.4/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/KafkaConnectServiceException.d.ts +6 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +75 -33
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  39. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-kafkaconnect
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-kafkaconnect
@@ -5,6 +5,7 @@ const CreateConnectorCommand_1 = require("./commands/CreateConnectorCommand");
5
5
  const CreateCustomPluginCommand_1 = require("./commands/CreateCustomPluginCommand");
6
6
  const CreateWorkerConfigurationCommand_1 = require("./commands/CreateWorkerConfigurationCommand");
7
7
  const DeleteConnectorCommand_1 = require("./commands/DeleteConnectorCommand");
8
+ const DeleteCustomPluginCommand_1 = require("./commands/DeleteCustomPluginCommand");
8
9
  const DescribeConnectorCommand_1 = require("./commands/DescribeConnectorCommand");
9
10
  const DescribeCustomPluginCommand_1 = require("./commands/DescribeCustomPluginCommand");
10
11
  const DescribeWorkerConfigurationCommand_1 = require("./commands/DescribeWorkerConfigurationCommand");
@@ -70,6 +71,20 @@ class KafkaConnect extends KafkaConnectClient_1.KafkaConnectClient {
70
71
  return this.send(command, optionsOrCb);
71
72
  }
72
73
  }
74
+ deleteCustomPlugin(args, optionsOrCb, cb) {
75
+ const command = new DeleteCustomPluginCommand_1.DeleteCustomPluginCommand(args);
76
+ if (typeof optionsOrCb === "function") {
77
+ this.send(command, optionsOrCb);
78
+ }
79
+ else if (typeof cb === "function") {
80
+ if (typeof optionsOrCb !== "object")
81
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
82
+ this.send(command, optionsOrCb || {}, cb);
83
+ }
84
+ else {
85
+ return this.send(command, optionsOrCb);
86
+ }
87
+ }
73
88
  describeConnector(args, optionsOrCb, cb) {
74
89
  const command = new DescribeConnectorCommand_1.DescribeConnectorCommand(args);
75
90
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteCustomPluginCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DeleteCustomPluginCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "KafkaConnectClient";
18
+ const commandName = "DeleteCustomPluginCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteCustomPluginRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteCustomPluginResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DeleteCustomPluginCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DeleteCustomPluginCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteCustomPluginCommand = DeleteCustomPluginCommand;
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./CreateConnectorCommand"), exports);
5
5
  tslib_1.__exportStar(require("./CreateCustomPluginCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreateWorkerConfigurationCommand"), exports);
7
7
  tslib_1.__exportStar(require("./DeleteConnectorCommand"), exports);
8
+ tslib_1.__exportStar(require("./DeleteCustomPluginCommand"), exports);
8
9
  tslib_1.__exportStar(require("./DescribeConnectorCommand"), exports);
9
10
  tslib_1.__exportStar(require("./DescribeCustomPluginCommand"), exports);
10
11
  tslib_1.__exportStar(require("./DescribeWorkerConfigurationCommand"), exports);
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KafkaConnectServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./KafkaConnect"), exports);
5
6
  tslib_1.__exportStar(require("./KafkaConnectClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var KafkaConnectServiceException_1 = require("./models/KafkaConnectServiceException");
11
+ Object.defineProperty(exports, "KafkaConnectServiceException", { enumerable: true, get: function () { return KafkaConnectServiceException_1.KafkaConnectServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KafkaConnectServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class KafkaConnectServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, KafkaConnectServiceException.prototype);
9
+ }
10
+ }
11
+ exports.KafkaConnectServiceException = KafkaConnectServiceException;
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FirehoseLogDelivery = exports.KafkaClusterEncryptionInTransit = exports.KafkaClusterClientAuthentication = exports.KafkaCluster = exports.CloudWatchLogsLogDelivery = exports.CapacityUpdate = exports.ProvisionedCapacityUpdate = exports.Capacity = exports.ProvisionedCapacity = exports.AutoScalingUpdate = exports.ScaleOutPolicyUpdate = exports.ScaleInPolicyUpdate = exports.AutoScaling = exports.ScaleOutPolicy = exports.ScaleInPolicy = exports.ApacheKafkaCluster = exports.Vpc = exports.WorkerConfigurationSummary = exports.WorkerConfigurationRevisionSummary = exports.Plugin = exports.CustomPlugin = exports.CustomPluginSummary = exports.CustomPluginRevisionSummary = exports.CustomPluginLocationDescription = exports.S3LocationDescription = exports.CustomPluginFileDescription = exports.CustomPluginContentType = exports.CustomPluginState = exports.ConnectorSummary = exports.WorkerConfigurationDescription = exports.PluginDescription = exports.CustomPluginDescription = exports.LogDeliveryDescription = exports.WorkerLogDeliveryDescription = exports.S3LogDeliveryDescription = exports.FirehoseLogDeliveryDescription = exports.CloudWatchLogsLogDeliveryDescription = exports.KafkaClusterEncryptionInTransitDescription = exports.KafkaClusterEncryptionInTransitType = exports.KafkaClusterClientAuthenticationDescription = exports.KafkaClusterClientAuthenticationType = exports.KafkaClusterDescription = exports.ApacheKafkaClusterDescription = exports.VpcDescription = exports.ConnectorState = exports.CapacityDescription = exports.ProvisionedCapacityDescription = exports.AutoScalingDescription = exports.ScaleOutPolicyDescription = exports.ScaleInPolicyDescription = void 0;
4
- exports.UpdateConnectorResponse = exports.UpdateConnectorRequest = exports.ListWorkerConfigurationsResponse = exports.ListWorkerConfigurationsRequest = exports.ListCustomPluginsResponse = exports.ListCustomPluginsRequest = exports.ListConnectorsResponse = exports.ListConnectorsRequest = exports.DescribeWorkerConfigurationResponse = exports.WorkerConfigurationRevisionDescription = exports.DescribeWorkerConfigurationRequest = exports.DescribeCustomPluginResponse = exports.DescribeCustomPluginRequest = exports.DescribeConnectorResponse = exports.DescribeConnectorRequest = exports.DeleteConnectorResponse = exports.DeleteConnectorRequest = exports.CreateWorkerConfigurationResponse = exports.CreateWorkerConfigurationRequest = exports.CreateCustomPluginResponse = exports.CreateCustomPluginRequest = exports.CustomPluginLocation = exports.S3Location = exports.CreateConnectorResponse = exports.CreateConnectorRequest = exports.WorkerConfiguration = exports.LogDelivery = exports.WorkerLogDelivery = exports.S3LogDelivery = void 0;
3
+ exports.KafkaClusterClientAuthentication = exports.KafkaCluster = exports.ConflictException = exports.CloudWatchLogsLogDelivery = exports.CapacityUpdate = exports.ProvisionedCapacityUpdate = exports.Capacity = exports.ProvisionedCapacity = exports.BadRequestException = exports.AutoScalingUpdate = exports.ScaleOutPolicyUpdate = exports.ScaleInPolicyUpdate = exports.AutoScaling = exports.ScaleOutPolicy = exports.ScaleInPolicy = exports.ApacheKafkaCluster = exports.Vpc = exports.WorkerConfigurationSummary = exports.WorkerConfigurationRevisionSummary = exports.Plugin = exports.CustomPlugin = exports.CustomPluginSummary = exports.CustomPluginRevisionSummary = exports.CustomPluginLocationDescription = exports.S3LocationDescription = exports.CustomPluginFileDescription = exports.CustomPluginContentType = exports.CustomPluginState = exports.ConnectorSummary = exports.WorkerConfigurationDescription = exports.PluginDescription = exports.CustomPluginDescription = exports.LogDeliveryDescription = exports.WorkerLogDeliveryDescription = exports.S3LogDeliveryDescription = exports.FirehoseLogDeliveryDescription = exports.CloudWatchLogsLogDeliveryDescription = exports.KafkaClusterEncryptionInTransitDescription = exports.KafkaClusterEncryptionInTransitType = exports.KafkaClusterClientAuthenticationDescription = exports.KafkaClusterClientAuthenticationType = exports.KafkaClusterDescription = exports.ApacheKafkaClusterDescription = exports.VpcDescription = exports.ConnectorState = exports.CapacityDescription = exports.ProvisionedCapacityDescription = exports.AutoScalingDescription = exports.ScaleOutPolicyDescription = exports.ScaleInPolicyDescription = void 0;
4
+ exports.UpdateConnectorResponse = exports.UpdateConnectorRequest = exports.ListWorkerConfigurationsResponse = exports.ListWorkerConfigurationsRequest = exports.ListCustomPluginsResponse = exports.ListCustomPluginsRequest = exports.ListConnectorsResponse = exports.ListConnectorsRequest = exports.DescribeWorkerConfigurationResponse = exports.WorkerConfigurationRevisionDescription = exports.DescribeWorkerConfigurationRequest = exports.DescribeCustomPluginResponse = exports.DescribeCustomPluginRequest = exports.DescribeConnectorResponse = exports.StateDescription = exports.DescribeConnectorRequest = exports.DeleteCustomPluginResponse = exports.DeleteCustomPluginRequest = exports.DeleteConnectorResponse = exports.DeleteConnectorRequest = exports.CreateWorkerConfigurationResponse = exports.CreateWorkerConfigurationRequest = exports.CreateCustomPluginResponse = exports.CreateCustomPluginRequest = exports.CustomPluginLocation = exports.S3Location = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.CreateConnectorResponse = exports.CreateConnectorRequest = exports.WorkerConfiguration = exports.LogDelivery = exports.WorkerLogDelivery = exports.S3LogDelivery = exports.FirehoseLogDelivery = exports.KafkaClusterEncryptionInTransit = void 0;
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const KafkaConnectServiceException_1 = require("./KafkaConnectServiceException");
5
7
  var ScaleInPolicyDescription;
6
8
  (function (ScaleInPolicyDescription) {
7
9
  ScaleInPolicyDescription.filterSensitiveLog = (obj) => ({
@@ -250,6 +252,19 @@ var AutoScalingUpdate;
250
252
  ...obj,
251
253
  });
252
254
  })(AutoScalingUpdate = exports.AutoScalingUpdate || (exports.AutoScalingUpdate = {}));
255
+ class BadRequestException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
256
+ constructor(opts) {
257
+ super({
258
+ name: "BadRequestException",
259
+ $fault: "client",
260
+ ...opts,
261
+ });
262
+ this.name = "BadRequestException";
263
+ this.$fault = "client";
264
+ Object.setPrototypeOf(this, BadRequestException.prototype);
265
+ }
266
+ }
267
+ exports.BadRequestException = BadRequestException;
253
268
  var ProvisionedCapacity;
254
269
  (function (ProvisionedCapacity) {
255
270
  ProvisionedCapacity.filterSensitiveLog = (obj) => ({
@@ -280,6 +295,19 @@ var CloudWatchLogsLogDelivery;
280
295
  ...obj,
281
296
  });
282
297
  })(CloudWatchLogsLogDelivery = exports.CloudWatchLogsLogDelivery || (exports.CloudWatchLogsLogDelivery = {}));
298
+ class ConflictException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
299
+ constructor(opts) {
300
+ super({
301
+ name: "ConflictException",
302
+ $fault: "client",
303
+ ...opts,
304
+ });
305
+ this.name = "ConflictException";
306
+ this.$fault = "client";
307
+ Object.setPrototypeOf(this, ConflictException.prototype);
308
+ }
309
+ }
310
+ exports.ConflictException = ConflictException;
283
311
  var KafkaCluster;
284
312
  (function (KafkaCluster) {
285
313
  KafkaCluster.filterSensitiveLog = (obj) => ({
@@ -332,6 +360,7 @@ var CreateConnectorRequest;
332
360
  (function (CreateConnectorRequest) {
333
361
  CreateConnectorRequest.filterSensitiveLog = (obj) => ({
334
362
  ...obj,
363
+ ...(obj.connectorConfiguration && { connectorConfiguration: smithy_client_1.SENSITIVE_STRING }),
335
364
  });
336
365
  })(CreateConnectorRequest = exports.CreateConnectorRequest || (exports.CreateConnectorRequest = {}));
337
366
  var CreateConnectorResponse;
@@ -340,6 +369,84 @@ var CreateConnectorResponse;
340
369
  ...obj,
341
370
  });
342
371
  })(CreateConnectorResponse = exports.CreateConnectorResponse || (exports.CreateConnectorResponse = {}));
372
+ class ForbiddenException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
373
+ constructor(opts) {
374
+ super({
375
+ name: "ForbiddenException",
376
+ $fault: "client",
377
+ ...opts,
378
+ });
379
+ this.name = "ForbiddenException";
380
+ this.$fault = "client";
381
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
382
+ }
383
+ }
384
+ exports.ForbiddenException = ForbiddenException;
385
+ class InternalServerErrorException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
386
+ constructor(opts) {
387
+ super({
388
+ name: "InternalServerErrorException",
389
+ $fault: "server",
390
+ ...opts,
391
+ });
392
+ this.name = "InternalServerErrorException";
393
+ this.$fault = "server";
394
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
395
+ }
396
+ }
397
+ exports.InternalServerErrorException = InternalServerErrorException;
398
+ class NotFoundException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
399
+ constructor(opts) {
400
+ super({
401
+ name: "NotFoundException",
402
+ $fault: "client",
403
+ ...opts,
404
+ });
405
+ this.name = "NotFoundException";
406
+ this.$fault = "client";
407
+ Object.setPrototypeOf(this, NotFoundException.prototype);
408
+ }
409
+ }
410
+ exports.NotFoundException = NotFoundException;
411
+ class ServiceUnavailableException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
412
+ constructor(opts) {
413
+ super({
414
+ name: "ServiceUnavailableException",
415
+ $fault: "server",
416
+ ...opts,
417
+ });
418
+ this.name = "ServiceUnavailableException";
419
+ this.$fault = "server";
420
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
421
+ }
422
+ }
423
+ exports.ServiceUnavailableException = ServiceUnavailableException;
424
+ class TooManyRequestsException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
425
+ constructor(opts) {
426
+ super({
427
+ name: "TooManyRequestsException",
428
+ $fault: "client",
429
+ ...opts,
430
+ });
431
+ this.name = "TooManyRequestsException";
432
+ this.$fault = "client";
433
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
434
+ }
435
+ }
436
+ exports.TooManyRequestsException = TooManyRequestsException;
437
+ class UnauthorizedException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
438
+ constructor(opts) {
439
+ super({
440
+ name: "UnauthorizedException",
441
+ $fault: "client",
442
+ ...opts,
443
+ });
444
+ this.name = "UnauthorizedException";
445
+ this.$fault = "client";
446
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
447
+ }
448
+ }
449
+ exports.UnauthorizedException = UnauthorizedException;
343
450
  var S3Location;
344
451
  (function (S3Location) {
345
452
  S3Location.filterSensitiveLog = (obj) => ({
@@ -368,6 +475,7 @@ var CreateWorkerConfigurationRequest;
368
475
  (function (CreateWorkerConfigurationRequest) {
369
476
  CreateWorkerConfigurationRequest.filterSensitiveLog = (obj) => ({
370
477
  ...obj,
478
+ ...(obj.propertiesFileContent && { propertiesFileContent: smithy_client_1.SENSITIVE_STRING }),
371
479
  });
372
480
  })(CreateWorkerConfigurationRequest = exports.CreateWorkerConfigurationRequest || (exports.CreateWorkerConfigurationRequest = {}));
373
481
  var CreateWorkerConfigurationResponse;
@@ -388,16 +496,35 @@ var DeleteConnectorResponse;
388
496
  ...obj,
389
497
  });
390
498
  })(DeleteConnectorResponse = exports.DeleteConnectorResponse || (exports.DeleteConnectorResponse = {}));
499
+ var DeleteCustomPluginRequest;
500
+ (function (DeleteCustomPluginRequest) {
501
+ DeleteCustomPluginRequest.filterSensitiveLog = (obj) => ({
502
+ ...obj,
503
+ });
504
+ })(DeleteCustomPluginRequest = exports.DeleteCustomPluginRequest || (exports.DeleteCustomPluginRequest = {}));
505
+ var DeleteCustomPluginResponse;
506
+ (function (DeleteCustomPluginResponse) {
507
+ DeleteCustomPluginResponse.filterSensitiveLog = (obj) => ({
508
+ ...obj,
509
+ });
510
+ })(DeleteCustomPluginResponse = exports.DeleteCustomPluginResponse || (exports.DeleteCustomPluginResponse = {}));
391
511
  var DescribeConnectorRequest;
392
512
  (function (DescribeConnectorRequest) {
393
513
  DescribeConnectorRequest.filterSensitiveLog = (obj) => ({
394
514
  ...obj,
395
515
  });
396
516
  })(DescribeConnectorRequest = exports.DescribeConnectorRequest || (exports.DescribeConnectorRequest = {}));
517
+ var StateDescription;
518
+ (function (StateDescription) {
519
+ StateDescription.filterSensitiveLog = (obj) => ({
520
+ ...obj,
521
+ });
522
+ })(StateDescription = exports.StateDescription || (exports.StateDescription = {}));
397
523
  var DescribeConnectorResponse;
398
524
  (function (DescribeConnectorResponse) {
399
525
  DescribeConnectorResponse.filterSensitiveLog = (obj) => ({
400
526
  ...obj,
527
+ ...(obj.connectorConfiguration && { connectorConfiguration: smithy_client_1.SENSITIVE_STRING }),
401
528
  });
402
529
  })(DescribeConnectorResponse = exports.DescribeConnectorResponse || (exports.DescribeConnectorResponse = {}));
403
530
  var DescribeCustomPluginRequest;
@@ -422,12 +549,16 @@ var WorkerConfigurationRevisionDescription;
422
549
  (function (WorkerConfigurationRevisionDescription) {
423
550
  WorkerConfigurationRevisionDescription.filterSensitiveLog = (obj) => ({
424
551
  ...obj,
552
+ ...(obj.propertiesFileContent && { propertiesFileContent: smithy_client_1.SENSITIVE_STRING }),
425
553
  });
426
554
  })(WorkerConfigurationRevisionDescription = exports.WorkerConfigurationRevisionDescription || (exports.WorkerConfigurationRevisionDescription = {}));
427
555
  var DescribeWorkerConfigurationResponse;
428
556
  (function (DescribeWorkerConfigurationResponse) {
429
557
  DescribeWorkerConfigurationResponse.filterSensitiveLog = (obj) => ({
430
558
  ...obj,
559
+ ...(obj.latestRevision && {
560
+ latestRevision: WorkerConfigurationRevisionDescription.filterSensitiveLog(obj.latestRevision),
561
+ }),
431
562
  });
432
563
  })(DescribeWorkerConfigurationResponse = exports.DescribeWorkerConfigurationResponse || (exports.DescribeWorkerConfigurationResponse = {}));
433
564
  var ListConnectorsRequest;