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