@aws-sdk/client-kafkaconnect 3.315.0 → 3.319.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/KafkaConnect.js +16 -168
- package/dist-es/KafkaConnect.js +16 -168
- package/dist-types/KafkaConnect.d.ts +19 -31
- package/dist-types/ts3.4/KafkaConnect.d.ts +4 -1
- package/package.json +8 -8
package/dist-cjs/KafkaConnect.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.KafkaConnect = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateConnectorCommand_1 = require("./commands/CreateConnectorCommand");
|
|
5
6
|
const CreateCustomPluginCommand_1 = require("./commands/CreateCustomPluginCommand");
|
|
6
7
|
const CreateWorkerConfigurationCommand_1 = require("./commands/CreateWorkerConfigurationCommand");
|
|
@@ -14,174 +15,21 @@ const ListCustomPluginsCommand_1 = require("./commands/ListCustomPluginsCommand"
|
|
|
14
15
|
const ListWorkerConfigurationsCommand_1 = require("./commands/ListWorkerConfigurationsCommand");
|
|
15
16
|
const UpdateConnectorCommand_1 = require("./commands/UpdateConnectorCommand");
|
|
16
17
|
const KafkaConnectClient_1 = require("./KafkaConnectClient");
|
|
18
|
+
const commands = {
|
|
19
|
+
CreateConnectorCommand: CreateConnectorCommand_1.CreateConnectorCommand,
|
|
20
|
+
CreateCustomPluginCommand: CreateCustomPluginCommand_1.CreateCustomPluginCommand,
|
|
21
|
+
CreateWorkerConfigurationCommand: CreateWorkerConfigurationCommand_1.CreateWorkerConfigurationCommand,
|
|
22
|
+
DeleteConnectorCommand: DeleteConnectorCommand_1.DeleteConnectorCommand,
|
|
23
|
+
DeleteCustomPluginCommand: DeleteCustomPluginCommand_1.DeleteCustomPluginCommand,
|
|
24
|
+
DescribeConnectorCommand: DescribeConnectorCommand_1.DescribeConnectorCommand,
|
|
25
|
+
DescribeCustomPluginCommand: DescribeCustomPluginCommand_1.DescribeCustomPluginCommand,
|
|
26
|
+
DescribeWorkerConfigurationCommand: DescribeWorkerConfigurationCommand_1.DescribeWorkerConfigurationCommand,
|
|
27
|
+
ListConnectorsCommand: ListConnectorsCommand_1.ListConnectorsCommand,
|
|
28
|
+
ListCustomPluginsCommand: ListCustomPluginsCommand_1.ListCustomPluginsCommand,
|
|
29
|
+
ListWorkerConfigurationsCommand: ListWorkerConfigurationsCommand_1.ListWorkerConfigurationsCommand,
|
|
30
|
+
UpdateConnectorCommand: UpdateConnectorCommand_1.UpdateConnectorCommand,
|
|
31
|
+
};
|
|
17
32
|
class KafkaConnect extends KafkaConnectClient_1.KafkaConnectClient {
|
|
18
|
-
createConnector(args, optionsOrCb, cb) {
|
|
19
|
-
const command = new CreateConnectorCommand_1.CreateConnectorCommand(args);
|
|
20
|
-
if (typeof optionsOrCb === "function") {
|
|
21
|
-
this.send(command, optionsOrCb);
|
|
22
|
-
}
|
|
23
|
-
else if (typeof cb === "function") {
|
|
24
|
-
if (typeof optionsOrCb !== "object")
|
|
25
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
26
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
return this.send(command, optionsOrCb);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
createCustomPlugin(args, optionsOrCb, cb) {
|
|
33
|
-
const command = new CreateCustomPluginCommand_1.CreateCustomPluginCommand(args);
|
|
34
|
-
if (typeof optionsOrCb === "function") {
|
|
35
|
-
this.send(command, optionsOrCb);
|
|
36
|
-
}
|
|
37
|
-
else if (typeof cb === "function") {
|
|
38
|
-
if (typeof optionsOrCb !== "object")
|
|
39
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
40
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
return this.send(command, optionsOrCb);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
createWorkerConfiguration(args, optionsOrCb, cb) {
|
|
47
|
-
const command = new CreateWorkerConfigurationCommand_1.CreateWorkerConfigurationCommand(args);
|
|
48
|
-
if (typeof optionsOrCb === "function") {
|
|
49
|
-
this.send(command, optionsOrCb);
|
|
50
|
-
}
|
|
51
|
-
else if (typeof cb === "function") {
|
|
52
|
-
if (typeof optionsOrCb !== "object")
|
|
53
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
54
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
return this.send(command, optionsOrCb);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
deleteConnector(args, optionsOrCb, cb) {
|
|
61
|
-
const command = new DeleteConnectorCommand_1.DeleteConnectorCommand(args);
|
|
62
|
-
if (typeof optionsOrCb === "function") {
|
|
63
|
-
this.send(command, optionsOrCb);
|
|
64
|
-
}
|
|
65
|
-
else if (typeof cb === "function") {
|
|
66
|
-
if (typeof optionsOrCb !== "object")
|
|
67
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
68
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
return this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
deleteCustomPlugin(args, optionsOrCb, cb) {
|
|
75
|
-
const command = new DeleteCustomPluginCommand_1.DeleteCustomPluginCommand(args);
|
|
76
|
-
if (typeof optionsOrCb === "function") {
|
|
77
|
-
this.send(command, optionsOrCb);
|
|
78
|
-
}
|
|
79
|
-
else if (typeof cb === "function") {
|
|
80
|
-
if (typeof optionsOrCb !== "object")
|
|
81
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
82
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
return this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
describeConnector(args, optionsOrCb, cb) {
|
|
89
|
-
const command = new DescribeConnectorCommand_1.DescribeConnectorCommand(args);
|
|
90
|
-
if (typeof optionsOrCb === "function") {
|
|
91
|
-
this.send(command, optionsOrCb);
|
|
92
|
-
}
|
|
93
|
-
else if (typeof cb === "function") {
|
|
94
|
-
if (typeof optionsOrCb !== "object")
|
|
95
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
96
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
return this.send(command, optionsOrCb);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
describeCustomPlugin(args, optionsOrCb, cb) {
|
|
103
|
-
const command = new DescribeCustomPluginCommand_1.DescribeCustomPluginCommand(args);
|
|
104
|
-
if (typeof optionsOrCb === "function") {
|
|
105
|
-
this.send(command, optionsOrCb);
|
|
106
|
-
}
|
|
107
|
-
else if (typeof cb === "function") {
|
|
108
|
-
if (typeof optionsOrCb !== "object")
|
|
109
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
110
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
return this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
describeWorkerConfiguration(args, optionsOrCb, cb) {
|
|
117
|
-
const command = new DescribeWorkerConfigurationCommand_1.DescribeWorkerConfigurationCommand(args);
|
|
118
|
-
if (typeof optionsOrCb === "function") {
|
|
119
|
-
this.send(command, optionsOrCb);
|
|
120
|
-
}
|
|
121
|
-
else if (typeof cb === "function") {
|
|
122
|
-
if (typeof optionsOrCb !== "object")
|
|
123
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
124
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
return this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
listConnectors(args, optionsOrCb, cb) {
|
|
131
|
-
const command = new ListConnectorsCommand_1.ListConnectorsCommand(args);
|
|
132
|
-
if (typeof optionsOrCb === "function") {
|
|
133
|
-
this.send(command, optionsOrCb);
|
|
134
|
-
}
|
|
135
|
-
else if (typeof cb === "function") {
|
|
136
|
-
if (typeof optionsOrCb !== "object")
|
|
137
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
138
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
return this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
listCustomPlugins(args, optionsOrCb, cb) {
|
|
145
|
-
const command = new ListCustomPluginsCommand_1.ListCustomPluginsCommand(args);
|
|
146
|
-
if (typeof optionsOrCb === "function") {
|
|
147
|
-
this.send(command, optionsOrCb);
|
|
148
|
-
}
|
|
149
|
-
else if (typeof cb === "function") {
|
|
150
|
-
if (typeof optionsOrCb !== "object")
|
|
151
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
152
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
return this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
listWorkerConfigurations(args, optionsOrCb, cb) {
|
|
159
|
-
const command = new ListWorkerConfigurationsCommand_1.ListWorkerConfigurationsCommand(args);
|
|
160
|
-
if (typeof optionsOrCb === "function") {
|
|
161
|
-
this.send(command, optionsOrCb);
|
|
162
|
-
}
|
|
163
|
-
else if (typeof cb === "function") {
|
|
164
|
-
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
166
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
167
|
-
}
|
|
168
|
-
else {
|
|
169
|
-
return this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
updateConnector(args, optionsOrCb, cb) {
|
|
173
|
-
const command = new UpdateConnectorCommand_1.UpdateConnectorCommand(args);
|
|
174
|
-
if (typeof optionsOrCb === "function") {
|
|
175
|
-
this.send(command, optionsOrCb);
|
|
176
|
-
}
|
|
177
|
-
else if (typeof cb === "function") {
|
|
178
|
-
if (typeof optionsOrCb !== "object")
|
|
179
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
180
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
return this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
33
|
}
|
|
187
34
|
exports.KafkaConnect = KafkaConnect;
|
|
35
|
+
(0, smithy_client_1.createAggregatedClient)(commands, KafkaConnect);
|
package/dist-es/KafkaConnect.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CreateConnectorCommand, } from "./commands/CreateConnectorCommand";
|
|
2
3
|
import { CreateCustomPluginCommand, } from "./commands/CreateCustomPluginCommand";
|
|
3
4
|
import { CreateWorkerConfigurationCommand, } from "./commands/CreateWorkerConfigurationCommand";
|
|
@@ -11,173 +12,20 @@ import { ListCustomPluginsCommand, } from "./commands/ListCustomPluginsCommand";
|
|
|
11
12
|
import { ListWorkerConfigurationsCommand, } from "./commands/ListWorkerConfigurationsCommand";
|
|
12
13
|
import { UpdateConnectorCommand, } from "./commands/UpdateConnectorCommand";
|
|
13
14
|
import { KafkaConnectClient } from "./KafkaConnectClient";
|
|
15
|
+
const commands = {
|
|
16
|
+
CreateConnectorCommand,
|
|
17
|
+
CreateCustomPluginCommand,
|
|
18
|
+
CreateWorkerConfigurationCommand,
|
|
19
|
+
DeleteConnectorCommand,
|
|
20
|
+
DeleteCustomPluginCommand,
|
|
21
|
+
DescribeConnectorCommand,
|
|
22
|
+
DescribeCustomPluginCommand,
|
|
23
|
+
DescribeWorkerConfigurationCommand,
|
|
24
|
+
ListConnectorsCommand,
|
|
25
|
+
ListCustomPluginsCommand,
|
|
26
|
+
ListWorkerConfigurationsCommand,
|
|
27
|
+
UpdateConnectorCommand,
|
|
28
|
+
};
|
|
14
29
|
export class KafkaConnect extends KafkaConnectClient {
|
|
15
|
-
createConnector(args, optionsOrCb, cb) {
|
|
16
|
-
const command = new CreateConnectorCommand(args);
|
|
17
|
-
if (typeof optionsOrCb === "function") {
|
|
18
|
-
this.send(command, optionsOrCb);
|
|
19
|
-
}
|
|
20
|
-
else if (typeof cb === "function") {
|
|
21
|
-
if (typeof optionsOrCb !== "object")
|
|
22
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
23
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
return this.send(command, optionsOrCb);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
createCustomPlugin(args, optionsOrCb, cb) {
|
|
30
|
-
const command = new CreateCustomPluginCommand(args);
|
|
31
|
-
if (typeof optionsOrCb === "function") {
|
|
32
|
-
this.send(command, optionsOrCb);
|
|
33
|
-
}
|
|
34
|
-
else if (typeof cb === "function") {
|
|
35
|
-
if (typeof optionsOrCb !== "object")
|
|
36
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
37
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
return this.send(command, optionsOrCb);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
createWorkerConfiguration(args, optionsOrCb, cb) {
|
|
44
|
-
const command = new CreateWorkerConfigurationCommand(args);
|
|
45
|
-
if (typeof optionsOrCb === "function") {
|
|
46
|
-
this.send(command, optionsOrCb);
|
|
47
|
-
}
|
|
48
|
-
else if (typeof cb === "function") {
|
|
49
|
-
if (typeof optionsOrCb !== "object")
|
|
50
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
51
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
return this.send(command, optionsOrCb);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
deleteConnector(args, optionsOrCb, cb) {
|
|
58
|
-
const command = new DeleteConnectorCommand(args);
|
|
59
|
-
if (typeof optionsOrCb === "function") {
|
|
60
|
-
this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
else if (typeof cb === "function") {
|
|
63
|
-
if (typeof optionsOrCb !== "object")
|
|
64
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
65
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
return this.send(command, optionsOrCb);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
deleteCustomPlugin(args, optionsOrCb, cb) {
|
|
72
|
-
const command = new DeleteCustomPluginCommand(args);
|
|
73
|
-
if (typeof optionsOrCb === "function") {
|
|
74
|
-
this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
else if (typeof cb === "function") {
|
|
77
|
-
if (typeof optionsOrCb !== "object")
|
|
78
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
79
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
return this.send(command, optionsOrCb);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
describeConnector(args, optionsOrCb, cb) {
|
|
86
|
-
const command = new DescribeConnectorCommand(args);
|
|
87
|
-
if (typeof optionsOrCb === "function") {
|
|
88
|
-
this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
else if (typeof cb === "function") {
|
|
91
|
-
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
93
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
return this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
describeCustomPlugin(args, optionsOrCb, cb) {
|
|
100
|
-
const command = new DescribeCustomPluginCommand(args);
|
|
101
|
-
if (typeof optionsOrCb === "function") {
|
|
102
|
-
this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
else if (typeof cb === "function") {
|
|
105
|
-
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
107
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
return this.send(command, optionsOrCb);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
describeWorkerConfiguration(args, optionsOrCb, cb) {
|
|
114
|
-
const command = new DescribeWorkerConfigurationCommand(args);
|
|
115
|
-
if (typeof optionsOrCb === "function") {
|
|
116
|
-
this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
else if (typeof cb === "function") {
|
|
119
|
-
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
121
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
return this.send(command, optionsOrCb);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
listConnectors(args, optionsOrCb, cb) {
|
|
128
|
-
const command = new ListConnectorsCommand(args);
|
|
129
|
-
if (typeof optionsOrCb === "function") {
|
|
130
|
-
this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
else if (typeof cb === "function") {
|
|
133
|
-
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
135
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
return this.send(command, optionsOrCb);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
listCustomPlugins(args, optionsOrCb, cb) {
|
|
142
|
-
const command = new ListCustomPluginsCommand(args);
|
|
143
|
-
if (typeof optionsOrCb === "function") {
|
|
144
|
-
this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
else if (typeof cb === "function") {
|
|
147
|
-
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
149
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
return this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
listWorkerConfigurations(args, optionsOrCb, cb) {
|
|
156
|
-
const command = new ListWorkerConfigurationsCommand(args);
|
|
157
|
-
if (typeof optionsOrCb === "function") {
|
|
158
|
-
this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
else if (typeof cb === "function") {
|
|
161
|
-
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
return this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
updateConnector(args, optionsOrCb, cb) {
|
|
170
|
-
const command = new UpdateConnectorCommand(args);
|
|
171
|
-
if (typeof optionsOrCb === "function") {
|
|
172
|
-
this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
else if (typeof cb === "function") {
|
|
175
|
-
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
return this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
30
|
}
|
|
31
|
+
createAggregatedClient(commands, KafkaConnect);
|
|
@@ -12,95 +12,83 @@ import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from ".
|
|
|
12
12
|
import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "./commands/ListWorkerConfigurationsCommand";
|
|
13
13
|
import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
|
|
14
14
|
import { KafkaConnectClient } from "./KafkaConnectClient";
|
|
15
|
-
|
|
16
|
-
* @public
|
|
17
|
-
* <p/>
|
|
18
|
-
*/
|
|
19
|
-
export declare class KafkaConnect extends KafkaConnectClient {
|
|
15
|
+
export interface KafkaConnect {
|
|
20
16
|
/**
|
|
21
|
-
* @
|
|
22
|
-
* <p>Creates a connector using the specified properties.</p>
|
|
17
|
+
* @see {@link CreateConnectorCommand}
|
|
23
18
|
*/
|
|
24
19
|
createConnector(args: CreateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorCommandOutput>;
|
|
25
20
|
createConnector(args: CreateConnectorCommandInput, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
26
21
|
createConnector(args: CreateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
27
22
|
/**
|
|
28
|
-
* @
|
|
29
|
-
* <p>Creates a custom plugin using the specified properties.</p>
|
|
23
|
+
* @see {@link CreateCustomPluginCommand}
|
|
30
24
|
*/
|
|
31
25
|
createCustomPlugin(args: CreateCustomPluginCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomPluginCommandOutput>;
|
|
32
26
|
createCustomPlugin(args: CreateCustomPluginCommandInput, cb: (err: any, data?: CreateCustomPluginCommandOutput) => void): void;
|
|
33
27
|
createCustomPlugin(args: CreateCustomPluginCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomPluginCommandOutput) => void): void;
|
|
34
28
|
/**
|
|
35
|
-
* @
|
|
36
|
-
* <p>Creates a worker configuration using the specified properties.</p>
|
|
29
|
+
* @see {@link CreateWorkerConfigurationCommand}
|
|
37
30
|
*/
|
|
38
31
|
createWorkerConfiguration(args: CreateWorkerConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkerConfigurationCommandOutput>;
|
|
39
32
|
createWorkerConfiguration(args: CreateWorkerConfigurationCommandInput, cb: (err: any, data?: CreateWorkerConfigurationCommandOutput) => void): void;
|
|
40
33
|
createWorkerConfiguration(args: CreateWorkerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkerConfigurationCommandOutput) => void): void;
|
|
41
34
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* <p>Deletes the specified connector.</p>
|
|
35
|
+
* @see {@link DeleteConnectorCommand}
|
|
44
36
|
*/
|
|
45
37
|
deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
|
|
46
38
|
deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
47
39
|
deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
48
40
|
/**
|
|
49
|
-
* @
|
|
50
|
-
* <p>Deletes a custom plugin.</p>
|
|
41
|
+
* @see {@link DeleteCustomPluginCommand}
|
|
51
42
|
*/
|
|
52
43
|
deleteCustomPlugin(args: DeleteCustomPluginCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomPluginCommandOutput>;
|
|
53
44
|
deleteCustomPlugin(args: DeleteCustomPluginCommandInput, cb: (err: any, data?: DeleteCustomPluginCommandOutput) => void): void;
|
|
54
45
|
deleteCustomPlugin(args: DeleteCustomPluginCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomPluginCommandOutput) => void): void;
|
|
55
46
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* <p>Returns summary information about the connector.</p>
|
|
47
|
+
* @see {@link DescribeConnectorCommand}
|
|
58
48
|
*/
|
|
59
49
|
describeConnector(args: DescribeConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorCommandOutput>;
|
|
60
50
|
describeConnector(args: DescribeConnectorCommandInput, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
|
|
61
51
|
describeConnector(args: DescribeConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
|
|
62
52
|
/**
|
|
63
|
-
* @
|
|
64
|
-
* <p>A summary description of the custom plugin.</p>
|
|
53
|
+
* @see {@link DescribeCustomPluginCommand}
|
|
65
54
|
*/
|
|
66
55
|
describeCustomPlugin(args: DescribeCustomPluginCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCustomPluginCommandOutput>;
|
|
67
56
|
describeCustomPlugin(args: DescribeCustomPluginCommandInput, cb: (err: any, data?: DescribeCustomPluginCommandOutput) => void): void;
|
|
68
57
|
describeCustomPlugin(args: DescribeCustomPluginCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCustomPluginCommandOutput) => void): void;
|
|
69
58
|
/**
|
|
70
|
-
* @
|
|
71
|
-
* <p>Returns information about a worker configuration.</p>
|
|
59
|
+
* @see {@link DescribeWorkerConfigurationCommand}
|
|
72
60
|
*/
|
|
73
61
|
describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkerConfigurationCommandOutput>;
|
|
74
62
|
describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
|
|
75
63
|
describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
|
|
76
64
|
/**
|
|
77
|
-
* @
|
|
78
|
-
* <p>Returns a list of all the connectors in this account and Region. The list is limited to
|
|
79
|
-
* connectors whose name starts with the specified prefix. The response also includes a
|
|
80
|
-
* description of each of the listed connectors.</p>
|
|
65
|
+
* @see {@link ListConnectorsCommand}
|
|
81
66
|
*/
|
|
82
67
|
listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
|
|
83
68
|
listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
84
69
|
listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
85
70
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* <p>Returns a list of all of the custom plugins in this account and Region.</p>
|
|
71
|
+
* @see {@link ListCustomPluginsCommand}
|
|
88
72
|
*/
|
|
89
73
|
listCustomPlugins(args: ListCustomPluginsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomPluginsCommandOutput>;
|
|
90
74
|
listCustomPlugins(args: ListCustomPluginsCommandInput, cb: (err: any, data?: ListCustomPluginsCommandOutput) => void): void;
|
|
91
75
|
listCustomPlugins(args: ListCustomPluginsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomPluginsCommandOutput) => void): void;
|
|
92
76
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* <p>Returns a list of all of the worker configurations in this account and Region.</p>
|
|
77
|
+
* @see {@link ListWorkerConfigurationsCommand}
|
|
95
78
|
*/
|
|
96
79
|
listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkerConfigurationsCommandOutput>;
|
|
97
80
|
listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void): void;
|
|
98
81
|
listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void): void;
|
|
99
82
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* <p>Updates the specified connector.</p>
|
|
83
|
+
* @see {@link UpdateConnectorCommand}
|
|
102
84
|
*/
|
|
103
85
|
updateConnector(args: UpdateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorCommandOutput>;
|
|
104
86
|
updateConnector(args: UpdateConnectorCommandInput, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
105
87
|
updateConnector(args: UpdateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
106
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* <p/>
|
|
92
|
+
*/
|
|
93
|
+
export declare class KafkaConnect extends KafkaConnectClient implements KafkaConnect {
|
|
94
|
+
}
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
UpdateConnectorCommandOutput,
|
|
49
49
|
} from "./commands/UpdateConnectorCommand";
|
|
50
50
|
import { KafkaConnectClient } from "./KafkaConnectClient";
|
|
51
|
-
export
|
|
51
|
+
export interface KafkaConnect {
|
|
52
52
|
createConnector(
|
|
53
53
|
args: CreateConnectorCommandInput,
|
|
54
54
|
options?: __HttpHandlerOptions
|
|
@@ -206,3 +206,6 @@ export declare class KafkaConnect extends KafkaConnectClient {
|
|
|
206
206
|
cb: (err: any, data?: UpdateConnectorCommandOutput) => void
|
|
207
207
|
): void;
|
|
208
208
|
}
|
|
209
|
+
export declare class KafkaConnect
|
|
210
|
+
extends KafkaConnectClient
|
|
211
|
+
implements KafkaConnect {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafkaconnect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafkaconnect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|