@aws-sdk/client-kafkaconnect 3.36.0 → 3.36.1

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/CHANGELOG.md +11 -0
  2. package/dist-cjs/KafkaConnect.js +0 -3
  3. package/dist-cjs/KafkaConnectClient.js +0 -8
  4. package/dist-cjs/commands/CreateConnectorCommand.js +0 -24
  5. package/dist-cjs/commands/CreateCustomPluginCommand.js +0 -24
  6. package/dist-cjs/commands/CreateWorkerConfigurationCommand.js +0 -24
  7. package/dist-cjs/commands/DeleteConnectorCommand.js +0 -24
  8. package/dist-cjs/commands/DescribeConnectorCommand.js +0 -24
  9. package/dist-cjs/commands/DescribeCustomPluginCommand.js +0 -24
  10. package/dist-cjs/commands/DescribeWorkerConfigurationCommand.js +0 -24
  11. package/dist-cjs/commands/ListConnectorsCommand.js +0 -24
  12. package/dist-cjs/commands/ListCustomPluginsCommand.js +0 -24
  13. package/dist-cjs/commands/ListWorkerConfigurationsCommand.js +0 -24
  14. package/dist-cjs/commands/UpdateConnectorCommand.js +0 -24
  15. package/dist-cjs/models/models_0.js +0 -246
  16. package/dist-cjs/pagination/ListConnectorsPaginator.js +0 -10
  17. package/dist-cjs/pagination/ListCustomPluginsPaginator.js +0 -10
  18. package/dist-cjs/pagination/ListWorkerConfigurationsPaginator.js +0 -10
  19. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  20. package/dist-cjs/runtimeConfig.browser.js +1 -5
  21. package/dist-cjs/runtimeConfig.js +1 -5
  22. package/dist-cjs/runtimeConfig.native.js +0 -3
  23. package/dist-cjs/runtimeConfig.shared.js +0 -3
  24. package/dist-types/ts3.4/KafkaConnect.d.ts +12 -36
  25. package/dist-types/ts3.4/KafkaConnectClient.d.ts +24 -89
  26. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +2 -20
  27. package/dist-types/ts3.4/commands/CreateCustomPluginCommand.d.ts +2 -20
  28. package/dist-types/ts3.4/commands/CreateWorkerConfigurationCommand.d.ts +2 -20
  29. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +2 -20
  30. package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +2 -20
  31. package/dist-types/ts3.4/commands/DescribeCustomPluginCommand.d.ts +2 -20
  32. package/dist-types/ts3.4/commands/DescribeWorkerConfigurationCommand.d.ts +2 -20
  33. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +2 -20
  34. package/dist-types/ts3.4/commands/ListCustomPluginsCommand.d.ts +2 -20
  35. package/dist-types/ts3.4/commands/ListWorkerConfigurationsCommand.d.ts +2 -20
  36. package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +2 -20
  37. package/dist-types/ts3.4/models/models_0.d.ts +352 -1056
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  42. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
18
 
8
19
 
@@ -13,9 +13,6 @@ const ListCustomPluginsCommand_1 = require("./commands/ListCustomPluginsCommand"
13
13
  const ListWorkerConfigurationsCommand_1 = require("./commands/ListWorkerConfigurationsCommand");
14
14
  const UpdateConnectorCommand_1 = require("./commands/UpdateConnectorCommand");
15
15
  const KafkaConnectClient_1 = require("./KafkaConnectClient");
16
- /**
17
- * <p/>
18
- */
19
16
  class KafkaConnect extends KafkaConnectClient_1.KafkaConnectClient {
20
17
  createConnector(args, optionsOrCb, cb) {
21
18
  const command = new CreateConnectorCommand_1.CreateConnectorCommand(args);
@@ -10,9 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p/>
15
- */
16
13
  class KafkaConnectClient extends smithy_client_1.Client {
17
14
  constructor(configuration) {
18
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -31,11 +28,6 @@ class KafkaConnectClient extends smithy_client_1.Client {
31
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
32
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
33
30
  }
34
- /**
35
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
36
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
37
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
38
- */
39
31
  destroy() {
40
32
  super.destroy();
41
33
  }
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a connector using the specified properties.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, CreateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, CreateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new CreateConnectorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateConnectorCommandInput} for command's `input` shape.
21
- * @see {@link CreateConnectorCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateConnectorCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a custom plugin using the specified properties.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, CreateCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, CreateCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new CreateCustomPluginCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateCustomPluginCommandInput} for command's `input` shape.
21
- * @see {@link CreateCustomPluginCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateCustomPluginCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a worker configuration using the specified properties.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, CreateWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, CreateWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new CreateWorkerConfigurationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateWorkerConfigurationCommandInput} for command's `input` shape.
21
- * @see {@link CreateWorkerConfigurationCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateWorkerConfigurationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the specified connector.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, DeleteConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, DeleteConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new DeleteConnectorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteConnectorCommandInput} for command's `input` shape.
21
- * @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteConnectorCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns summary information about the connector.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, DescribeConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, DescribeConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new DescribeConnectorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeConnectorCommandInput} for command's `input` shape.
21
- * @see {@link DescribeConnectorCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeConnectorCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>A summary description of the custom plugin.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, DescribeCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, DescribeCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new DescribeCustomPluginCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeCustomPluginCommandInput} for command's `input` shape.
21
- * @see {@link DescribeCustomPluginCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeCustomPluginCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns information about a worker configuration.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, DescribeWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, DescribeWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new DescribeWorkerConfigurationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeWorkerConfigurationCommandInput} for command's `input` shape.
21
- * @see {@link DescribeWorkerConfigurationCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeWorkerConfigurationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns a list of all the connectors in this account and Region. The list is limited to connectors whose name starts with the specified prefix. The response also includes a description of each of the listed connectors.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, ListConnectorsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, ListConnectorsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new ListConnectorsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListConnectorsCommandInput} for command's `input` shape.
21
- * @see {@link ListConnectorsCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListConnectorsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns a list of all of the custom plugins in this account and Region.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, ListCustomPluginsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, ListCustomPluginsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new ListCustomPluginsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListCustomPluginsCommandInput} for command's `input` shape.
21
- * @see {@link ListCustomPluginsCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListCustomPluginsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns a list of all of the worker configurations in this account and Region.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, ListWorkerConfigurationsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, ListWorkerConfigurationsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new ListWorkerConfigurationsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListWorkerConfigurationsCommandInput} for command's `input` shape.
21
- * @see {@link ListWorkerConfigurationsCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListWorkerConfigurationsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates the specified connector.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KafkaConnectClient, UpdateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
14
- * // const { KafkaConnectClient, UpdateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
15
- * const client = new KafkaConnectClient(config);
16
- * const command = new UpdateConnectorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateConnectorCommandInput} for command's `input` shape.
21
- * @see {@link UpdateConnectorCommandOutput} for command's `response` shape.
22
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateConnectorCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);