@aws-sdk/client-kafkaconnect 3.649.0 → 3.651.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -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;
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.649.0",
4
+ "version": "3.651.1",
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,10 +20,10 @@
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.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
25
- "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.651.1",
24
+ "@aws-sdk/client-sts": "3.651.1",
25
+ "@aws-sdk/core": "3.651.1",
26
+ "@aws-sdk/credential-provider-node": "3.651.1",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }