@aws-sdk/client-mediapackage 3.649.0 → 3.650.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1634,9 +1634,7 @@ var _nT = "nextToken";
1634
1634
  var _tK = "tagKeys";
1635
1635
 
1636
1636
  // src/commands/ConfigureLogsCommand.ts
1637
- var _ConfigureLogsCommand = class _ConfigureLogsCommand extends import_smithy_client.Command.classBuilder().ep({
1638
- ...commonParams
1639
- }).m(function(Command, cs, config, o) {
1637
+ var _ConfigureLogsCommand = class _ConfigureLogsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1640
1638
  return [
1641
1639
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1642
1640
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1650,9 +1648,7 @@ var ConfigureLogsCommand = _ConfigureLogsCommand;
1650
1648
 
1651
1649
 
1652
1650
 
1653
- var _CreateChannelCommand = class _CreateChannelCommand extends import_smithy_client.Command.classBuilder().ep({
1654
- ...commonParams
1655
- }).m(function(Command, cs, config, o) {
1651
+ var _CreateChannelCommand = class _CreateChannelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1656
1652
  return [
1657
1653
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1658
1654
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1666,9 +1662,7 @@ var CreateChannelCommand = _CreateChannelCommand;
1666
1662
 
1667
1663
 
1668
1664
 
1669
- var _CreateHarvestJobCommand = class _CreateHarvestJobCommand extends import_smithy_client.Command.classBuilder().ep({
1670
- ...commonParams
1671
- }).m(function(Command, cs, config, o) {
1665
+ var _CreateHarvestJobCommand = class _CreateHarvestJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1672
1666
  return [
1673
1667
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1674
1668
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1682,9 +1676,7 @@ var CreateHarvestJobCommand = _CreateHarvestJobCommand;
1682
1676
 
1683
1677
 
1684
1678
 
1685
- var _CreateOriginEndpointCommand = class _CreateOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
1686
- ...commonParams
1687
- }).m(function(Command, cs, config, o) {
1679
+ var _CreateOriginEndpointCommand = class _CreateOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1688
1680
  return [
1689
1681
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1690
1682
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1698,9 +1690,7 @@ var CreateOriginEndpointCommand = _CreateOriginEndpointCommand;
1698
1690
 
1699
1691
 
1700
1692
 
1701
- var _DeleteChannelCommand = class _DeleteChannelCommand extends import_smithy_client.Command.classBuilder().ep({
1702
- ...commonParams
1703
- }).m(function(Command, cs, config, o) {
1693
+ var _DeleteChannelCommand = class _DeleteChannelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1704
1694
  return [
1705
1695
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1706
1696
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1714,9 +1704,7 @@ var DeleteChannelCommand = _DeleteChannelCommand;
1714
1704
 
1715
1705
 
1716
1706
 
1717
- var _DeleteOriginEndpointCommand = class _DeleteOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
1718
- ...commonParams
1719
- }).m(function(Command, cs, config, o) {
1707
+ var _DeleteOriginEndpointCommand = class _DeleteOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1720
1708
  return [
1721
1709
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1722
1710
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1730,9 +1718,7 @@ var DeleteOriginEndpointCommand = _DeleteOriginEndpointCommand;
1730
1718
 
1731
1719
 
1732
1720
 
1733
- var _DescribeChannelCommand = class _DescribeChannelCommand extends import_smithy_client.Command.classBuilder().ep({
1734
- ...commonParams
1735
- }).m(function(Command, cs, config, o) {
1721
+ var _DescribeChannelCommand = class _DescribeChannelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1736
1722
  return [
1737
1723
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1738
1724
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1746,9 +1732,7 @@ var DescribeChannelCommand = _DescribeChannelCommand;
1746
1732
 
1747
1733
 
1748
1734
 
1749
- var _DescribeHarvestJobCommand = class _DescribeHarvestJobCommand extends import_smithy_client.Command.classBuilder().ep({
1750
- ...commonParams
1751
- }).m(function(Command, cs, config, o) {
1735
+ var _DescribeHarvestJobCommand = class _DescribeHarvestJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1752
1736
  return [
1753
1737
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1754
1738
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1762,9 +1746,7 @@ var DescribeHarvestJobCommand = _DescribeHarvestJobCommand;
1762
1746
 
1763
1747
 
1764
1748
 
1765
- var _DescribeOriginEndpointCommand = class _DescribeOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
1766
- ...commonParams
1767
- }).m(function(Command, cs, config, o) {
1749
+ var _DescribeOriginEndpointCommand = class _DescribeOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1768
1750
  return [
1769
1751
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1770
1752
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1778,9 +1760,7 @@ var DescribeOriginEndpointCommand = _DescribeOriginEndpointCommand;
1778
1760
 
1779
1761
 
1780
1762
 
1781
- var _ListChannelsCommand = class _ListChannelsCommand extends import_smithy_client.Command.classBuilder().ep({
1782
- ...commonParams
1783
- }).m(function(Command, cs, config, o) {
1763
+ var _ListChannelsCommand = class _ListChannelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1784
1764
  return [
1785
1765
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1786
1766
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1794,9 +1774,7 @@ var ListChannelsCommand = _ListChannelsCommand;
1794
1774
 
1795
1775
 
1796
1776
 
1797
- var _ListHarvestJobsCommand = class _ListHarvestJobsCommand extends import_smithy_client.Command.classBuilder().ep({
1798
- ...commonParams
1799
- }).m(function(Command, cs, config, o) {
1777
+ var _ListHarvestJobsCommand = class _ListHarvestJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1800
1778
  return [
1801
1779
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1802
1780
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1810,9 +1788,7 @@ var ListHarvestJobsCommand = _ListHarvestJobsCommand;
1810
1788
 
1811
1789
 
1812
1790
 
1813
- var _ListOriginEndpointsCommand = class _ListOriginEndpointsCommand extends import_smithy_client.Command.classBuilder().ep({
1814
- ...commonParams
1815
- }).m(function(Command, cs, config, o) {
1791
+ var _ListOriginEndpointsCommand = class _ListOriginEndpointsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1816
1792
  return [
1817
1793
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1818
1794
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1826,9 +1802,7 @@ var ListOriginEndpointsCommand = _ListOriginEndpointsCommand;
1826
1802
 
1827
1803
 
1828
1804
 
1829
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1830
- ...commonParams
1831
- }).m(function(Command, cs, config, o) {
1805
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1832
1806
  return [
1833
1807
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1834
1808
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1842,9 +1816,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1842
1816
 
1843
1817
 
1844
1818
 
1845
- var _RotateChannelCredentialsCommand = class _RotateChannelCredentialsCommand extends import_smithy_client.Command.classBuilder().ep({
1846
- ...commonParams
1847
- }).m(function(Command, cs, config, o) {
1819
+ var _RotateChannelCredentialsCommand = class _RotateChannelCredentialsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1848
1820
  return [
1849
1821
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1850
1822
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1858,9 +1830,7 @@ var RotateChannelCredentialsCommand = _RotateChannelCredentialsCommand;
1858
1830
 
1859
1831
 
1860
1832
 
1861
- var _RotateIngestEndpointCredentialsCommand = class _RotateIngestEndpointCredentialsCommand extends import_smithy_client.Command.classBuilder().ep({
1862
- ...commonParams
1863
- }).m(function(Command, cs, config, o) {
1833
+ var _RotateIngestEndpointCredentialsCommand = class _RotateIngestEndpointCredentialsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1864
1834
  return [
1865
1835
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1866
1836
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1874,9 +1844,7 @@ var RotateIngestEndpointCredentialsCommand = _RotateIngestEndpointCredentialsCom
1874
1844
 
1875
1845
 
1876
1846
 
1877
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1878
- ...commonParams
1879
- }).m(function(Command, cs, config, o) {
1847
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1880
1848
  return [
1881
1849
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1882
1850
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1890,9 +1858,7 @@ var TagResourceCommand = _TagResourceCommand;
1890
1858
 
1891
1859
 
1892
1860
 
1893
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1894
- ...commonParams
1895
- }).m(function(Command, cs, config, o) {
1861
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1896
1862
  return [
1897
1863
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1898
1864
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1906,9 +1872,7 @@ var UntagResourceCommand = _UntagResourceCommand;
1906
1872
 
1907
1873
 
1908
1874
 
1909
- var _UpdateChannelCommand = class _UpdateChannelCommand extends import_smithy_client.Command.classBuilder().ep({
1910
- ...commonParams
1911
- }).m(function(Command, cs, config, o) {
1875
+ var _UpdateChannelCommand = class _UpdateChannelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1912
1876
  return [
1913
1877
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1914
1878
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1922,9 +1886,7 @@ var UpdateChannelCommand = _UpdateChannelCommand;
1922
1886
 
1923
1887
 
1924
1888
 
1925
- var _UpdateOriginEndpointCommand = class _UpdateOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
1926
- ...commonParams
1927
- }).m(function(Command, cs, config, o) {
1889
+ var _UpdateOriginEndpointCommand = class _UpdateOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1928
1890
  return [
1929
1891
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1930
1892
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_ConfigureLogsCommand, se_ConfigureLogsCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class ConfigureLogsCommand 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),
@@ -7,9 +7,7 @@ import { de_CreateChannelCommand, se_CreateChannelCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class CreateChannelCommand 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_CreateHarvestJobCommand, se_CreateHarvestJobCommand } from "../proto
6
6
  export { $Command };
7
7
  export class CreateHarvestJobCommand 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_CreateOriginEndpointCommand, se_CreateOriginEndpointCommand } from "
6
6
  export { $Command };
7
7
  export class CreateOriginEndpointCommand 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_DeleteChannelCommand, se_DeleteChannelCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DeleteChannelCommand 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_DeleteOriginEndpointCommand, se_DeleteOriginEndpointCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteOriginEndpointCommand 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_DescribeChannelCommand, se_DescribeChannelCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class DescribeChannelCommand 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_DescribeHarvestJobCommand, se_DescribeHarvestJobCommand } from "../p
6
6
  export { $Command };
7
7
  export class DescribeHarvestJobCommand 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_DescribeOriginEndpointCommand, se_DescribeOriginEndpointCommand } fr
6
6
  export { $Command };
7
7
  export class DescribeOriginEndpointCommand 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_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws
7
7
  export { $Command };
8
8
  export class ListChannelsCommand 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_ListHarvestJobsCommand, se_ListHarvestJobsCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class ListHarvestJobsCommand 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_ListOriginEndpointsCommand, se_ListOriginEndpointsCommand } from "..
6
6
  export { $Command };
7
7
  export class ListOriginEndpointsCommand 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_RotateChannelCredentialsCommand, se_RotateChannelCredentialsCommand
7
7
  export { $Command };
8
8
  export class RotateChannelCredentialsCommand 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),
@@ -7,9 +7,7 @@ import { de_RotateIngestEndpointCredentialsCommand, se_RotateIngestEndpointCrede
7
7
  export { $Command };
8
8
  export class RotateIngestEndpointCredentialsCommand 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_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_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class UpdateChannelCommand 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_UpdateOriginEndpointCommand, se_UpdateOriginEndpointCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateOriginEndpointCommand 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-mediapackage",
3
3
  "description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
4
- "version": "3.649.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-mediapackage",
@@ -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",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
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
- }