@aws-sdk/client-kafkaconnect 3.53.0 → 3.55.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 (50) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/KafkaConnect.js +15 -0
  3. package/dist-cjs/KafkaConnectClient.js +13 -13
  4. package/dist-cjs/commands/CreateConnectorCommand.js +3 -3
  5. package/dist-cjs/commands/CreateCustomPluginCommand.js +3 -3
  6. package/dist-cjs/commands/CreateWorkerConfigurationCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteConnectorCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteCustomPluginCommand.js +36 -0
  9. package/dist-cjs/commands/DescribeConnectorCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeCustomPluginCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeWorkerConfigurationCommand.js +3 -3
  12. package/dist-cjs/commands/ListConnectorsCommand.js +3 -3
  13. package/dist-cjs/commands/ListCustomPluginsCommand.js +3 -3
  14. package/dist-cjs/commands/ListWorkerConfigurationsCommand.js +3 -3
  15. package/dist-cjs/commands/UpdateConnectorCommand.js +3 -3
  16. package/dist-cjs/commands/index.js +1 -0
  17. package/dist-cjs/endpoints.js +1 -1
  18. package/dist-cjs/models/models_0.js +27 -1
  19. package/dist-cjs/protocols/Aws_restJson1.js +233 -134
  20. package/dist-cjs/runtimeConfig.browser.js +4 -4
  21. package/dist-cjs/runtimeConfig.js +9 -9
  22. package/dist-cjs/runtimeConfig.native.js +1 -1
  23. package/dist-es/KafkaConnect.js +26 -11
  24. package/dist-es/commands/DeleteCustomPluginCommand.js +39 -0
  25. package/dist-es/commands/index.js +1 -0
  26. package/dist-es/models/models_0.js +20 -5
  27. package/dist-es/pagination/ListConnectorsPaginator.js +4 -4
  28. package/dist-es/pagination/ListCustomPluginsPaginator.js +4 -4
  29. package/dist-es/pagination/ListWorkerConfigurationsPaginator.js +4 -4
  30. package/dist-es/protocols/Aws_restJson1.js +140 -11
  31. package/dist-types/KafkaConnect.d.ts +10 -1
  32. package/dist-types/KafkaConnectClient.d.ts +5 -4
  33. package/dist-types/commands/DeleteCustomPluginCommand.d.ts +35 -0
  34. package/dist-types/commands/ListConnectorsCommand.d.ts +3 -1
  35. package/dist-types/commands/index.d.ts +1 -0
  36. package/dist-types/models/models_0.d.ts +179 -58
  37. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  38. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  39. package/dist-types/runtimeConfig.d.ts +1 -1
  40. package/dist-types/runtimeConfig.native.d.ts +3 -3
  41. package/dist-types/ts3.4/KafkaConnect.d.ts +5 -0
  42. package/dist-types/ts3.4/KafkaConnectClient.d.ts +5 -4
  43. package/dist-types/ts3.4/commands/DeleteCustomPluginCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +33 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  50. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
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.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-kafkaconnect
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-kafkaconnect
17
+
18
+
19
+
20
+
21
+
22
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
34
 
8
35
 
@@ -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") {
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class KafkaConnectClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class CreateConnectorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class CreateConnectorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CreateConnectorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateConnectorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CreateConnectorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateConnectorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateConnectorCommand = CreateConnectorCommand;
@@ -11,7 +11,7 @@ class CreateCustomPluginCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class CreateCustomPluginCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CreateCustomPluginCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateCustomPluginCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CreateCustomPluginCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateCustomPluginCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateCustomPluginCommand = CreateCustomPluginCommand;
@@ -11,7 +11,7 @@ class CreateWorkerConfigurationCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class CreateWorkerConfigurationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CreateWorkerConfigurationCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateWorkerConfigurationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CreateWorkerConfigurationCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateWorkerConfigurationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateWorkerConfigurationCommand = CreateWorkerConfigurationCommand;
@@ -11,7 +11,7 @@ class DeleteConnectorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class DeleteConnectorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteConnectorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteConnectorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteConnectorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteConnectorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteConnectorCommand = DeleteConnectorCommand;
@@ -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((0, 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 (0, Aws_restJson1_1.serializeAws_restJson1DeleteCustomPluginCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteCustomPluginCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteCustomPluginCommand = DeleteCustomPluginCommand;
@@ -11,7 +11,7 @@ class DescribeConnectorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class DescribeConnectorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeConnectorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeConnectorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeConnectorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeConnectorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeConnectorCommand = DescribeConnectorCommand;
@@ -11,7 +11,7 @@ class DescribeCustomPluginCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class DescribeCustomPluginCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeCustomPluginCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeCustomPluginCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeCustomPluginCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeCustomPluginCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeCustomPluginCommand = DescribeCustomPluginCommand;
@@ -11,7 +11,7 @@ class DescribeWorkerConfigurationCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class DescribeWorkerConfigurationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeWorkerConfigurationCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeWorkerConfigurationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeWorkerConfigurationCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeWorkerConfigurationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeWorkerConfigurationCommand = DescribeWorkerConfigurationCommand;
@@ -11,7 +11,7 @@ class ListConnectorsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class ListConnectorsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListConnectorsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListConnectorsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListConnectorsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListConnectorsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListConnectorsCommand = ListConnectorsCommand;
@@ -11,7 +11,7 @@ class ListCustomPluginsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class ListCustomPluginsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListCustomPluginsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListCustomPluginsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListCustomPluginsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListCustomPluginsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListCustomPluginsCommand = ListCustomPluginsCommand;
@@ -11,7 +11,7 @@ class ListWorkerConfigurationsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class ListWorkerConfigurationsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListWorkerConfigurationsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListWorkerConfigurationsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListWorkerConfigurationsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListWorkerConfigurationsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListWorkerConfigurationsCommand = ListWorkerConfigurationsCommand;
@@ -11,7 +11,7 @@ class UpdateConnectorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KafkaConnectClient";
@@ -27,10 +27,10 @@ class UpdateConnectorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateConnectorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateConnectorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateConnectorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateConnectorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateConnectorCommand = UpdateConnectorCommand;
@@ -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);
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "kafkaconnect",
128
128
  regionHash,
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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.DescribeConnectorRequest = 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;
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");
5
6
  const KafkaConnectServiceException_1 = require("./KafkaConnectServiceException");
6
7
  var ScaleInPolicyDescription;
7
8
  (function (ScaleInPolicyDescription) {
@@ -359,6 +360,7 @@ var CreateConnectorRequest;
359
360
  (function (CreateConnectorRequest) {
360
361
  CreateConnectorRequest.filterSensitiveLog = (obj) => ({
361
362
  ...obj,
363
+ ...(obj.connectorConfiguration && { connectorConfiguration: smithy_client_1.SENSITIVE_STRING }),
362
364
  });
363
365
  })(CreateConnectorRequest = exports.CreateConnectorRequest || (exports.CreateConnectorRequest = {}));
364
366
  var CreateConnectorResponse;
@@ -473,6 +475,7 @@ var CreateWorkerConfigurationRequest;
473
475
  (function (CreateWorkerConfigurationRequest) {
474
476
  CreateWorkerConfigurationRequest.filterSensitiveLog = (obj) => ({
475
477
  ...obj,
478
+ ...(obj.propertiesFileContent && { propertiesFileContent: smithy_client_1.SENSITIVE_STRING }),
476
479
  });
477
480
  })(CreateWorkerConfigurationRequest = exports.CreateWorkerConfigurationRequest || (exports.CreateWorkerConfigurationRequest = {}));
478
481
  var CreateWorkerConfigurationResponse;
@@ -493,16 +496,35 @@ var DeleteConnectorResponse;
493
496
  ...obj,
494
497
  });
495
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 = {}));
496
511
  var DescribeConnectorRequest;
497
512
  (function (DescribeConnectorRequest) {
498
513
  DescribeConnectorRequest.filterSensitiveLog = (obj) => ({
499
514
  ...obj,
500
515
  });
501
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 = {}));
502
523
  var DescribeConnectorResponse;
503
524
  (function (DescribeConnectorResponse) {
504
525
  DescribeConnectorResponse.filterSensitiveLog = (obj) => ({
505
526
  ...obj,
527
+ ...(obj.connectorConfiguration && { connectorConfiguration: smithy_client_1.SENSITIVE_STRING }),
506
528
  });
507
529
  })(DescribeConnectorResponse = exports.DescribeConnectorResponse || (exports.DescribeConnectorResponse = {}));
508
530
  var DescribeCustomPluginRequest;
@@ -527,12 +549,16 @@ var WorkerConfigurationRevisionDescription;
527
549
  (function (WorkerConfigurationRevisionDescription) {
528
550
  WorkerConfigurationRevisionDescription.filterSensitiveLog = (obj) => ({
529
551
  ...obj,
552
+ ...(obj.propertiesFileContent && { propertiesFileContent: smithy_client_1.SENSITIVE_STRING }),
530
553
  });
531
554
  })(WorkerConfigurationRevisionDescription = exports.WorkerConfigurationRevisionDescription || (exports.WorkerConfigurationRevisionDescription = {}));
532
555
  var DescribeWorkerConfigurationResponse;
533
556
  (function (DescribeWorkerConfigurationResponse) {
534
557
  DescribeWorkerConfigurationResponse.filterSensitiveLog = (obj) => ({
535
558
  ...obj,
559
+ ...(obj.latestRevision && {
560
+ latestRevision: WorkerConfigurationRevisionDescription.filterSensitiveLog(obj.latestRevision),
561
+ }),
536
562
  });
537
563
  })(DescribeWorkerConfigurationResponse = exports.DescribeWorkerConfigurationResponse || (exports.DescribeWorkerConfigurationResponse = {}));
538
564
  var ListConnectorsRequest;