@aws-sdk/client-kafkaconnect 3.645.0 → 3.650.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/endpoint/endpointResolver.js +6 -2
- package/dist-cjs/index.js +16 -48
- package/dist-es/commands/CreateConnectorCommand.js +1 -3
- package/dist-es/commands/CreateCustomPluginCommand.js +1 -3
- package/dist-es/commands/CreateWorkerConfigurationCommand.js +1 -3
- package/dist-es/commands/DeleteConnectorCommand.js +1 -3
- package/dist-es/commands/DeleteCustomPluginCommand.js +1 -3
- package/dist-es/commands/DeleteWorkerConfigurationCommand.js +1 -3
- package/dist-es/commands/DescribeConnectorCommand.js +1 -3
- package/dist-es/commands/DescribeCustomPluginCommand.js +1 -3
- package/dist-es/commands/DescribeWorkerConfigurationCommand.js +1 -3
- package/dist-es/commands/ListConnectorsCommand.js +1 -3
- package/dist-es/commands/ListCustomPluginsCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/ListWorkerConfigurationsCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateConnectorCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +35 -35
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1142,9 +1142,7 @@ var _nT = "nextToken";
|
|
|
1142
1142
|
var _tK = "tagKeys";
|
|
1143
1143
|
|
|
1144
1144
|
// src/commands/CreateConnectorCommand.ts
|
|
1145
|
-
var _CreateConnectorCommand = class _CreateConnectorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1146
|
-
...commonParams
|
|
1147
|
-
}).m(function(Command, cs, config, o) {
|
|
1145
|
+
var _CreateConnectorCommand = class _CreateConnectorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1148
1146
|
return [
|
|
1149
1147
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1150
1148
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1158,9 +1156,7 @@ var CreateConnectorCommand = _CreateConnectorCommand;
|
|
|
1158
1156
|
|
|
1159
1157
|
|
|
1160
1158
|
|
|
1161
|
-
var _CreateCustomPluginCommand = class _CreateCustomPluginCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1162
|
-
...commonParams
|
|
1163
|
-
}).m(function(Command, cs, config, o) {
|
|
1159
|
+
var _CreateCustomPluginCommand = class _CreateCustomPluginCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1164
1160
|
return [
|
|
1165
1161
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1166
1162
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1174,9 +1170,7 @@ var CreateCustomPluginCommand = _CreateCustomPluginCommand;
|
|
|
1174
1170
|
|
|
1175
1171
|
|
|
1176
1172
|
|
|
1177
|
-
var _CreateWorkerConfigurationCommand = class _CreateWorkerConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1178
|
-
...commonParams
|
|
1179
|
-
}).m(function(Command, cs, config, o) {
|
|
1173
|
+
var _CreateWorkerConfigurationCommand = class _CreateWorkerConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1180
1174
|
return [
|
|
1181
1175
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1182
1176
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1190,9 +1184,7 @@ var CreateWorkerConfigurationCommand = _CreateWorkerConfigurationCommand;
|
|
|
1190
1184
|
|
|
1191
1185
|
|
|
1192
1186
|
|
|
1193
|
-
var _DeleteConnectorCommand = class _DeleteConnectorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1194
|
-
...commonParams
|
|
1195
|
-
}).m(function(Command, cs, config, o) {
|
|
1187
|
+
var _DeleteConnectorCommand = class _DeleteConnectorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1196
1188
|
return [
|
|
1197
1189
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1198
1190
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1206,9 +1198,7 @@ var DeleteConnectorCommand = _DeleteConnectorCommand;
|
|
|
1206
1198
|
|
|
1207
1199
|
|
|
1208
1200
|
|
|
1209
|
-
var _DeleteCustomPluginCommand = class _DeleteCustomPluginCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1210
|
-
...commonParams
|
|
1211
|
-
}).m(function(Command, cs, config, o) {
|
|
1201
|
+
var _DeleteCustomPluginCommand = class _DeleteCustomPluginCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1212
1202
|
return [
|
|
1213
1203
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1214
1204
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1222,9 +1212,7 @@ var DeleteCustomPluginCommand = _DeleteCustomPluginCommand;
|
|
|
1222
1212
|
|
|
1223
1213
|
|
|
1224
1214
|
|
|
1225
|
-
var _DeleteWorkerConfigurationCommand = class _DeleteWorkerConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1226
|
-
...commonParams
|
|
1227
|
-
}).m(function(Command, cs, config, o) {
|
|
1215
|
+
var _DeleteWorkerConfigurationCommand = class _DeleteWorkerConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1228
1216
|
return [
|
|
1229
1217
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1230
1218
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1238,9 +1226,7 @@ var DeleteWorkerConfigurationCommand = _DeleteWorkerConfigurationCommand;
|
|
|
1238
1226
|
|
|
1239
1227
|
|
|
1240
1228
|
|
|
1241
|
-
var _DescribeConnectorCommand = class _DescribeConnectorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1242
|
-
...commonParams
|
|
1243
|
-
}).m(function(Command, cs, config, o) {
|
|
1229
|
+
var _DescribeConnectorCommand = class _DescribeConnectorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1244
1230
|
return [
|
|
1245
1231
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1246
1232
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1254,9 +1240,7 @@ var DescribeConnectorCommand = _DescribeConnectorCommand;
|
|
|
1254
1240
|
|
|
1255
1241
|
|
|
1256
1242
|
|
|
1257
|
-
var _DescribeCustomPluginCommand = class _DescribeCustomPluginCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1258
|
-
...commonParams
|
|
1259
|
-
}).m(function(Command, cs, config, o) {
|
|
1243
|
+
var _DescribeCustomPluginCommand = class _DescribeCustomPluginCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1260
1244
|
return [
|
|
1261
1245
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1262
1246
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1270,9 +1254,7 @@ var DescribeCustomPluginCommand = _DescribeCustomPluginCommand;
|
|
|
1270
1254
|
|
|
1271
1255
|
|
|
1272
1256
|
|
|
1273
|
-
var _DescribeWorkerConfigurationCommand = class _DescribeWorkerConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1274
|
-
...commonParams
|
|
1275
|
-
}).m(function(Command, cs, config, o) {
|
|
1257
|
+
var _DescribeWorkerConfigurationCommand = class _DescribeWorkerConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1276
1258
|
return [
|
|
1277
1259
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1278
1260
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1286,9 +1268,7 @@ var DescribeWorkerConfigurationCommand = _DescribeWorkerConfigurationCommand;
|
|
|
1286
1268
|
|
|
1287
1269
|
|
|
1288
1270
|
|
|
1289
|
-
var _ListConnectorsCommand = class _ListConnectorsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1290
|
-
...commonParams
|
|
1291
|
-
}).m(function(Command, cs, config, o) {
|
|
1271
|
+
var _ListConnectorsCommand = class _ListConnectorsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1292
1272
|
return [
|
|
1293
1273
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1294
1274
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1302,9 +1282,7 @@ var ListConnectorsCommand = _ListConnectorsCommand;
|
|
|
1302
1282
|
|
|
1303
1283
|
|
|
1304
1284
|
|
|
1305
|
-
var _ListCustomPluginsCommand = class _ListCustomPluginsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1306
|
-
...commonParams
|
|
1307
|
-
}).m(function(Command, cs, config, o) {
|
|
1285
|
+
var _ListCustomPluginsCommand = class _ListCustomPluginsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1308
1286
|
return [
|
|
1309
1287
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1310
1288
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1318,9 +1296,7 @@ var ListCustomPluginsCommand = _ListCustomPluginsCommand;
|
|
|
1318
1296
|
|
|
1319
1297
|
|
|
1320
1298
|
|
|
1321
|
-
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1322
|
-
...commonParams
|
|
1323
|
-
}).m(function(Command, cs, config, o) {
|
|
1299
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1324
1300
|
return [
|
|
1325
1301
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1326
1302
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1334,9 +1310,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
|
1334
1310
|
|
|
1335
1311
|
|
|
1336
1312
|
|
|
1337
|
-
var _ListWorkerConfigurationsCommand = class _ListWorkerConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1338
|
-
...commonParams
|
|
1339
|
-
}).m(function(Command, cs, config, o) {
|
|
1313
|
+
var _ListWorkerConfigurationsCommand = class _ListWorkerConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1340
1314
|
return [
|
|
1341
1315
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1342
1316
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1350,9 +1324,7 @@ var ListWorkerConfigurationsCommand = _ListWorkerConfigurationsCommand;
|
|
|
1350
1324
|
|
|
1351
1325
|
|
|
1352
1326
|
|
|
1353
|
-
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1354
|
-
...commonParams
|
|
1355
|
-
}).m(function(Command, cs, config, o) {
|
|
1327
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1356
1328
|
return [
|
|
1357
1329
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1358
1330
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1366,9 +1338,7 @@ var TagResourceCommand = _TagResourceCommand;
|
|
|
1366
1338
|
|
|
1367
1339
|
|
|
1368
1340
|
|
|
1369
|
-
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1370
|
-
...commonParams
|
|
1371
|
-
}).m(function(Command, cs, config, o) {
|
|
1341
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1372
1342
|
return [
|
|
1373
1343
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1374
1344
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1382,9 +1352,7 @@ var UntagResourceCommand = _UntagResourceCommand;
|
|
|
1382
1352
|
|
|
1383
1353
|
|
|
1384
1354
|
|
|
1385
|
-
var _UpdateConnectorCommand = class _UpdateConnectorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1386
|
-
...commonParams
|
|
1387
|
-
}).m(function(Command, cs, config, o) {
|
|
1355
|
+
var _UpdateConnectorCommand = class _UpdateConnectorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1388
1356
|
return [
|
|
1389
1357
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1390
1358
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -7,9 +7,7 @@ import { de_CreateConnectorCommand, se_CreateConnectorCommand } from "../protoco
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateConnectorCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_CreateCustomPluginCommand, se_CreateCustomPluginCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CreateCustomPluginCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_CreateWorkerConfigurationCommand, se_CreateWorkerConfigurationComman
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateWorkerConfigurationCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DeleteConnectorCommand, se_DeleteConnectorCommand } from "../protoco
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteConnectorCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DeleteCustomPluginCommand, se_DeleteCustomPluginCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteCustomPluginCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DeleteWorkerConfigurationCommand, se_DeleteWorkerConfigurationComman
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteWorkerConfigurationCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_DescribeConnectorCommand, se_DescribeConnectorCommand } from "../pro
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DescribeConnectorCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DescribeCustomPluginCommand, se_DescribeCustomPluginCommand } from "
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeCustomPluginCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_DescribeWorkerConfigurationCommand, se_DescribeWorkerConfigurationCo
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DescribeWorkerConfigurationCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListConnectorsCommand, se_ListConnectorsCommand } from "../protocols
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListConnectorsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListCustomPluginsCommand, se_ListCustomPluginsCommand } from "../pro
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListCustomPluginsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListTagsForResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListWorkerConfigurationsCommand, se_ListWorkerConfigurationsCommand
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListWorkerConfigurationsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_r
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class TagResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UntagResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UpdateConnectorCommand, se_UpdateConnectorCommand } from "../protoco
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateConnectorCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KafkaConnectHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KafkaConnectHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
|
35
36
|
tls?: boolean | undefined;
|
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KafkaConnectHttpAuthSchemeProvider;
|
|
38
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
25
25
|
apiVersion: string;
|
|
26
|
+
cacheMiddleware?: boolean | undefined;
|
|
26
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
29
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
61
62
|
}
|
|
62
63
|
) => import("@smithy/types").EndpointV2;
|
|
63
64
|
tls?: boolean | undefined;
|
|
65
|
+
serviceConfiguredEndpoint?: undefined;
|
|
64
66
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
65
67
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KafkaConnectHttpAuthSchemeProvider;
|
|
66
68
|
credentials?:
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
27
27
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
29
|
apiVersion: string;
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
33
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
65
66
|
}
|
|
66
67
|
) => import("@smithy/types").EndpointV2;
|
|
67
68
|
tls?: boolean | undefined;
|
|
69
|
+
serviceConfiguredEndpoint?: undefined;
|
|
68
70
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
69
71
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KafkaConnectHttpAuthSchemeProvider;
|
|
70
72
|
credentials?:
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
55
56
|
}
|
|
56
57
|
) => import("@smithy/types").EndpointV2;
|
|
57
58
|
tls?: boolean | undefined;
|
|
59
|
+
serviceConfiguredEndpoint?: undefined;
|
|
58
60
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
59
61
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KafkaConnectHttpAuthSchemeProvider;
|
|
60
62
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafkaconnect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafkaconnect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.650.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kafkaconnect",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
|
+
"@aws-sdk/core": "3.649.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
|
32
|
+
"@aws-sdk/types": "3.649.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.6",
|
|
37
|
+
"@smithy/core": "^2.4.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
|
39
|
+
"@smithy/hash-node": "^3.0.4",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.16",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.4",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.4",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.1",
|
|
49
|
+
"@smithy/smithy-client": "^3.3.0",
|
|
50
|
+
"@smithy/types": "^3.4.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.4",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.0",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.4",
|
|
59
|
+
"@smithy/util-retry": "^3.0.4",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|