@aws-sdk/client-kafkaconnect 3.183.0 → 3.186.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/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/KafkaConnect.js +57 -50
- package/dist-es/KafkaConnectClient.js +28 -22
- package/dist-es/commands/CreateConnectorCommand.js +28 -21
- package/dist-es/commands/CreateCustomPluginCommand.js +28 -21
- package/dist-es/commands/CreateWorkerConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteConnectorCommand.js +28 -21
- package/dist-es/commands/DeleteCustomPluginCommand.js +28 -21
- package/dist-es/commands/DescribeConnectorCommand.js +28 -21
- package/dist-es/commands/DescribeCustomPluginCommand.js +28 -21
- package/dist-es/commands/DescribeWorkerConfigurationCommand.js +28 -21
- package/dist-es/commands/ListConnectorsCommand.js +28 -21
- package/dist-es/commands/ListCustomPluginsCommand.js +28 -21
- package/dist-es/commands/ListWorkerConfigurationsCommand.js +28 -21
- package/dist-es/commands/UpdateConnectorCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/KafkaConnectServiceException.js +10 -5
- package/dist-es/models/models_0.js +168 -326
- package/dist-es/pagination/ListConnectorsPaginator.js +68 -25
- package/dist-es/pagination/ListCustomPluginsPaginator.js +68 -25
- package/dist-es/pagination/ListWorkerConfigurationsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +1639 -1297
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
|
|
3
4
|
export var ConnectorState;
|
|
@@ -32,337 +33,178 @@ export var CustomPluginContentType;
|
|
|
32
33
|
CustomPluginContentType["JAR"] = "JAR";
|
|
33
34
|
CustomPluginContentType["ZIP"] = "ZIP";
|
|
34
35
|
})(CustomPluginContentType || (CustomPluginContentType = {}));
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
this.$fault = "client";
|
|
44
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
36
|
+
var BadRequestException = (function (_super) {
|
|
37
|
+
__extends(BadRequestException, _super);
|
|
38
|
+
function BadRequestException(opts) {
|
|
39
|
+
var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
|
|
40
|
+
_this.name = "BadRequestException";
|
|
41
|
+
_this.$fault = "client";
|
|
42
|
+
Object.setPrototypeOf(_this, BadRequestException.prototype);
|
|
43
|
+
return _this;
|
|
45
44
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
45
|
+
return BadRequestException;
|
|
46
|
+
}(__BaseException));
|
|
47
|
+
export { BadRequestException };
|
|
48
|
+
var ConflictException = (function (_super) {
|
|
49
|
+
__extends(ConflictException, _super);
|
|
50
|
+
function ConflictException(opts) {
|
|
51
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
52
|
+
_this.name = "ConflictException";
|
|
53
|
+
_this.$fault = "client";
|
|
54
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
55
|
+
return _this;
|
|
57
56
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
57
|
+
return ConflictException;
|
|
58
|
+
}(__BaseException));
|
|
59
|
+
export { ConflictException };
|
|
60
|
+
var ForbiddenException = (function (_super) {
|
|
61
|
+
__extends(ForbiddenException, _super);
|
|
62
|
+
function ForbiddenException(opts) {
|
|
63
|
+
var _this = _super.call(this, __assign({ name: "ForbiddenException", $fault: "client" }, opts)) || this;
|
|
64
|
+
_this.name = "ForbiddenException";
|
|
65
|
+
_this.$fault = "client";
|
|
66
|
+
Object.setPrototypeOf(_this, ForbiddenException.prototype);
|
|
67
|
+
return _this;
|
|
69
68
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
69
|
+
return ForbiddenException;
|
|
70
|
+
}(__BaseException));
|
|
71
|
+
export { ForbiddenException };
|
|
72
|
+
var InternalServerErrorException = (function (_super) {
|
|
73
|
+
__extends(InternalServerErrorException, _super);
|
|
74
|
+
function InternalServerErrorException(opts) {
|
|
75
|
+
var _this = _super.call(this, __assign({ name: "InternalServerErrorException", $fault: "server" }, opts)) || this;
|
|
76
|
+
_this.name = "InternalServerErrorException";
|
|
77
|
+
_this.$fault = "server";
|
|
78
|
+
Object.setPrototypeOf(_this, InternalServerErrorException.prototype);
|
|
79
|
+
return _this;
|
|
81
80
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
81
|
+
return InternalServerErrorException;
|
|
82
|
+
}(__BaseException));
|
|
83
|
+
export { InternalServerErrorException };
|
|
84
|
+
var NotFoundException = (function (_super) {
|
|
85
|
+
__extends(NotFoundException, _super);
|
|
86
|
+
function NotFoundException(opts) {
|
|
87
|
+
var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
|
|
88
|
+
_this.name = "NotFoundException";
|
|
89
|
+
_this.$fault = "client";
|
|
90
|
+
Object.setPrototypeOf(_this, NotFoundException.prototype);
|
|
91
|
+
return _this;
|
|
93
92
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
93
|
+
return NotFoundException;
|
|
94
|
+
}(__BaseException));
|
|
95
|
+
export { NotFoundException };
|
|
96
|
+
var ServiceUnavailableException = (function (_super) {
|
|
97
|
+
__extends(ServiceUnavailableException, _super);
|
|
98
|
+
function ServiceUnavailableException(opts) {
|
|
99
|
+
var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
|
|
100
|
+
_this.name = "ServiceUnavailableException";
|
|
101
|
+
_this.$fault = "server";
|
|
102
|
+
Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
|
|
103
|
+
return _this;
|
|
105
104
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
105
|
+
return ServiceUnavailableException;
|
|
106
|
+
}(__BaseException));
|
|
107
|
+
export { ServiceUnavailableException };
|
|
108
|
+
var TooManyRequestsException = (function (_super) {
|
|
109
|
+
__extends(TooManyRequestsException, _super);
|
|
110
|
+
function TooManyRequestsException(opts) {
|
|
111
|
+
var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
|
|
112
|
+
_this.name = "TooManyRequestsException";
|
|
113
|
+
_this.$fault = "client";
|
|
114
|
+
Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
|
|
115
|
+
return _this;
|
|
117
116
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
117
|
+
return TooManyRequestsException;
|
|
118
|
+
}(__BaseException));
|
|
119
|
+
export { TooManyRequestsException };
|
|
120
|
+
var UnauthorizedException = (function (_super) {
|
|
121
|
+
__extends(UnauthorizedException, _super);
|
|
122
|
+
function UnauthorizedException(opts) {
|
|
123
|
+
var _this = _super.call(this, __assign({ name: "UnauthorizedException", $fault: "client" }, opts)) || this;
|
|
124
|
+
_this.name = "UnauthorizedException";
|
|
125
|
+
_this.$fault = "client";
|
|
126
|
+
Object.setPrototypeOf(_this, UnauthorizedException.prototype);
|
|
127
|
+
return _this;
|
|
129
128
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
});
|
|
134
|
-
export
|
|
135
|
-
|
|
136
|
-
});
|
|
137
|
-
export
|
|
138
|
-
|
|
139
|
-
});
|
|
140
|
-
export
|
|
141
|
-
|
|
142
|
-
});
|
|
143
|
-
export
|
|
144
|
-
|
|
145
|
-
});
|
|
146
|
-
export
|
|
147
|
-
|
|
148
|
-
});
|
|
149
|
-
export
|
|
150
|
-
|
|
151
|
-
});
|
|
152
|
-
export
|
|
153
|
-
|
|
154
|
-
});
|
|
155
|
-
export
|
|
156
|
-
|
|
157
|
-
});
|
|
158
|
-
export
|
|
159
|
-
|
|
160
|
-
});
|
|
161
|
-
export
|
|
162
|
-
|
|
163
|
-
});
|
|
164
|
-
export
|
|
165
|
-
|
|
166
|
-
});
|
|
167
|
-
export
|
|
168
|
-
|
|
169
|
-
});
|
|
170
|
-
export
|
|
171
|
-
|
|
172
|
-
});
|
|
173
|
-
export
|
|
174
|
-
|
|
175
|
-
});
|
|
176
|
-
export
|
|
177
|
-
|
|
178
|
-
});
|
|
179
|
-
export
|
|
180
|
-
|
|
181
|
-
});
|
|
182
|
-
export
|
|
183
|
-
|
|
184
|
-
});
|
|
185
|
-
export
|
|
186
|
-
|
|
187
|
-
});
|
|
188
|
-
export
|
|
189
|
-
|
|
190
|
-
});
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
});
|
|
194
|
-
export
|
|
195
|
-
|
|
196
|
-
});
|
|
197
|
-
export
|
|
198
|
-
|
|
199
|
-
});
|
|
200
|
-
export
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
});
|
|
206
|
-
export
|
|
207
|
-
|
|
208
|
-
});
|
|
209
|
-
export
|
|
210
|
-
|
|
211
|
-
});
|
|
212
|
-
export const WorkerConfigurationSummaryFilterSensitiveLog = (obj) => ({
|
|
213
|
-
...obj,
|
|
214
|
-
});
|
|
215
|
-
export const VpcFilterSensitiveLog = (obj) => ({
|
|
216
|
-
...obj,
|
|
217
|
-
});
|
|
218
|
-
export const ApacheKafkaClusterFilterSensitiveLog = (obj) => ({
|
|
219
|
-
...obj,
|
|
220
|
-
});
|
|
221
|
-
export const ScaleInPolicyFilterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
});
|
|
224
|
-
export const ScaleOutPolicyFilterSensitiveLog = (obj) => ({
|
|
225
|
-
...obj,
|
|
226
|
-
});
|
|
227
|
-
export const AutoScalingFilterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
});
|
|
230
|
-
export const ScaleInPolicyUpdateFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
});
|
|
233
|
-
export const ScaleOutPolicyUpdateFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
});
|
|
236
|
-
export const AutoScalingUpdateFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
});
|
|
239
|
-
export const ProvisionedCapacityFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
});
|
|
242
|
-
export const CapacityFilterSensitiveLog = (obj) => ({
|
|
243
|
-
...obj,
|
|
244
|
-
});
|
|
245
|
-
export const ProvisionedCapacityUpdateFilterSensitiveLog = (obj) => ({
|
|
246
|
-
...obj,
|
|
247
|
-
});
|
|
248
|
-
export const CapacityUpdateFilterSensitiveLog = (obj) => ({
|
|
249
|
-
...obj,
|
|
250
|
-
});
|
|
251
|
-
export const CloudWatchLogsLogDeliveryFilterSensitiveLog = (obj) => ({
|
|
252
|
-
...obj,
|
|
253
|
-
});
|
|
254
|
-
export const KafkaClusterFilterSensitiveLog = (obj) => ({
|
|
255
|
-
...obj,
|
|
256
|
-
});
|
|
257
|
-
export const KafkaClusterClientAuthenticationFilterSensitiveLog = (obj) => ({
|
|
258
|
-
...obj,
|
|
259
|
-
});
|
|
260
|
-
export const KafkaClusterEncryptionInTransitFilterSensitiveLog = (obj) => ({
|
|
261
|
-
...obj,
|
|
262
|
-
});
|
|
263
|
-
export const FirehoseLogDeliveryFilterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
});
|
|
266
|
-
export const S3LogDeliveryFilterSensitiveLog = (obj) => ({
|
|
267
|
-
...obj,
|
|
268
|
-
});
|
|
269
|
-
export const WorkerLogDeliveryFilterSensitiveLog = (obj) => ({
|
|
270
|
-
...obj,
|
|
271
|
-
});
|
|
272
|
-
export const LogDeliveryFilterSensitiveLog = (obj) => ({
|
|
273
|
-
...obj,
|
|
274
|
-
});
|
|
275
|
-
export const WorkerConfigurationFilterSensitiveLog = (obj) => ({
|
|
276
|
-
...obj,
|
|
277
|
-
});
|
|
278
|
-
export const CreateConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
279
|
-
...obj,
|
|
280
|
-
...(obj.connectorConfiguration && { connectorConfiguration: SENSITIVE_STRING }),
|
|
281
|
-
});
|
|
282
|
-
export const CreateConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
});
|
|
285
|
-
export const S3LocationFilterSensitiveLog = (obj) => ({
|
|
286
|
-
...obj,
|
|
287
|
-
});
|
|
288
|
-
export const CustomPluginLocationFilterSensitiveLog = (obj) => ({
|
|
289
|
-
...obj,
|
|
290
|
-
});
|
|
291
|
-
export const CreateCustomPluginRequestFilterSensitiveLog = (obj) => ({
|
|
292
|
-
...obj,
|
|
293
|
-
});
|
|
294
|
-
export const CreateCustomPluginResponseFilterSensitiveLog = (obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
});
|
|
297
|
-
export const CreateWorkerConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
298
|
-
...obj,
|
|
299
|
-
...(obj.propertiesFileContent && { propertiesFileContent: SENSITIVE_STRING }),
|
|
300
|
-
});
|
|
301
|
-
export const CreateWorkerConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
302
|
-
...obj,
|
|
303
|
-
});
|
|
304
|
-
export const DeleteConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
305
|
-
...obj,
|
|
306
|
-
});
|
|
307
|
-
export const DeleteConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
308
|
-
...obj,
|
|
309
|
-
});
|
|
310
|
-
export const DeleteCustomPluginRequestFilterSensitiveLog = (obj) => ({
|
|
311
|
-
...obj,
|
|
312
|
-
});
|
|
313
|
-
export const DeleteCustomPluginResponseFilterSensitiveLog = (obj) => ({
|
|
314
|
-
...obj,
|
|
315
|
-
});
|
|
316
|
-
export const DescribeConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
317
|
-
...obj,
|
|
318
|
-
});
|
|
319
|
-
export const StateDescriptionFilterSensitiveLog = (obj) => ({
|
|
320
|
-
...obj,
|
|
321
|
-
});
|
|
322
|
-
export const DescribeConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
323
|
-
...obj,
|
|
324
|
-
...(obj.connectorConfiguration && { connectorConfiguration: SENSITIVE_STRING }),
|
|
325
|
-
});
|
|
326
|
-
export const DescribeCustomPluginRequestFilterSensitiveLog = (obj) => ({
|
|
327
|
-
...obj,
|
|
328
|
-
});
|
|
329
|
-
export const DescribeCustomPluginResponseFilterSensitiveLog = (obj) => ({
|
|
330
|
-
...obj,
|
|
331
|
-
});
|
|
332
|
-
export const DescribeWorkerConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
333
|
-
...obj,
|
|
334
|
-
});
|
|
335
|
-
export const WorkerConfigurationRevisionDescriptionFilterSensitiveLog = (obj) => ({
|
|
336
|
-
...obj,
|
|
337
|
-
...(obj.propertiesFileContent && { propertiesFileContent: SENSITIVE_STRING }),
|
|
338
|
-
});
|
|
339
|
-
export const DescribeWorkerConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
340
|
-
...obj,
|
|
341
|
-
...(obj.latestRevision && {
|
|
342
|
-
latestRevision: WorkerConfigurationRevisionDescriptionFilterSensitiveLog(obj.latestRevision),
|
|
343
|
-
}),
|
|
344
|
-
});
|
|
345
|
-
export const ListConnectorsRequestFilterSensitiveLog = (obj) => ({
|
|
346
|
-
...obj,
|
|
347
|
-
});
|
|
348
|
-
export const ListConnectorsResponseFilterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
});
|
|
351
|
-
export const ListCustomPluginsRequestFilterSensitiveLog = (obj) => ({
|
|
352
|
-
...obj,
|
|
353
|
-
});
|
|
354
|
-
export const ListCustomPluginsResponseFilterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
});
|
|
357
|
-
export const ListWorkerConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
358
|
-
...obj,
|
|
359
|
-
});
|
|
360
|
-
export const ListWorkerConfigurationsResponseFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
});
|
|
363
|
-
export const UpdateConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
364
|
-
...obj,
|
|
365
|
-
});
|
|
366
|
-
export const UpdateConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
367
|
-
...obj,
|
|
368
|
-
});
|
|
129
|
+
return UnauthorizedException;
|
|
130
|
+
}(__BaseException));
|
|
131
|
+
export { UnauthorizedException };
|
|
132
|
+
export var ScaleInPolicyDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
+
export var ScaleOutPolicyDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
|
+
export var AutoScalingDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
135
|
+
export var ProvisionedCapacityDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
|
+
export var CapacityDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
+
export var VpcDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
138
|
+
export var ApacheKafkaClusterDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
139
|
+
export var KafkaClusterDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
+
export var KafkaClusterClientAuthenticationDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
+
export var KafkaClusterEncryptionInTransitDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
142
|
+
export var CloudWatchLogsLogDeliveryDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
|
+
export var FirehoseLogDeliveryDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
144
|
+
export var S3LogDeliveryDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
+
export var WorkerLogDeliveryDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
|
+
export var LogDeliveryDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
+
export var CustomPluginDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
|
+
export var PluginDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
export var WorkerConfigurationDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
150
|
+
export var ConnectorSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
|
+
export var CustomPluginFileDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
|
+
export var S3LocationDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
+
export var CustomPluginLocationDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
|
+
export var CustomPluginRevisionSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
|
+
export var CustomPluginSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
|
+
export var CustomPluginFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
+
export var PluginFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
158
|
+
export var WorkerConfigurationRevisionSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
159
|
+
export var WorkerConfigurationSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
160
|
+
export var VpcFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
+
export var ApacheKafkaClusterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
162
|
+
export var ScaleInPolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
+
export var ScaleOutPolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
164
|
+
export var AutoScalingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
export var ScaleInPolicyUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
166
|
+
export var ScaleOutPolicyUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
+
export var AutoScalingUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
|
+
export var ProvisionedCapacityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
+
export var CapacityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
|
+
export var ProvisionedCapacityUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
|
+
export var CapacityUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
+
export var CloudWatchLogsLogDeliveryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
+
export var KafkaClusterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
+
export var KafkaClusterClientAuthenticationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
|
+
export var KafkaClusterEncryptionInTransitFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
176
|
+
export var FirehoseLogDeliveryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
+
export var S3LogDeliveryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
+
export var WorkerLogDeliveryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
+
export var LogDeliveryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
export var WorkerConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var CreateConnectorRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.connectorConfiguration && { connectorConfiguration: SENSITIVE_STRING }))); };
|
|
182
|
+
export var CreateConnectorResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var S3LocationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
export var CustomPluginLocationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
export var CreateCustomPluginRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
export var CreateCustomPluginResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
+
export var CreateWorkerConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.propertiesFileContent && { propertiesFileContent: SENSITIVE_STRING }))); };
|
|
188
|
+
export var CreateWorkerConfigurationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
+
export var DeleteConnectorRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
+
export var DeleteConnectorResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
export var DeleteCustomPluginRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
export var DeleteCustomPluginResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
export var DescribeConnectorRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var StateDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
export var DescribeConnectorResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.connectorConfiguration && { connectorConfiguration: SENSITIVE_STRING }))); };
|
|
196
|
+
export var DescribeCustomPluginRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var DescribeCustomPluginResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
export var DescribeWorkerConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
+
export var WorkerConfigurationRevisionDescriptionFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.propertiesFileContent && { propertiesFileContent: SENSITIVE_STRING }))); };
|
|
200
|
+
export var DescribeWorkerConfigurationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.latestRevision && {
|
|
201
|
+
latestRevision: WorkerConfigurationRevisionDescriptionFilterSensitiveLog(obj.latestRevision),
|
|
202
|
+
}))); };
|
|
203
|
+
export var ListConnectorsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
+
export var ListConnectorsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
205
|
+
export var ListCustomPluginsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
+
export var ListCustomPluginsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
+
export var ListWorkerConfigurationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
+
export var ListWorkerConfigurationsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
+
export var UpdateConnectorRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
|
+
export var UpdateConnectorResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListConnectorsCommand, } from "../commands/ListConnectorsCommand";
|
|
2
3
|
import { KafkaConnect } from "../KafkaConnect";
|
|
3
4
|
import { KafkaConnectClient } from "../KafkaConnectClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListConnectorsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listConnectors.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.nextToken = token;
|
|
16
|
-
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof KafkaConnect) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof KafkaConnectClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected KafkaConnect | KafkaConnectClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.nextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListConnectors(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListConnectors_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof KafkaConnect)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof KafkaConnectClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected KafkaConnect | KafkaConnectClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.nextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|