@aws-sdk/client-machine-learning 3.649.0 → 3.651.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist-cjs/index.js +28 -84
  2. package/dist-es/commands/AddTagsCommand.js +1 -3
  3. package/dist-es/commands/CreateBatchPredictionCommand.js +1 -3
  4. package/dist-es/commands/CreateDataSourceFromRDSCommand.js +1 -3
  5. package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +1 -3
  6. package/dist-es/commands/CreateDataSourceFromS3Command.js +1 -3
  7. package/dist-es/commands/CreateEvaluationCommand.js +1 -3
  8. package/dist-es/commands/CreateMLModelCommand.js +1 -3
  9. package/dist-es/commands/CreateRealtimeEndpointCommand.js +1 -3
  10. package/dist-es/commands/DeleteBatchPredictionCommand.js +1 -3
  11. package/dist-es/commands/DeleteDataSourceCommand.js +1 -3
  12. package/dist-es/commands/DeleteEvaluationCommand.js +1 -3
  13. package/dist-es/commands/DeleteMLModelCommand.js +1 -3
  14. package/dist-es/commands/DeleteRealtimeEndpointCommand.js +1 -3
  15. package/dist-es/commands/DeleteTagsCommand.js +1 -3
  16. package/dist-es/commands/DescribeBatchPredictionsCommand.js +1 -3
  17. package/dist-es/commands/DescribeDataSourcesCommand.js +1 -3
  18. package/dist-es/commands/DescribeEvaluationsCommand.js +1 -3
  19. package/dist-es/commands/DescribeMLModelsCommand.js +1 -3
  20. package/dist-es/commands/DescribeTagsCommand.js +1 -3
  21. package/dist-es/commands/GetBatchPredictionCommand.js +1 -3
  22. package/dist-es/commands/GetDataSourceCommand.js +1 -3
  23. package/dist-es/commands/GetEvaluationCommand.js +1 -3
  24. package/dist-es/commands/GetMLModelCommand.js +1 -3
  25. package/dist-es/commands/PredictCommand.js +1 -3
  26. package/dist-es/commands/UpdateBatchPredictionCommand.js +1 -3
  27. package/dist-es/commands/UpdateDataSourceCommand.js +1 -3
  28. package/dist-es/commands/UpdateEvaluationCommand.js +1 -3
  29. package/dist-es/commands/UpdateMLModelCommand.js +1 -3
  30. package/dist-es/endpoint/endpointResolver.js +7 -3
  31. package/package.json +5 -5
  32. package/dist-types/tsdoc-metadata.json +0 -11
package/dist-cjs/index.js CHANGED
@@ -1452,9 +1452,7 @@ function sharedHeaders(operation) {
1452
1452
  __name(sharedHeaders, "sharedHeaders");
1453
1453
 
1454
1454
  // src/commands/AddTagsCommand.ts
1455
- var _AddTagsCommand = class _AddTagsCommand extends import_smithy_client.Command.classBuilder().ep({
1456
- ...commonParams
1457
- }).m(function(Command, cs, config, o) {
1455
+ var _AddTagsCommand = class _AddTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1458
1456
  return [
1459
1457
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1460
1458
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1468,9 +1466,7 @@ var AddTagsCommand = _AddTagsCommand;
1468
1466
 
1469
1467
 
1470
1468
 
1471
- var _CreateBatchPredictionCommand = class _CreateBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep({
1472
- ...commonParams
1473
- }).m(function(Command, cs, config, o) {
1469
+ var _CreateBatchPredictionCommand = class _CreateBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1474
1470
  return [
1475
1471
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1476
1472
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1484,9 +1480,7 @@ var CreateBatchPredictionCommand = _CreateBatchPredictionCommand;
1484
1480
 
1485
1481
 
1486
1482
 
1487
- var _CreateDataSourceFromRDSCommand = class _CreateDataSourceFromRDSCommand extends import_smithy_client.Command.classBuilder().ep({
1488
- ...commonParams
1489
- }).m(function(Command, cs, config, o) {
1483
+ var _CreateDataSourceFromRDSCommand = class _CreateDataSourceFromRDSCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1490
1484
  return [
1491
1485
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1492
1486
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1500,9 +1494,7 @@ var CreateDataSourceFromRDSCommand = _CreateDataSourceFromRDSCommand;
1500
1494
 
1501
1495
 
1502
1496
 
1503
- var _CreateDataSourceFromRedshiftCommand = class _CreateDataSourceFromRedshiftCommand extends import_smithy_client.Command.classBuilder().ep({
1504
- ...commonParams
1505
- }).m(function(Command, cs, config, o) {
1497
+ var _CreateDataSourceFromRedshiftCommand = class _CreateDataSourceFromRedshiftCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1506
1498
  return [
1507
1499
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1508
1500
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1516,9 +1508,7 @@ var CreateDataSourceFromRedshiftCommand = _CreateDataSourceFromRedshiftCommand;
1516
1508
 
1517
1509
 
1518
1510
 
1519
- var _CreateDataSourceFromS3Command = class _CreateDataSourceFromS3Command extends import_smithy_client.Command.classBuilder().ep({
1520
- ...commonParams
1521
- }).m(function(Command, cs, config, o) {
1511
+ var _CreateDataSourceFromS3Command = class _CreateDataSourceFromS3Command extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1522
1512
  return [
1523
1513
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1524
1514
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1532,9 +1522,7 @@ var CreateDataSourceFromS3Command = _CreateDataSourceFromS3Command;
1532
1522
 
1533
1523
 
1534
1524
 
1535
- var _CreateEvaluationCommand = class _CreateEvaluationCommand extends import_smithy_client.Command.classBuilder().ep({
1536
- ...commonParams
1537
- }).m(function(Command, cs, config, o) {
1525
+ var _CreateEvaluationCommand = class _CreateEvaluationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1538
1526
  return [
1539
1527
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1540
1528
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1548,9 +1536,7 @@ var CreateEvaluationCommand = _CreateEvaluationCommand;
1548
1536
 
1549
1537
 
1550
1538
 
1551
- var _CreateMLModelCommand = class _CreateMLModelCommand extends import_smithy_client.Command.classBuilder().ep({
1552
- ...commonParams
1553
- }).m(function(Command, cs, config, o) {
1539
+ var _CreateMLModelCommand = class _CreateMLModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1554
1540
  return [
1555
1541
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1556
1542
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1564,9 +1550,7 @@ var CreateMLModelCommand = _CreateMLModelCommand;
1564
1550
 
1565
1551
 
1566
1552
 
1567
- var _CreateRealtimeEndpointCommand = class _CreateRealtimeEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
1568
- ...commonParams
1569
- }).m(function(Command, cs, config, o) {
1553
+ var _CreateRealtimeEndpointCommand = class _CreateRealtimeEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1570
1554
  return [
1571
1555
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1572
1556
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1580,9 +1564,7 @@ var CreateRealtimeEndpointCommand = _CreateRealtimeEndpointCommand;
1580
1564
 
1581
1565
 
1582
1566
 
1583
- var _DeleteBatchPredictionCommand = class _DeleteBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep({
1584
- ...commonParams
1585
- }).m(function(Command, cs, config, o) {
1567
+ var _DeleteBatchPredictionCommand = class _DeleteBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1586
1568
  return [
1587
1569
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1588
1570
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1596,9 +1578,7 @@ var DeleteBatchPredictionCommand = _DeleteBatchPredictionCommand;
1596
1578
 
1597
1579
 
1598
1580
 
1599
- var _DeleteDataSourceCommand = class _DeleteDataSourceCommand extends import_smithy_client.Command.classBuilder().ep({
1600
- ...commonParams
1601
- }).m(function(Command, cs, config, o) {
1581
+ var _DeleteDataSourceCommand = class _DeleteDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1602
1582
  return [
1603
1583
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1604
1584
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1612,9 +1592,7 @@ var DeleteDataSourceCommand = _DeleteDataSourceCommand;
1612
1592
 
1613
1593
 
1614
1594
 
1615
- var _DeleteEvaluationCommand = class _DeleteEvaluationCommand extends import_smithy_client.Command.classBuilder().ep({
1616
- ...commonParams
1617
- }).m(function(Command, cs, config, o) {
1595
+ var _DeleteEvaluationCommand = class _DeleteEvaluationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1618
1596
  return [
1619
1597
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1620
1598
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1628,9 +1606,7 @@ var DeleteEvaluationCommand = _DeleteEvaluationCommand;
1628
1606
 
1629
1607
 
1630
1608
 
1631
- var _DeleteMLModelCommand = class _DeleteMLModelCommand extends import_smithy_client.Command.classBuilder().ep({
1632
- ...commonParams
1633
- }).m(function(Command, cs, config, o) {
1609
+ var _DeleteMLModelCommand = class _DeleteMLModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1634
1610
  return [
1635
1611
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1636
1612
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1644,9 +1620,7 @@ var DeleteMLModelCommand = _DeleteMLModelCommand;
1644
1620
 
1645
1621
 
1646
1622
 
1647
- var _DeleteRealtimeEndpointCommand = class _DeleteRealtimeEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
1648
- ...commonParams
1649
- }).m(function(Command, cs, config, o) {
1623
+ var _DeleteRealtimeEndpointCommand = class _DeleteRealtimeEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1650
1624
  return [
1651
1625
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1652
1626
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1660,9 +1634,7 @@ var DeleteRealtimeEndpointCommand = _DeleteRealtimeEndpointCommand;
1660
1634
 
1661
1635
 
1662
1636
 
1663
- var _DeleteTagsCommand = class _DeleteTagsCommand extends import_smithy_client.Command.classBuilder().ep({
1664
- ...commonParams
1665
- }).m(function(Command, cs, config, o) {
1637
+ var _DeleteTagsCommand = class _DeleteTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1666
1638
  return [
1667
1639
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1668
1640
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1676,9 +1648,7 @@ var DeleteTagsCommand = _DeleteTagsCommand;
1676
1648
 
1677
1649
 
1678
1650
 
1679
- var _DescribeBatchPredictionsCommand = class _DescribeBatchPredictionsCommand extends import_smithy_client.Command.classBuilder().ep({
1680
- ...commonParams
1681
- }).m(function(Command, cs, config, o) {
1651
+ var _DescribeBatchPredictionsCommand = class _DescribeBatchPredictionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1682
1652
  return [
1683
1653
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1684
1654
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1692,9 +1662,7 @@ var DescribeBatchPredictionsCommand = _DescribeBatchPredictionsCommand;
1692
1662
 
1693
1663
 
1694
1664
 
1695
- var _DescribeDataSourcesCommand = class _DescribeDataSourcesCommand extends import_smithy_client.Command.classBuilder().ep({
1696
- ...commonParams
1697
- }).m(function(Command, cs, config, o) {
1665
+ var _DescribeDataSourcesCommand = class _DescribeDataSourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1698
1666
  return [
1699
1667
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1700
1668
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1708,9 +1676,7 @@ var DescribeDataSourcesCommand = _DescribeDataSourcesCommand;
1708
1676
 
1709
1677
 
1710
1678
 
1711
- var _DescribeEvaluationsCommand = class _DescribeEvaluationsCommand extends import_smithy_client.Command.classBuilder().ep({
1712
- ...commonParams
1713
- }).m(function(Command, cs, config, o) {
1679
+ var _DescribeEvaluationsCommand = class _DescribeEvaluationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1714
1680
  return [
1715
1681
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1716
1682
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1724,9 +1690,7 @@ var DescribeEvaluationsCommand = _DescribeEvaluationsCommand;
1724
1690
 
1725
1691
 
1726
1692
 
1727
- var _DescribeMLModelsCommand = class _DescribeMLModelsCommand extends import_smithy_client.Command.classBuilder().ep({
1728
- ...commonParams
1729
- }).m(function(Command, cs, config, o) {
1693
+ var _DescribeMLModelsCommand = class _DescribeMLModelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1730
1694
  return [
1731
1695
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1732
1696
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1740,9 +1704,7 @@ var DescribeMLModelsCommand = _DescribeMLModelsCommand;
1740
1704
 
1741
1705
 
1742
1706
 
1743
- var _DescribeTagsCommand = class _DescribeTagsCommand extends import_smithy_client.Command.classBuilder().ep({
1744
- ...commonParams
1745
- }).m(function(Command, cs, config, o) {
1707
+ var _DescribeTagsCommand = class _DescribeTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1746
1708
  return [
1747
1709
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1748
1710
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1756,9 +1718,7 @@ var DescribeTagsCommand = _DescribeTagsCommand;
1756
1718
 
1757
1719
 
1758
1720
 
1759
- var _GetBatchPredictionCommand = class _GetBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep({
1760
- ...commonParams
1761
- }).m(function(Command, cs, config, o) {
1721
+ var _GetBatchPredictionCommand = class _GetBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1762
1722
  return [
1763
1723
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1764
1724
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1772,9 +1732,7 @@ var GetBatchPredictionCommand = _GetBatchPredictionCommand;
1772
1732
 
1773
1733
 
1774
1734
 
1775
- var _GetDataSourceCommand = class _GetDataSourceCommand extends import_smithy_client.Command.classBuilder().ep({
1776
- ...commonParams
1777
- }).m(function(Command, cs, config, o) {
1735
+ var _GetDataSourceCommand = class _GetDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1778
1736
  return [
1779
1737
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1780
1738
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1788,9 +1746,7 @@ var GetDataSourceCommand = _GetDataSourceCommand;
1788
1746
 
1789
1747
 
1790
1748
 
1791
- var _GetEvaluationCommand = class _GetEvaluationCommand extends import_smithy_client.Command.classBuilder().ep({
1792
- ...commonParams
1793
- }).m(function(Command, cs, config, o) {
1749
+ var _GetEvaluationCommand = class _GetEvaluationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1794
1750
  return [
1795
1751
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1796
1752
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1804,9 +1760,7 @@ var GetEvaluationCommand = _GetEvaluationCommand;
1804
1760
 
1805
1761
 
1806
1762
 
1807
- var _GetMLModelCommand = class _GetMLModelCommand extends import_smithy_client.Command.classBuilder().ep({
1808
- ...commonParams
1809
- }).m(function(Command, cs, config, o) {
1763
+ var _GetMLModelCommand = class _GetMLModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1810
1764
  return [
1811
1765
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1812
1766
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1821,9 +1775,7 @@ var import_middleware_sdk_machinelearning = require("@aws-sdk/middleware-sdk-mac
1821
1775
 
1822
1776
 
1823
1777
 
1824
- var _PredictCommand = class _PredictCommand extends import_smithy_client.Command.classBuilder().ep({
1825
- ...commonParams
1826
- }).m(function(Command, cs, config, o) {
1778
+ var _PredictCommand = class _PredictCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1827
1779
  return [
1828
1780
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1829
1781
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1838,9 +1790,7 @@ var PredictCommand = _PredictCommand;
1838
1790
 
1839
1791
 
1840
1792
 
1841
- var _UpdateBatchPredictionCommand = class _UpdateBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep({
1842
- ...commonParams
1843
- }).m(function(Command, cs, config, o) {
1793
+ var _UpdateBatchPredictionCommand = class _UpdateBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1844
1794
  return [
1845
1795
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1846
1796
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1854,9 +1804,7 @@ var UpdateBatchPredictionCommand = _UpdateBatchPredictionCommand;
1854
1804
 
1855
1805
 
1856
1806
 
1857
- var _UpdateDataSourceCommand = class _UpdateDataSourceCommand extends import_smithy_client.Command.classBuilder().ep({
1858
- ...commonParams
1859
- }).m(function(Command, cs, config, o) {
1807
+ var _UpdateDataSourceCommand = class _UpdateDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1860
1808
  return [
1861
1809
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1862
1810
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1870,9 +1818,7 @@ var UpdateDataSourceCommand = _UpdateDataSourceCommand;
1870
1818
 
1871
1819
 
1872
1820
 
1873
- var _UpdateEvaluationCommand = class _UpdateEvaluationCommand extends import_smithy_client.Command.classBuilder().ep({
1874
- ...commonParams
1875
- }).m(function(Command, cs, config, o) {
1821
+ var _UpdateEvaluationCommand = class _UpdateEvaluationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1876
1822
  return [
1877
1823
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1878
1824
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1886,9 +1832,7 @@ var UpdateEvaluationCommand = _UpdateEvaluationCommand;
1886
1832
 
1887
1833
 
1888
1834
 
1889
- var _UpdateMLModelCommand = class _UpdateMLModelCommand extends import_smithy_client.Command.classBuilder().ep({
1890
- ...commonParams
1891
- }).m(function(Command, cs, config, o) {
1835
+ var _UpdateMLModelCommand = class _UpdateMLModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1892
1836
  return [
1893
1837
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1894
1838
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_AddTagsCommand, se_AddTagsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
7
  export class AddTagsCommand 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_CreateBatchPredictionCommand, se_CreateBatchPredictionCommand } from
6
6
  export { $Command };
7
7
  export class CreateBatchPredictionCommand 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_CreateDataSourceFromRDSCommand, se_CreateDataSourceFromRDSCommand }
7
7
  export { $Command };
8
8
  export class CreateDataSourceFromRDSCommand 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_CreateDataSourceFromRedshiftCommand, se_CreateDataSourceFromRedshift
7
7
  export { $Command };
8
8
  export class CreateDataSourceFromRedshiftCommand 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_CreateDataSourceFromS3Command, se_CreateDataSourceFromS3Command } fr
6
6
  export { $Command };
7
7
  export class CreateDataSourceFromS3Command 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_CreateEvaluationCommand, se_CreateEvaluationCommand } from "../proto
6
6
  export { $Command };
7
7
  export class CreateEvaluationCommand 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_CreateMLModelCommand, se_CreateMLModelCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class CreateMLModelCommand 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_CreateRealtimeEndpointCommand, se_CreateRealtimeEndpointCommand } fr
6
6
  export { $Command };
7
7
  export class CreateRealtimeEndpointCommand 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_DeleteBatchPredictionCommand, se_DeleteBatchPredictionCommand } from
6
6
  export { $Command };
7
7
  export class DeleteBatchPredictionCommand 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_DeleteDataSourceCommand, se_DeleteDataSourceCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeleteDataSourceCommand 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_DeleteEvaluationCommand, se_DeleteEvaluationCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeleteEvaluationCommand 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_DeleteMLModelCommand, se_DeleteMLModelCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DeleteMLModelCommand 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_DeleteRealtimeEndpointCommand, se_DeleteRealtimeEndpointCommand } fr
6
6
  export { $Command };
7
7
  export class DeleteRealtimeEndpointCommand 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_DeleteTagsCommand, se_DeleteTagsCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class DeleteTagsCommand 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_DescribeBatchPredictionsCommand, se_DescribeBatchPredictionsCommand
6
6
  export { $Command };
7
7
  export class DescribeBatchPredictionsCommand 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_DescribeDataSourcesCommand, se_DescribeDataSourcesCommand } from "..
6
6
  export { $Command };
7
7
  export class DescribeDataSourcesCommand 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_DescribeEvaluationsCommand, se_DescribeEvaluationsCommand } from "..
6
6
  export { $Command };
7
7
  export class DescribeEvaluationsCommand 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_DescribeMLModelsCommand, se_DescribeMLModelsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DescribeMLModelsCommand 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_DescribeTagsCommand, se_DescribeTagsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DescribeTagsCommand 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_GetBatchPredictionCommand, se_GetBatchPredictionCommand } from "../p
6
6
  export { $Command };
7
7
  export class GetBatchPredictionCommand 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_GetDataSourceCommand, se_GetDataSourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class GetDataSourceCommand 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_GetEvaluationCommand, se_GetEvaluationCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class GetEvaluationCommand 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_GetMLModelCommand, se_GetMLModelCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class GetMLModelCommand 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_PredictCommand, se_PredictCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
8
  export class PredictCommand 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_UpdateBatchPredictionCommand, se_UpdateBatchPredictionCommand } from
6
6
  export { $Command };
7
7
  export class UpdateBatchPredictionCommand 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_UpdateDataSourceCommand, se_UpdateDataSourceCommand } from "../proto
6
6
  export { $Command };
7
7
  export class UpdateDataSourceCommand 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_UpdateEvaluationCommand, se_UpdateEvaluationCommand } from "../proto
6
6
  export { $Command };
7
7
  export class UpdateEvaluationCommand 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_UpdateMLModelCommand, se_UpdateMLModelCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UpdateMLModelCommand 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-machine-learning",
3
3
  "description": "AWS SDK for JavaScript Machine Learning Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.651.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-machine-learning",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
25
- "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.651.1",
24
+ "@aws-sdk/client-sts": "3.651.1",
25
+ "@aws-sdk/core": "3.651.1",
26
+ "@aws-sdk/credential-provider-node": "3.651.1",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }