@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
@@ -4,22 +4,13 @@ exports.paginateListConnectors = void 0;
4
4
  const ListConnectorsCommand_1 = require("../commands/ListConnectorsCommand");
5
5
  const KafkaConnect_1 = require("../KafkaConnect");
6
6
  const KafkaConnectClient_1 = require("../KafkaConnectClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListConnectorsCommand_1.ListConnectorsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listConnectors(input, ...args);
20
12
  };
21
13
  async function* paginateListConnectors(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListConnectors(config, input, ...additionalArguments) {
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListConnectors = paginateListConnectors;
@@ -4,22 +4,13 @@ exports.paginateListCustomPlugins = void 0;
4
4
  const ListCustomPluginsCommand_1 = require("../commands/ListCustomPluginsCommand");
5
5
  const KafkaConnect_1 = require("../KafkaConnect");
6
6
  const KafkaConnectClient_1 = require("../KafkaConnectClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListCustomPluginsCommand_1.ListCustomPluginsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listCustomPlugins(input, ...args);
20
12
  };
21
13
  async function* paginateListCustomPlugins(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListCustomPlugins(config, input, ...additionalArguments)
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListCustomPlugins = paginateListCustomPlugins;
@@ -4,22 +4,13 @@ exports.paginateListWorkerConfigurations = void 0;
4
4
  const ListWorkerConfigurationsCommand_1 = require("../commands/ListWorkerConfigurationsCommand");
5
5
  const KafkaConnect_1 = require("../KafkaConnect");
6
6
  const KafkaConnectClient_1 = require("../KafkaConnectClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListWorkerConfigurationsCommand_1.ListWorkerConfigurationsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listWorkerConfigurations(input, ...args);
20
12
  };
21
13
  async function* paginateListWorkerConfigurations(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListWorkerConfigurations(config, input, ...additionalArg
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListWorkerConfigurations = paginateListWorkerConfigurations;
@@ -2195,14 +2195,12 @@ const deserializeMetadata = (output) => {
2195
2195
  cfId: output.headers["x-amz-cf-id"],
2196
2196
  });
2197
2197
  };
2198
- // Collect low-level response body stream to Uint8Array.
2199
2198
  const collectBody = (streamBody = new Uint8Array(), context) => {
2200
2199
  if (streamBody instanceof Uint8Array) {
2201
2200
  return Promise.resolve(streamBody);
2202
2201
  }
2203
2202
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
2204
2203
  };
2205
- // Encode Uint8Array data into string with utf-8.
2206
2204
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2207
2205
  const isSerializableHeaderValue = (value) => value !== undefined &&
2208
2206
  value !== null &&
@@ -2215,9 +2213,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
2215
2213
  }
2216
2214
  return {};
2217
2215
  });
2218
- /**
2219
- * Load an error code for the aws.rest-json-1.1 protocol.
2220
- */
2221
2216
  const loadRestJsonErrorCode = (output, data) => {
2222
2217
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2223
2218
  const sanitizeErrorCode = (rawValue) => {
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
8
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const client_sts_1 = require("@aws-sdk/client-sts");
8
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
9
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
- /**
21
- * @internal
22
- */
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -11,73 +11,49 @@ import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from ".
11
11
  import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "./commands/ListWorkerConfigurationsCommand";
12
12
  import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
13
13
  import { KafkaConnectClient } from "./KafkaConnectClient";
14
- /**
15
- * <p/>
16
- */
14
+
17
15
  export declare class KafkaConnect extends KafkaConnectClient {
18
- /**
19
- * <p>Creates a connector using the specified properties.</p>
20
- */
16
+
21
17
  createConnector(args: CreateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorCommandOutput>;
22
18
  createConnector(args: CreateConnectorCommandInput, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
23
19
  createConnector(args: CreateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
24
- /**
25
- * <p>Creates a custom plugin using the specified properties.</p>
26
- */
20
+
27
21
  createCustomPlugin(args: CreateCustomPluginCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomPluginCommandOutput>;
28
22
  createCustomPlugin(args: CreateCustomPluginCommandInput, cb: (err: any, data?: CreateCustomPluginCommandOutput) => void): void;
29
23
  createCustomPlugin(args: CreateCustomPluginCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomPluginCommandOutput) => void): void;
30
- /**
31
- * <p>Creates a worker configuration using the specified properties.</p>
32
- */
24
+
33
25
  createWorkerConfiguration(args: CreateWorkerConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkerConfigurationCommandOutput>;
34
26
  createWorkerConfiguration(args: CreateWorkerConfigurationCommandInput, cb: (err: any, data?: CreateWorkerConfigurationCommandOutput) => void): void;
35
27
  createWorkerConfiguration(args: CreateWorkerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkerConfigurationCommandOutput) => void): void;
36
- /**
37
- * <p>Deletes the specified connector.</p>
38
- */
28
+
39
29
  deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
40
30
  deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
41
31
  deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
42
- /**
43
- * <p>Returns summary information about the connector.</p>
44
- */
32
+
45
33
  describeConnector(args: DescribeConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorCommandOutput>;
46
34
  describeConnector(args: DescribeConnectorCommandInput, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
47
35
  describeConnector(args: DescribeConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
48
- /**
49
- * <p>A summary description of the custom plugin.</p>
50
- */
36
+
51
37
  describeCustomPlugin(args: DescribeCustomPluginCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCustomPluginCommandOutput>;
52
38
  describeCustomPlugin(args: DescribeCustomPluginCommandInput, cb: (err: any, data?: DescribeCustomPluginCommandOutput) => void): void;
53
39
  describeCustomPlugin(args: DescribeCustomPluginCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCustomPluginCommandOutput) => void): void;
54
- /**
55
- * <p>Returns information about a worker configuration.</p>
56
- */
40
+
57
41
  describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkerConfigurationCommandOutput>;
58
42
  describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
59
43
  describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
60
- /**
61
- * <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>
62
- */
44
+
63
45
  listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
64
46
  listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
65
47
  listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
66
- /**
67
- * <p>Returns a list of all of the custom plugins in this account and Region.</p>
68
- */
48
+
69
49
  listCustomPlugins(args: ListCustomPluginsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomPluginsCommandOutput>;
70
50
  listCustomPlugins(args: ListCustomPluginsCommandInput, cb: (err: any, data?: ListCustomPluginsCommandOutput) => void): void;
71
51
  listCustomPlugins(args: ListCustomPluginsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomPluginsCommandOutput) => void): void;
72
- /**
73
- * <p>Returns a list of all of the worker configurations in this account and Region.</p>
74
- */
52
+
75
53
  listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkerConfigurationsCommandOutput>;
76
54
  listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void): void;
77
55
  listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void): void;
78
- /**
79
- * <p>Updates the specified connector.</p>
80
- */
56
+
81
57
  updateConnector(args: UpdateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorCommandOutput>;
82
58
  updateConnector(args: UpdateConnectorCommandInput, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
83
59
  updateConnector(args: UpdateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
@@ -20,124 +20,59 @@ import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./com
20
20
  export declare type ServiceInputTypes = CreateConnectorCommandInput | CreateCustomPluginCommandInput | CreateWorkerConfigurationCommandInput | DeleteConnectorCommandInput | DescribeConnectorCommandInput | DescribeCustomPluginCommandInput | DescribeWorkerConfigurationCommandInput | ListConnectorsCommandInput | ListCustomPluginsCommandInput | ListWorkerConfigurationsCommandInput | UpdateConnectorCommandInput;
21
21
  export declare type ServiceOutputTypes = CreateConnectorCommandOutput | CreateCustomPluginCommandOutput | CreateWorkerConfigurationCommandOutput | DeleteConnectorCommandOutput | DescribeConnectorCommandOutput | DescribeCustomPluginCommandOutput | DescribeWorkerConfigurationCommandOutput | ListConnectorsCommandOutput | ListCustomPluginsCommandOutput | ListWorkerConfigurationsCommandOutput | UpdateConnectorCommandOutput;
22
22
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
23
- /**
24
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
25
- */
23
+
26
24
  requestHandler?: __HttpHandler;
27
- /**
28
- * A constructor for a class implementing the {@link __Hash} interface
29
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
30
- * @internal
31
- */
25
+
32
26
  sha256?: __HashConstructor;
33
- /**
34
- * The function that will be used to convert strings into HTTP endpoints.
35
- * @internal
36
- */
27
+
37
28
  urlParser?: __UrlParser;
38
- /**
39
- * A function that can calculate the length of a request body.
40
- * @internal
41
- */
29
+
42
30
  bodyLengthChecker?: (body: any) => number | undefined;
43
- /**
44
- * A function that converts a stream into an array of bytes.
45
- * @internal
46
- */
31
+
47
32
  streamCollector?: __StreamCollector;
48
- /**
49
- * The function that will be used to convert a base64-encoded string to a byte array.
50
- * @internal
51
- */
33
+
52
34
  base64Decoder?: __Decoder;
53
- /**
54
- * The function that will be used to convert binary data to a base64-encoded string.
55
- * @internal
56
- */
35
+
57
36
  base64Encoder?: __Encoder;
58
- /**
59
- * The function that will be used to convert a UTF8-encoded string to a byte array.
60
- * @internal
61
- */
37
+
62
38
  utf8Decoder?: __Decoder;
63
- /**
64
- * The function that will be used to convert binary data to a UTF-8 encoded string.
65
- * @internal
66
- */
39
+
67
40
  utf8Encoder?: __Encoder;
68
- /**
69
- * The runtime environment.
70
- * @internal
71
- */
41
+
72
42
  runtime?: string;
73
- /**
74
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
75
- * trait of an operation.
76
- */
43
+
77
44
  disableHostPrefix?: boolean;
78
- /**
79
- * Value for how many times a request will be made at most in case of retry.
80
- */
45
+
81
46
  maxAttempts?: number | __Provider<number>;
82
- /**
83
- * Specifies which retry algorithm to use.
84
- */
47
+
85
48
  retryMode?: string | __Provider<string>;
86
- /**
87
- * Optional logger for logging debug/info/warn/error.
88
- */
49
+
89
50
  logger?: __Logger;
90
- /**
91
- * Unique service identifier.
92
- * @internal
93
- */
51
+
94
52
  serviceId?: string;
95
- /**
96
- * The AWS region to which this client will send requests
97
- */
53
+
98
54
  region?: string | __Provider<string>;
99
- /**
100
- * Default credentials provider; Not available in browser runtime.
101
- * @internal
102
- */
55
+
103
56
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
104
- /**
105
- * Fetch related hostname, signing name or signing region with given region.
106
- * @internal
107
- */
57
+
108
58
  regionInfoProvider?: RegionInfoProvider;
109
- /**
110
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
111
- * @internal
112
- */
59
+
113
60
  defaultUserAgentProvider?: Provider<__UserAgent>;
114
61
  }
115
62
  declare type KafkaConnectClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
116
- /**
117
- * The configuration interface of KafkaConnectClient class constructor that set the region, credentials and other options.
118
- */
63
+
119
64
  export interface KafkaConnectClientConfig extends KafkaConnectClientConfigType {
120
65
  }
121
66
  declare type KafkaConnectClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
122
- /**
123
- * The resolved configuration interface of KafkaConnectClient class. This is resolved and normalized from the {@link KafkaConnectClientConfig | constructor configuration interface}.
124
- */
67
+
125
68
  export interface KafkaConnectClientResolvedConfig extends KafkaConnectClientResolvedConfigType {
126
69
  }
127
- /**
128
- * <p/>
129
- */
70
+
130
71
  export declare class KafkaConnectClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, KafkaConnectClientResolvedConfig> {
131
- /**
132
- * The resolved configuration of KafkaConnectClient class. This is resolved and normalized from the {@link KafkaConnectClientConfig | constructor configuration interface}.
133
- */
72
+
134
73
  readonly config: KafkaConnectClientResolvedConfig;
135
74
  constructor(configuration: KafkaConnectClientConfig);
136
- /**
137
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
138
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
139
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
140
- */
75
+
141
76
  destroy(): void;
142
77
  }
143
78
  export {};
@@ -6,29 +6,11 @@ export interface CreateConnectorCommandInput extends CreateConnectorRequest {
6
6
  }
7
7
  export interface CreateConnectorCommandOutput extends CreateConnectorResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates a connector using the specified properties.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { KafkaConnectClient, CreateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
15
- * // const { KafkaConnectClient, CreateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
16
- * const client = new KafkaConnectClient(config);
17
- * const command = new CreateConnectorCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateConnectorCommandInput} for command's `input` shape.
22
- * @see {@link CreateConnectorCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class CreateConnectorCommand extends $Command<CreateConnectorCommandInput, CreateConnectorCommandOutput, KafkaConnectClientResolvedConfig> {
27
11
  readonly input: CreateConnectorCommandInput;
28
12
  constructor(input: CreateConnectorCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConnectorCommandInput, CreateConnectorCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface CreateCustomPluginCommandInput extends CreateCustomPluginReques
6
6
  }
7
7
  export interface CreateCustomPluginCommandOutput extends CreateCustomPluginResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates a custom plugin using the specified properties.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { KafkaConnectClient, CreateCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
15
- * // const { KafkaConnectClient, CreateCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
16
- * const client = new KafkaConnectClient(config);
17
- * const command = new CreateCustomPluginCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateCustomPluginCommandInput} for command's `input` shape.
22
- * @see {@link CreateCustomPluginCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class CreateCustomPluginCommand extends $Command<CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput, KafkaConnectClientResolvedConfig> {
27
11
  readonly input: CreateCustomPluginCommandInput;
28
12
  constructor(input: CreateCustomPluginCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface CreateWorkerConfigurationCommandInput extends CreateWorkerConfi
6
6
  }
7
7
  export interface CreateWorkerConfigurationCommandOutput extends CreateWorkerConfigurationResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates a worker configuration using the specified properties.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { KafkaConnectClient, CreateWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
15
- * // const { KafkaConnectClient, CreateWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
16
- * const client = new KafkaConnectClient(config);
17
- * const command = new CreateWorkerConfigurationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateWorkerConfigurationCommandInput} for command's `input` shape.
22
- * @see {@link CreateWorkerConfigurationCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class CreateWorkerConfigurationCommand extends $Command<CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput, KafkaConnectClientResolvedConfig> {
27
11
  readonly input: CreateWorkerConfigurationCommandInput;
28
12
  constructor(input: CreateWorkerConfigurationCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteConnectorCommandInput extends DeleteConnectorRequest {
6
6
  }
7
7
  export interface DeleteConnectorCommandOutput extends DeleteConnectorResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified connector.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { KafkaConnectClient, DeleteConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
15
- * // const { KafkaConnectClient, DeleteConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
16
- * const client = new KafkaConnectClient(config);
17
- * const command = new DeleteConnectorCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteConnectorCommandInput} for command's `input` shape.
22
- * @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteConnectorCommand extends $Command<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, KafkaConnectClientResolvedConfig> {
27
11
  readonly input: DeleteConnectorCommandInput;
28
12
  constructor(input: DeleteConnectorCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteConnectorCommandInput, DeleteConnectorCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DescribeConnectorCommandInput extends DescribeConnectorRequest
6
6
  }
7
7
  export interface DescribeConnectorCommandOutput extends DescribeConnectorResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns summary information about the connector.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { KafkaConnectClient, DescribeConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
15
- * // const { KafkaConnectClient, DescribeConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
16
- * const client = new KafkaConnectClient(config);
17
- * const command = new DescribeConnectorCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeConnectorCommandInput} for command's `input` shape.
22
- * @see {@link DescribeConnectorCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DescribeConnectorCommand extends $Command<DescribeConnectorCommandInput, DescribeConnectorCommandOutput, KafkaConnectClientResolvedConfig> {
27
11
  readonly input: DescribeConnectorCommandInput;
28
12
  constructor(input: DescribeConnectorCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeConnectorCommandInput, DescribeConnectorCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DescribeCustomPluginCommandInput extends DescribeCustomPluginRe
6
6
  }
7
7
  export interface DescribeCustomPluginCommandOutput extends DescribeCustomPluginResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>A summary description of the custom plugin.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { KafkaConnectClient, DescribeCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
15
- * // const { KafkaConnectClient, DescribeCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
16
- * const client = new KafkaConnectClient(config);
17
- * const command = new DescribeCustomPluginCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeCustomPluginCommandInput} for command's `input` shape.
22
- * @see {@link DescribeCustomPluginCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DescribeCustomPluginCommand extends $Command<DescribeCustomPluginCommandInput, DescribeCustomPluginCommandOutput, KafkaConnectClientResolvedConfig> {
27
11
  readonly input: DescribeCustomPluginCommandInput;
28
12
  constructor(input: DescribeCustomPluginCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeCustomPluginCommandInput, DescribeCustomPluginCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DescribeWorkerConfigurationCommandInput extends DescribeWorkerC
6
6
  }
7
7
  export interface DescribeWorkerConfigurationCommandOutput extends DescribeWorkerConfigurationResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns information about a worker configuration.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { KafkaConnectClient, DescribeWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
15
- * // const { KafkaConnectClient, DescribeWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
16
- * const client = new KafkaConnectClient(config);
17
- * const command = new DescribeWorkerConfigurationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeWorkerConfigurationCommandInput} for command's `input` shape.
22
- * @see {@link DescribeWorkerConfigurationCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DescribeWorkerConfigurationCommand extends $Command<DescribeWorkerConfigurationCommandInput, DescribeWorkerConfigurationCommandOutput, KafkaConnectClientResolvedConfig> {
27
11
  readonly input: DescribeWorkerConfigurationCommandInput;
28
12
  constructor(input: DescribeWorkerConfigurationCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeWorkerConfigurationCommandInput, DescribeWorkerConfigurationCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;