@aws-sdk/client-medical-imaging 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 (28) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +18 -54
  3. package/dist-es/commands/CopyImageSetCommand.js +1 -3
  4. package/dist-es/commands/CreateDatastoreCommand.js +1 -3
  5. package/dist-es/commands/DeleteDatastoreCommand.js +1 -3
  6. package/dist-es/commands/DeleteImageSetCommand.js +1 -3
  7. package/dist-es/commands/GetDICOMImportJobCommand.js +1 -3
  8. package/dist-es/commands/GetDatastoreCommand.js +1 -3
  9. package/dist-es/commands/GetImageFrameCommand.js +1 -3
  10. package/dist-es/commands/GetImageSetCommand.js +1 -3
  11. package/dist-es/commands/GetImageSetMetadataCommand.js +1 -3
  12. package/dist-es/commands/ListDICOMImportJobsCommand.js +1 -3
  13. package/dist-es/commands/ListDatastoresCommand.js +1 -3
  14. package/dist-es/commands/ListImageSetVersionsCommand.js +1 -3
  15. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  16. package/dist-es/commands/SearchImageSetsCommand.js +1 -3
  17. package/dist-es/commands/StartDICOMImportJobCommand.js +1 -3
  18. package/dist-es/commands/TagResourceCommand.js +1 -3
  19. package/dist-es/commands/UntagResourceCommand.js +1 -3
  20. package/dist-es/commands/UpdateImageSetMetadataCommand.js +1 -3
  21. package/dist-es/endpoint/endpointResolver.js +7 -3
  22. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  23. package/dist-types/runtimeConfig.d.ts +2 -0
  24. package/dist-types/runtimeConfig.native.d.ts +2 -0
  25. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  26. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  27. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  28. package/package.json +36 -36
@@ -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
@@ -1479,9 +1479,7 @@ var _v = "version";
1479
1479
  var _vI = "versionId";
1480
1480
 
1481
1481
  // src/commands/CopyImageSetCommand.ts
1482
- var _CopyImageSetCommand = class _CopyImageSetCommand extends import_smithy_client.Command.classBuilder().ep({
1483
- ...commonParams
1484
- }).m(function(Command, cs, config, o) {
1482
+ var _CopyImageSetCommand = class _CopyImageSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1485
1483
  return [
1486
1484
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1487
1485
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1495,9 +1493,7 @@ var CopyImageSetCommand = _CopyImageSetCommand;
1495
1493
 
1496
1494
 
1497
1495
 
1498
- var _CreateDatastoreCommand = class _CreateDatastoreCommand extends import_smithy_client.Command.classBuilder().ep({
1499
- ...commonParams
1500
- }).m(function(Command, cs, config, o) {
1496
+ var _CreateDatastoreCommand = class _CreateDatastoreCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1501
1497
  return [
1502
1498
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1503
1499
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1511,9 +1507,7 @@ var CreateDatastoreCommand = _CreateDatastoreCommand;
1511
1507
 
1512
1508
 
1513
1509
 
1514
- var _DeleteDatastoreCommand = class _DeleteDatastoreCommand extends import_smithy_client.Command.classBuilder().ep({
1515
- ...commonParams
1516
- }).m(function(Command, cs, config, o) {
1510
+ var _DeleteDatastoreCommand = class _DeleteDatastoreCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1517
1511
  return [
1518
1512
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1519
1513
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1527,9 +1521,7 @@ var DeleteDatastoreCommand = _DeleteDatastoreCommand;
1527
1521
 
1528
1522
 
1529
1523
 
1530
- var _DeleteImageSetCommand = class _DeleteImageSetCommand extends import_smithy_client.Command.classBuilder().ep({
1531
- ...commonParams
1532
- }).m(function(Command, cs, config, o) {
1524
+ var _DeleteImageSetCommand = class _DeleteImageSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1533
1525
  return [
1534
1526
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1535
1527
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1543,9 +1535,7 @@ var DeleteImageSetCommand = _DeleteImageSetCommand;
1543
1535
 
1544
1536
 
1545
1537
 
1546
- var _GetDatastoreCommand = class _GetDatastoreCommand extends import_smithy_client.Command.classBuilder().ep({
1547
- ...commonParams
1548
- }).m(function(Command, cs, config, o) {
1538
+ var _GetDatastoreCommand = class _GetDatastoreCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1549
1539
  return [
1550
1540
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1551
1541
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1559,9 +1549,7 @@ var GetDatastoreCommand = _GetDatastoreCommand;
1559
1549
 
1560
1550
 
1561
1551
 
1562
- var _GetDICOMImportJobCommand = class _GetDICOMImportJobCommand extends import_smithy_client.Command.classBuilder().ep({
1563
- ...commonParams
1564
- }).m(function(Command, cs, config, o) {
1552
+ var _GetDICOMImportJobCommand = class _GetDICOMImportJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1565
1553
  return [
1566
1554
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1567
1555
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1575,9 +1563,7 @@ var GetDICOMImportJobCommand = _GetDICOMImportJobCommand;
1575
1563
 
1576
1564
 
1577
1565
 
1578
- var _GetImageFrameCommand = class _GetImageFrameCommand extends import_smithy_client.Command.classBuilder().ep({
1579
- ...commonParams
1580
- }).m(function(Command, cs, config, o) {
1566
+ var _GetImageFrameCommand = class _GetImageFrameCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1581
1567
  return [
1582
1568
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1583
1569
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1591,9 +1577,7 @@ var GetImageFrameCommand = _GetImageFrameCommand;
1591
1577
 
1592
1578
 
1593
1579
 
1594
- var _GetImageSetCommand = class _GetImageSetCommand extends import_smithy_client.Command.classBuilder().ep({
1595
- ...commonParams
1596
- }).m(function(Command, cs, config, o) {
1580
+ var _GetImageSetCommand = class _GetImageSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1597
1581
  return [
1598
1582
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1599
1583
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1607,9 +1591,7 @@ var GetImageSetCommand = _GetImageSetCommand;
1607
1591
 
1608
1592
 
1609
1593
 
1610
- var _GetImageSetMetadataCommand = class _GetImageSetMetadataCommand extends import_smithy_client.Command.classBuilder().ep({
1611
- ...commonParams
1612
- }).m(function(Command, cs, config, o) {
1594
+ var _GetImageSetMetadataCommand = class _GetImageSetMetadataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1613
1595
  return [
1614
1596
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1615
1597
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1623,9 +1605,7 @@ var GetImageSetMetadataCommand = _GetImageSetMetadataCommand;
1623
1605
 
1624
1606
 
1625
1607
 
1626
- var _ListDatastoresCommand = class _ListDatastoresCommand extends import_smithy_client.Command.classBuilder().ep({
1627
- ...commonParams
1628
- }).m(function(Command, cs, config, o) {
1608
+ var _ListDatastoresCommand = class _ListDatastoresCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1629
1609
  return [
1630
1610
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1631
1611
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1639,9 +1619,7 @@ var ListDatastoresCommand = _ListDatastoresCommand;
1639
1619
 
1640
1620
 
1641
1621
 
1642
- var _ListDICOMImportJobsCommand = class _ListDICOMImportJobsCommand extends import_smithy_client.Command.classBuilder().ep({
1643
- ...commonParams
1644
- }).m(function(Command, cs, config, o) {
1622
+ var _ListDICOMImportJobsCommand = class _ListDICOMImportJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1645
1623
  return [
1646
1624
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1647
1625
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1655,9 +1633,7 @@ var ListDICOMImportJobsCommand = _ListDICOMImportJobsCommand;
1655
1633
 
1656
1634
 
1657
1635
 
1658
- var _ListImageSetVersionsCommand = class _ListImageSetVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
1659
- ...commonParams
1660
- }).m(function(Command, cs, config, o) {
1636
+ var _ListImageSetVersionsCommand = class _ListImageSetVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1661
1637
  return [
1662
1638
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1663
1639
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1671,9 +1647,7 @@ var ListImageSetVersionsCommand = _ListImageSetVersionsCommand;
1671
1647
 
1672
1648
 
1673
1649
 
1674
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1675
- ...commonParams
1676
- }).m(function(Command, cs, config, o) {
1650
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1677
1651
  return [
1678
1652
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1679
1653
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1687,9 +1661,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1687
1661
 
1688
1662
 
1689
1663
 
1690
- var _SearchImageSetsCommand = class _SearchImageSetsCommand extends import_smithy_client.Command.classBuilder().ep({
1691
- ...commonParams
1692
- }).m(function(Command, cs, config, o) {
1664
+ var _SearchImageSetsCommand = class _SearchImageSetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1693
1665
  return [
1694
1666
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1695
1667
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1703,9 +1675,7 @@ var SearchImageSetsCommand = _SearchImageSetsCommand;
1703
1675
 
1704
1676
 
1705
1677
 
1706
- var _StartDICOMImportJobCommand = class _StartDICOMImportJobCommand extends import_smithy_client.Command.classBuilder().ep({
1707
- ...commonParams
1708
- }).m(function(Command, cs, config, o) {
1678
+ var _StartDICOMImportJobCommand = class _StartDICOMImportJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1709
1679
  return [
1710
1680
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1711
1681
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1719,9 +1689,7 @@ var StartDICOMImportJobCommand = _StartDICOMImportJobCommand;
1719
1689
 
1720
1690
 
1721
1691
 
1722
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1723
- ...commonParams
1724
- }).m(function(Command, cs, config, o) {
1692
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1725
1693
  return [
1726
1694
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1727
1695
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1735,9 +1703,7 @@ var TagResourceCommand = _TagResourceCommand;
1735
1703
 
1736
1704
 
1737
1705
 
1738
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1739
- ...commonParams
1740
- }).m(function(Command, cs, config, o) {
1706
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1741
1707
  return [
1742
1708
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1743
1709
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1751,9 +1717,7 @@ var UntagResourceCommand = _UntagResourceCommand;
1751
1717
 
1752
1718
 
1753
1719
 
1754
- var _UpdateImageSetMetadataCommand = class _UpdateImageSetMetadataCommand extends import_smithy_client.Command.classBuilder().ep({
1755
- ...commonParams
1756
- }).m(function(Command, cs, config, o) {
1720
+ var _UpdateImageSetMetadataCommand = class _UpdateImageSetMetadataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1757
1721
  return [
1758
1722
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1759
1723
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_CopyImageSetCommand, se_CopyImageSetCommand } from "../protocols/Aws
7
7
  export { $Command };
8
8
  export class CopyImageSetCommand 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_CreateDatastoreCommand, se_CreateDatastoreCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class CreateDatastoreCommand 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_DeleteDatastoreCommand, se_DeleteDatastoreCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class DeleteDatastoreCommand 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_DeleteImageSetCommand, se_DeleteImageSetCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DeleteImageSetCommand 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_GetDICOMImportJobCommand, se_GetDICOMImportJobCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetDICOMImportJobCommand 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_GetDatastoreCommand, se_GetDatastoreCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class GetDatastoreCommand 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_GetImageFrameCommand, se_GetImageFrameCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class GetImageFrameCommand 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_GetImageSetCommand, se_GetImageSetCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class GetImageSetCommand 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_GetImageSetMetadataCommand, se_GetImageSetMetadataCommand } from "..
7
7
  export { $Command };
8
8
  export class GetImageSetMetadataCommand 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_ListDICOMImportJobsCommand, se_ListDICOMImportJobsCommand } from "..
6
6
  export { $Command };
7
7
  export class ListDICOMImportJobsCommand 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_ListDatastoresCommand, se_ListDatastoresCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListDatastoresCommand 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_ListImageSetVersionsCommand, se_ListImageSetVersionsCommand } from "
6
6
  export { $Command };
7
7
  export class ListImageSetVersionsCommand 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),
@@ -7,9 +7,7 @@ import { de_SearchImageSetsCommand, se_SearchImageSetsCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class SearchImageSetsCommand 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_StartDICOMImportJobCommand, se_StartDICOMImportJobCommand } from "..
6
6
  export { $Command };
7
7
  export class StartDICOMImportJobCommand 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),
@@ -7,9 +7,7 @@ import { de_UpdateImageSetMetadataCommand, se_UpdateImageSetMetadataCommand } fr
7
7
  export { $Command };
8
8
  export class UpdateImageSetMetadataCommand 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),
@@ -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: MedicalImagingClientConfig) => {
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;
@@ -35,6 +36,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
35
36
  logger?: import("@smithy/types").Logger | undefined;
36
37
  }) => import("@smithy/types").EndpointV2;
37
38
  tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
38
40
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
39
41
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
40
42
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
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;
@@ -35,6 +36,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
35
36
  logger?: import("@smithy/types").Logger | undefined;
36
37
  }) => import("@smithy/types").EndpointV2;
37
38
  tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
38
40
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
39
41
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
40
42
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
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;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
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").MedicalImagingHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
25
  apiVersion: string;
26
+ cacheMiddleware?: boolean | undefined;
26
27
  urlParser: import("@smithy/types").UrlParser;
27
28
  base64Decoder: import("@smithy/types").Decoder;
28
29
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -62,6 +63,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
62
63
  }
63
64
  ) => import("@smithy/types").EndpointV2;
64
65
  tls?: boolean | undefined;
66
+ serviceConfiguredEndpoint?: undefined;
65
67
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
66
68
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
67
69
  credentials?:
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  apiVersion: string;
30
+ cacheMiddleware?: boolean | undefined;
30
31
  urlParser: import("@smithy/types").UrlParser;
31
32
  base64Decoder: import("@smithy/types").Decoder;
32
33
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -66,6 +67,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
66
67
  }
67
68
  ) => import("@smithy/types").EndpointV2;
68
69
  tls?: boolean | undefined;
70
+ serviceConfiguredEndpoint?: undefined;
69
71
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
70
72
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
71
73
  credentials?:
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
12
13
  urlParser: import("@smithy/types").UrlParser;
13
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -56,6 +57,7 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
56
57
  }
57
58
  ) => import("@smithy/types").EndpointV2;
58
59
  tls?: boolean | undefined;
60
+ serviceConfiguredEndpoint?: undefined;
59
61
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
60
62
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
61
63
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-medical-imaging",
3
3
  "description": "AWS SDK for JavaScript Medical Imaging 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-medical-imaging",
@@ -20,44 +20,44 @@
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",
60
- "@smithy/util-stream": "^3.1.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
+ "@smithy/util-stream": "^3.1.4",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"