@aws-sdk/client-amp 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.
Files changed (30) hide show
  1. package/dist-cjs/index.js +26 -78
  2. package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +1 -3
  3. package/dist-es/commands/CreateLoggingConfigurationCommand.js +1 -3
  4. package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +1 -3
  5. package/dist-es/commands/CreateScraperCommand.js +1 -3
  6. package/dist-es/commands/CreateWorkspaceCommand.js +1 -3
  7. package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +1 -3
  8. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +1 -3
  9. package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +1 -3
  10. package/dist-es/commands/DeleteScraperCommand.js +1 -3
  11. package/dist-es/commands/DeleteWorkspaceCommand.js +1 -3
  12. package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +1 -3
  13. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +1 -3
  14. package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +1 -3
  15. package/dist-es/commands/DescribeScraperCommand.js +1 -3
  16. package/dist-es/commands/DescribeWorkspaceCommand.js +1 -3
  17. package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +1 -3
  18. package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +1 -3
  19. package/dist-es/commands/ListScrapersCommand.js +1 -3
  20. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  21. package/dist-es/commands/ListWorkspacesCommand.js +1 -3
  22. package/dist-es/commands/PutAlertManagerDefinitionCommand.js +1 -3
  23. package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +1 -3
  24. package/dist-es/commands/TagResourceCommand.js +1 -3
  25. package/dist-es/commands/UntagResourceCommand.js +1 -3
  26. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +1 -3
  27. package/dist-es/commands/UpdateWorkspaceAliasCommand.js +1 -3
  28. package/dist-es/endpoint/endpointResolver.js +7 -3
  29. package/package.json +4 -4
  30. package/dist-types/tsdoc-metadata.json +0 -11
package/dist-cjs/index.js CHANGED
@@ -1529,9 +1529,7 @@ var _ra = "retry-after";
1529
1529
  var _tK = "tagKeys";
1530
1530
 
1531
1531
  // src/commands/CreateAlertManagerDefinitionCommand.ts
1532
- var _CreateAlertManagerDefinitionCommand = class _CreateAlertManagerDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
1533
- ...commonParams
1534
- }).m(function(Command, cs, config, o) {
1532
+ var _CreateAlertManagerDefinitionCommand = class _CreateAlertManagerDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1535
1533
  return [
1536
1534
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1537
1535
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1545,9 +1543,7 @@ var CreateAlertManagerDefinitionCommand = _CreateAlertManagerDefinitionCommand;
1545
1543
 
1546
1544
 
1547
1545
 
1548
- var _CreateLoggingConfigurationCommand = class _CreateLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
1549
- ...commonParams
1550
- }).m(function(Command, cs, config, o) {
1546
+ var _CreateLoggingConfigurationCommand = class _CreateLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1551
1547
  return [
1552
1548
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1553
1549
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1561,9 +1557,7 @@ var CreateLoggingConfigurationCommand = _CreateLoggingConfigurationCommand;
1561
1557
 
1562
1558
 
1563
1559
 
1564
- var _CreateRuleGroupsNamespaceCommand = class _CreateRuleGroupsNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
1565
- ...commonParams
1566
- }).m(function(Command, cs, config, o) {
1560
+ var _CreateRuleGroupsNamespaceCommand = class _CreateRuleGroupsNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1567
1561
  return [
1568
1562
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1569
1563
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1577,9 +1571,7 @@ var CreateRuleGroupsNamespaceCommand = _CreateRuleGroupsNamespaceCommand;
1577
1571
 
1578
1572
 
1579
1573
 
1580
- var _CreateScraperCommand = class _CreateScraperCommand extends import_smithy_client.Command.classBuilder().ep({
1581
- ...commonParams
1582
- }).m(function(Command, cs, config, o) {
1574
+ var _CreateScraperCommand = class _CreateScraperCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1583
1575
  return [
1584
1576
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1585
1577
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1593,9 +1585,7 @@ var CreateScraperCommand = _CreateScraperCommand;
1593
1585
 
1594
1586
 
1595
1587
 
1596
- var _CreateWorkspaceCommand = class _CreateWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep({
1597
- ...commonParams
1598
- }).m(function(Command, cs, config, o) {
1588
+ var _CreateWorkspaceCommand = class _CreateWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1599
1589
  return [
1600
1590
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1601
1591
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1609,9 +1599,7 @@ var CreateWorkspaceCommand = _CreateWorkspaceCommand;
1609
1599
 
1610
1600
 
1611
1601
 
1612
- var _DeleteAlertManagerDefinitionCommand = class _DeleteAlertManagerDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
1613
- ...commonParams
1614
- }).m(function(Command, cs, config, o) {
1602
+ var _DeleteAlertManagerDefinitionCommand = class _DeleteAlertManagerDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1615
1603
  return [
1616
1604
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1617
1605
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1625,9 +1613,7 @@ var DeleteAlertManagerDefinitionCommand = _DeleteAlertManagerDefinitionCommand;
1625
1613
 
1626
1614
 
1627
1615
 
1628
- var _DeleteLoggingConfigurationCommand = class _DeleteLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
1629
- ...commonParams
1630
- }).m(function(Command, cs, config, o) {
1616
+ var _DeleteLoggingConfigurationCommand = class _DeleteLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1631
1617
  return [
1632
1618
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1633
1619
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1641,9 +1627,7 @@ var DeleteLoggingConfigurationCommand = _DeleteLoggingConfigurationCommand;
1641
1627
 
1642
1628
 
1643
1629
 
1644
- var _DeleteRuleGroupsNamespaceCommand = class _DeleteRuleGroupsNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
1645
- ...commonParams
1646
- }).m(function(Command, cs, config, o) {
1630
+ var _DeleteRuleGroupsNamespaceCommand = class _DeleteRuleGroupsNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1647
1631
  return [
1648
1632
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1649
1633
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1657,9 +1641,7 @@ var DeleteRuleGroupsNamespaceCommand = _DeleteRuleGroupsNamespaceCommand;
1657
1641
 
1658
1642
 
1659
1643
 
1660
- var _DeleteScraperCommand = class _DeleteScraperCommand extends import_smithy_client.Command.classBuilder().ep({
1661
- ...commonParams
1662
- }).m(function(Command, cs, config, o) {
1644
+ var _DeleteScraperCommand = class _DeleteScraperCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1663
1645
  return [
1664
1646
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1665
1647
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1673,9 +1655,7 @@ var DeleteScraperCommand = _DeleteScraperCommand;
1673
1655
 
1674
1656
 
1675
1657
 
1676
- var _DeleteWorkspaceCommand = class _DeleteWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep({
1677
- ...commonParams
1678
- }).m(function(Command, cs, config, o) {
1658
+ var _DeleteWorkspaceCommand = class _DeleteWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1679
1659
  return [
1680
1660
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1681
1661
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1689,9 +1669,7 @@ var DeleteWorkspaceCommand = _DeleteWorkspaceCommand;
1689
1669
 
1690
1670
 
1691
1671
 
1692
- var _DescribeAlertManagerDefinitionCommand = class _DescribeAlertManagerDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
1693
- ...commonParams
1694
- }).m(function(Command, cs, config, o) {
1672
+ var _DescribeAlertManagerDefinitionCommand = class _DescribeAlertManagerDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1695
1673
  return [
1696
1674
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1697
1675
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1705,9 +1683,7 @@ var DescribeAlertManagerDefinitionCommand = _DescribeAlertManagerDefinitionComma
1705
1683
 
1706
1684
 
1707
1685
 
1708
- var _DescribeLoggingConfigurationCommand = class _DescribeLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
1709
- ...commonParams
1710
- }).m(function(Command, cs, config, o) {
1686
+ var _DescribeLoggingConfigurationCommand = class _DescribeLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1711
1687
  return [
1712
1688
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1713
1689
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1721,9 +1697,7 @@ var DescribeLoggingConfigurationCommand = _DescribeLoggingConfigurationCommand;
1721
1697
 
1722
1698
 
1723
1699
 
1724
- var _DescribeRuleGroupsNamespaceCommand = class _DescribeRuleGroupsNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
1725
- ...commonParams
1726
- }).m(function(Command, cs, config, o) {
1700
+ var _DescribeRuleGroupsNamespaceCommand = class _DescribeRuleGroupsNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1727
1701
  return [
1728
1702
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1729
1703
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1737,9 +1711,7 @@ var DescribeRuleGroupsNamespaceCommand = _DescribeRuleGroupsNamespaceCommand;
1737
1711
 
1738
1712
 
1739
1713
 
1740
- var _DescribeScraperCommand = class _DescribeScraperCommand extends import_smithy_client.Command.classBuilder().ep({
1741
- ...commonParams
1742
- }).m(function(Command, cs, config, o) {
1714
+ var _DescribeScraperCommand = class _DescribeScraperCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1743
1715
  return [
1744
1716
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1745
1717
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1753,9 +1725,7 @@ var DescribeScraperCommand = _DescribeScraperCommand;
1753
1725
 
1754
1726
 
1755
1727
 
1756
- var _DescribeWorkspaceCommand = class _DescribeWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep({
1757
- ...commonParams
1758
- }).m(function(Command, cs, config, o) {
1728
+ var _DescribeWorkspaceCommand = class _DescribeWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1759
1729
  return [
1760
1730
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1761
1731
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1769,9 +1739,7 @@ var DescribeWorkspaceCommand = _DescribeWorkspaceCommand;
1769
1739
 
1770
1740
 
1771
1741
 
1772
- var _GetDefaultScraperConfigurationCommand = class _GetDefaultScraperConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
1773
- ...commonParams
1774
- }).m(function(Command, cs, config, o) {
1742
+ var _GetDefaultScraperConfigurationCommand = class _GetDefaultScraperConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1775
1743
  return [
1776
1744
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1777
1745
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1785,9 +1753,7 @@ var GetDefaultScraperConfigurationCommand = _GetDefaultScraperConfigurationComma
1785
1753
 
1786
1754
 
1787
1755
 
1788
- var _ListRuleGroupsNamespacesCommand = class _ListRuleGroupsNamespacesCommand extends import_smithy_client.Command.classBuilder().ep({
1789
- ...commonParams
1790
- }).m(function(Command, cs, config, o) {
1756
+ var _ListRuleGroupsNamespacesCommand = class _ListRuleGroupsNamespacesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1791
1757
  return [
1792
1758
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1793
1759
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1801,9 +1767,7 @@ var ListRuleGroupsNamespacesCommand = _ListRuleGroupsNamespacesCommand;
1801
1767
 
1802
1768
 
1803
1769
 
1804
- var _ListScrapersCommand = class _ListScrapersCommand extends import_smithy_client.Command.classBuilder().ep({
1805
- ...commonParams
1806
- }).m(function(Command, cs, config, o) {
1770
+ var _ListScrapersCommand = class _ListScrapersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1807
1771
  return [
1808
1772
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1809
1773
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1817,9 +1781,7 @@ var ListScrapersCommand = _ListScrapersCommand;
1817
1781
 
1818
1782
 
1819
1783
 
1820
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1821
- ...commonParams
1822
- }).m(function(Command, cs, config, o) {
1784
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1823
1785
  return [
1824
1786
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1825
1787
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1833,9 +1795,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1833
1795
 
1834
1796
 
1835
1797
 
1836
- var _ListWorkspacesCommand = class _ListWorkspacesCommand extends import_smithy_client.Command.classBuilder().ep({
1837
- ...commonParams
1838
- }).m(function(Command, cs, config, o) {
1798
+ var _ListWorkspacesCommand = class _ListWorkspacesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1839
1799
  return [
1840
1800
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1841
1801
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1849,9 +1809,7 @@ var ListWorkspacesCommand = _ListWorkspacesCommand;
1849
1809
 
1850
1810
 
1851
1811
 
1852
- var _PutAlertManagerDefinitionCommand = class _PutAlertManagerDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
1853
- ...commonParams
1854
- }).m(function(Command, cs, config, o) {
1812
+ var _PutAlertManagerDefinitionCommand = class _PutAlertManagerDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1855
1813
  return [
1856
1814
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1857
1815
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1865,9 +1823,7 @@ var PutAlertManagerDefinitionCommand = _PutAlertManagerDefinitionCommand;
1865
1823
 
1866
1824
 
1867
1825
 
1868
- var _PutRuleGroupsNamespaceCommand = class _PutRuleGroupsNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
1869
- ...commonParams
1870
- }).m(function(Command, cs, config, o) {
1826
+ var _PutRuleGroupsNamespaceCommand = class _PutRuleGroupsNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1871
1827
  return [
1872
1828
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1873
1829
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1881,9 +1837,7 @@ var PutRuleGroupsNamespaceCommand = _PutRuleGroupsNamespaceCommand;
1881
1837
 
1882
1838
 
1883
1839
 
1884
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1885
- ...commonParams
1886
- }).m(function(Command, cs, config, o) {
1840
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1887
1841
  return [
1888
1842
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1889
1843
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1897,9 +1851,7 @@ var TagResourceCommand = _TagResourceCommand;
1897
1851
 
1898
1852
 
1899
1853
 
1900
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1901
- ...commonParams
1902
- }).m(function(Command, cs, config, o) {
1854
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1903
1855
  return [
1904
1856
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1905
1857
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1913,9 +1865,7 @@ var UntagResourceCommand = _UntagResourceCommand;
1913
1865
 
1914
1866
 
1915
1867
 
1916
- var _UpdateLoggingConfigurationCommand = class _UpdateLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
1917
- ...commonParams
1918
- }).m(function(Command, cs, config, o) {
1868
+ var _UpdateLoggingConfigurationCommand = class _UpdateLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1919
1869
  return [
1920
1870
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1921
1871
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1929,9 +1879,7 @@ var UpdateLoggingConfigurationCommand = _UpdateLoggingConfigurationCommand;
1929
1879
 
1930
1880
 
1931
1881
 
1932
- var _UpdateWorkspaceAliasCommand = class _UpdateWorkspaceAliasCommand extends import_smithy_client.Command.classBuilder().ep({
1933
- ...commonParams
1934
- }).m(function(Command, cs, config, o) {
1882
+ var _UpdateWorkspaceAliasCommand = class _UpdateWorkspaceAliasCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1935
1883
  return [
1936
1884
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1937
1885
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_CreateAlertManagerDefinitionCommand, se_CreateAlertManagerDefinition
6
6
  export { $Command };
7
7
  export class CreateAlertManagerDefinitionCommand 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_CreateLoggingConfigurationCommand, se_CreateLoggingConfigurationComm
6
6
  export { $Command };
7
7
  export class CreateLoggingConfigurationCommand 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_CreateRuleGroupsNamespaceCommand, se_CreateRuleGroupsNamespaceComman
6
6
  export { $Command };
7
7
  export class CreateRuleGroupsNamespaceCommand 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_CreateScraperCommand, se_CreateScraperCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class CreateScraperCommand 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_CreateWorkspaceCommand, se_CreateWorkspaceCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class CreateWorkspaceCommand 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_DeleteAlertManagerDefinitionCommand, se_DeleteAlertManagerDefinition
6
6
  export { $Command };
7
7
  export class DeleteAlertManagerDefinitionCommand 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_DeleteLoggingConfigurationCommand, se_DeleteLoggingConfigurationComm
6
6
  export { $Command };
7
7
  export class DeleteLoggingConfigurationCommand 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_DeleteRuleGroupsNamespaceCommand, se_DeleteRuleGroupsNamespaceComman
6
6
  export { $Command };
7
7
  export class DeleteRuleGroupsNamespaceCommand 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_DeleteScraperCommand, se_DeleteScraperCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DeleteScraperCommand 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_DeleteWorkspaceCommand, se_DeleteWorkspaceCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class DeleteWorkspaceCommand 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_DescribeAlertManagerDefinitionCommand, se_DescribeAlertManagerDefini
6
6
  export { $Command };
7
7
  export class DescribeAlertManagerDefinitionCommand 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_DescribeLoggingConfigurationCommand, se_DescribeLoggingConfiguration
6
6
  export { $Command };
7
7
  export class DescribeLoggingConfigurationCommand 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_DescribeRuleGroupsNamespaceCommand, se_DescribeRuleGroupsNamespaceCo
6
6
  export { $Command };
7
7
  export class DescribeRuleGroupsNamespaceCommand 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_DescribeScraperCommand, se_DescribeScraperCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class DescribeScraperCommand 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_DescribeWorkspaceCommand, se_DescribeWorkspaceCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DescribeWorkspaceCommand 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_GetDefaultScraperConfigurationCommand, se_GetDefaultScraperConfigura
6
6
  export { $Command };
7
7
  export class GetDefaultScraperConfigurationCommand 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_ListRuleGroupsNamespacesCommand, se_ListRuleGroupsNamespacesCommand
6
6
  export { $Command };
7
7
  export class ListRuleGroupsNamespacesCommand 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_ListScrapersCommand, se_ListScrapersCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class ListScrapersCommand 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_ListWorkspacesCommand, se_ListWorkspacesCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListWorkspacesCommand 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_PutAlertManagerDefinitionCommand, se_PutAlertManagerDefinitionComman
6
6
  export { $Command };
7
7
  export class PutAlertManagerDefinitionCommand 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_PutRuleGroupsNamespaceCommand, se_PutRuleGroupsNamespaceCommand } fr
6
6
  export { $Command };
7
7
  export class PutRuleGroupsNamespaceCommand 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_UpdateLoggingConfigurationCommand, se_UpdateLoggingConfigurationComm
6
6
  export { $Command };
7
7
  export class UpdateLoggingConfigurationCommand 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_UpdateWorkspaceAliasCommand, se_UpdateWorkspaceAliasCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateWorkspaceAliasCommand 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-amp",
3
3
  "description": "AWS SDK for JavaScript Amp 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-amp",
@@ -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
- }