@aws-sdk/client-mturk 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 (43) hide show
  1. package/dist-cjs/index.js +39 -117
  2. package/dist-es/commands/AcceptQualificationRequestCommand.js +1 -3
  3. package/dist-es/commands/ApproveAssignmentCommand.js +1 -3
  4. package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +1 -3
  5. package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +1 -3
  6. package/dist-es/commands/CreateHITCommand.js +1 -3
  7. package/dist-es/commands/CreateHITTypeCommand.js +1 -3
  8. package/dist-es/commands/CreateHITWithHITTypeCommand.js +1 -3
  9. package/dist-es/commands/CreateQualificationTypeCommand.js +1 -3
  10. package/dist-es/commands/CreateWorkerBlockCommand.js +1 -3
  11. package/dist-es/commands/DeleteHITCommand.js +1 -3
  12. package/dist-es/commands/DeleteQualificationTypeCommand.js +1 -3
  13. package/dist-es/commands/DeleteWorkerBlockCommand.js +1 -3
  14. package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +1 -3
  15. package/dist-es/commands/GetAccountBalanceCommand.js +1 -3
  16. package/dist-es/commands/GetAssignmentCommand.js +1 -3
  17. package/dist-es/commands/GetFileUploadURLCommand.js +1 -3
  18. package/dist-es/commands/GetHITCommand.js +1 -3
  19. package/dist-es/commands/GetQualificationScoreCommand.js +1 -3
  20. package/dist-es/commands/GetQualificationTypeCommand.js +1 -3
  21. package/dist-es/commands/ListAssignmentsForHITCommand.js +1 -3
  22. package/dist-es/commands/ListBonusPaymentsCommand.js +1 -3
  23. package/dist-es/commands/ListHITsCommand.js +1 -3
  24. package/dist-es/commands/ListHITsForQualificationTypeCommand.js +1 -3
  25. package/dist-es/commands/ListQualificationRequestsCommand.js +1 -3
  26. package/dist-es/commands/ListQualificationTypesCommand.js +1 -3
  27. package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +1 -3
  28. package/dist-es/commands/ListReviewableHITsCommand.js +1 -3
  29. package/dist-es/commands/ListWorkerBlocksCommand.js +1 -3
  30. package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +1 -3
  31. package/dist-es/commands/NotifyWorkersCommand.js +1 -3
  32. package/dist-es/commands/RejectAssignmentCommand.js +1 -3
  33. package/dist-es/commands/RejectQualificationRequestCommand.js +1 -3
  34. package/dist-es/commands/SendBonusCommand.js +1 -3
  35. package/dist-es/commands/SendTestEventNotificationCommand.js +1 -3
  36. package/dist-es/commands/UpdateExpirationForHITCommand.js +1 -3
  37. package/dist-es/commands/UpdateHITReviewStatusCommand.js +1 -3
  38. package/dist-es/commands/UpdateHITTypeOfHITCommand.js +1 -3
  39. package/dist-es/commands/UpdateNotificationSettingsCommand.js +1 -3
  40. package/dist-es/commands/UpdateQualificationTypeCommand.js +1 -3
  41. package/dist-es/endpoint/endpointResolver.js +7 -3
  42. package/package.json +4 -4
  43. 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/AcceptQualificationRequestCommand.ts
1455
- var _AcceptQualificationRequestCommand = class _AcceptQualificationRequestCommand extends import_smithy_client.Command.classBuilder().ep({
1456
- ...commonParams
1457
- }).m(function(Command, cs, config, o) {
1455
+ var _AcceptQualificationRequestCommand = class _AcceptQualificationRequestCommand 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 AcceptQualificationRequestCommand = _AcceptQualificationRequestCommand;
1468
1466
 
1469
1467
 
1470
1468
 
1471
- var _ApproveAssignmentCommand = class _ApproveAssignmentCommand extends import_smithy_client.Command.classBuilder().ep({
1472
- ...commonParams
1473
- }).m(function(Command, cs, config, o) {
1469
+ var _ApproveAssignmentCommand = class _ApproveAssignmentCommand 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 ApproveAssignmentCommand = _ApproveAssignmentCommand;
1484
1480
 
1485
1481
 
1486
1482
 
1487
- var _AssociateQualificationWithWorkerCommand = class _AssociateQualificationWithWorkerCommand extends import_smithy_client.Command.classBuilder().ep({
1488
- ...commonParams
1489
- }).m(function(Command, cs, config, o) {
1483
+ var _AssociateQualificationWithWorkerCommand = class _AssociateQualificationWithWorkerCommand 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 AssociateQualificationWithWorkerCommand = _AssociateQualificationWithWorkerC
1500
1494
 
1501
1495
 
1502
1496
 
1503
- var _CreateAdditionalAssignmentsForHITCommand = class _CreateAdditionalAssignmentsForHITCommand extends import_smithy_client.Command.classBuilder().ep({
1504
- ...commonParams
1505
- }).m(function(Command, cs, config, o) {
1497
+ var _CreateAdditionalAssignmentsForHITCommand = class _CreateAdditionalAssignmentsForHITCommand 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 CreateAdditionalAssignmentsForHITCommand = _CreateAdditionalAssignmentsForHI
1516
1508
 
1517
1509
 
1518
1510
 
1519
- var _CreateHITCommand = class _CreateHITCommand extends import_smithy_client.Command.classBuilder().ep({
1520
- ...commonParams
1521
- }).m(function(Command, cs, config, o) {
1511
+ var _CreateHITCommand = class _CreateHITCommand 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 CreateHITCommand = _CreateHITCommand;
1532
1522
 
1533
1523
 
1534
1524
 
1535
- var _CreateHITTypeCommand = class _CreateHITTypeCommand extends import_smithy_client.Command.classBuilder().ep({
1536
- ...commonParams
1537
- }).m(function(Command, cs, config, o) {
1525
+ var _CreateHITTypeCommand = class _CreateHITTypeCommand 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 CreateHITTypeCommand = _CreateHITTypeCommand;
1548
1536
 
1549
1537
 
1550
1538
 
1551
- var _CreateHITWithHITTypeCommand = class _CreateHITWithHITTypeCommand extends import_smithy_client.Command.classBuilder().ep({
1552
- ...commonParams
1553
- }).m(function(Command, cs, config, o) {
1539
+ var _CreateHITWithHITTypeCommand = class _CreateHITWithHITTypeCommand 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 CreateHITWithHITTypeCommand = _CreateHITWithHITTypeCommand;
1564
1550
 
1565
1551
 
1566
1552
 
1567
- var _CreateQualificationTypeCommand = class _CreateQualificationTypeCommand extends import_smithy_client.Command.classBuilder().ep({
1568
- ...commonParams
1569
- }).m(function(Command, cs, config, o) {
1553
+ var _CreateQualificationTypeCommand = class _CreateQualificationTypeCommand 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 CreateQualificationTypeCommand = _CreateQualificationTypeCommand;
1580
1564
 
1581
1565
 
1582
1566
 
1583
- var _CreateWorkerBlockCommand = class _CreateWorkerBlockCommand extends import_smithy_client.Command.classBuilder().ep({
1584
- ...commonParams
1585
- }).m(function(Command, cs, config, o) {
1567
+ var _CreateWorkerBlockCommand = class _CreateWorkerBlockCommand 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 CreateWorkerBlockCommand = _CreateWorkerBlockCommand;
1596
1578
 
1597
1579
 
1598
1580
 
1599
- var _DeleteHITCommand = class _DeleteHITCommand extends import_smithy_client.Command.classBuilder().ep({
1600
- ...commonParams
1601
- }).m(function(Command, cs, config, o) {
1581
+ var _DeleteHITCommand = class _DeleteHITCommand 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 DeleteHITCommand = _DeleteHITCommand;
1612
1592
 
1613
1593
 
1614
1594
 
1615
- var _DeleteQualificationTypeCommand = class _DeleteQualificationTypeCommand extends import_smithy_client.Command.classBuilder().ep({
1616
- ...commonParams
1617
- }).m(function(Command, cs, config, o) {
1595
+ var _DeleteQualificationTypeCommand = class _DeleteQualificationTypeCommand 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 DeleteQualificationTypeCommand = _DeleteQualificationTypeCommand;
1628
1606
 
1629
1607
 
1630
1608
 
1631
- var _DeleteWorkerBlockCommand = class _DeleteWorkerBlockCommand extends import_smithy_client.Command.classBuilder().ep({
1632
- ...commonParams
1633
- }).m(function(Command, cs, config, o) {
1609
+ var _DeleteWorkerBlockCommand = class _DeleteWorkerBlockCommand 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 DeleteWorkerBlockCommand = _DeleteWorkerBlockCommand;
1644
1620
 
1645
1621
 
1646
1622
 
1647
- var _DisassociateQualificationFromWorkerCommand = class _DisassociateQualificationFromWorkerCommand extends import_smithy_client.Command.classBuilder().ep({
1648
- ...commonParams
1649
- }).m(function(Command, cs, config, o) {
1623
+ var _DisassociateQualificationFromWorkerCommand = class _DisassociateQualificationFromWorkerCommand 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 DisassociateQualificationFromWorkerCommand = _DisassociateQualificationFromW
1660
1634
 
1661
1635
 
1662
1636
 
1663
- var _GetAccountBalanceCommand = class _GetAccountBalanceCommand extends import_smithy_client.Command.classBuilder().ep({
1664
- ...commonParams
1665
- }).m(function(Command, cs, config, o) {
1637
+ var _GetAccountBalanceCommand = class _GetAccountBalanceCommand 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 GetAccountBalanceCommand = _GetAccountBalanceCommand;
1676
1648
 
1677
1649
 
1678
1650
 
1679
- var _GetAssignmentCommand = class _GetAssignmentCommand extends import_smithy_client.Command.classBuilder().ep({
1680
- ...commonParams
1681
- }).m(function(Command, cs, config, o) {
1651
+ var _GetAssignmentCommand = class _GetAssignmentCommand 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 GetAssignmentCommand = _GetAssignmentCommand;
1692
1662
 
1693
1663
 
1694
1664
 
1695
- var _GetFileUploadURLCommand = class _GetFileUploadURLCommand extends import_smithy_client.Command.classBuilder().ep({
1696
- ...commonParams
1697
- }).m(function(Command, cs, config, o) {
1665
+ var _GetFileUploadURLCommand = class _GetFileUploadURLCommand 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 GetFileUploadURLCommand = _GetFileUploadURLCommand;
1708
1676
 
1709
1677
 
1710
1678
 
1711
- var _GetHITCommand = class _GetHITCommand extends import_smithy_client.Command.classBuilder().ep({
1712
- ...commonParams
1713
- }).m(function(Command, cs, config, o) {
1679
+ var _GetHITCommand = class _GetHITCommand 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 GetHITCommand = _GetHITCommand;
1724
1690
 
1725
1691
 
1726
1692
 
1727
- var _GetQualificationScoreCommand = class _GetQualificationScoreCommand extends import_smithy_client.Command.classBuilder().ep({
1728
- ...commonParams
1729
- }).m(function(Command, cs, config, o) {
1693
+ var _GetQualificationScoreCommand = class _GetQualificationScoreCommand 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 GetQualificationScoreCommand = _GetQualificationScoreCommand;
1740
1704
 
1741
1705
 
1742
1706
 
1743
- var _GetQualificationTypeCommand = class _GetQualificationTypeCommand extends import_smithy_client.Command.classBuilder().ep({
1744
- ...commonParams
1745
- }).m(function(Command, cs, config, o) {
1707
+ var _GetQualificationTypeCommand = class _GetQualificationTypeCommand 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 GetQualificationTypeCommand = _GetQualificationTypeCommand;
1756
1718
 
1757
1719
 
1758
1720
 
1759
- var _ListAssignmentsForHITCommand = class _ListAssignmentsForHITCommand extends import_smithy_client.Command.classBuilder().ep({
1760
- ...commonParams
1761
- }).m(function(Command, cs, config, o) {
1721
+ var _ListAssignmentsForHITCommand = class _ListAssignmentsForHITCommand 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 ListAssignmentsForHITCommand = _ListAssignmentsForHITCommand;
1772
1732
 
1773
1733
 
1774
1734
 
1775
- var _ListBonusPaymentsCommand = class _ListBonusPaymentsCommand extends import_smithy_client.Command.classBuilder().ep({
1776
- ...commonParams
1777
- }).m(function(Command, cs, config, o) {
1735
+ var _ListBonusPaymentsCommand = class _ListBonusPaymentsCommand 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 ListBonusPaymentsCommand = _ListBonusPaymentsCommand;
1788
1746
 
1789
1747
 
1790
1748
 
1791
- var _ListHITsCommand = class _ListHITsCommand extends import_smithy_client.Command.classBuilder().ep({
1792
- ...commonParams
1793
- }).m(function(Command, cs, config, o) {
1749
+ var _ListHITsCommand = class _ListHITsCommand 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 ListHITsCommand = _ListHITsCommand;
1804
1760
 
1805
1761
 
1806
1762
 
1807
- var _ListHITsForQualificationTypeCommand = class _ListHITsForQualificationTypeCommand extends import_smithy_client.Command.classBuilder().ep({
1808
- ...commonParams
1809
- }).m(function(Command, cs, config, o) {
1763
+ var _ListHITsForQualificationTypeCommand = class _ListHITsForQualificationTypeCommand 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())
@@ -1820,9 +1774,7 @@ var ListHITsForQualificationTypeCommand = _ListHITsForQualificationTypeCommand;
1820
1774
 
1821
1775
 
1822
1776
 
1823
- var _ListQualificationRequestsCommand = class _ListQualificationRequestsCommand extends import_smithy_client.Command.classBuilder().ep({
1824
- ...commonParams
1825
- }).m(function(Command, cs, config, o) {
1777
+ var _ListQualificationRequestsCommand = class _ListQualificationRequestsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1826
1778
  return [
1827
1779
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1828
1780
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1836,9 +1788,7 @@ var ListQualificationRequestsCommand = _ListQualificationRequestsCommand;
1836
1788
 
1837
1789
 
1838
1790
 
1839
- var _ListQualificationTypesCommand = class _ListQualificationTypesCommand extends import_smithy_client.Command.classBuilder().ep({
1840
- ...commonParams
1841
- }).m(function(Command, cs, config, o) {
1791
+ var _ListQualificationTypesCommand = class _ListQualificationTypesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1842
1792
  return [
1843
1793
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1844
1794
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1852,9 +1802,7 @@ var ListQualificationTypesCommand = _ListQualificationTypesCommand;
1852
1802
 
1853
1803
 
1854
1804
 
1855
- var _ListReviewableHITsCommand = class _ListReviewableHITsCommand extends import_smithy_client.Command.classBuilder().ep({
1856
- ...commonParams
1857
- }).m(function(Command, cs, config, o) {
1805
+ var _ListReviewableHITsCommand = class _ListReviewableHITsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1858
1806
  return [
1859
1807
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1860
1808
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1868,9 +1816,7 @@ var ListReviewableHITsCommand = _ListReviewableHITsCommand;
1868
1816
 
1869
1817
 
1870
1818
 
1871
- var _ListReviewPolicyResultsForHITCommand = class _ListReviewPolicyResultsForHITCommand extends import_smithy_client.Command.classBuilder().ep({
1872
- ...commonParams
1873
- }).m(function(Command, cs, config, o) {
1819
+ var _ListReviewPolicyResultsForHITCommand = class _ListReviewPolicyResultsForHITCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1874
1820
  return [
1875
1821
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1876
1822
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1884,9 +1830,7 @@ var ListReviewPolicyResultsForHITCommand = _ListReviewPolicyResultsForHITCommand
1884
1830
 
1885
1831
 
1886
1832
 
1887
- var _ListWorkerBlocksCommand = class _ListWorkerBlocksCommand extends import_smithy_client.Command.classBuilder().ep({
1888
- ...commonParams
1889
- }).m(function(Command, cs, config, o) {
1833
+ var _ListWorkerBlocksCommand = class _ListWorkerBlocksCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1890
1834
  return [
1891
1835
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1892
1836
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1900,9 +1844,7 @@ var ListWorkerBlocksCommand = _ListWorkerBlocksCommand;
1900
1844
 
1901
1845
 
1902
1846
 
1903
- var _ListWorkersWithQualificationTypeCommand = class _ListWorkersWithQualificationTypeCommand extends import_smithy_client.Command.classBuilder().ep({
1904
- ...commonParams
1905
- }).m(function(Command, cs, config, o) {
1847
+ var _ListWorkersWithQualificationTypeCommand = class _ListWorkersWithQualificationTypeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1906
1848
  return [
1907
1849
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1908
1850
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1916,9 +1858,7 @@ var ListWorkersWithQualificationTypeCommand = _ListWorkersWithQualificationTypeC
1916
1858
 
1917
1859
 
1918
1860
 
1919
- var _NotifyWorkersCommand = class _NotifyWorkersCommand extends import_smithy_client.Command.classBuilder().ep({
1920
- ...commonParams
1921
- }).m(function(Command, cs, config, o) {
1861
+ var _NotifyWorkersCommand = class _NotifyWorkersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1922
1862
  return [
1923
1863
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1924
1864
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1932,9 +1872,7 @@ var NotifyWorkersCommand = _NotifyWorkersCommand;
1932
1872
 
1933
1873
 
1934
1874
 
1935
- var _RejectAssignmentCommand = class _RejectAssignmentCommand extends import_smithy_client.Command.classBuilder().ep({
1936
- ...commonParams
1937
- }).m(function(Command, cs, config, o) {
1875
+ var _RejectAssignmentCommand = class _RejectAssignmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1938
1876
  return [
1939
1877
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1940
1878
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1948,9 +1886,7 @@ var RejectAssignmentCommand = _RejectAssignmentCommand;
1948
1886
 
1949
1887
 
1950
1888
 
1951
- var _RejectQualificationRequestCommand = class _RejectQualificationRequestCommand extends import_smithy_client.Command.classBuilder().ep({
1952
- ...commonParams
1953
- }).m(function(Command, cs, config, o) {
1889
+ var _RejectQualificationRequestCommand = class _RejectQualificationRequestCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1954
1890
  return [
1955
1891
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1956
1892
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1964,9 +1900,7 @@ var RejectQualificationRequestCommand = _RejectQualificationRequestCommand;
1964
1900
 
1965
1901
 
1966
1902
 
1967
- var _SendBonusCommand = class _SendBonusCommand extends import_smithy_client.Command.classBuilder().ep({
1968
- ...commonParams
1969
- }).m(function(Command, cs, config, o) {
1903
+ var _SendBonusCommand = class _SendBonusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1970
1904
  return [
1971
1905
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1972
1906
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1980,9 +1914,7 @@ var SendBonusCommand = _SendBonusCommand;
1980
1914
 
1981
1915
 
1982
1916
 
1983
- var _SendTestEventNotificationCommand = class _SendTestEventNotificationCommand extends import_smithy_client.Command.classBuilder().ep({
1984
- ...commonParams
1985
- }).m(function(Command, cs, config, o) {
1917
+ var _SendTestEventNotificationCommand = class _SendTestEventNotificationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1986
1918
  return [
1987
1919
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1988
1920
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1996,9 +1928,7 @@ var SendTestEventNotificationCommand = _SendTestEventNotificationCommand;
1996
1928
 
1997
1929
 
1998
1930
 
1999
- var _UpdateExpirationForHITCommand = class _UpdateExpirationForHITCommand extends import_smithy_client.Command.classBuilder().ep({
2000
- ...commonParams
2001
- }).m(function(Command, cs, config, o) {
1931
+ var _UpdateExpirationForHITCommand = class _UpdateExpirationForHITCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2002
1932
  return [
2003
1933
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2004
1934
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2012,9 +1942,7 @@ var UpdateExpirationForHITCommand = _UpdateExpirationForHITCommand;
2012
1942
 
2013
1943
 
2014
1944
 
2015
- var _UpdateHITReviewStatusCommand = class _UpdateHITReviewStatusCommand extends import_smithy_client.Command.classBuilder().ep({
2016
- ...commonParams
2017
- }).m(function(Command, cs, config, o) {
1945
+ var _UpdateHITReviewStatusCommand = class _UpdateHITReviewStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2018
1946
  return [
2019
1947
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2020
1948
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2028,9 +1956,7 @@ var UpdateHITReviewStatusCommand = _UpdateHITReviewStatusCommand;
2028
1956
 
2029
1957
 
2030
1958
 
2031
- var _UpdateHITTypeOfHITCommand = class _UpdateHITTypeOfHITCommand extends import_smithy_client.Command.classBuilder().ep({
2032
- ...commonParams
2033
- }).m(function(Command, cs, config, o) {
1959
+ var _UpdateHITTypeOfHITCommand = class _UpdateHITTypeOfHITCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2034
1960
  return [
2035
1961
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2036
1962
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2044,9 +1970,7 @@ var UpdateHITTypeOfHITCommand = _UpdateHITTypeOfHITCommand;
2044
1970
 
2045
1971
 
2046
1972
 
2047
- var _UpdateNotificationSettingsCommand = class _UpdateNotificationSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
2048
- ...commonParams
2049
- }).m(function(Command, cs, config, o) {
1973
+ var _UpdateNotificationSettingsCommand = class _UpdateNotificationSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2050
1974
  return [
2051
1975
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2052
1976
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2060,9 +1984,7 @@ var UpdateNotificationSettingsCommand = _UpdateNotificationSettingsCommand;
2060
1984
 
2061
1985
 
2062
1986
 
2063
- var _UpdateQualificationTypeCommand = class _UpdateQualificationTypeCommand extends import_smithy_client.Command.classBuilder().ep({
2064
- ...commonParams
2065
- }).m(function(Command, cs, config, o) {
1987
+ var _UpdateQualificationTypeCommand = class _UpdateQualificationTypeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2066
1988
  return [
2067
1989
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2068
1990
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_AcceptQualificationRequestCommand, se_AcceptQualificationRequestComm
6
6
  export { $Command };
7
7
  export class AcceptQualificationRequestCommand 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_ApproveAssignmentCommand, se_ApproveAssignmentCommand } from "../pro
6
6
  export { $Command };
7
7
  export class ApproveAssignmentCommand 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_AssociateQualificationWithWorkerCommand, se_AssociateQualificationWi
6
6
  export { $Command };
7
7
  export class AssociateQualificationWithWorkerCommand 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_CreateAdditionalAssignmentsForHITCommand, se_CreateAdditionalAssignm
6
6
  export { $Command };
7
7
  export class CreateAdditionalAssignmentsForHITCommand 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_CreateHITCommand, se_CreateHITCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class CreateHITCommand 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_CreateHITTypeCommand, se_CreateHITTypeCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class CreateHITTypeCommand 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_CreateHITWithHITTypeCommand, se_CreateHITWithHITTypeCommand } from "
6
6
  export { $Command };
7
7
  export class CreateHITWithHITTypeCommand 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_CreateQualificationTypeCommand, se_CreateQualificationTypeCommand }
6
6
  export { $Command };
7
7
  export class CreateQualificationTypeCommand 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_CreateWorkerBlockCommand, se_CreateWorkerBlockCommand } from "../pro
6
6
  export { $Command };
7
7
  export class CreateWorkerBlockCommand 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_DeleteHITCommand, se_DeleteHITCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class DeleteHITCommand 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_DeleteQualificationTypeCommand, se_DeleteQualificationTypeCommand }
6
6
  export { $Command };
7
7
  export class DeleteQualificationTypeCommand 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_DeleteWorkerBlockCommand, se_DeleteWorkerBlockCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteWorkerBlockCommand 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_DisassociateQualificationFromWorkerCommand, se_DisassociateQualifica
6
6
  export { $Command };
7
7
  export class DisassociateQualificationFromWorkerCommand 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_GetAccountBalanceCommand, se_GetAccountBalanceCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetAccountBalanceCommand 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_GetAssignmentCommand, se_GetAssignmentCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class GetAssignmentCommand 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_GetFileUploadURLCommand, se_GetFileUploadURLCommand } from "../proto
6
6
  export { $Command };
7
7
  export class GetFileUploadURLCommand 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_GetHITCommand, se_GetHITCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
7
  export class GetHITCommand 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_GetQualificationScoreCommand, se_GetQualificationScoreCommand } from
6
6
  export { $Command };
7
7
  export class GetQualificationScoreCommand 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_GetQualificationTypeCommand, se_GetQualificationTypeCommand } from "
6
6
  export { $Command };
7
7
  export class GetQualificationTypeCommand 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_ListAssignmentsForHITCommand, se_ListAssignmentsForHITCommand } from
6
6
  export { $Command };
7
7
  export class ListAssignmentsForHITCommand 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_ListBonusPaymentsCommand, se_ListBonusPaymentsCommand } from "../pro
6
6
  export { $Command };
7
7
  export class ListBonusPaymentsCommand 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_ListHITsCommand, se_ListHITsCommand } from "../protocols/Aws_json1_1
6
6
  export { $Command };
7
7
  export class ListHITsCommand 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_ListHITsForQualificationTypeCommand, se_ListHITsForQualificationType
6
6
  export { $Command };
7
7
  export class ListHITsForQualificationTypeCommand 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_ListQualificationRequestsCommand, se_ListQualificationRequestsComman
6
6
  export { $Command };
7
7
  export class ListQualificationRequestsCommand 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_ListQualificationTypesCommand, se_ListQualificationTypesCommand } fr
6
6
  export { $Command };
7
7
  export class ListQualificationTypesCommand 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_ListReviewPolicyResultsForHITCommand, se_ListReviewPolicyResultsForH
6
6
  export { $Command };
7
7
  export class ListReviewPolicyResultsForHITCommand 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_ListReviewableHITsCommand, se_ListReviewableHITsCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListReviewableHITsCommand 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_ListWorkerBlocksCommand, se_ListWorkerBlocksCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListWorkerBlocksCommand 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_ListWorkersWithQualificationTypeCommand, se_ListWorkersWithQualifica
6
6
  export { $Command };
7
7
  export class ListWorkersWithQualificationTypeCommand 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_NotifyWorkersCommand, se_NotifyWorkersCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class NotifyWorkersCommand 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_RejectAssignmentCommand, se_RejectAssignmentCommand } from "../proto
6
6
  export { $Command };
7
7
  export class RejectAssignmentCommand 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_RejectQualificationRequestCommand, se_RejectQualificationRequestComm
6
6
  export { $Command };
7
7
  export class RejectQualificationRequestCommand 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_SendBonusCommand, se_SendBonusCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class SendBonusCommand 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_SendTestEventNotificationCommand, se_SendTestEventNotificationComman
6
6
  export { $Command };
7
7
  export class SendTestEventNotificationCommand 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_UpdateExpirationForHITCommand, se_UpdateExpirationForHITCommand } fr
6
6
  export { $Command };
7
7
  export class UpdateExpirationForHITCommand 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_UpdateHITReviewStatusCommand, se_UpdateHITReviewStatusCommand } from
6
6
  export { $Command };
7
7
  export class UpdateHITReviewStatusCommand 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_UpdateHITTypeOfHITCommand, se_UpdateHITTypeOfHITCommand } from "../p
6
6
  export { $Command };
7
7
  export class UpdateHITTypeOfHITCommand 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_UpdateNotificationSettingsCommand, se_UpdateNotificationSettingsComm
6
6
  export { $Command };
7
7
  export class UpdateNotificationSettingsCommand 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_UpdateQualificationTypeCommand, se_UpdateQualificationTypeCommand }
6
6
  export { $Command };
7
7
  export class UpdateQualificationTypeCommand 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-mturk",
3
3
  "description": "AWS SDK for JavaScript Mturk 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-mturk",
@@ -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
- }