@aws-sdk/client-kafkaconnect 3.477.0 → 3.481.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateConnectorCommand.js +18 -41
- package/dist-cjs/commands/CreateCustomPluginCommand.js +18 -41
- package/dist-cjs/commands/CreateWorkerConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteConnectorCommand.js +18 -41
- package/dist-cjs/commands/DeleteCustomPluginCommand.js +18 -41
- package/dist-cjs/commands/DescribeConnectorCommand.js +18 -41
- package/dist-cjs/commands/DescribeCustomPluginCommand.js +18 -41
- package/dist-cjs/commands/DescribeWorkerConfigurationCommand.js +18 -41
- package/dist-cjs/commands/ListConnectorsCommand.js +18 -41
- package/dist-cjs/commands/ListCustomPluginsCommand.js +18 -41
- package/dist-cjs/commands/ListWorkerConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/UpdateConnectorCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListConnectorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomPluginsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkerConfigurationsPaginator.js +2 -24
- package/dist-es/commands/CreateConnectorCommand.js +18 -41
- package/dist-es/commands/CreateCustomPluginCommand.js +18 -41
- package/dist-es/commands/CreateWorkerConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteConnectorCommand.js +18 -41
- package/dist-es/commands/DeleteCustomPluginCommand.js +18 -41
- package/dist-es/commands/DescribeConnectorCommand.js +18 -41
- package/dist-es/commands/DescribeCustomPluginCommand.js +18 -41
- package/dist-es/commands/DescribeWorkerConfigurationCommand.js +18 -41
- package/dist-es/commands/ListConnectorsCommand.js +18 -41
- package/dist-es/commands/ListCustomPluginsCommand.js +18 -41
- package/dist-es/commands/ListWorkerConfigurationsCommand.js +18 -41
- package/dist-es/commands/UpdateConnectorCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +2 -23
- package/dist-es/pagination/ListCustomPluginsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkerConfigurationsPaginator.js +2 -23
- package/dist-types/commands/CreateConnectorCommand.d.ts +6 -21
- package/dist-types/commands/CreateCustomPluginCommand.d.ts +6 -21
- package/dist-types/commands/CreateWorkerConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConnectorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCustomPluginCommand.d.ts +6 -21
- package/dist-types/commands/DescribeConnectorCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCustomPluginCommand.d.ts +6 -21
- package/dist-types/commands/DescribeWorkerConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/ListConnectorsCommand.d.ts +6 -21
- package/dist-types/commands/ListCustomPluginsCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkerConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConnectorCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomPluginsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkerConfigurationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateCustomPluginCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateWorkerConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCustomPluginCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCustomPluginCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeWorkerConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCustomPluginsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkerConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomPluginsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkerConfigurationsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteCustomPluginCommand, se_DeleteCustomPluginCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteCustomPluginCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaConnectClient";
|
|
26
|
-
const commandName = "DeleteCustomPluginCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "KafkaConnect",
|
|
35
|
-
operation: "DeleteCustomPlugin",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteCustomPluginCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteCustomPluginCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteCustomPluginCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("KafkaConnect", "DeleteCustomPlugin", {})
|
|
19
|
+
.n("KafkaConnectClient", "DeleteCustomPluginCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteCustomPluginCommand)
|
|
22
|
+
.de(de_DeleteCustomPluginCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { DescribeConnectorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_DescribeConnectorCommand, se_DescribeConnectorCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DescribeConnectorCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "KafkaConnectClient";
|
|
27
|
-
const commandName = "DescribeConnectorCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: DescribeConnectorResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "KafkaConnect",
|
|
36
|
-
operation: "DescribeConnector",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_DescribeConnectorCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_DescribeConnectorCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class DescribeConnectorCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("KafkaConnect", "DescribeConnector", {})
|
|
20
|
+
.n("KafkaConnectClient", "DescribeConnectorCommand")
|
|
21
|
+
.f(void 0, DescribeConnectorResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_DescribeConnectorCommand)
|
|
23
|
+
.de(de_DescribeConnectorCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeCustomPluginCommand, se_DescribeCustomPluginCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeCustomPluginCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaConnectClient";
|
|
26
|
-
const commandName = "DescribeCustomPluginCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "KafkaConnect",
|
|
35
|
-
operation: "DescribeCustomPlugin",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeCustomPluginCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeCustomPluginCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeCustomPluginCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("KafkaConnect", "DescribeCustomPlugin", {})
|
|
19
|
+
.n("KafkaConnectClient", "DescribeCustomPluginCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeCustomPluginCommand)
|
|
22
|
+
.de(de_DescribeCustomPluginCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { DescribeWorkerConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_DescribeWorkerConfigurationCommand, se_DescribeWorkerConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DescribeWorkerConfigurationCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "KafkaConnectClient";
|
|
27
|
-
const commandName = "DescribeWorkerConfigurationCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: DescribeWorkerConfigurationResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "KafkaConnect",
|
|
36
|
-
operation: "DescribeWorkerConfiguration",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_DescribeWorkerConfigurationCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_DescribeWorkerConfigurationCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class DescribeWorkerConfigurationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("KafkaConnect", "DescribeWorkerConfiguration", {})
|
|
20
|
+
.n("KafkaConnectClient", "DescribeWorkerConfigurationCommand")
|
|
21
|
+
.f(void 0, DescribeWorkerConfigurationResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_DescribeWorkerConfigurationCommand)
|
|
23
|
+
.de(de_DescribeWorkerConfigurationCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListConnectorsCommand, se_ListConnectorsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListConnectorsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaConnectClient";
|
|
26
|
-
const commandName = "ListConnectorsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "KafkaConnect",
|
|
35
|
-
operation: "ListConnectors",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListConnectorsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListConnectorsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListConnectorsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("KafkaConnect", "ListConnectors", {})
|
|
19
|
+
.n("KafkaConnectClient", "ListConnectorsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListConnectorsCommand)
|
|
22
|
+
.de(de_ListConnectorsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListCustomPluginsCommand, se_ListCustomPluginsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListCustomPluginsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaConnectClient";
|
|
26
|
-
const commandName = "ListCustomPluginsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "KafkaConnect",
|
|
35
|
-
operation: "ListCustomPlugins",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListCustomPluginsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListCustomPluginsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListCustomPluginsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("KafkaConnect", "ListCustomPlugins", {})
|
|
19
|
+
.n("KafkaConnectClient", "ListCustomPluginsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListCustomPluginsCommand)
|
|
22
|
+
.de(de_ListCustomPluginsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListWorkerConfigurationsCommand, se_ListWorkerConfigurationsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListWorkerConfigurationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaConnectClient";
|
|
26
|
-
const commandName = "ListWorkerConfigurationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "KafkaConnect",
|
|
35
|
-
operation: "ListWorkerConfigurations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListWorkerConfigurationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListWorkerConfigurationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListWorkerConfigurationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("KafkaConnect", "ListWorkerConfigurations", {})
|
|
19
|
+
.n("KafkaConnectClient", "ListWorkerConfigurationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListWorkerConfigurationsCommand)
|
|
22
|
+
.de(de_ListWorkerConfigurationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateConnectorCommand, se_UpdateConnectorCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateConnectorCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaConnectClient";
|
|
26
|
-
const commandName = "UpdateConnectorCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "KafkaConnect",
|
|
35
|
-
operation: "UpdateConnector",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateConnectorCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateConnectorCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateConnectorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("KafkaConnect", "UpdateConnector", {})
|
|
19
|
+
.n("KafkaConnectClient", "UpdateConnectorCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateConnectorCommand)
|
|
22
|
+
.de(de_UpdateConnectorCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "kafkaconnect",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListConnectorsCommand, } from "../commands/ListConnectorsCommand";
|
|
2
3
|
import { KafkaConnectClient } from "../KafkaConnectClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConnectorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConnectors(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KafkaConnectClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected KafkaConnect | KafkaConnectClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListConnectors = createPaginator(KafkaConnectClient, ListConnectorsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCustomPluginsCommand, } from "../commands/ListCustomPluginsCommand";
|
|
2
3
|
import { KafkaConnectClient } from "../KafkaConnectClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCustomPluginsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCustomPlugins(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KafkaConnectClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected KafkaConnect | KafkaConnectClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCustomPlugins = createPaginator(KafkaConnectClient, ListCustomPluginsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListWorkerConfigurationsCommand, } from "../commands/ListWorkerConfigurationsCommand";
|
|
2
3
|
import { KafkaConnectClient } from "../KafkaConnectClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListWorkerConfigurationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListWorkerConfigurations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KafkaConnectClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected KafkaConnect | KafkaConnectClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListWorkerConfigurations = createPaginator(KafkaConnectClient, ListWorkerConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|