@aws-sdk/client-appintegrations 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.
Files changed (33) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +23 -69
  3. package/dist-es/commands/CreateApplicationCommand.js +1 -3
  4. package/dist-es/commands/CreateDataIntegrationAssociationCommand.js +1 -3
  5. package/dist-es/commands/CreateDataIntegrationCommand.js +1 -3
  6. package/dist-es/commands/CreateEventIntegrationCommand.js +1 -3
  7. package/dist-es/commands/DeleteApplicationCommand.js +1 -3
  8. package/dist-es/commands/DeleteDataIntegrationCommand.js +1 -3
  9. package/dist-es/commands/DeleteEventIntegrationCommand.js +1 -3
  10. package/dist-es/commands/GetApplicationCommand.js +1 -3
  11. package/dist-es/commands/GetDataIntegrationCommand.js +1 -3
  12. package/dist-es/commands/GetEventIntegrationCommand.js +1 -3
  13. package/dist-es/commands/ListApplicationAssociationsCommand.js +1 -3
  14. package/dist-es/commands/ListApplicationsCommand.js +1 -3
  15. package/dist-es/commands/ListDataIntegrationAssociationsCommand.js +1 -3
  16. package/dist-es/commands/ListDataIntegrationsCommand.js +1 -3
  17. package/dist-es/commands/ListEventIntegrationAssociationsCommand.js +1 -3
  18. package/dist-es/commands/ListEventIntegrationsCommand.js +1 -3
  19. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  20. package/dist-es/commands/TagResourceCommand.js +1 -3
  21. package/dist-es/commands/UntagResourceCommand.js +1 -3
  22. package/dist-es/commands/UpdateApplicationCommand.js +1 -3
  23. package/dist-es/commands/UpdateDataIntegrationAssociationCommand.js +1 -3
  24. package/dist-es/commands/UpdateDataIntegrationCommand.js +1 -3
  25. package/dist-es/commands/UpdateEventIntegrationCommand.js +1 -3
  26. package/dist-es/endpoint/endpointResolver.js +7 -3
  27. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  28. package/dist-types/runtimeConfig.d.ts +2 -0
  29. package/dist-types/runtimeConfig.native.d.ts +2 -0
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  33. 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
@@ -1223,9 +1223,7 @@ var _nT = "nextToken";
1223
1223
  var _tK = "tagKeys";
1224
1224
 
1225
1225
  // src/commands/CreateApplicationCommand.ts
1226
- var _CreateApplicationCommand = class _CreateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
1227
- ...commonParams
1228
- }).m(function(Command, cs, config, o) {
1226
+ var _CreateApplicationCommand = class _CreateApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1229
1227
  return [
1230
1228
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1231
1229
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1239,9 +1237,7 @@ var CreateApplicationCommand = _CreateApplicationCommand;
1239
1237
 
1240
1238
 
1241
1239
 
1242
- var _CreateDataIntegrationAssociationCommand = class _CreateDataIntegrationAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
1243
- ...commonParams
1244
- }).m(function(Command, cs, config, o) {
1240
+ var _CreateDataIntegrationAssociationCommand = class _CreateDataIntegrationAssociationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1245
1241
  return [
1246
1242
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1247
1243
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1255,9 +1251,7 @@ var CreateDataIntegrationAssociationCommand = _CreateDataIntegrationAssociationC
1255
1251
 
1256
1252
 
1257
1253
 
1258
- var _CreateDataIntegrationCommand = class _CreateDataIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
1259
- ...commonParams
1260
- }).m(function(Command, cs, config, o) {
1254
+ var _CreateDataIntegrationCommand = class _CreateDataIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1261
1255
  return [
1262
1256
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1263
1257
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1271,9 +1265,7 @@ var CreateDataIntegrationCommand = _CreateDataIntegrationCommand;
1271
1265
 
1272
1266
 
1273
1267
 
1274
- var _CreateEventIntegrationCommand = class _CreateEventIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
1275
- ...commonParams
1276
- }).m(function(Command, cs, config, o) {
1268
+ var _CreateEventIntegrationCommand = class _CreateEventIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1277
1269
  return [
1278
1270
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1279
1271
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1287,9 +1279,7 @@ var CreateEventIntegrationCommand = _CreateEventIntegrationCommand;
1287
1279
 
1288
1280
 
1289
1281
 
1290
- var _DeleteApplicationCommand = class _DeleteApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
1291
- ...commonParams
1292
- }).m(function(Command, cs, config, o) {
1282
+ var _DeleteApplicationCommand = class _DeleteApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1293
1283
  return [
1294
1284
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1295
1285
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1303,9 +1293,7 @@ var DeleteApplicationCommand = _DeleteApplicationCommand;
1303
1293
 
1304
1294
 
1305
1295
 
1306
- var _DeleteDataIntegrationCommand = class _DeleteDataIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
1307
- ...commonParams
1308
- }).m(function(Command, cs, config, o) {
1296
+ var _DeleteDataIntegrationCommand = class _DeleteDataIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1309
1297
  return [
1310
1298
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1311
1299
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1319,9 +1307,7 @@ var DeleteDataIntegrationCommand = _DeleteDataIntegrationCommand;
1319
1307
 
1320
1308
 
1321
1309
 
1322
- var _DeleteEventIntegrationCommand = class _DeleteEventIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
1323
- ...commonParams
1324
- }).m(function(Command, cs, config, o) {
1310
+ var _DeleteEventIntegrationCommand = class _DeleteEventIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1325
1311
  return [
1326
1312
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1327
1313
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1335,9 +1321,7 @@ var DeleteEventIntegrationCommand = _DeleteEventIntegrationCommand;
1335
1321
 
1336
1322
 
1337
1323
 
1338
- var _GetApplicationCommand = class _GetApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
1339
- ...commonParams
1340
- }).m(function(Command, cs, config, o) {
1324
+ var _GetApplicationCommand = class _GetApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1341
1325
  return [
1342
1326
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1343
1327
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1351,9 +1335,7 @@ var GetApplicationCommand = _GetApplicationCommand;
1351
1335
 
1352
1336
 
1353
1337
 
1354
- var _GetDataIntegrationCommand = class _GetDataIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
1355
- ...commonParams
1356
- }).m(function(Command, cs, config, o) {
1338
+ var _GetDataIntegrationCommand = class _GetDataIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1357
1339
  return [
1358
1340
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1359
1341
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1367,9 +1349,7 @@ var GetDataIntegrationCommand = _GetDataIntegrationCommand;
1367
1349
 
1368
1350
 
1369
1351
 
1370
- var _GetEventIntegrationCommand = class _GetEventIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
1371
- ...commonParams
1372
- }).m(function(Command, cs, config, o) {
1352
+ var _GetEventIntegrationCommand = class _GetEventIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1373
1353
  return [
1374
1354
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1375
1355
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1383,9 +1363,7 @@ var GetEventIntegrationCommand = _GetEventIntegrationCommand;
1383
1363
 
1384
1364
 
1385
1365
 
1386
- var _ListApplicationAssociationsCommand = class _ListApplicationAssociationsCommand extends import_smithy_client.Command.classBuilder().ep({
1387
- ...commonParams
1388
- }).m(function(Command, cs, config, o) {
1366
+ var _ListApplicationAssociationsCommand = class _ListApplicationAssociationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1389
1367
  return [
1390
1368
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1391
1369
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1399,9 +1377,7 @@ var ListApplicationAssociationsCommand = _ListApplicationAssociationsCommand;
1399
1377
 
1400
1378
 
1401
1379
 
1402
- var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smithy_client.Command.classBuilder().ep({
1403
- ...commonParams
1404
- }).m(function(Command, cs, config, o) {
1380
+ var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1405
1381
  return [
1406
1382
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1407
1383
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1415,9 +1391,7 @@ var ListApplicationsCommand = _ListApplicationsCommand;
1415
1391
 
1416
1392
 
1417
1393
 
1418
- var _ListDataIntegrationAssociationsCommand = class _ListDataIntegrationAssociationsCommand extends import_smithy_client.Command.classBuilder().ep({
1419
- ...commonParams
1420
- }).m(function(Command, cs, config, o) {
1394
+ var _ListDataIntegrationAssociationsCommand = class _ListDataIntegrationAssociationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1421
1395
  return [
1422
1396
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1423
1397
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1431,9 +1405,7 @@ var ListDataIntegrationAssociationsCommand = _ListDataIntegrationAssociationsCom
1431
1405
 
1432
1406
 
1433
1407
 
1434
- var _ListDataIntegrationsCommand = class _ListDataIntegrationsCommand extends import_smithy_client.Command.classBuilder().ep({
1435
- ...commonParams
1436
- }).m(function(Command, cs, config, o) {
1408
+ var _ListDataIntegrationsCommand = class _ListDataIntegrationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1437
1409
  return [
1438
1410
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1439
1411
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1447,9 +1419,7 @@ var ListDataIntegrationsCommand = _ListDataIntegrationsCommand;
1447
1419
 
1448
1420
 
1449
1421
 
1450
- var _ListEventIntegrationAssociationsCommand = class _ListEventIntegrationAssociationsCommand extends import_smithy_client.Command.classBuilder().ep({
1451
- ...commonParams
1452
- }).m(function(Command, cs, config, o) {
1422
+ var _ListEventIntegrationAssociationsCommand = class _ListEventIntegrationAssociationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1453
1423
  return [
1454
1424
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1455
1425
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1463,9 +1433,7 @@ var ListEventIntegrationAssociationsCommand = _ListEventIntegrationAssociationsC
1463
1433
 
1464
1434
 
1465
1435
 
1466
- var _ListEventIntegrationsCommand = class _ListEventIntegrationsCommand extends import_smithy_client.Command.classBuilder().ep({
1467
- ...commonParams
1468
- }).m(function(Command, cs, config, o) {
1436
+ var _ListEventIntegrationsCommand = class _ListEventIntegrationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1469
1437
  return [
1470
1438
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1471
1439
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1479,9 +1447,7 @@ var ListEventIntegrationsCommand = _ListEventIntegrationsCommand;
1479
1447
 
1480
1448
 
1481
1449
 
1482
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1483
- ...commonParams
1484
- }).m(function(Command, cs, config, o) {
1450
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1485
1451
  return [
1486
1452
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1487
1453
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1495,9 +1461,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1495
1461
 
1496
1462
 
1497
1463
 
1498
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1499
- ...commonParams
1500
- }).m(function(Command, cs, config, o) {
1464
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1501
1465
  return [
1502
1466
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1503
1467
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1511,9 +1475,7 @@ var TagResourceCommand = _TagResourceCommand;
1511
1475
 
1512
1476
 
1513
1477
 
1514
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1515
- ...commonParams
1516
- }).m(function(Command, cs, config, o) {
1478
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1517
1479
  return [
1518
1480
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1519
1481
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1527,9 +1489,7 @@ var UntagResourceCommand = _UntagResourceCommand;
1527
1489
 
1528
1490
 
1529
1491
 
1530
- var _UpdateApplicationCommand = class _UpdateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
1531
- ...commonParams
1532
- }).m(function(Command, cs, config, o) {
1492
+ var _UpdateApplicationCommand = class _UpdateApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1533
1493
  return [
1534
1494
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1535
1495
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1543,9 +1503,7 @@ var UpdateApplicationCommand = _UpdateApplicationCommand;
1543
1503
 
1544
1504
 
1545
1505
 
1546
- var _UpdateDataIntegrationAssociationCommand = class _UpdateDataIntegrationAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
1547
- ...commonParams
1548
- }).m(function(Command, cs, config, o) {
1506
+ var _UpdateDataIntegrationAssociationCommand = class _UpdateDataIntegrationAssociationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1549
1507
  return [
1550
1508
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1551
1509
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1559,9 +1517,7 @@ var UpdateDataIntegrationAssociationCommand = _UpdateDataIntegrationAssociationC
1559
1517
 
1560
1518
 
1561
1519
 
1562
- var _UpdateDataIntegrationCommand = class _UpdateDataIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
1563
- ...commonParams
1564
- }).m(function(Command, cs, config, o) {
1520
+ var _UpdateDataIntegrationCommand = class _UpdateDataIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1565
1521
  return [
1566
1522
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1567
1523
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1575,9 +1531,7 @@ var UpdateDataIntegrationCommand = _UpdateDataIntegrationCommand;
1575
1531
 
1576
1532
 
1577
1533
 
1578
- var _UpdateEventIntegrationCommand = class _UpdateEventIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
1579
- ...commonParams
1580
- }).m(function(Command, cs, config, o) {
1534
+ var _UpdateEventIntegrationCommand = class _UpdateEventIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1581
1535
  return [
1582
1536
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1583
1537
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_CreateApplicationCommand, se_CreateApplicationCommand } from "../pro
6
6
  export { $Command };
7
7
  export class CreateApplicationCommand 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_CreateDataIntegrationAssociationCommand, se_CreateDataIntegrationAss
6
6
  export { $Command };
7
7
  export class CreateDataIntegrationAssociationCommand 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_CreateDataIntegrationCommand, se_CreateDataIntegrationCommand } from
6
6
  export { $Command };
7
7
  export class CreateDataIntegrationCommand 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_CreateEventIntegrationCommand, se_CreateEventIntegrationCommand } fr
6
6
  export { $Command };
7
7
  export class CreateEventIntegrationCommand 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_DeleteApplicationCommand, se_DeleteApplicationCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteApplicationCommand 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_DeleteDataIntegrationCommand, se_DeleteDataIntegrationCommand } from
6
6
  export { $Command };
7
7
  export class DeleteDataIntegrationCommand 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_DeleteEventIntegrationCommand, se_DeleteEventIntegrationCommand } fr
6
6
  export { $Command };
7
7
  export class DeleteEventIntegrationCommand 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_GetApplicationCommand, se_GetApplicationCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class GetApplicationCommand 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_GetDataIntegrationCommand, se_GetDataIntegrationCommand } from "../p
6
6
  export { $Command };
7
7
  export class GetDataIntegrationCommand 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_GetEventIntegrationCommand, se_GetEventIntegrationCommand } from "..
6
6
  export { $Command };
7
7
  export class GetEventIntegrationCommand 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_ListApplicationAssociationsCommand, se_ListApplicationAssociationsCo
6
6
  export { $Command };
7
7
  export class ListApplicationAssociationsCommand 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_ListApplicationsCommand, se_ListApplicationsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListApplicationsCommand 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_ListDataIntegrationAssociationsCommand, se_ListDataIntegrationAssoci
6
6
  export { $Command };
7
7
  export class ListDataIntegrationAssociationsCommand 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_ListDataIntegrationsCommand, se_ListDataIntegrationsCommand } from "
6
6
  export { $Command };
7
7
  export class ListDataIntegrationsCommand 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_ListEventIntegrationAssociationsCommand, se_ListEventIntegrationAsso
6
6
  export { $Command };
7
7
  export class ListEventIntegrationAssociationsCommand 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_ListEventIntegrationsCommand, se_ListEventIntegrationsCommand } from
6
6
  export { $Command };
7
7
  export class ListEventIntegrationsCommand 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_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_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateApplicationCommand 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_UpdateDataIntegrationAssociationCommand, se_UpdateDataIntegrationAss
6
6
  export { $Command };
7
7
  export class UpdateDataIntegrationAssociationCommand 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_UpdateDataIntegrationCommand, se_UpdateDataIntegrationCommand } from
6
6
  export { $Command };
7
7
  export class UpdateDataIntegrationCommand 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_UpdateEventIntegrationCommand, se_UpdateEventIntegrationCommand } fr
6
6
  export { $Command };
7
7
  export class UpdateEventIntegrationCommand 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: AppIntegrationsClientConfig) =>
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: AppIntegrationsClientConfig) =>
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").AppIntegrationsHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: AppIntegrationsClientConfig) =>
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: AppIntegrationsClientConfig) =>
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").AppIntegrationsHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: AppIntegrationsClientConfig) =>
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: AppIntegrationsClientConfig) =>
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").AppIntegrationsHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
28
29
  urlParser: import("@smithy/types").UrlParser;
29
30
  base64Decoder: import("@smithy/types").Decoder;
30
31
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (
63
64
  }
64
65
  ) => import("@smithy/types").EndpointV2;
65
66
  tls?: boolean | undefined;
67
+ serviceConfiguredEndpoint?: undefined;
66
68
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
67
69
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppIntegrationsHttpAuthSchemeProvider;
68
70
  credentials?:
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (
29
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
31
  apiVersion: string;
32
+ cacheMiddleware?: boolean | undefined;
32
33
  urlParser: import("@smithy/types").UrlParser;
33
34
  base64Decoder: import("@smithy/types").Decoder;
34
35
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -67,6 +68,7 @@ export declare const getRuntimeConfig: (
67
68
  }
68
69
  ) => import("@smithy/types").EndpointV2;
69
70
  tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
70
72
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
71
73
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppIntegrationsHttpAuthSchemeProvider;
72
74
  credentials?:
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
+ cacheMiddleware?: boolean | undefined;
14
15
  urlParser: import("@smithy/types").UrlParser;
15
16
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (
57
58
  }
58
59
  ) => import("@smithy/types").EndpointV2;
59
60
  tls?: boolean | undefined;
61
+ serviceConfiguredEndpoint?: undefined;
60
62
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
61
63
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppIntegrationsHttpAuthSchemeProvider;
62
64
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appintegrations",
3
3
  "description": "AWS SDK for JavaScript Appintegrations Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
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-appintegrations",
@@ -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.645.0",
24
- "@aws-sdk/client-sts": "3.645.0",
25
- "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.645.0",
27
- "@aws-sdk/middleware-host-header": "3.620.0",
28
- "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.645.0",
31
- "@aws-sdk/region-config-resolver": "3.614.0",
32
- "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.645.0",
34
- "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.614.0",
36
- "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.4.0",
38
- "@smithy/fetch-http-handler": "^3.2.4",
39
- "@smithy/hash-node": "^3.0.3",
40
- "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.5",
42
- "@smithy/middleware-endpoint": "^3.1.0",
43
- "@smithy/middleware-retry": "^3.0.15",
44
- "@smithy/middleware-serde": "^3.0.3",
45
- "@smithy/middleware-stack": "^3.0.3",
46
- "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.4",
48
- "@smithy/protocol-http": "^4.1.0",
49
- "@smithy/smithy-client": "^3.2.0",
50
- "@smithy/types": "^3.3.0",
51
- "@smithy/url-parser": "^3.0.3",
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.15",
56
- "@smithy/util-defaults-mode-node": "^3.0.15",
57
- "@smithy/util-endpoints": "^2.0.5",
58
- "@smithy/util-middleware": "^3.0.3",
59
- "@smithy/util-retry": "^3.0.3",
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
  "uuid": "^9.0.1"