@aws-sdk/client-kafkaconnect 3.33.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.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/KafkaConnect.js +1 -5
- package/{dist/cjs → dist-cjs}/KafkaConnectClient.js +8 -17
- package/{dist/cjs → dist-cjs}/commands/CreateConnectorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateCustomPluginCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateWorkerConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteConnectorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeConnectorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeCustomPluginCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeWorkerConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListConnectorsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListCustomPluginsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListWorkerConfigurationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateConnectorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -247
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListConnectorsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListCustomPluginsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListWorkerConfigurationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -12
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/KafkaConnect.js +2 -6
- package/{dist/es → dist-es}/KafkaConnectClient.js +2 -11
- package/{dist/es → dist-es}/commands/CreateConnectorCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateCustomPluginCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateWorkerConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteConnectorCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeConnectorCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeCustomPluginCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeWorkerConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListConnectorsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListCustomPluginsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListWorkerConfigurationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateConnectorCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -247
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListConnectorsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListCustomPluginsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListWorkerConfigurationsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +427 -433
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/KafkaConnect.d.ts +2 -2
- package/{dist/types → dist-types}/KafkaConnectClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateConnectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCustomPluginCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateWorkerConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteConnectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConnectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCustomPluginCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeWorkerConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListConnectorsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCustomPluginsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListWorkerConfigurationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateConnectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListConnectorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCustomPluginsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListWorkerConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/KafkaConnect.d.ts +14 -38
- package/{dist/types → dist-types}/ts3.4/KafkaConnectClient.d.ts +32 -97
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateCustomPluginCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/CreateWorkerConfigurationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCustomPluginCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeWorkerConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCustomPluginsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListWorkerConfigurationsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1028 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListConnectorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCustomPluginsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListWorkerConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/KafkaConnect.ts +0 -414
- package/KafkaConnectClient.ts +0 -280
- package/commands/CreateConnectorCommand.ts +0 -94
- package/commands/CreateCustomPluginCommand.ts +0 -94
- package/commands/CreateWorkerConfigurationCommand.ts +0 -97
- package/commands/DeleteConnectorCommand.ts +0 -94
- package/commands/DescribeConnectorCommand.ts +0 -94
- package/commands/DescribeCustomPluginCommand.ts +0 -94
- package/commands/DescribeWorkerConfigurationCommand.ts +0 -99
- package/commands/ListConnectorsCommand.ts +0 -94
- package/commands/ListCustomPluginsCommand.ts +0 -94
- package/commands/ListWorkerConfigurationsCommand.ts +0 -94
- package/commands/UpdateConnectorCommand.ts +0 -94
- package/dist/cjs/KafkaConnect.js.map +0 -1
- package/dist/cjs/KafkaConnectClient.js.map +0 -1
- package/dist/cjs/commands/CreateConnectorCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCustomPluginCommand.js.map +0 -1
- package/dist/cjs/commands/CreateWorkerConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteConnectorCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConnectorCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCustomPluginCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeWorkerConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/ListConnectorsCommand.js.map +0 -1
- package/dist/cjs/commands/ListCustomPluginsCommand.js.map +0 -1
- package/dist/cjs/commands/ListWorkerConfigurationsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateConnectorCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListConnectorsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListCustomPluginsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListWorkerConfigurationsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/KafkaConnect.js.map +0 -1
- package/dist/es/KafkaConnectClient.js.map +0 -1
- package/dist/es/commands/CreateConnectorCommand.js.map +0 -1
- package/dist/es/commands/CreateCustomPluginCommand.js.map +0 -1
- package/dist/es/commands/CreateWorkerConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DeleteConnectorCommand.js.map +0 -1
- package/dist/es/commands/DescribeConnectorCommand.js.map +0 -1
- package/dist/es/commands/DescribeCustomPluginCommand.js.map +0 -1
- package/dist/es/commands/DescribeWorkerConfigurationCommand.js.map +0 -1
- package/dist/es/commands/ListConnectorsCommand.js.map +0 -1
- package/dist/es/commands/ListCustomPluginsCommand.js.map +0 -1
- package/dist/es/commands/ListWorkerConfigurationsCommand.js.map +0 -1
- package/dist/es/commands/UpdateConnectorCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -19
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListConnectorsPaginator.js.map +0 -1
- package/dist/es/pagination/ListCustomPluginsPaginator.js.map +0 -1
- package/dist/es/pagination/ListWorkerConfigurationsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateConnectorCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListConnectorsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListCustomPluginsCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1732
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2197
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListConnectorsPaginator.ts +0 -58
- package/pagination/ListCustomPluginsPaginator.ts +0 -58
- package/pagination/ListWorkerConfigurationsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -2700
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConnectors = void 0;
|
|
4
|
+
const ListConnectorsCommand_1 = require("../commands/ListConnectorsCommand");
|
|
4
5
|
const KafkaConnect_1 = require("../KafkaConnect");
|
|
5
6
|
const KafkaConnectClient_1 = require("../KafkaConnectClient");
|
|
6
|
-
const ListConnectorsCommand_1 = require("../commands/ListConnectorsCommand");
|
|
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,8 +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;
|
|
46
|
-
//# sourceMappingURL=ListConnectorsPaginator.js.map
|
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCustomPlugins = void 0;
|
|
4
|
+
const ListCustomPluginsCommand_1 = require("../commands/ListCustomPluginsCommand");
|
|
4
5
|
const KafkaConnect_1 = require("../KafkaConnect");
|
|
5
6
|
const KafkaConnectClient_1 = require("../KafkaConnectClient");
|
|
6
|
-
const ListCustomPluginsCommand_1 = require("../commands/ListCustomPluginsCommand");
|
|
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,8 +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;
|
|
46
|
-
//# sourceMappingURL=ListCustomPluginsPaginator.js.map
|
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListWorkerConfigurations = void 0;
|
|
4
|
+
const ListWorkerConfigurationsCommand_1 = require("../commands/ListWorkerConfigurationsCommand");
|
|
4
5
|
const KafkaConnect_1 = require("../KafkaConnect");
|
|
5
6
|
const KafkaConnectClient_1 = require("../KafkaConnectClient");
|
|
6
|
-
const ListWorkerConfigurationsCommand_1 = require("../commands/ListWorkerConfigurationsCommand");
|
|
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,8 +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;
|
|
46
|
-
//# sourceMappingURL=ListWorkerConfigurationsPaginator.js.map
|
|
@@ -8,7 +8,7 @@ const serializeAws_restJson1CreateConnectorCommand = async (input, context) => {
|
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors";
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify({
|
|
14
14
|
...(input.capacity !== undefined &&
|
|
@@ -59,7 +59,7 @@ const serializeAws_restJson1CreateCustomPluginCommand = async (input, context) =
|
|
|
59
59
|
const headers = {
|
|
60
60
|
"content-type": "application/json",
|
|
61
61
|
};
|
|
62
|
-
|
|
62
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/custom-plugins";
|
|
63
63
|
let body;
|
|
64
64
|
body = JSON.stringify({
|
|
65
65
|
...(input.contentType !== undefined && input.contentType !== null && { contentType: input.contentType }),
|
|
@@ -84,7 +84,7 @@ const serializeAws_restJson1CreateWorkerConfigurationCommand = async (input, con
|
|
|
84
84
|
const headers = {
|
|
85
85
|
"content-type": "application/json",
|
|
86
86
|
};
|
|
87
|
-
|
|
87
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/worker-configurations";
|
|
88
88
|
let body;
|
|
89
89
|
body = JSON.stringify({
|
|
90
90
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
@@ -215,7 +215,7 @@ exports.serializeAws_restJson1DescribeWorkerConfigurationCommand = serializeAws_
|
|
|
215
215
|
const serializeAws_restJson1ListConnectorsCommand = async (input, context) => {
|
|
216
216
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
217
217
|
const headers = {};
|
|
218
|
-
|
|
218
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors";
|
|
219
219
|
const query = {
|
|
220
220
|
...(input.connectorNamePrefix !== undefined && { connectorNamePrefix: input.connectorNamePrefix }),
|
|
221
221
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
@@ -237,7 +237,7 @@ exports.serializeAws_restJson1ListConnectorsCommand = serializeAws_restJson1List
|
|
|
237
237
|
const serializeAws_restJson1ListCustomPluginsCommand = async (input, context) => {
|
|
238
238
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
239
239
|
const headers = {};
|
|
240
|
-
|
|
240
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/custom-plugins";
|
|
241
241
|
const query = {
|
|
242
242
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
243
243
|
...(input.nextToken !== undefined && { nextToken: input.nextToken }),
|
|
@@ -258,7 +258,7 @@ exports.serializeAws_restJson1ListCustomPluginsCommand = serializeAws_restJson1L
|
|
|
258
258
|
const serializeAws_restJson1ListWorkerConfigurationsCommand = async (input, context) => {
|
|
259
259
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
260
260
|
const headers = {};
|
|
261
|
-
|
|
261
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/worker-configurations";
|
|
262
262
|
const query = {
|
|
263
263
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
264
264
|
...(input.nextToken !== undefined && { nextToken: input.nextToken }),
|
|
@@ -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) => {
|
|
@@ -2242,4 +2237,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2242
2237
|
}
|
|
2243
2238
|
return "";
|
|
2244
2239
|
};
|
|
2245
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
15
|
const getRuntimeConfig = (config) => {
|
|
19
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
35
|
};
|
|
39
36
|
};
|
|
40
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
19
|
const getRuntimeConfig = (config) => {
|
|
23
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
40
|
};
|
|
44
41
|
};
|
|
45
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -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);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { KafkaConnectClient } from "./KafkaConnectClient";
|
|
3
2
|
import { CreateConnectorCommand, } from "./commands/CreateConnectorCommand";
|
|
4
3
|
import { CreateCustomPluginCommand, } from "./commands/CreateCustomPluginCommand";
|
|
5
4
|
import { CreateWorkerConfigurationCommand, } from "./commands/CreateWorkerConfigurationCommand";
|
|
@@ -11,10 +10,8 @@ import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
|
|
|
11
10
|
import { ListCustomPluginsCommand, } from "./commands/ListCustomPluginsCommand";
|
|
12
11
|
import { ListWorkerConfigurationsCommand, } from "./commands/ListWorkerConfigurationsCommand";
|
|
13
12
|
import { UpdateConnectorCommand, } from "./commands/UpdateConnectorCommand";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
var KafkaConnect = /** @class */ (function (_super) {
|
|
13
|
+
import { KafkaConnectClient } from "./KafkaConnectClient";
|
|
14
|
+
var KafkaConnect = (function (_super) {
|
|
18
15
|
__extends(KafkaConnect, _super);
|
|
19
16
|
function KafkaConnect() {
|
|
20
17
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -176,4 +173,3 @@ var KafkaConnect = /** @class */ (function (_super) {
|
|
|
176
173
|
return KafkaConnect;
|
|
177
174
|
}(KafkaConnectClient));
|
|
178
175
|
export { KafkaConnect };
|
|
179
|
-
//# sourceMappingURL=KafkaConnect.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,10 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*/
|
|
14
|
-
var KafkaConnectClient = /** @class */ (function (_super) {
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var KafkaConnectClient = (function (_super) {
|
|
15
12
|
__extends(KafkaConnectClient, _super);
|
|
16
13
|
function KafkaConnectClient(configuration) {
|
|
17
14
|
var _this = this;
|
|
@@ -32,15 +29,9 @@ var KafkaConnectClient = /** @class */ (function (_super) {
|
|
|
32
29
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
33
30
|
return _this;
|
|
34
31
|
}
|
|
35
|
-
/**
|
|
36
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
37
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
38
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
39
|
-
*/
|
|
40
32
|
KafkaConnectClient.prototype.destroy = function () {
|
|
41
33
|
_super.prototype.destroy.call(this);
|
|
42
34
|
};
|
|
43
35
|
return KafkaConnectClient;
|
|
44
36
|
}(__Client));
|
|
45
37
|
export { KafkaConnectClient };
|
|
46
|
-
//# sourceMappingURL=KafkaConnectClient.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateConnectorRequest, CreateConnectorResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateConnectorCommand, serializeAws_restJson1CreateConnectorCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { KafkaConnectClient, CreateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
12
|
-
* // const { KafkaConnectClient, CreateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
13
|
-
* const client = new KafkaConnectClient(config);
|
|
14
|
-
* const command = new CreateConnectorCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateConnectorCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateConnectorCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateConnectorCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateConnectorRequest, CreateConnectorResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateConnectorCommand, serializeAws_restJson1CreateConnectorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateConnectorCommand = (function (_super) {
|
|
24
7
|
__extends(CreateConnectorCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateConnectorCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreateConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var CreateConnectorCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return CreateConnectorCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { CreateConnectorCommand };
|
|
65
|
-
//# sourceMappingURL=CreateConnectorCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateCustomPluginRequest, CreateCustomPluginResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateCustomPluginCommand, serializeAws_restJson1CreateCustomPluginCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { KafkaConnectClient, CreateCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
12
|
-
* // const { KafkaConnectClient, CreateCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
13
|
-
* const client = new KafkaConnectClient(config);
|
|
14
|
-
* const command = new CreateCustomPluginCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateCustomPluginCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateCustomPluginCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateCustomPluginCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateCustomPluginRequest, CreateCustomPluginResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateCustomPluginCommand, serializeAws_restJson1CreateCustomPluginCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateCustomPluginCommand = (function (_super) {
|
|
24
7
|
__extends(CreateCustomPluginCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateCustomPluginCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreateCustomPluginCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var CreateCustomPluginCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return CreateCustomPluginCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { CreateCustomPluginCommand };
|
|
65
|
-
//# sourceMappingURL=CreateCustomPluginCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateWorkerConfigurationRequest, CreateWorkerConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateWorkerConfigurationCommand, serializeAws_restJson1CreateWorkerConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { KafkaConnectClient, CreateWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
12
|
-
* // const { KafkaConnectClient, CreateWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
13
|
-
* const client = new KafkaConnectClient(config);
|
|
14
|
-
* const command = new CreateWorkerConfigurationCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateWorkerConfigurationCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateWorkerConfigurationCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateWorkerConfigurationCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateWorkerConfigurationRequest, CreateWorkerConfigurationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateWorkerConfigurationCommand, serializeAws_restJson1CreateWorkerConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateWorkerConfigurationCommand = (function (_super) {
|
|
24
7
|
__extends(CreateWorkerConfigurationCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateWorkerConfigurationCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreateWorkerConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var CreateWorkerConfigurationCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return CreateWorkerConfigurationCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { CreateWorkerConfigurationCommand };
|
|
65
|
-
//# sourceMappingURL=CreateWorkerConfigurationCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteConnectorRequest, DeleteConnectorResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DeleteConnectorCommand, serializeAws_restJson1DeleteConnectorCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { KafkaConnectClient, DeleteConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
12
|
-
* // const { KafkaConnectClient, DeleteConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
13
|
-
* const client = new KafkaConnectClient(config);
|
|
14
|
-
* const command = new DeleteConnectorCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DeleteConnectorCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DeleteConnectorCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { DeleteConnectorRequest, DeleteConnectorResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteConnectorCommand, serializeAws_restJson1DeleteConnectorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteConnectorCommand = (function (_super) {
|
|
24
7
|
__extends(DeleteConnectorCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DeleteConnectorCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
DeleteConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var DeleteConnectorCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return DeleteConnectorCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { DeleteConnectorCommand };
|
|
65
|
-
//# sourceMappingURL=DeleteConnectorCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeConnectorRequest, DescribeConnectorResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DescribeConnectorCommand, serializeAws_restJson1DescribeConnectorCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { KafkaConnectClient, DescribeConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
12
|
-
* // const { KafkaConnectClient, DescribeConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
13
|
-
* const client = new KafkaConnectClient(config);
|
|
14
|
-
* const command = new DescribeConnectorCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DescribeConnectorCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DescribeConnectorCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DescribeConnectorCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { DescribeConnectorRequest, DescribeConnectorResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeConnectorCommand, serializeAws_restJson1DescribeConnectorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeConnectorCommand = (function (_super) {
|
|
24
7
|
__extends(DescribeConnectorCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DescribeConnectorCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
DescribeConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var DescribeConnectorCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return DescribeConnectorCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { DescribeConnectorCommand };
|
|
65
|
-
//# sourceMappingURL=DescribeConnectorCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeCustomPluginRequest, DescribeCustomPluginResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DescribeCustomPluginCommand, serializeAws_restJson1DescribeCustomPluginCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { KafkaConnectClient, DescribeCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
12
|
-
* // const { KafkaConnectClient, DescribeCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
13
|
-
* const client = new KafkaConnectClient(config);
|
|
14
|
-
* const command = new DescribeCustomPluginCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DescribeCustomPluginCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DescribeCustomPluginCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DescribeCustomPluginCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { DescribeCustomPluginRequest, DescribeCustomPluginResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeCustomPluginCommand, serializeAws_restJson1DescribeCustomPluginCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeCustomPluginCommand = (function (_super) {
|
|
24
7
|
__extends(DescribeCustomPluginCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DescribeCustomPluginCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
DescribeCustomPluginCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var DescribeCustomPluginCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return DescribeCustomPluginCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { DescribeCustomPluginCommand };
|
|
65
|
-
//# sourceMappingURL=DescribeCustomPluginCommand.js.map
|