@aws-sdk/client-kafkaconnect 3.1075.0 → 3.1076.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/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultKafkaConnectHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateConnector$, CreateCustomPlugin$, CreateWorkerConfiguration$, DeleteConnector$, DeleteCustomPlugin$, DeleteWorkerConfiguration$, DescribeConnector$, DescribeConnectorOperation$, DescribeCustomPlugin$, DescribeWorkerConfiguration$, ListConnectorOperations$, ListConnectors$, ListCustomPlugins$, ListTagsForResource$, ListWorkerConfigurations$, TagResource$, UntagResource$, UpdateConnector$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { KafkaConnectServiceException } = require("./models/KafkaConnectServiceException");
18
- exports.KafkaConnectServiceException = KafkaConnectServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultKafkaConnectHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "kafkaconnect",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultKafkaConnectHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1064 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]]
86
+ ],
87
+ results: [
88
+ [a],
89
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
90
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
91
+ [g, i],
92
+ ["https://kafkaconnect.{Region}.{PartitionResult#dnsSuffix}", i],
93
+ ["https://kafkaconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
94
+ ["https://kafkaconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
95
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
96
+ ["https://kafkaconnect-fips.{Region}.{PartitionResult#dnsSuffix}", i],
97
+ [a, "FIPS is enabled but this partition does not support FIPS"],
98
+ [a, "DualStack is enabled but this partition does not support DualStack"],
99
+ [a, "Invalid Configuration: Missing Region"]
100
+ ]
101
+ };
102
+ const root = 2;
103
+ const r = 100_000_000;
104
+ const nodes = new Int32Array([
105
+ -1, 1, -1,
106
+ 0, 14, 3,
107
+ 1, 4, r + 11,
108
+ 2, 5, r + 11,
109
+ 3, 8, 6,
110
+ 4, 7, r + 4,
111
+ 7, r + 5, r + 10,
112
+ 4, 11, 9,
113
+ 5, r + 4, 10,
114
+ 6, r + 8, r + 9,
115
+ 5, r + 5, 12,
116
+ 6, 13, r + 7,
117
+ 7, r + 6, r + 7,
118
+ 3, r + 1, 15,
119
+ 4, r + 2, r + 3,
120
+ ]);
121
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
122
+
123
+ const cache = new EndpointCache({
124
+ size: 50,
125
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
126
+ });
127
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
128
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
129
+ endpointParams: endpointParams,
130
+ logger: context.logger,
131
+ }));
132
+ };
133
+ customEndpointFunctions.aws = awsEndpointFunctions;
134
+
135
+ class KafkaConnectServiceException extends ServiceException {
136
+ constructor(options) {
137
+ super(options);
138
+ Object.setPrototypeOf(this, KafkaConnectServiceException.prototype);
139
+ }
140
+ }
141
+
142
+ class BadRequestException extends KafkaConnectServiceException {
143
+ name = "BadRequestException";
144
+ $fault = "client";
145
+ constructor(opts) {
146
+ super({
147
+ name: "BadRequestException",
148
+ $fault: "client",
149
+ ...opts,
150
+ });
151
+ Object.setPrototypeOf(this, BadRequestException.prototype);
152
+ }
153
+ }
154
+ class ConflictException extends KafkaConnectServiceException {
155
+ name = "ConflictException";
156
+ $fault = "client";
157
+ constructor(opts) {
158
+ super({
159
+ name: "ConflictException",
160
+ $fault: "client",
161
+ ...opts,
162
+ });
163
+ Object.setPrototypeOf(this, ConflictException.prototype);
164
+ }
165
+ }
166
+ class ForbiddenException extends KafkaConnectServiceException {
167
+ name = "ForbiddenException";
168
+ $fault = "client";
169
+ constructor(opts) {
170
+ super({
171
+ name: "ForbiddenException",
172
+ $fault: "client",
173
+ ...opts,
174
+ });
175
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
176
+ }
177
+ }
178
+ class InternalServerErrorException extends KafkaConnectServiceException {
179
+ name = "InternalServerErrorException";
180
+ $fault = "server";
181
+ constructor(opts) {
182
+ super({
183
+ name: "InternalServerErrorException",
184
+ $fault: "server",
185
+ ...opts,
186
+ });
187
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
188
+ }
189
+ }
190
+ class NotFoundException extends KafkaConnectServiceException {
191
+ name = "NotFoundException";
192
+ $fault = "client";
193
+ constructor(opts) {
194
+ super({
195
+ name: "NotFoundException",
196
+ $fault: "client",
197
+ ...opts,
198
+ });
199
+ Object.setPrototypeOf(this, NotFoundException.prototype);
200
+ }
201
+ }
202
+ class ServiceUnavailableException extends KafkaConnectServiceException {
203
+ name = "ServiceUnavailableException";
204
+ $fault = "server";
205
+ constructor(opts) {
206
+ super({
207
+ name: "ServiceUnavailableException",
208
+ $fault: "server",
209
+ ...opts,
210
+ });
211
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
212
+ }
213
+ }
214
+ class TooManyRequestsException extends KafkaConnectServiceException {
215
+ name = "TooManyRequestsException";
216
+ $fault = "client";
217
+ constructor(opts) {
218
+ super({
219
+ name: "TooManyRequestsException",
220
+ $fault: "client",
221
+ ...opts,
222
+ });
223
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
224
+ }
225
+ }
226
+ class UnauthorizedException extends KafkaConnectServiceException {
227
+ name = "UnauthorizedException";
228
+ $fault = "client";
229
+ constructor(opts) {
230
+ super({
231
+ name: "UnauthorizedException",
232
+ $fault: "client",
233
+ ...opts,
234
+ });
235
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
236
+ }
237
+ }
238
+
239
+ const _AKC = "ApacheKafkaCluster";
240
+ const _AKCD = "ApacheKafkaClusterDescription";
241
+ const _AS = "AutoScaling";
242
+ const _ASD = "AutoScalingDescription";
243
+ const _ASU = "AutoScalingUpdate";
244
+ const _BRE = "BadRequestException";
245
+ const _C = "Capacity";
246
+ const _CC = "ConnectorConfiguration";
247
+ const _CCP = "CreateCustomPlugin";
248
+ const _CCPR = "CreateCustomPluginRequest";
249
+ const _CCPRr = "CreateCustomPluginResponse";
250
+ const _CCR = "CreateConnectorRequest";
251
+ const _CCRr = "CreateConnectorResponse";
252
+ const _CCU = "ConnectorConfigurationUpdate";
253
+ const _CCr = "CreateConnector";
254
+ const _CD = "CapacityDescription";
255
+ const _CE = "ConflictException";
256
+ const _COS = "ConnectorOperationStep";
257
+ const _COSo = "ConnectorOperationSummary";
258
+ const _CP = "CustomPlugin";
259
+ const _CPD = "CustomPluginDescription";
260
+ const _CPFD = "CustomPluginFileDescription";
261
+ const _CPL = "CustomPluginLocation";
262
+ const _CPLD = "CustomPluginLocationDescription";
263
+ const _CPRS = "CustomPluginRevisionSummary";
264
+ const _CPS = "CustomPluginSummary";
265
+ const _CS = "ConnectorSummary";
266
+ const _CU = "CapacityUpdate";
267
+ const _CWC = "CreateWorkerConfiguration";
268
+ const _CWCR = "CreateWorkerConfigurationRequest";
269
+ const _CWCRr = "CreateWorkerConfigurationResponse";
270
+ const _CWLLD = "CloudWatchLogsLogDelivery";
271
+ const _CWLLDD = "CloudWatchLogsLogDeliveryDescription";
272
+ const _DC = "DeleteConnector";
273
+ const _DCO = "DescribeConnectorOperation";
274
+ const _DCOR = "DescribeConnectorOperationRequest";
275
+ const _DCORe = "DescribeConnectorOperationResponse";
276
+ const _DCP = "DeleteCustomPlugin";
277
+ const _DCPR = "DeleteCustomPluginRequest";
278
+ const _DCPRe = "DeleteCustomPluginResponse";
279
+ const _DCPRes = "DescribeCustomPluginRequest";
280
+ const _DCPResc = "DescribeCustomPluginResponse";
281
+ const _DCPe = "DescribeCustomPlugin";
282
+ const _DCR = "DeleteConnectorRequest";
283
+ const _DCRe = "DeleteConnectorResponse";
284
+ const _DCRes = "DescribeConnectorRequest";
285
+ const _DCResc = "DescribeConnectorResponse";
286
+ const _DCe = "DescribeConnector";
287
+ const _DWC = "DeleteWorkerConfiguration";
288
+ const _DWCR = "DeleteWorkerConfigurationRequest";
289
+ const _DWCRe = "DeleteWorkerConfigurationResponse";
290
+ const _DWCRes = "DescribeWorkerConfigurationRequest";
291
+ const _DWCResc = "DescribeWorkerConfigurationResponse";
292
+ const _DWCe = "DescribeWorkerConfiguration";
293
+ const _FE = "ForbiddenException";
294
+ const _FLD = "FirehoseLogDelivery";
295
+ const _FLDD = "FirehoseLogDeliveryDescription";
296
+ const _ISEE = "InternalServerErrorException";
297
+ const _KC = "KafkaCluster";
298
+ const _KCCA = "KafkaClusterClientAuthentication";
299
+ const _KCCAD = "KafkaClusterClientAuthenticationDescription";
300
+ const _KCD = "KafkaClusterDescription";
301
+ const _KCEIT = "KafkaClusterEncryptionInTransit";
302
+ const _KCEITD = "KafkaClusterEncryptionInTransitDescription";
303
+ const _LC = "ListConnectors";
304
+ const _LCO = "ListConnectorOperations";
305
+ const _LCOR = "ListConnectorOperationsRequest";
306
+ const _LCORi = "ListConnectorOperationsResponse";
307
+ const _LCP = "ListCustomPlugins";
308
+ const _LCPR = "ListCustomPluginsRequest";
309
+ const _LCPRi = "ListCustomPluginsResponse";
310
+ const _LCR = "ListConnectorsRequest";
311
+ const _LCRi = "ListConnectorsResponse";
312
+ const _LD = "LogDelivery";
313
+ const _LDD = "LogDeliveryDescription";
314
+ const _LTFR = "ListTagsForResource";
315
+ const _LTFRR = "ListTagsForResourceRequest";
316
+ const _LTFRRi = "ListTagsForResourceResponse";
317
+ const _LWC = "ListWorkerConfigurations";
318
+ const _LWCR = "ListWorkerConfigurationsRequest";
319
+ const _LWCRi = "ListWorkerConfigurationsResponse";
320
+ const _NFE = "NotFoundException";
321
+ const _P = "Plugin";
322
+ const _PC = "ProvisionedCapacity";
323
+ const _PCD = "ProvisionedCapacityDescription";
324
+ const _PCU = "ProvisionedCapacityUpdate";
325
+ const _PD = "PluginDescription";
326
+ const _SD = "StateDescription";
327
+ const _SIP = "ScaleInPolicy";
328
+ const _SIPD = "ScaleInPolicyDescription";
329
+ const _SIPU = "ScaleInPolicyUpdate";
330
+ const _SL = "S3Location";
331
+ const _SLD = "S3LocationDescription";
332
+ const _SLDD = "S3LogDeliveryDescription";
333
+ const _SLDo = "S3LogDelivery";
334
+ const _SOP = "ScaleOutPolicy";
335
+ const _SOPD = "ScaleOutPolicyDescription";
336
+ const _SOPU = "ScaleOutPolicyUpdate";
337
+ const _SUE = "ServiceUnavailableException";
338
+ const _TMRE = "TooManyRequestsException";
339
+ const _TR = "TagResource";
340
+ const _TRR = "TagResourceRequest";
341
+ const _TRRa = "TagResourceResponse";
342
+ const _UC = "UpdateConnector";
343
+ const _UCR = "UpdateConnectorRequest";
344
+ const _UCRp = "UpdateConnectorResponse";
345
+ const _UE = "UnauthorizedException";
346
+ const _UR = "UntagResource";
347
+ const _URR = "UntagResourceRequest";
348
+ const _URRn = "UntagResourceResponse";
349
+ const _V = "Vpc";
350
+ const _VD = "VpcDescription";
351
+ const _WC = "WorkerConfiguration";
352
+ const _WCD = "WorkerConfigurationDescription";
353
+ const _WCRD = "WorkerConfigurationRevisionDescription";
354
+ const _WCRS = "WorkerConfigurationRevisionSummary";
355
+ const _WCS = "WorkerConfigurationSummary";
356
+ const _WLD = "WorkerLogDelivery";
357
+ const _WLDD = "WorkerLogDeliveryDescription";
358
+ const _WS = "WorkerSetting";
359
+ const _aKC = "apacheKafkaCluster";
360
+ const _aS = "autoScaling";
361
+ const _aT = "authenticationType";
362
+ const _b = "bucket";
363
+ const _bA = "bucketArn";
364
+ const _bS = "bootstrapServers";
365
+ const _c = "client";
366
+ const _cA = "connectorArn";
367
+ const _cC = "connectorConfiguration";
368
+ const _cD = "connectorDescription";
369
+ const _cN = "connectorName";
370
+ const _cNP = "connectorNamePrefix";
371
+ const _cO = "connectorOperations";
372
+ const _cOA = "connectorOperationArn";
373
+ const _cOS = "connectorOperationState";
374
+ const _cOT = "connectorOperationType";
375
+ const _cP = "customPlugins";
376
+ const _cPA = "customPluginArn";
377
+ const _cPS = "customPluginState";
378
+ const _cPu = "customPlugin";
379
+ const _cS = "connectorState";
380
+ const _cT = "creationTime";
381
+ const _cTo = "contentType";
382
+ const _cUP = "cpuUtilizationPercentage";
383
+ const _cV = "currentVersion";
384
+ const _cWL = "cloudWatchLogs";
385
+ const _ca = "capacity";
386
+ const _co = "connectors";
387
+ const _cod = "code";
388
+ const _d = "description";
389
+ const _dS = "deliveryStream";
390
+ const _e = "error";
391
+ const _eI = "errorInfo";
392
+ const _eT = "endTime";
393
+ const _eTn = "encryptionType";
394
+ const _en = "enabled";
395
+ const _f = "firehose";
396
+ const _fD = "fileDescription";
397
+ const _fK = "fileKey";
398
+ const _fM = "fileMd5";
399
+ const _fS = "fileSize";
400
+ const _h = "http";
401
+ const _hE = "httpError";
402
+ const _hQ = "httpQuery";
403
+ const _kC = "kafkaCluster";
404
+ const _kCCA = "kafkaClusterClientAuthentication";
405
+ const _kCEIT = "kafkaClusterEncryptionInTransit";
406
+ const _kCV = "kafkaConnectVersion";
407
+ const _l = "location";
408
+ const _lD = "logDelivery";
409
+ const _lG = "logGroup";
410
+ const _lOCOS = "__listOfConnectorOperationStep";
411
+ const _lOCOSi = "__listOfConnectorOperationSummary";
412
+ const _lOCPS = "__listOfCustomPluginSummary";
413
+ const _lOCS = "__listOfConnectorSummary";
414
+ const _lOP = "__listOfPlugin";
415
+ const _lOPD = "__listOfPluginDescription";
416
+ const _lOWCS = "__listOfWorkerConfigurationSummary";
417
+ const _lR = "latestRevision";
418
+ const _m = "message";
419
+ const _mATC = "maxAutoscalingTaskCount";
420
+ const _mC = "mcuCount";
421
+ const _mR = "maxResults";
422
+ const _mWC = "maxWorkerCount";
423
+ const _mWCi = "minWorkerCount";
424
+ const _n = "name";
425
+ const _nP = "namePrefix";
426
+ const _nT = "networkType";
427
+ const _nTe = "nextToken";
428
+ const _oCC = "originConnectorConfiguration";
429
+ const _oS = "operationSteps";
430
+ const _oV = "objectVersion";
431
+ const _oWS = "originWorkerSetting";
432
+ const _p = "plugins";
433
+ const _pC = "provisionedCapacity";
434
+ const _pFC = "propertiesFileContent";
435
+ const _pr = "prefix";
436
+ const _r = "revision";
437
+ const _rA = "resourceArn";
438
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kafkaconnect";
439
+ const _sD = "stateDescription";
440
+ const _sERA = "serviceExecutionRoleArn";
441
+ const _sG = "securityGroups";
442
+ const _sIP = "scaleInPolicy";
443
+ const _sL = "s3Location";
444
+ const _sOP = "scaleOutPolicy";
445
+ const _sS = "__sensitiveString";
446
+ const _sSt = "stepState";
447
+ const _sT = "stepType";
448
+ const _s_ = "s3";
449
+ const _se = "server";
450
+ const _su = "subnets";
451
+ const _t = "tags";
452
+ const _tCC = "targetConnectorConfiguration";
453
+ const _tK = "tagKeys";
454
+ const _tWS = "targetWorkerSetting";
455
+ const _v = "vpc";
456
+ const _wC = "workerConfiguration";
457
+ const _wCA = "workerConfigurationArn";
458
+ const _wCS = "workerConfigurationState";
459
+ const _wCo = "workerConfigurations";
460
+ const _wCor = "workerCount";
461
+ const _wLD = "workerLogDelivery";
462
+ const n0 = "com.amazonaws.kafkaconnect";
463
+ const _s_registry = TypeRegistry.for(_s);
464
+ var KafkaConnectServiceException$ = [-3, _s, "KafkaConnectServiceException", 0, [], []];
465
+ _s_registry.registerError(KafkaConnectServiceException$, KafkaConnectServiceException);
466
+ const n0_registry = TypeRegistry.for(n0);
467
+ var BadRequestException$ = [-3, n0, _BRE,
468
+ { [_e]: _c, [_hE]: 400 },
469
+ [_m],
470
+ [0]
471
+ ];
472
+ n0_registry.registerError(BadRequestException$, BadRequestException);
473
+ var ConflictException$ = [-3, n0, _CE,
474
+ { [_e]: _c, [_hE]: 409 },
475
+ [_m],
476
+ [0]
477
+ ];
478
+ n0_registry.registerError(ConflictException$, ConflictException);
479
+ var ForbiddenException$ = [-3, n0, _FE,
480
+ { [_e]: _c, [_hE]: 403 },
481
+ [_m],
482
+ [0]
483
+ ];
484
+ n0_registry.registerError(ForbiddenException$, ForbiddenException);
485
+ var InternalServerErrorException$ = [-3, n0, _ISEE,
486
+ { [_e]: _se, [_hE]: 500 },
487
+ [_m],
488
+ [0]
489
+ ];
490
+ n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);
491
+ var NotFoundException$ = [-3, n0, _NFE,
492
+ { [_e]: _c, [_hE]: 404 },
493
+ [_m],
494
+ [0]
495
+ ];
496
+ n0_registry.registerError(NotFoundException$, NotFoundException);
497
+ var ServiceUnavailableException$ = [-3, n0, _SUE,
498
+ { [_e]: _se, [_hE]: 503 },
499
+ [_m],
500
+ [0]
501
+ ];
502
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
503
+ var TooManyRequestsException$ = [-3, n0, _TMRE,
504
+ { [_e]: _c, [_hE]: 429 },
505
+ [_m],
506
+ [0]
507
+ ];
508
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
509
+ var UnauthorizedException$ = [-3, n0, _UE,
510
+ { [_e]: _c, [_hE]: 401 },
511
+ [_m],
512
+ [0]
513
+ ];
514
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
515
+ const errorTypeRegistries = [
516
+ _s_registry,
517
+ n0_registry,
518
+ ];
519
+ var __sensitiveString = [0, n0, _sS, 8, 0];
520
+ var ApacheKafkaCluster$ = [3, n0, _AKC,
521
+ 0,
522
+ [_bS, _v],
523
+ [0, () => Vpc$], 2
524
+ ];
525
+ var ApacheKafkaClusterDescription$ = [3, n0, _AKCD,
526
+ 0,
527
+ [_bS, _v],
528
+ [0, () => VpcDescription$]
529
+ ];
530
+ var AutoScaling$ = [3, n0, _AS,
531
+ 0,
532
+ [_mWC, _mC, _mWCi, _sIP, _sOP, _mATC],
533
+ [1, 1, 1, () => ScaleInPolicy$, () => ScaleOutPolicy$, 1], 3
534
+ ];
535
+ var AutoScalingDescription$ = [3, n0, _ASD,
536
+ 0,
537
+ [_mWC, _mC, _mWCi, _sIP, _sOP, _mATC],
538
+ [1, 1, 1, () => ScaleInPolicyDescription$, () => ScaleOutPolicyDescription$, 1]
539
+ ];
540
+ var AutoScalingUpdate$ = [3, n0, _ASU,
541
+ 0,
542
+ [_mWC, _mC, _mWCi, _sIP, _sOP, _mATC],
543
+ [1, 1, 1, () => ScaleInPolicyUpdate$, () => ScaleOutPolicyUpdate$, 1], 5
544
+ ];
545
+ var Capacity$ = [3, n0, _C,
546
+ 0,
547
+ [_aS, _pC],
548
+ [() => AutoScaling$, () => ProvisionedCapacity$]
549
+ ];
550
+ var CapacityDescription$ = [3, n0, _CD,
551
+ 0,
552
+ [_aS, _pC],
553
+ [() => AutoScalingDescription$, () => ProvisionedCapacityDescription$]
554
+ ];
555
+ var CapacityUpdate$ = [3, n0, _CU,
556
+ 0,
557
+ [_aS, _pC],
558
+ [() => AutoScalingUpdate$, () => ProvisionedCapacityUpdate$]
559
+ ];
560
+ var CloudWatchLogsLogDelivery$ = [3, n0, _CWLLD,
561
+ 0,
562
+ [_en, _lG],
563
+ [2, 0], 1
564
+ ];
565
+ var CloudWatchLogsLogDeliveryDescription$ = [3, n0, _CWLLDD,
566
+ 0,
567
+ [_en, _lG],
568
+ [2, 0]
569
+ ];
570
+ var ConnectorOperationStep$ = [3, n0, _COS,
571
+ 0,
572
+ [_sT, _sSt],
573
+ [0, 0]
574
+ ];
575
+ var ConnectorOperationSummary$ = [3, n0, _COSo,
576
+ 0,
577
+ [_cOA, _cOT, _cOS, _cT, _eT],
578
+ [0, 0, 0, 5, 5]
579
+ ];
580
+ var ConnectorSummary$ = [3, n0, _CS,
581
+ 0,
582
+ [_ca, _cA, _cD, _cN, _cS, _cT, _cV, _kC, _kCCA, _kCEIT, _kCV, _lD, _nT, _p, _sERA, _wC],
583
+ [() => CapacityDescription$, 0, 0, 0, 0, 5, 0, () => KafkaClusterDescription$, () => KafkaClusterClientAuthenticationDescription$, () => KafkaClusterEncryptionInTransitDescription$, 0, () => LogDeliveryDescription$, 0, () => __listOfPluginDescription, 0, () => WorkerConfigurationDescription$]
584
+ ];
585
+ var CreateConnectorRequest$ = [3, n0, _CCR,
586
+ 0,
587
+ [_ca, _cC, _cN, _kC, _kCCA, _kCEIT, _kCV, _p, _sERA, _cD, _lD, _nT, _wC, _t],
588
+ [() => Capacity$, [() => ConnectorConfiguration, 0], 0, () => KafkaCluster$, () => KafkaClusterClientAuthentication$, () => KafkaClusterEncryptionInTransit$, 0, () => __listOfPlugin, 0, 0, () => LogDelivery$, 0, () => WorkerConfiguration$, 128 | 0], 9
589
+ ];
590
+ var CreateConnectorResponse$ = [3, n0, _CCRr,
591
+ 0,
592
+ [_cA, _cN, _cS],
593
+ [0, 0, 0]
594
+ ];
595
+ var CreateCustomPluginRequest$ = [3, n0, _CCPR,
596
+ 0,
597
+ [_cTo, _l, _n, _d, _t],
598
+ [0, () => CustomPluginLocation$, 0, 0, 128 | 0], 3
599
+ ];
600
+ var CreateCustomPluginResponse$ = [3, n0, _CCPRr,
601
+ 0,
602
+ [_cPA, _cPS, _n, _r],
603
+ [0, 0, 0, 1]
604
+ ];
605
+ var CreateWorkerConfigurationRequest$ = [3, n0, _CWCR,
606
+ 0,
607
+ [_n, _pFC, _d, _t],
608
+ [0, [() => __sensitiveString, 0], 0, 128 | 0], 2
609
+ ];
610
+ var CreateWorkerConfigurationResponse$ = [3, n0, _CWCRr,
611
+ 0,
612
+ [_cT, _lR, _n, _wCA, _wCS],
613
+ [5, () => WorkerConfigurationRevisionSummary$, 0, 0, 0]
614
+ ];
615
+ var CustomPlugin$ = [3, n0, _CP,
616
+ 0,
617
+ [_cPA, _r],
618
+ [0, 1], 2
619
+ ];
620
+ var CustomPluginDescription$ = [3, n0, _CPD,
621
+ 0,
622
+ [_cPA, _r],
623
+ [0, 1]
624
+ ];
625
+ var CustomPluginFileDescription$ = [3, n0, _CPFD,
626
+ 0,
627
+ [_fM, _fS],
628
+ [0, 1]
629
+ ];
630
+ var CustomPluginLocation$ = [3, n0, _CPL,
631
+ 0,
632
+ [_sL],
633
+ [() => S3Location$], 1
634
+ ];
635
+ var CustomPluginLocationDescription$ = [3, n0, _CPLD,
636
+ 0,
637
+ [_sL],
638
+ [() => S3LocationDescription$]
639
+ ];
640
+ var CustomPluginRevisionSummary$ = [3, n0, _CPRS,
641
+ 0,
642
+ [_cTo, _cT, _d, _fD, _l, _r],
643
+ [0, 5, 0, () => CustomPluginFileDescription$, () => CustomPluginLocationDescription$, 1]
644
+ ];
645
+ var CustomPluginSummary$ = [3, n0, _CPS,
646
+ 0,
647
+ [_cT, _cPA, _cPS, _d, _lR, _n],
648
+ [5, 0, 0, 0, () => CustomPluginRevisionSummary$, 0]
649
+ ];
650
+ var DeleteConnectorRequest$ = [3, n0, _DCR,
651
+ 0,
652
+ [_cA, _cV],
653
+ [[0, 1], [0, { [_hQ]: _cV }]], 1
654
+ ];
655
+ var DeleteConnectorResponse$ = [3, n0, _DCRe,
656
+ 0,
657
+ [_cA, _cS],
658
+ [0, 0]
659
+ ];
660
+ var DeleteCustomPluginRequest$ = [3, n0, _DCPR,
661
+ 0,
662
+ [_cPA],
663
+ [[0, 1]], 1
664
+ ];
665
+ var DeleteCustomPluginResponse$ = [3, n0, _DCPRe,
666
+ 0,
667
+ [_cPA, _cPS],
668
+ [0, 0]
669
+ ];
670
+ var DeleteWorkerConfigurationRequest$ = [3, n0, _DWCR,
671
+ 0,
672
+ [_wCA],
673
+ [[0, 1]], 1
674
+ ];
675
+ var DeleteWorkerConfigurationResponse$ = [3, n0, _DWCRe,
676
+ 0,
677
+ [_wCA, _wCS],
678
+ [0, 0]
679
+ ];
680
+ var DescribeConnectorOperationRequest$ = [3, n0, _DCOR,
681
+ 0,
682
+ [_cOA],
683
+ [[0, 1]], 1
684
+ ];
685
+ var DescribeConnectorOperationResponse$ = [3, n0, _DCORe,
686
+ 0,
687
+ [_cA, _cOA, _cOS, _cOT, _oS, _oWS, _oCC, _tWS, _tCC, _eI, _cT, _eT],
688
+ [0, 0, 0, 0, () => __listOfConnectorOperationStep, () => WorkerSetting$, [() => ConnectorConfiguration, 0], () => WorkerSetting$, [() => ConnectorConfiguration, 0], () => StateDescription$, 5, 5]
689
+ ];
690
+ var DescribeConnectorRequest$ = [3, n0, _DCRes,
691
+ 0,
692
+ [_cA],
693
+ [[0, 1]], 1
694
+ ];
695
+ var DescribeConnectorResponse$ = [3, n0, _DCResc,
696
+ 0,
697
+ [_ca, _cA, _cC, _cD, _cN, _cS, _cT, _cV, _kC, _kCCA, _kCEIT, _kCV, _lD, _nT, _p, _sERA, _wC, _sD],
698
+ [() => CapacityDescription$, 0, [() => ConnectorConfiguration, 0], 0, 0, 0, 5, 0, () => KafkaClusterDescription$, () => KafkaClusterClientAuthenticationDescription$, () => KafkaClusterEncryptionInTransitDescription$, 0, () => LogDeliveryDescription$, 0, () => __listOfPluginDescription, 0, () => WorkerConfigurationDescription$, () => StateDescription$]
699
+ ];
700
+ var DescribeCustomPluginRequest$ = [3, n0, _DCPRes,
701
+ 0,
702
+ [_cPA],
703
+ [[0, 1]], 1
704
+ ];
705
+ var DescribeCustomPluginResponse$ = [3, n0, _DCPResc,
706
+ 0,
707
+ [_cT, _cPA, _cPS, _d, _lR, _n, _sD],
708
+ [5, 0, 0, 0, () => CustomPluginRevisionSummary$, 0, () => StateDescription$]
709
+ ];
710
+ var DescribeWorkerConfigurationRequest$ = [3, n0, _DWCRes,
711
+ 0,
712
+ [_wCA],
713
+ [[0, 1]], 1
714
+ ];
715
+ var DescribeWorkerConfigurationResponse$ = [3, n0, _DWCResc,
716
+ 0,
717
+ [_cT, _d, _lR, _n, _wCA, _wCS],
718
+ [5, 0, [() => WorkerConfigurationRevisionDescription$, 0], 0, 0, 0]
719
+ ];
720
+ var FirehoseLogDelivery$ = [3, n0, _FLD,
721
+ 0,
722
+ [_en, _dS],
723
+ [2, 0], 1
724
+ ];
725
+ var FirehoseLogDeliveryDescription$ = [3, n0, _FLDD,
726
+ 0,
727
+ [_dS, _en],
728
+ [0, 2]
729
+ ];
730
+ var KafkaCluster$ = [3, n0, _KC,
731
+ 0,
732
+ [_aKC],
733
+ [() => ApacheKafkaCluster$], 1
734
+ ];
735
+ var KafkaClusterClientAuthentication$ = [3, n0, _KCCA,
736
+ 0,
737
+ [_aT],
738
+ [0], 1
739
+ ];
740
+ var KafkaClusterClientAuthenticationDescription$ = [3, n0, _KCCAD,
741
+ 0,
742
+ [_aT],
743
+ [0]
744
+ ];
745
+ var KafkaClusterDescription$ = [3, n0, _KCD,
746
+ 0,
747
+ [_aKC],
748
+ [() => ApacheKafkaClusterDescription$]
749
+ ];
750
+ var KafkaClusterEncryptionInTransit$ = [3, n0, _KCEIT,
751
+ 0,
752
+ [_eTn],
753
+ [0], 1
754
+ ];
755
+ var KafkaClusterEncryptionInTransitDescription$ = [3, n0, _KCEITD,
756
+ 0,
757
+ [_eTn],
758
+ [0]
759
+ ];
760
+ var ListConnectorOperationsRequest$ = [3, n0, _LCOR,
761
+ 0,
762
+ [_cA, _mR, _nTe],
763
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nTe }]], 1
764
+ ];
765
+ var ListConnectorOperationsResponse$ = [3, n0, _LCORi,
766
+ 0,
767
+ [_cO, _nTe],
768
+ [() => __listOfConnectorOperationSummary, 0]
769
+ ];
770
+ var ListConnectorsRequest$ = [3, n0, _LCR,
771
+ 0,
772
+ [_cNP, _mR, _nTe],
773
+ [[0, { [_hQ]: _cNP }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nTe }]]
774
+ ];
775
+ var ListConnectorsResponse$ = [3, n0, _LCRi,
776
+ 0,
777
+ [_co, _nTe],
778
+ [() => __listOfConnectorSummary, 0]
779
+ ];
780
+ var ListCustomPluginsRequest$ = [3, n0, _LCPR,
781
+ 0,
782
+ [_mR, _nTe, _nP],
783
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nTe }], [0, { [_hQ]: _nP }]]
784
+ ];
785
+ var ListCustomPluginsResponse$ = [3, n0, _LCPRi,
786
+ 0,
787
+ [_cP, _nTe],
788
+ [() => __listOfCustomPluginSummary, 0]
789
+ ];
790
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
791
+ 0,
792
+ [_rA],
793
+ [[0, 1]], 1
794
+ ];
795
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
796
+ 0,
797
+ [_t],
798
+ [128 | 0]
799
+ ];
800
+ var ListWorkerConfigurationsRequest$ = [3, n0, _LWCR,
801
+ 0,
802
+ [_mR, _nTe, _nP],
803
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nTe }], [0, { [_hQ]: _nP }]]
804
+ ];
805
+ var ListWorkerConfigurationsResponse$ = [3, n0, _LWCRi,
806
+ 0,
807
+ [_nTe, _wCo],
808
+ [0, () => __listOfWorkerConfigurationSummary]
809
+ ];
810
+ var LogDelivery$ = [3, n0, _LD,
811
+ 0,
812
+ [_wLD],
813
+ [() => WorkerLogDelivery$], 1
814
+ ];
815
+ var LogDeliveryDescription$ = [3, n0, _LDD,
816
+ 0,
817
+ [_wLD],
818
+ [() => WorkerLogDeliveryDescription$]
819
+ ];
820
+ var Plugin$ = [3, n0, _P,
821
+ 0,
822
+ [_cPu],
823
+ [() => CustomPlugin$], 1
824
+ ];
825
+ var PluginDescription$ = [3, n0, _PD,
826
+ 0,
827
+ [_cPu],
828
+ [() => CustomPluginDescription$]
829
+ ];
830
+ var ProvisionedCapacity$ = [3, n0, _PC,
831
+ 0,
832
+ [_mC, _wCor],
833
+ [1, 1], 2
834
+ ];
835
+ var ProvisionedCapacityDescription$ = [3, n0, _PCD,
836
+ 0,
837
+ [_mC, _wCor],
838
+ [1, 1]
839
+ ];
840
+ var ProvisionedCapacityUpdate$ = [3, n0, _PCU,
841
+ 0,
842
+ [_mC, _wCor],
843
+ [1, 1], 2
844
+ ];
845
+ var S3Location$ = [3, n0, _SL,
846
+ 0,
847
+ [_bA, _fK, _oV],
848
+ [0, 0, 0], 2
849
+ ];
850
+ var S3LocationDescription$ = [3, n0, _SLD,
851
+ 0,
852
+ [_bA, _fK, _oV],
853
+ [0, 0, 0]
854
+ ];
855
+ var S3LogDelivery$ = [3, n0, _SLDo,
856
+ 0,
857
+ [_en, _b, _pr],
858
+ [2, 0, 0], 1
859
+ ];
860
+ var S3LogDeliveryDescription$ = [3, n0, _SLDD,
861
+ 0,
862
+ [_b, _en, _pr],
863
+ [0, 2, 0]
864
+ ];
865
+ var ScaleInPolicy$ = [3, n0, _SIP,
866
+ 0,
867
+ [_cUP],
868
+ [1], 1
869
+ ];
870
+ var ScaleInPolicyDescription$ = [3, n0, _SIPD,
871
+ 0,
872
+ [_cUP],
873
+ [1]
874
+ ];
875
+ var ScaleInPolicyUpdate$ = [3, n0, _SIPU,
876
+ 0,
877
+ [_cUP],
878
+ [1], 1
879
+ ];
880
+ var ScaleOutPolicy$ = [3, n0, _SOP,
881
+ 0,
882
+ [_cUP],
883
+ [1], 1
884
+ ];
885
+ var ScaleOutPolicyDescription$ = [3, n0, _SOPD,
886
+ 0,
887
+ [_cUP],
888
+ [1]
889
+ ];
890
+ var ScaleOutPolicyUpdate$ = [3, n0, _SOPU,
891
+ 0,
892
+ [_cUP],
893
+ [1], 1
894
+ ];
895
+ var StateDescription$ = [3, n0, _SD,
896
+ 0,
897
+ [_cod, _m],
898
+ [0, 0]
899
+ ];
900
+ var TagResourceRequest$ = [3, n0, _TRR,
901
+ 0,
902
+ [_rA, _t],
903
+ [[0, 1], 128 | 0], 2
904
+ ];
905
+ var TagResourceResponse$ = [3, n0, _TRRa,
906
+ 0,
907
+ [],
908
+ []
909
+ ];
910
+ var UntagResourceRequest$ = [3, n0, _URR,
911
+ 0,
912
+ [_rA, _tK],
913
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
914
+ ];
915
+ var UntagResourceResponse$ = [3, n0, _URRn,
916
+ 0,
917
+ [],
918
+ []
919
+ ];
920
+ var UpdateConnectorRequest$ = [3, n0, _UCR,
921
+ 0,
922
+ [_cA, _cV, _ca, _cC],
923
+ [[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0]], 2
924
+ ];
925
+ var UpdateConnectorResponse$ = [3, n0, _UCRp,
926
+ 0,
927
+ [_cA, _cS, _cOA],
928
+ [0, 0, 0]
929
+ ];
930
+ var Vpc$ = [3, n0, _V,
931
+ 0,
932
+ [_su, _sG],
933
+ [64 | 0, 64 | 0], 1
934
+ ];
935
+ var VpcDescription$ = [3, n0, _VD,
936
+ 0,
937
+ [_sG, _su],
938
+ [64 | 0, 64 | 0]
939
+ ];
940
+ var WorkerConfiguration$ = [3, n0, _WC,
941
+ 0,
942
+ [_r, _wCA],
943
+ [1, 0], 2
944
+ ];
945
+ var WorkerConfigurationDescription$ = [3, n0, _WCD,
946
+ 0,
947
+ [_r, _wCA],
948
+ [1, 0]
949
+ ];
950
+ var WorkerConfigurationRevisionDescription$ = [3, n0, _WCRD,
951
+ 0,
952
+ [_cT, _d, _pFC, _r],
953
+ [5, 0, [() => __sensitiveString, 0], 1]
954
+ ];
955
+ var WorkerConfigurationRevisionSummary$ = [3, n0, _WCRS,
956
+ 0,
957
+ [_cT, _d, _r],
958
+ [5, 0, 1]
959
+ ];
960
+ var WorkerConfigurationSummary$ = [3, n0, _WCS,
961
+ 0,
962
+ [_cT, _d, _lR, _n, _wCA, _wCS],
963
+ [5, 0, () => WorkerConfigurationRevisionSummary$, 0, 0, 0]
964
+ ];
965
+ var WorkerLogDelivery$ = [3, n0, _WLD,
966
+ 0,
967
+ [_cWL, _f, _s_],
968
+ [() => CloudWatchLogsLogDelivery$, () => FirehoseLogDelivery$, () => S3LogDelivery$]
969
+ ];
970
+ var WorkerLogDeliveryDescription$ = [3, n0, _WLDD,
971
+ 0,
972
+ [_cWL, _f, _s_],
973
+ [() => CloudWatchLogsLogDeliveryDescription$, () => FirehoseLogDeliveryDescription$, () => S3LogDeliveryDescription$]
974
+ ];
975
+ var WorkerSetting$ = [3, n0, _WS,
976
+ 0,
977
+ [_ca],
978
+ [() => CapacityDescription$]
979
+ ];
980
+ var __listOfConnectorOperationStep = [1, n0, _lOCOS,
981
+ 0, () => ConnectorOperationStep$
982
+ ];
983
+ var __listOfConnectorOperationSummary = [1, n0, _lOCOSi,
984
+ 0, () => ConnectorOperationSummary$
985
+ ];
986
+ var __listOfConnectorSummary = [1, n0, _lOCS,
987
+ 0, () => ConnectorSummary$
988
+ ];
989
+ var __listOfCustomPluginSummary = [1, n0, _lOCPS,
990
+ 0, () => CustomPluginSummary$
991
+ ];
992
+ var __listOfPlugin = [1, n0, _lOP,
993
+ 0, () => Plugin$
994
+ ];
995
+ var __listOfPluginDescription = [1, n0, _lOPD,
996
+ 0, () => PluginDescription$
997
+ ];
998
+ var __listOfWorkerConfigurationSummary = [1, n0, _lOWCS,
999
+ 0, () => WorkerConfigurationSummary$
1000
+ ];
1001
+ var ConnectorConfiguration = [2, n0, _CC,
1002
+ 8, 0, 0
1003
+ ];
1004
+ var ConnectorConfigurationUpdate = [2, n0, _CCU,
1005
+ 8, 0, 0
1006
+ ];
1007
+ var CreateConnector$ = [9, n0, _CCr,
1008
+ { [_h]: ["POST", "/v1/connectors", 200] }, () => CreateConnectorRequest$, () => CreateConnectorResponse$
1009
+ ];
1010
+ var CreateCustomPlugin$ = [9, n0, _CCP,
1011
+ { [_h]: ["POST", "/v1/custom-plugins", 200] }, () => CreateCustomPluginRequest$, () => CreateCustomPluginResponse$
1012
+ ];
1013
+ var CreateWorkerConfiguration$ = [9, n0, _CWC,
1014
+ { [_h]: ["POST", "/v1/worker-configurations", 200] }, () => CreateWorkerConfigurationRequest$, () => CreateWorkerConfigurationResponse$
1015
+ ];
1016
+ var DeleteConnector$ = [9, n0, _DC,
1017
+ { [_h]: ["DELETE", "/v1/connectors/{connectorArn}", 200] }, () => DeleteConnectorRequest$, () => DeleteConnectorResponse$
1018
+ ];
1019
+ var DeleteCustomPlugin$ = [9, n0, _DCP,
1020
+ { [_h]: ["DELETE", "/v1/custom-plugins/{customPluginArn}", 200] }, () => DeleteCustomPluginRequest$, () => DeleteCustomPluginResponse$
1021
+ ];
1022
+ var DeleteWorkerConfiguration$ = [9, n0, _DWC,
1023
+ { [_h]: ["DELETE", "/v1/worker-configurations/{workerConfigurationArn}", 200] }, () => DeleteWorkerConfigurationRequest$, () => DeleteWorkerConfigurationResponse$
1024
+ ];
1025
+ var DescribeConnector$ = [9, n0, _DCe,
1026
+ { [_h]: ["GET", "/v1/connectors/{connectorArn}", 200] }, () => DescribeConnectorRequest$, () => DescribeConnectorResponse$
1027
+ ];
1028
+ var DescribeConnectorOperation$ = [9, n0, _DCO,
1029
+ { [_h]: ["GET", "/v1/connectorOperations/{connectorOperationArn}", 200] }, () => DescribeConnectorOperationRequest$, () => DescribeConnectorOperationResponse$
1030
+ ];
1031
+ var DescribeCustomPlugin$ = [9, n0, _DCPe,
1032
+ { [_h]: ["GET", "/v1/custom-plugins/{customPluginArn}", 200] }, () => DescribeCustomPluginRequest$, () => DescribeCustomPluginResponse$
1033
+ ];
1034
+ var DescribeWorkerConfiguration$ = [9, n0, _DWCe,
1035
+ { [_h]: ["GET", "/v1/worker-configurations/{workerConfigurationArn}", 200] }, () => DescribeWorkerConfigurationRequest$, () => DescribeWorkerConfigurationResponse$
1036
+ ];
1037
+ var ListConnectorOperations$ = [9, n0, _LCO,
1038
+ { [_h]: ["GET", "/v1/connectors/{connectorArn}/operations", 200] }, () => ListConnectorOperationsRequest$, () => ListConnectorOperationsResponse$
1039
+ ];
1040
+ var ListConnectors$ = [9, n0, _LC,
1041
+ { [_h]: ["GET", "/v1/connectors", 200] }, () => ListConnectorsRequest$, () => ListConnectorsResponse$
1042
+ ];
1043
+ var ListCustomPlugins$ = [9, n0, _LCP,
1044
+ { [_h]: ["GET", "/v1/custom-plugins", 200] }, () => ListCustomPluginsRequest$, () => ListCustomPluginsResponse$
1045
+ ];
1046
+ var ListTagsForResource$ = [9, n0, _LTFR,
1047
+ { [_h]: ["GET", "/v1/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1048
+ ];
1049
+ var ListWorkerConfigurations$ = [9, n0, _LWC,
1050
+ { [_h]: ["GET", "/v1/worker-configurations", 200] }, () => ListWorkerConfigurationsRequest$, () => ListWorkerConfigurationsResponse$
1051
+ ];
1052
+ var TagResource$ = [9, n0, _TR,
1053
+ { [_h]: ["POST", "/v1/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
1054
+ ];
1055
+ var UntagResource$ = [9, n0, _UR,
1056
+ { [_h]: ["DELETE", "/v1/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
1057
+ ];
1058
+ var UpdateConnector$ = [9, n0, _UC,
1059
+ { [_h]: ["PUT", "/v1/connectors/{connectorArn}", 200] }, () => UpdateConnectorRequest$, () => UpdateConnectorResponse$
1060
+ ];
1061
+
1062
+ const getRuntimeConfig$1 = (config) => {
1063
+ return {
1064
+ apiVersion: "2021-09-14",
1065
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1066
+ base64Encoder: config?.base64Encoder ?? toBase64,
1067
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1068
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1069
+ extensions: config?.extensions ?? [],
1070
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultKafkaConnectHttpAuthSchemeProvider,
1071
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1072
+ {
1073
+ schemeId: "aws.auth#sigv4",
1074
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1075
+ signer: new AwsSdkSigV4Signer(),
1076
+ },
1077
+ ],
1078
+ logger: config?.logger ?? new NoOpLogger(),
1079
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1080
+ protocolSettings: config?.protocolSettings ?? {
1081
+ defaultNamespace: "com.amazonaws.kafkaconnect",
1082
+ errorTypeRegistries,
1083
+ version: "2021-09-14",
1084
+ serviceTarget: "KafkaConnect",
1085
+ },
1086
+ serviceId: config?.serviceId ?? "KafkaConnect",
1087
+ urlParser: config?.urlParser ?? parseUrl,
1088
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1089
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1090
+ };
1091
+ };
1092
+
1093
+ const getRuntimeConfig = (config) => {
1094
+ emitWarningIfUnsupportedVersion(process.version);
1095
+ const defaultsMode = resolveDefaultsModeConfig(config);
1096
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1097
+ const clientSharedValues = getRuntimeConfig$1(config);
1098
+ emitWarningIfUnsupportedVersion$1(process.version);
1099
+ const loaderConfig = {
1100
+ profile: config?.profile,
1101
+ logger: clientSharedValues.logger,
1102
+ };
1103
+ return {
1104
+ ...clientSharedValues,
1105
+ ...config,
1106
+ runtime: "node",
1107
+ defaultsMode,
1108
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1109
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1110
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1111
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1112
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1113
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1114
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1115
+ retryMode: config?.retryMode ??
1116
+ loadConfig({
1117
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1118
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1119
+ }, config),
1120
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1121
+ streamCollector: config?.streamCollector ?? streamCollector,
1122
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1123
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1124
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1125
+ };
1126
+ };
1127
+
34
1128
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1129
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1130
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -430,37 +1524,166 @@ const WorkerConfigurationState = {
430
1524
  DELETING: "DELETING",
431
1525
  };
432
1526
 
1527
+ exports.ApacheKafkaCluster$ = ApacheKafkaCluster$;
1528
+ exports.ApacheKafkaClusterDescription$ = ApacheKafkaClusterDescription$;
1529
+ exports.AutoScaling$ = AutoScaling$;
1530
+ exports.AutoScalingDescription$ = AutoScalingDescription$;
1531
+ exports.AutoScalingUpdate$ = AutoScalingUpdate$;
1532
+ exports.BadRequestException = BadRequestException;
1533
+ exports.BadRequestException$ = BadRequestException$;
1534
+ exports.Capacity$ = Capacity$;
1535
+ exports.CapacityDescription$ = CapacityDescription$;
1536
+ exports.CapacityUpdate$ = CapacityUpdate$;
1537
+ exports.CloudWatchLogsLogDelivery$ = CloudWatchLogsLogDelivery$;
1538
+ exports.CloudWatchLogsLogDeliveryDescription$ = CloudWatchLogsLogDeliveryDescription$;
1539
+ exports.ConflictException = ConflictException;
1540
+ exports.ConflictException$ = ConflictException$;
433
1541
  exports.ConnectorOperationState = ConnectorOperationState;
1542
+ exports.ConnectorOperationStep$ = ConnectorOperationStep$;
434
1543
  exports.ConnectorOperationStepState = ConnectorOperationStepState;
435
1544
  exports.ConnectorOperationStepType = ConnectorOperationStepType;
1545
+ exports.ConnectorOperationSummary$ = ConnectorOperationSummary$;
436
1546
  exports.ConnectorOperationType = ConnectorOperationType;
437
1547
  exports.ConnectorState = ConnectorState;
1548
+ exports.ConnectorSummary$ = ConnectorSummary$;
1549
+ exports.CreateConnector$ = CreateConnector$;
438
1550
  exports.CreateConnectorCommand = CreateConnectorCommand;
1551
+ exports.CreateConnectorRequest$ = CreateConnectorRequest$;
1552
+ exports.CreateConnectorResponse$ = CreateConnectorResponse$;
1553
+ exports.CreateCustomPlugin$ = CreateCustomPlugin$;
439
1554
  exports.CreateCustomPluginCommand = CreateCustomPluginCommand;
1555
+ exports.CreateCustomPluginRequest$ = CreateCustomPluginRequest$;
1556
+ exports.CreateCustomPluginResponse$ = CreateCustomPluginResponse$;
1557
+ exports.CreateWorkerConfiguration$ = CreateWorkerConfiguration$;
440
1558
  exports.CreateWorkerConfigurationCommand = CreateWorkerConfigurationCommand;
1559
+ exports.CreateWorkerConfigurationRequest$ = CreateWorkerConfigurationRequest$;
1560
+ exports.CreateWorkerConfigurationResponse$ = CreateWorkerConfigurationResponse$;
1561
+ exports.CustomPlugin$ = CustomPlugin$;
441
1562
  exports.CustomPluginContentType = CustomPluginContentType;
1563
+ exports.CustomPluginDescription$ = CustomPluginDescription$;
1564
+ exports.CustomPluginFileDescription$ = CustomPluginFileDescription$;
1565
+ exports.CustomPluginLocation$ = CustomPluginLocation$;
1566
+ exports.CustomPluginLocationDescription$ = CustomPluginLocationDescription$;
1567
+ exports.CustomPluginRevisionSummary$ = CustomPluginRevisionSummary$;
442
1568
  exports.CustomPluginState = CustomPluginState;
1569
+ exports.CustomPluginSummary$ = CustomPluginSummary$;
1570
+ exports.DeleteConnector$ = DeleteConnector$;
443
1571
  exports.DeleteConnectorCommand = DeleteConnectorCommand;
1572
+ exports.DeleteConnectorRequest$ = DeleteConnectorRequest$;
1573
+ exports.DeleteConnectorResponse$ = DeleteConnectorResponse$;
1574
+ exports.DeleteCustomPlugin$ = DeleteCustomPlugin$;
444
1575
  exports.DeleteCustomPluginCommand = DeleteCustomPluginCommand;
1576
+ exports.DeleteCustomPluginRequest$ = DeleteCustomPluginRequest$;
1577
+ exports.DeleteCustomPluginResponse$ = DeleteCustomPluginResponse$;
1578
+ exports.DeleteWorkerConfiguration$ = DeleteWorkerConfiguration$;
445
1579
  exports.DeleteWorkerConfigurationCommand = DeleteWorkerConfigurationCommand;
1580
+ exports.DeleteWorkerConfigurationRequest$ = DeleteWorkerConfigurationRequest$;
1581
+ exports.DeleteWorkerConfigurationResponse$ = DeleteWorkerConfigurationResponse$;
1582
+ exports.DescribeConnector$ = DescribeConnector$;
446
1583
  exports.DescribeConnectorCommand = DescribeConnectorCommand;
1584
+ exports.DescribeConnectorOperation$ = DescribeConnectorOperation$;
447
1585
  exports.DescribeConnectorOperationCommand = DescribeConnectorOperationCommand;
1586
+ exports.DescribeConnectorOperationRequest$ = DescribeConnectorOperationRequest$;
1587
+ exports.DescribeConnectorOperationResponse$ = DescribeConnectorOperationResponse$;
1588
+ exports.DescribeConnectorRequest$ = DescribeConnectorRequest$;
1589
+ exports.DescribeConnectorResponse$ = DescribeConnectorResponse$;
1590
+ exports.DescribeCustomPlugin$ = DescribeCustomPlugin$;
448
1591
  exports.DescribeCustomPluginCommand = DescribeCustomPluginCommand;
1592
+ exports.DescribeCustomPluginRequest$ = DescribeCustomPluginRequest$;
1593
+ exports.DescribeCustomPluginResponse$ = DescribeCustomPluginResponse$;
1594
+ exports.DescribeWorkerConfiguration$ = DescribeWorkerConfiguration$;
449
1595
  exports.DescribeWorkerConfigurationCommand = DescribeWorkerConfigurationCommand;
1596
+ exports.DescribeWorkerConfigurationRequest$ = DescribeWorkerConfigurationRequest$;
1597
+ exports.DescribeWorkerConfigurationResponse$ = DescribeWorkerConfigurationResponse$;
1598
+ exports.FirehoseLogDelivery$ = FirehoseLogDelivery$;
1599
+ exports.FirehoseLogDeliveryDescription$ = FirehoseLogDeliveryDescription$;
1600
+ exports.ForbiddenException = ForbiddenException;
1601
+ exports.ForbiddenException$ = ForbiddenException$;
1602
+ exports.InternalServerErrorException = InternalServerErrorException;
1603
+ exports.InternalServerErrorException$ = InternalServerErrorException$;
1604
+ exports.KafkaCluster$ = KafkaCluster$;
1605
+ exports.KafkaClusterClientAuthentication$ = KafkaClusterClientAuthentication$;
1606
+ exports.KafkaClusterClientAuthenticationDescription$ = KafkaClusterClientAuthenticationDescription$;
450
1607
  exports.KafkaClusterClientAuthenticationType = KafkaClusterClientAuthenticationType;
1608
+ exports.KafkaClusterDescription$ = KafkaClusterDescription$;
1609
+ exports.KafkaClusterEncryptionInTransit$ = KafkaClusterEncryptionInTransit$;
1610
+ exports.KafkaClusterEncryptionInTransitDescription$ = KafkaClusterEncryptionInTransitDescription$;
451
1611
  exports.KafkaClusterEncryptionInTransitType = KafkaClusterEncryptionInTransitType;
452
1612
  exports.KafkaConnect = KafkaConnect;
453
1613
  exports.KafkaConnectClient = KafkaConnectClient;
1614
+ exports.KafkaConnectServiceException = KafkaConnectServiceException;
1615
+ exports.KafkaConnectServiceException$ = KafkaConnectServiceException$;
1616
+ exports.ListConnectorOperations$ = ListConnectorOperations$;
454
1617
  exports.ListConnectorOperationsCommand = ListConnectorOperationsCommand;
1618
+ exports.ListConnectorOperationsRequest$ = ListConnectorOperationsRequest$;
1619
+ exports.ListConnectorOperationsResponse$ = ListConnectorOperationsResponse$;
1620
+ exports.ListConnectors$ = ListConnectors$;
455
1621
  exports.ListConnectorsCommand = ListConnectorsCommand;
1622
+ exports.ListConnectorsRequest$ = ListConnectorsRequest$;
1623
+ exports.ListConnectorsResponse$ = ListConnectorsResponse$;
1624
+ exports.ListCustomPlugins$ = ListCustomPlugins$;
456
1625
  exports.ListCustomPluginsCommand = ListCustomPluginsCommand;
1626
+ exports.ListCustomPluginsRequest$ = ListCustomPluginsRequest$;
1627
+ exports.ListCustomPluginsResponse$ = ListCustomPluginsResponse$;
1628
+ exports.ListTagsForResource$ = ListTagsForResource$;
457
1629
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1630
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1631
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1632
+ exports.ListWorkerConfigurations$ = ListWorkerConfigurations$;
458
1633
  exports.ListWorkerConfigurationsCommand = ListWorkerConfigurationsCommand;
1634
+ exports.ListWorkerConfigurationsRequest$ = ListWorkerConfigurationsRequest$;
1635
+ exports.ListWorkerConfigurationsResponse$ = ListWorkerConfigurationsResponse$;
1636
+ exports.LogDelivery$ = LogDelivery$;
1637
+ exports.LogDeliveryDescription$ = LogDeliveryDescription$;
459
1638
  exports.NetworkType = NetworkType;
1639
+ exports.NotFoundException = NotFoundException;
1640
+ exports.NotFoundException$ = NotFoundException$;
1641
+ exports.Plugin$ = Plugin$;
1642
+ exports.PluginDescription$ = PluginDescription$;
1643
+ exports.ProvisionedCapacity$ = ProvisionedCapacity$;
1644
+ exports.ProvisionedCapacityDescription$ = ProvisionedCapacityDescription$;
1645
+ exports.ProvisionedCapacityUpdate$ = ProvisionedCapacityUpdate$;
1646
+ exports.S3Location$ = S3Location$;
1647
+ exports.S3LocationDescription$ = S3LocationDescription$;
1648
+ exports.S3LogDelivery$ = S3LogDelivery$;
1649
+ exports.S3LogDeliveryDescription$ = S3LogDeliveryDescription$;
1650
+ exports.ScaleInPolicy$ = ScaleInPolicy$;
1651
+ exports.ScaleInPolicyDescription$ = ScaleInPolicyDescription$;
1652
+ exports.ScaleInPolicyUpdate$ = ScaleInPolicyUpdate$;
1653
+ exports.ScaleOutPolicy$ = ScaleOutPolicy$;
1654
+ exports.ScaleOutPolicyDescription$ = ScaleOutPolicyDescription$;
1655
+ exports.ScaleOutPolicyUpdate$ = ScaleOutPolicyUpdate$;
1656
+ exports.ServiceUnavailableException = ServiceUnavailableException;
1657
+ exports.ServiceUnavailableException$ = ServiceUnavailableException$;
1658
+ exports.StateDescription$ = StateDescription$;
1659
+ exports.TagResource$ = TagResource$;
460
1660
  exports.TagResourceCommand = TagResourceCommand;
1661
+ exports.TagResourceRequest$ = TagResourceRequest$;
1662
+ exports.TagResourceResponse$ = TagResourceResponse$;
1663
+ exports.TooManyRequestsException = TooManyRequestsException;
1664
+ exports.TooManyRequestsException$ = TooManyRequestsException$;
1665
+ exports.UnauthorizedException = UnauthorizedException;
1666
+ exports.UnauthorizedException$ = UnauthorizedException$;
1667
+ exports.UntagResource$ = UntagResource$;
461
1668
  exports.UntagResourceCommand = UntagResourceCommand;
1669
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1670
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1671
+ exports.UpdateConnector$ = UpdateConnector$;
462
1672
  exports.UpdateConnectorCommand = UpdateConnectorCommand;
1673
+ exports.UpdateConnectorRequest$ = UpdateConnectorRequest$;
1674
+ exports.UpdateConnectorResponse$ = UpdateConnectorResponse$;
1675
+ exports.Vpc$ = Vpc$;
1676
+ exports.VpcDescription$ = VpcDescription$;
1677
+ exports.WorkerConfiguration$ = WorkerConfiguration$;
1678
+ exports.WorkerConfigurationDescription$ = WorkerConfigurationDescription$;
1679
+ exports.WorkerConfigurationRevisionDescription$ = WorkerConfigurationRevisionDescription$;
1680
+ exports.WorkerConfigurationRevisionSummary$ = WorkerConfigurationRevisionSummary$;
463
1681
  exports.WorkerConfigurationState = WorkerConfigurationState;
1682
+ exports.WorkerConfigurationSummary$ = WorkerConfigurationSummary$;
1683
+ exports.WorkerLogDelivery$ = WorkerLogDelivery$;
1684
+ exports.WorkerLogDeliveryDescription$ = WorkerLogDeliveryDescription$;
1685
+ exports.WorkerSetting$ = WorkerSetting$;
1686
+ exports.errorTypeRegistries = errorTypeRegistries;
464
1687
  exports.paginateListConnectorOperations = paginateListConnectorOperations;
465
1688
  exports.paginateListConnectors = paginateListConnectors;
466
1689
  exports.paginateListCustomPlugins = paginateListCustomPlugins;