@aws-sdk/client-batch 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.
Files changed (29) hide show
  1. package/dist-cjs/index.js +25 -75
  2. package/dist-es/commands/CancelJobCommand.js +1 -3
  3. package/dist-es/commands/CreateComputeEnvironmentCommand.js +1 -3
  4. package/dist-es/commands/CreateJobQueueCommand.js +1 -3
  5. package/dist-es/commands/CreateSchedulingPolicyCommand.js +1 -3
  6. package/dist-es/commands/DeleteComputeEnvironmentCommand.js +1 -3
  7. package/dist-es/commands/DeleteJobQueueCommand.js +1 -3
  8. package/dist-es/commands/DeleteSchedulingPolicyCommand.js +1 -3
  9. package/dist-es/commands/DeregisterJobDefinitionCommand.js +1 -3
  10. package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +1 -3
  11. package/dist-es/commands/DescribeJobDefinitionsCommand.js +1 -3
  12. package/dist-es/commands/DescribeJobQueuesCommand.js +1 -3
  13. package/dist-es/commands/DescribeJobsCommand.js +1 -3
  14. package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +1 -3
  15. package/dist-es/commands/GetJobQueueSnapshotCommand.js +1 -3
  16. package/dist-es/commands/ListJobsCommand.js +1 -3
  17. package/dist-es/commands/ListSchedulingPoliciesCommand.js +1 -3
  18. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  19. package/dist-es/commands/RegisterJobDefinitionCommand.js +1 -3
  20. package/dist-es/commands/SubmitJobCommand.js +1 -3
  21. package/dist-es/commands/TagResourceCommand.js +1 -3
  22. package/dist-es/commands/TerminateJobCommand.js +1 -3
  23. package/dist-es/commands/UntagResourceCommand.js +1 -3
  24. package/dist-es/commands/UpdateComputeEnvironmentCommand.js +1 -3
  25. package/dist-es/commands/UpdateJobQueueCommand.js +1 -3
  26. package/dist-es/commands/UpdateSchedulingPolicyCommand.js +1 -3
  27. package/dist-es/endpoint/endpointResolver.js +7 -3
  28. package/package.json +5 -5
  29. package/dist-types/tsdoc-metadata.json +0 -11
package/dist-cjs/index.js CHANGED
@@ -1364,9 +1364,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1364
1364
  var _tK = "tagKeys";
1365
1365
 
1366
1366
  // src/commands/CancelJobCommand.ts
1367
- var _CancelJobCommand = class _CancelJobCommand extends import_smithy_client.Command.classBuilder().ep({
1368
- ...commonParams
1369
- }).m(function(Command, cs, config, o) {
1367
+ var _CancelJobCommand = class _CancelJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1370
1368
  return [
1371
1369
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1372
1370
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1380,9 +1378,7 @@ var CancelJobCommand = _CancelJobCommand;
1380
1378
 
1381
1379
 
1382
1380
 
1383
- var _CreateComputeEnvironmentCommand = class _CreateComputeEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1384
- ...commonParams
1385
- }).m(function(Command, cs, config, o) {
1381
+ var _CreateComputeEnvironmentCommand = class _CreateComputeEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1386
1382
  return [
1387
1383
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1388
1384
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1396,9 +1392,7 @@ var CreateComputeEnvironmentCommand = _CreateComputeEnvironmentCommand;
1396
1392
 
1397
1393
 
1398
1394
 
1399
- var _CreateJobQueueCommand = class _CreateJobQueueCommand extends import_smithy_client.Command.classBuilder().ep({
1400
- ...commonParams
1401
- }).m(function(Command, cs, config, o) {
1395
+ var _CreateJobQueueCommand = class _CreateJobQueueCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1402
1396
  return [
1403
1397
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1404
1398
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1412,9 +1406,7 @@ var CreateJobQueueCommand = _CreateJobQueueCommand;
1412
1406
 
1413
1407
 
1414
1408
 
1415
- var _CreateSchedulingPolicyCommand = class _CreateSchedulingPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1416
- ...commonParams
1417
- }).m(function(Command, cs, config, o) {
1409
+ var _CreateSchedulingPolicyCommand = class _CreateSchedulingPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1418
1410
  return [
1419
1411
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1420
1412
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1428,9 +1420,7 @@ var CreateSchedulingPolicyCommand = _CreateSchedulingPolicyCommand;
1428
1420
 
1429
1421
 
1430
1422
 
1431
- var _DeleteComputeEnvironmentCommand = class _DeleteComputeEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1432
- ...commonParams
1433
- }).m(function(Command, cs, config, o) {
1423
+ var _DeleteComputeEnvironmentCommand = class _DeleteComputeEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1434
1424
  return [
1435
1425
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1436
1426
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1444,9 +1434,7 @@ var DeleteComputeEnvironmentCommand = _DeleteComputeEnvironmentCommand;
1444
1434
 
1445
1435
 
1446
1436
 
1447
- var _DeleteJobQueueCommand = class _DeleteJobQueueCommand extends import_smithy_client.Command.classBuilder().ep({
1448
- ...commonParams
1449
- }).m(function(Command, cs, config, o) {
1437
+ var _DeleteJobQueueCommand = class _DeleteJobQueueCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1450
1438
  return [
1451
1439
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1452
1440
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1460,9 +1448,7 @@ var DeleteJobQueueCommand = _DeleteJobQueueCommand;
1460
1448
 
1461
1449
 
1462
1450
 
1463
- var _DeleteSchedulingPolicyCommand = class _DeleteSchedulingPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1464
- ...commonParams
1465
- }).m(function(Command, cs, config, o) {
1451
+ var _DeleteSchedulingPolicyCommand = class _DeleteSchedulingPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1466
1452
  return [
1467
1453
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1468
1454
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1476,9 +1462,7 @@ var DeleteSchedulingPolicyCommand = _DeleteSchedulingPolicyCommand;
1476
1462
 
1477
1463
 
1478
1464
 
1479
- var _DeregisterJobDefinitionCommand = class _DeregisterJobDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
1480
- ...commonParams
1481
- }).m(function(Command, cs, config, o) {
1465
+ var _DeregisterJobDefinitionCommand = class _DeregisterJobDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1482
1466
  return [
1483
1467
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1484
1468
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1492,9 +1476,7 @@ var DeregisterJobDefinitionCommand = _DeregisterJobDefinitionCommand;
1492
1476
 
1493
1477
 
1494
1478
 
1495
- var _DescribeComputeEnvironmentsCommand = class _DescribeComputeEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep({
1496
- ...commonParams
1497
- }).m(function(Command, cs, config, o) {
1479
+ var _DescribeComputeEnvironmentsCommand = class _DescribeComputeEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1498
1480
  return [
1499
1481
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1500
1482
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1508,9 +1490,7 @@ var DescribeComputeEnvironmentsCommand = _DescribeComputeEnvironmentsCommand;
1508
1490
 
1509
1491
 
1510
1492
 
1511
- var _DescribeJobDefinitionsCommand = class _DescribeJobDefinitionsCommand extends import_smithy_client.Command.classBuilder().ep({
1512
- ...commonParams
1513
- }).m(function(Command, cs, config, o) {
1493
+ var _DescribeJobDefinitionsCommand = class _DescribeJobDefinitionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1514
1494
  return [
1515
1495
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1516
1496
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1524,9 +1504,7 @@ var DescribeJobDefinitionsCommand = _DescribeJobDefinitionsCommand;
1524
1504
 
1525
1505
 
1526
1506
 
1527
- var _DescribeJobQueuesCommand = class _DescribeJobQueuesCommand extends import_smithy_client.Command.classBuilder().ep({
1528
- ...commonParams
1529
- }).m(function(Command, cs, config, o) {
1507
+ var _DescribeJobQueuesCommand = class _DescribeJobQueuesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1530
1508
  return [
1531
1509
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1532
1510
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1540,9 +1518,7 @@ var DescribeJobQueuesCommand = _DescribeJobQueuesCommand;
1540
1518
 
1541
1519
 
1542
1520
 
1543
- var _DescribeJobsCommand = class _DescribeJobsCommand extends import_smithy_client.Command.classBuilder().ep({
1544
- ...commonParams
1545
- }).m(function(Command, cs, config, o) {
1521
+ var _DescribeJobsCommand = class _DescribeJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1546
1522
  return [
1547
1523
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1548
1524
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1556,9 +1532,7 @@ var DescribeJobsCommand = _DescribeJobsCommand;
1556
1532
 
1557
1533
 
1558
1534
 
1559
- var _DescribeSchedulingPoliciesCommand = class _DescribeSchedulingPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
1560
- ...commonParams
1561
- }).m(function(Command, cs, config, o) {
1535
+ var _DescribeSchedulingPoliciesCommand = class _DescribeSchedulingPoliciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1562
1536
  return [
1563
1537
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1564
1538
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1572,9 +1546,7 @@ var DescribeSchedulingPoliciesCommand = _DescribeSchedulingPoliciesCommand;
1572
1546
 
1573
1547
 
1574
1548
 
1575
- var _GetJobQueueSnapshotCommand = class _GetJobQueueSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
1576
- ...commonParams
1577
- }).m(function(Command, cs, config, o) {
1549
+ var _GetJobQueueSnapshotCommand = class _GetJobQueueSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1578
1550
  return [
1579
1551
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1580
1552
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1588,9 +1560,7 @@ var GetJobQueueSnapshotCommand = _GetJobQueueSnapshotCommand;
1588
1560
 
1589
1561
 
1590
1562
 
1591
- var _ListJobsCommand = class _ListJobsCommand extends import_smithy_client.Command.classBuilder().ep({
1592
- ...commonParams
1593
- }).m(function(Command, cs, config, o) {
1563
+ var _ListJobsCommand = class _ListJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1594
1564
  return [
1595
1565
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1596
1566
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1604,9 +1574,7 @@ var ListJobsCommand = _ListJobsCommand;
1604
1574
 
1605
1575
 
1606
1576
 
1607
- var _ListSchedulingPoliciesCommand = class _ListSchedulingPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
1608
- ...commonParams
1609
- }).m(function(Command, cs, config, o) {
1577
+ var _ListSchedulingPoliciesCommand = class _ListSchedulingPoliciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1610
1578
  return [
1611
1579
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1612
1580
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1620,9 +1588,7 @@ var ListSchedulingPoliciesCommand = _ListSchedulingPoliciesCommand;
1620
1588
 
1621
1589
 
1622
1590
 
1623
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1624
- ...commonParams
1625
- }).m(function(Command, cs, config, o) {
1591
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1626
1592
  return [
1627
1593
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1628
1594
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1636,9 +1602,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1636
1602
 
1637
1603
 
1638
1604
 
1639
- var _RegisterJobDefinitionCommand = class _RegisterJobDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
1640
- ...commonParams
1641
- }).m(function(Command, cs, config, o) {
1605
+ var _RegisterJobDefinitionCommand = class _RegisterJobDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1642
1606
  return [
1643
1607
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1644
1608
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1652,9 +1616,7 @@ var RegisterJobDefinitionCommand = _RegisterJobDefinitionCommand;
1652
1616
 
1653
1617
 
1654
1618
 
1655
- var _SubmitJobCommand = class _SubmitJobCommand extends import_smithy_client.Command.classBuilder().ep({
1656
- ...commonParams
1657
- }).m(function(Command, cs, config, o) {
1619
+ var _SubmitJobCommand = class _SubmitJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1658
1620
  return [
1659
1621
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1660
1622
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1668,9 +1630,7 @@ var SubmitJobCommand = _SubmitJobCommand;
1668
1630
 
1669
1631
 
1670
1632
 
1671
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1672
- ...commonParams
1673
- }).m(function(Command, cs, config, o) {
1633
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1674
1634
  return [
1675
1635
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1676
1636
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1684,9 +1644,7 @@ var TagResourceCommand = _TagResourceCommand;
1684
1644
 
1685
1645
 
1686
1646
 
1687
- var _TerminateJobCommand = class _TerminateJobCommand extends import_smithy_client.Command.classBuilder().ep({
1688
- ...commonParams
1689
- }).m(function(Command, cs, config, o) {
1647
+ var _TerminateJobCommand = class _TerminateJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1690
1648
  return [
1691
1649
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1692
1650
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1700,9 +1658,7 @@ var TerminateJobCommand = _TerminateJobCommand;
1700
1658
 
1701
1659
 
1702
1660
 
1703
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1704
- ...commonParams
1705
- }).m(function(Command, cs, config, o) {
1661
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1706
1662
  return [
1707
1663
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1708
1664
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1716,9 +1672,7 @@ var UntagResourceCommand = _UntagResourceCommand;
1716
1672
 
1717
1673
 
1718
1674
 
1719
- var _UpdateComputeEnvironmentCommand = class _UpdateComputeEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1720
- ...commonParams
1721
- }).m(function(Command, cs, config, o) {
1675
+ var _UpdateComputeEnvironmentCommand = class _UpdateComputeEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1722
1676
  return [
1723
1677
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1724
1678
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1732,9 +1686,7 @@ var UpdateComputeEnvironmentCommand = _UpdateComputeEnvironmentCommand;
1732
1686
 
1733
1687
 
1734
1688
 
1735
- var _UpdateJobQueueCommand = class _UpdateJobQueueCommand extends import_smithy_client.Command.classBuilder().ep({
1736
- ...commonParams
1737
- }).m(function(Command, cs, config, o) {
1689
+ var _UpdateJobQueueCommand = class _UpdateJobQueueCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1738
1690
  return [
1739
1691
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1740
1692
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1748,9 +1700,7 @@ var UpdateJobQueueCommand = _UpdateJobQueueCommand;
1748
1700
 
1749
1701
 
1750
1702
 
1751
- var _UpdateSchedulingPolicyCommand = class _UpdateSchedulingPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1752
- ...commonParams
1753
- }).m(function(Command, cs, config, o) {
1703
+ var _UpdateSchedulingPolicyCommand = class _UpdateSchedulingPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1754
1704
  return [
1755
1705
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1756
1706
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_CancelJobCommand, se_CancelJobCommand } from "../protocols/Aws_restJ
6
6
  export { $Command };
7
7
  export class CancelJobCommand 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_CreateComputeEnvironmentCommand, se_CreateComputeEnvironmentCommand
6
6
  export { $Command };
7
7
  export class CreateComputeEnvironmentCommand 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_CreateJobQueueCommand, se_CreateJobQueueCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class CreateJobQueueCommand 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_CreateSchedulingPolicyCommand, se_CreateSchedulingPolicyCommand } fr
6
6
  export { $Command };
7
7
  export class CreateSchedulingPolicyCommand 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_DeleteComputeEnvironmentCommand, se_DeleteComputeEnvironmentCommand
6
6
  export { $Command };
7
7
  export class DeleteComputeEnvironmentCommand 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_DeleteJobQueueCommand, se_DeleteJobQueueCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DeleteJobQueueCommand 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_DeleteSchedulingPolicyCommand, se_DeleteSchedulingPolicyCommand } fr
6
6
  export { $Command };
7
7
  export class DeleteSchedulingPolicyCommand 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_DeregisterJobDefinitionCommand, se_DeregisterJobDefinitionCommand }
6
6
  export { $Command };
7
7
  export class DeregisterJobDefinitionCommand 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_DescribeComputeEnvironmentsCommand, se_DescribeComputeEnvironmentsCo
6
6
  export { $Command };
7
7
  export class DescribeComputeEnvironmentsCommand 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_DescribeJobDefinitionsCommand, se_DescribeJobDefinitionsCommand } fr
6
6
  export { $Command };
7
7
  export class DescribeJobDefinitionsCommand 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_DescribeJobQueuesCommand, se_DescribeJobQueuesCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DescribeJobQueuesCommand 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_DescribeJobsCommand, se_DescribeJobsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DescribeJobsCommand 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_DescribeSchedulingPoliciesCommand, se_DescribeSchedulingPoliciesComm
6
6
  export { $Command };
7
7
  export class DescribeSchedulingPoliciesCommand 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_GetJobQueueSnapshotCommand, se_GetJobQueueSnapshotCommand } from "..
6
6
  export { $Command };
7
7
  export class GetJobQueueSnapshotCommand 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_ListJobsCommand, se_ListJobsCommand } from "../protocols/Aws_restJso
6
6
  export { $Command };
7
7
  export class ListJobsCommand 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_ListSchedulingPoliciesCommand, se_ListSchedulingPoliciesCommand } fr
6
6
  export { $Command };
7
7
  export class ListSchedulingPoliciesCommand 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_RegisterJobDefinitionCommand, se_RegisterJobDefinitionCommand } from
6
6
  export { $Command };
7
7
  export class RegisterJobDefinitionCommand 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_SubmitJobCommand, se_SubmitJobCommand } from "../protocols/Aws_restJ
6
6
  export { $Command };
7
7
  export class SubmitJobCommand 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_TerminateJobCommand, se_TerminateJobCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class TerminateJobCommand 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_UpdateComputeEnvironmentCommand, se_UpdateComputeEnvironmentCommand
6
6
  export { $Command };
7
7
  export class UpdateComputeEnvironmentCommand 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_UpdateJobQueueCommand, se_UpdateJobQueueCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class UpdateJobQueueCommand 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_UpdateSchedulingPolicyCommand, se_UpdateSchedulingPolicyCommand } fr
6
6
  export { $Command };
7
7
  export class UpdateSchedulingPolicyCommand 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-batch",
3
3
  "description": "AWS SDK for JavaScript Batch 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-batch",
@@ -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
- }