@aws-sdk/client-marketplace-agreement 3.1077.0 → 3.1079.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 (83) hide show
  1. package/dist-cjs/index.js +33 -253
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AcceptAgreementCancellationRequestCommand.js +2 -14
  4. package/dist-es/commands/AcceptAgreementPaymentRequestCommand.js +2 -14
  5. package/dist-es/commands/AcceptAgreementRequestCommand.js +2 -14
  6. package/dist-es/commands/BatchCreateBillingAdjustmentRequestCommand.js +2 -14
  7. package/dist-es/commands/CancelAgreementCancellationRequestCommand.js +2 -14
  8. package/dist-es/commands/CancelAgreementCommand.js +2 -14
  9. package/dist-es/commands/CancelAgreementPaymentRequestCommand.js +2 -14
  10. package/dist-es/commands/CreateAgreementRequestCommand.js +2 -14
  11. package/dist-es/commands/DescribeAgreementCommand.js +2 -14
  12. package/dist-es/commands/GetAgreementCancellationRequestCommand.js +2 -14
  13. package/dist-es/commands/GetAgreementEntitlementsCommand.js +2 -14
  14. package/dist-es/commands/GetAgreementPaymentRequestCommand.js +2 -14
  15. package/dist-es/commands/GetAgreementTermsCommand.js +2 -14
  16. package/dist-es/commands/GetBillingAdjustmentRequestCommand.js +2 -14
  17. package/dist-es/commands/ListAgreementCancellationRequestsCommand.js +2 -14
  18. package/dist-es/commands/ListAgreementChargesCommand.js +2 -14
  19. package/dist-es/commands/ListAgreementInvoiceLineItemsCommand.js +2 -14
  20. package/dist-es/commands/ListAgreementPaymentRequestsCommand.js +2 -14
  21. package/dist-es/commands/ListBillingAdjustmentRequestsCommand.js +2 -14
  22. package/dist-es/commands/RejectAgreementCancellationRequestCommand.js +2 -14
  23. package/dist-es/commands/RejectAgreementPaymentRequestCommand.js +2 -14
  24. package/dist-es/commands/SearchAgreementsCommand.js +2 -14
  25. package/dist-es/commands/SendAgreementCancellationRequestCommand.js +2 -14
  26. package/dist-es/commands/SendAgreementPaymentRequestCommand.js +2 -14
  27. package/dist-es/commands/UpdatePurchaseOrdersCommand.js +2 -14
  28. package/dist-es/index.js +1 -0
  29. package/dist-types/commandBuilder.d.ts +18 -0
  30. package/dist-types/commands/AcceptAgreementCancellationRequestCommand.d.ts +3 -8
  31. package/dist-types/commands/AcceptAgreementPaymentRequestCommand.d.ts +3 -8
  32. package/dist-types/commands/AcceptAgreementRequestCommand.d.ts +3 -8
  33. package/dist-types/commands/BatchCreateBillingAdjustmentRequestCommand.d.ts +3 -8
  34. package/dist-types/commands/CancelAgreementCancellationRequestCommand.d.ts +3 -8
  35. package/dist-types/commands/CancelAgreementCommand.d.ts +3 -8
  36. package/dist-types/commands/CancelAgreementPaymentRequestCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateAgreementRequestCommand.d.ts +3 -8
  38. package/dist-types/commands/DescribeAgreementCommand.d.ts +3 -8
  39. package/dist-types/commands/GetAgreementCancellationRequestCommand.d.ts +3 -8
  40. package/dist-types/commands/GetAgreementEntitlementsCommand.d.ts +3 -8
  41. package/dist-types/commands/GetAgreementPaymentRequestCommand.d.ts +3 -8
  42. package/dist-types/commands/GetAgreementTermsCommand.d.ts +3 -8
  43. package/dist-types/commands/GetBillingAdjustmentRequestCommand.d.ts +3 -8
  44. package/dist-types/commands/ListAgreementCancellationRequestsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListAgreementChargesCommand.d.ts +3 -8
  46. package/dist-types/commands/ListAgreementInvoiceLineItemsCommand.d.ts +3 -8
  47. package/dist-types/commands/ListAgreementPaymentRequestsCommand.d.ts +3 -8
  48. package/dist-types/commands/ListBillingAdjustmentRequestsCommand.d.ts +3 -8
  49. package/dist-types/commands/RejectAgreementCancellationRequestCommand.d.ts +3 -8
  50. package/dist-types/commands/RejectAgreementPaymentRequestCommand.d.ts +3 -8
  51. package/dist-types/commands/SearchAgreementsCommand.d.ts +3 -8
  52. package/dist-types/commands/SendAgreementCancellationRequestCommand.d.ts +3 -8
  53. package/dist-types/commands/SendAgreementPaymentRequestCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdatePurchaseOrdersCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  57. package/dist-types/ts3.4/commands/AcceptAgreementCancellationRequestCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/AcceptAgreementPaymentRequestCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/AcceptAgreementRequestCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/BatchCreateBillingAdjustmentRequestCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/CancelAgreementCancellationRequestCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/CancelAgreementCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/CancelAgreementPaymentRequestCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/CreateAgreementRequestCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DescribeAgreementCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetAgreementCancellationRequestCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetAgreementEntitlementsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetAgreementPaymentRequestCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetAgreementTermsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/GetBillingAdjustmentRequestCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListAgreementCancellationRequestsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListAgreementChargesCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListAgreementInvoiceLineItemsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListAgreementPaymentRequestsCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ListBillingAdjustmentRequestsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/RejectAgreementCancellationRequestCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/RejectAgreementPaymentRequestCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/SearchAgreementsCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/SendAgreementCancellationRequestCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/SendAgreementPaymentRequestCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UpdatePurchaseOrdersCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/index.d.ts +1 -0
  83. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1478,304 +1479,83 @@ class MarketplaceAgreementClient extends Client {
1478
1479
  }
1479
1480
  }
1480
1481
 
1481
- class AcceptAgreementCancellationRequestCommand extends Command
1482
- .classBuilder()
1483
- .ep(commonParams)
1484
- .m(function (Command, cs, config, o) {
1485
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1486
- })
1487
- .s("AWSMPCommerceService_v20200301", "AcceptAgreementCancellationRequest", {})
1488
- .n("MarketplaceAgreementClient", "AcceptAgreementCancellationRequestCommand")
1489
- .sc(AcceptAgreementCancellationRequest$)
1490
- .build() {
1482
+ const command = makeBuilder(commonParams, "AWSMPCommerceService_v20200301", "MarketplaceAgreementClient", getEndpointPlugin);
1483
+ const _ep0 = {};
1484
+ const _mw0 = (Command, cs, config, o) => [];
1485
+
1486
+ class AcceptAgreementCancellationRequestCommand extends command(_ep0, _mw0, "AcceptAgreementCancellationRequest", AcceptAgreementCancellationRequest$) {
1491
1487
  }
1492
1488
 
1493
- class AcceptAgreementPaymentRequestCommand extends Command
1494
- .classBuilder()
1495
- .ep(commonParams)
1496
- .m(function (Command, cs, config, o) {
1497
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1498
- })
1499
- .s("AWSMPCommerceService_v20200301", "AcceptAgreementPaymentRequest", {})
1500
- .n("MarketplaceAgreementClient", "AcceptAgreementPaymentRequestCommand")
1501
- .sc(AcceptAgreementPaymentRequest$)
1502
- .build() {
1489
+ class AcceptAgreementPaymentRequestCommand extends command(_ep0, _mw0, "AcceptAgreementPaymentRequest", AcceptAgreementPaymentRequest$) {
1503
1490
  }
1504
1491
 
1505
- class AcceptAgreementRequestCommand extends Command
1506
- .classBuilder()
1507
- .ep(commonParams)
1508
- .m(function (Command, cs, config, o) {
1509
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
- })
1511
- .s("AWSMPCommerceService_v20200301", "AcceptAgreementRequest", {})
1512
- .n("MarketplaceAgreementClient", "AcceptAgreementRequestCommand")
1513
- .sc(AcceptAgreementRequest$)
1514
- .build() {
1492
+ class AcceptAgreementRequestCommand extends command(_ep0, _mw0, "AcceptAgreementRequest", AcceptAgreementRequest$) {
1515
1493
  }
1516
1494
 
1517
- class BatchCreateBillingAdjustmentRequestCommand extends Command
1518
- .classBuilder()
1519
- .ep(commonParams)
1520
- .m(function (Command, cs, config, o) {
1521
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1522
- })
1523
- .s("AWSMPCommerceService_v20200301", "BatchCreateBillingAdjustmentRequest", {})
1524
- .n("MarketplaceAgreementClient", "BatchCreateBillingAdjustmentRequestCommand")
1525
- .sc(BatchCreateBillingAdjustmentRequest$)
1526
- .build() {
1495
+ class BatchCreateBillingAdjustmentRequestCommand extends command(_ep0, _mw0, "BatchCreateBillingAdjustmentRequest", BatchCreateBillingAdjustmentRequest$) {
1527
1496
  }
1528
1497
 
1529
- class CancelAgreementCancellationRequestCommand extends Command
1530
- .classBuilder()
1531
- .ep(commonParams)
1532
- .m(function (Command, cs, config, o) {
1533
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1534
- })
1535
- .s("AWSMPCommerceService_v20200301", "CancelAgreementCancellationRequest", {})
1536
- .n("MarketplaceAgreementClient", "CancelAgreementCancellationRequestCommand")
1537
- .sc(CancelAgreementCancellationRequest$)
1538
- .build() {
1498
+ class CancelAgreementCancellationRequestCommand extends command(_ep0, _mw0, "CancelAgreementCancellationRequest", CancelAgreementCancellationRequest$) {
1539
1499
  }
1540
1500
 
1541
- class CancelAgreementCommand extends Command
1542
- .classBuilder()
1543
- .ep(commonParams)
1544
- .m(function (Command, cs, config, o) {
1545
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1546
- })
1547
- .s("AWSMPCommerceService_v20200301", "CancelAgreement", {})
1548
- .n("MarketplaceAgreementClient", "CancelAgreementCommand")
1549
- .sc(CancelAgreement$)
1550
- .build() {
1501
+ class CancelAgreementCommand extends command(_ep0, _mw0, "CancelAgreement", CancelAgreement$) {
1551
1502
  }
1552
1503
 
1553
- class CancelAgreementPaymentRequestCommand extends Command
1554
- .classBuilder()
1555
- .ep(commonParams)
1556
- .m(function (Command, cs, config, o) {
1557
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1558
- })
1559
- .s("AWSMPCommerceService_v20200301", "CancelAgreementPaymentRequest", {})
1560
- .n("MarketplaceAgreementClient", "CancelAgreementPaymentRequestCommand")
1561
- .sc(CancelAgreementPaymentRequest$)
1562
- .build() {
1504
+ class CancelAgreementPaymentRequestCommand extends command(_ep0, _mw0, "CancelAgreementPaymentRequest", CancelAgreementPaymentRequest$) {
1563
1505
  }
1564
1506
 
1565
- class CreateAgreementRequestCommand extends Command
1566
- .classBuilder()
1567
- .ep(commonParams)
1568
- .m(function (Command, cs, config, o) {
1569
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1570
- })
1571
- .s("AWSMPCommerceService_v20200301", "CreateAgreementRequest", {})
1572
- .n("MarketplaceAgreementClient", "CreateAgreementRequestCommand")
1573
- .sc(CreateAgreementRequest$)
1574
- .build() {
1507
+ class CreateAgreementRequestCommand extends command(_ep0, _mw0, "CreateAgreementRequest", CreateAgreementRequest$) {
1575
1508
  }
1576
1509
 
1577
- class DescribeAgreementCommand extends Command
1578
- .classBuilder()
1579
- .ep(commonParams)
1580
- .m(function (Command, cs, config, o) {
1581
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1582
- })
1583
- .s("AWSMPCommerceService_v20200301", "DescribeAgreement", {})
1584
- .n("MarketplaceAgreementClient", "DescribeAgreementCommand")
1585
- .sc(DescribeAgreement$)
1586
- .build() {
1510
+ class DescribeAgreementCommand extends command(_ep0, _mw0, "DescribeAgreement", DescribeAgreement$) {
1587
1511
  }
1588
1512
 
1589
- class GetAgreementCancellationRequestCommand extends Command
1590
- .classBuilder()
1591
- .ep(commonParams)
1592
- .m(function (Command, cs, config, o) {
1593
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1594
- })
1595
- .s("AWSMPCommerceService_v20200301", "GetAgreementCancellationRequest", {})
1596
- .n("MarketplaceAgreementClient", "GetAgreementCancellationRequestCommand")
1597
- .sc(GetAgreementCancellationRequest$)
1598
- .build() {
1513
+ class GetAgreementCancellationRequestCommand extends command(_ep0, _mw0, "GetAgreementCancellationRequest", GetAgreementCancellationRequest$) {
1599
1514
  }
1600
1515
 
1601
- class GetAgreementEntitlementsCommand extends Command
1602
- .classBuilder()
1603
- .ep(commonParams)
1604
- .m(function (Command, cs, config, o) {
1605
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1606
- })
1607
- .s("AWSMPCommerceService_v20200301", "GetAgreementEntitlements", {})
1608
- .n("MarketplaceAgreementClient", "GetAgreementEntitlementsCommand")
1609
- .sc(GetAgreementEntitlements$)
1610
- .build() {
1516
+ class GetAgreementEntitlementsCommand extends command(_ep0, _mw0, "GetAgreementEntitlements", GetAgreementEntitlements$) {
1611
1517
  }
1612
1518
 
1613
- class GetAgreementPaymentRequestCommand extends Command
1614
- .classBuilder()
1615
- .ep(commonParams)
1616
- .m(function (Command, cs, config, o) {
1617
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1618
- })
1619
- .s("AWSMPCommerceService_v20200301", "GetAgreementPaymentRequest", {})
1620
- .n("MarketplaceAgreementClient", "GetAgreementPaymentRequestCommand")
1621
- .sc(GetAgreementPaymentRequest$)
1622
- .build() {
1519
+ class GetAgreementPaymentRequestCommand extends command(_ep0, _mw0, "GetAgreementPaymentRequest", GetAgreementPaymentRequest$) {
1623
1520
  }
1624
1521
 
1625
- class GetAgreementTermsCommand extends Command
1626
- .classBuilder()
1627
- .ep(commonParams)
1628
- .m(function (Command, cs, config, o) {
1629
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1630
- })
1631
- .s("AWSMPCommerceService_v20200301", "GetAgreementTerms", {})
1632
- .n("MarketplaceAgreementClient", "GetAgreementTermsCommand")
1633
- .sc(GetAgreementTerms$)
1634
- .build() {
1522
+ class GetAgreementTermsCommand extends command(_ep0, _mw0, "GetAgreementTerms", GetAgreementTerms$) {
1635
1523
  }
1636
1524
 
1637
- class GetBillingAdjustmentRequestCommand extends Command
1638
- .classBuilder()
1639
- .ep(commonParams)
1640
- .m(function (Command, cs, config, o) {
1641
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1642
- })
1643
- .s("AWSMPCommerceService_v20200301", "GetBillingAdjustmentRequest", {})
1644
- .n("MarketplaceAgreementClient", "GetBillingAdjustmentRequestCommand")
1645
- .sc(GetBillingAdjustmentRequest$)
1646
- .build() {
1525
+ class GetBillingAdjustmentRequestCommand extends command(_ep0, _mw0, "GetBillingAdjustmentRequest", GetBillingAdjustmentRequest$) {
1647
1526
  }
1648
1527
 
1649
- class ListAgreementCancellationRequestsCommand extends Command
1650
- .classBuilder()
1651
- .ep(commonParams)
1652
- .m(function (Command, cs, config, o) {
1653
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1654
- })
1655
- .s("AWSMPCommerceService_v20200301", "ListAgreementCancellationRequests", {})
1656
- .n("MarketplaceAgreementClient", "ListAgreementCancellationRequestsCommand")
1657
- .sc(ListAgreementCancellationRequests$)
1658
- .build() {
1528
+ class ListAgreementCancellationRequestsCommand extends command(_ep0, _mw0, "ListAgreementCancellationRequests", ListAgreementCancellationRequests$) {
1659
1529
  }
1660
1530
 
1661
- class ListAgreementChargesCommand extends Command
1662
- .classBuilder()
1663
- .ep(commonParams)
1664
- .m(function (Command, cs, config, o) {
1665
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1666
- })
1667
- .s("AWSMPCommerceService_v20200301", "ListAgreementCharges", {})
1668
- .n("MarketplaceAgreementClient", "ListAgreementChargesCommand")
1669
- .sc(ListAgreementCharges$)
1670
- .build() {
1531
+ class ListAgreementChargesCommand extends command(_ep0, _mw0, "ListAgreementCharges", ListAgreementCharges$) {
1671
1532
  }
1672
1533
 
1673
- class ListAgreementInvoiceLineItemsCommand extends Command
1674
- .classBuilder()
1675
- .ep(commonParams)
1676
- .m(function (Command, cs, config, o) {
1677
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
- })
1679
- .s("AWSMPCommerceService_v20200301", "ListAgreementInvoiceLineItems", {})
1680
- .n("MarketplaceAgreementClient", "ListAgreementInvoiceLineItemsCommand")
1681
- .sc(ListAgreementInvoiceLineItems$)
1682
- .build() {
1534
+ class ListAgreementInvoiceLineItemsCommand extends command(_ep0, _mw0, "ListAgreementInvoiceLineItems", ListAgreementInvoiceLineItems$) {
1683
1535
  }
1684
1536
 
1685
- class ListAgreementPaymentRequestsCommand extends Command
1686
- .classBuilder()
1687
- .ep(commonParams)
1688
- .m(function (Command, cs, config, o) {
1689
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1690
- })
1691
- .s("AWSMPCommerceService_v20200301", "ListAgreementPaymentRequests", {})
1692
- .n("MarketplaceAgreementClient", "ListAgreementPaymentRequestsCommand")
1693
- .sc(ListAgreementPaymentRequests$)
1694
- .build() {
1537
+ class ListAgreementPaymentRequestsCommand extends command(_ep0, _mw0, "ListAgreementPaymentRequests", ListAgreementPaymentRequests$) {
1695
1538
  }
1696
1539
 
1697
- class ListBillingAdjustmentRequestsCommand extends Command
1698
- .classBuilder()
1699
- .ep(commonParams)
1700
- .m(function (Command, cs, config, o) {
1701
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1702
- })
1703
- .s("AWSMPCommerceService_v20200301", "ListBillingAdjustmentRequests", {})
1704
- .n("MarketplaceAgreementClient", "ListBillingAdjustmentRequestsCommand")
1705
- .sc(ListBillingAdjustmentRequests$)
1706
- .build() {
1540
+ class ListBillingAdjustmentRequestsCommand extends command(_ep0, _mw0, "ListBillingAdjustmentRequests", ListBillingAdjustmentRequests$) {
1707
1541
  }
1708
1542
 
1709
- class RejectAgreementCancellationRequestCommand extends Command
1710
- .classBuilder()
1711
- .ep(commonParams)
1712
- .m(function (Command, cs, config, o) {
1713
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1714
- })
1715
- .s("AWSMPCommerceService_v20200301", "RejectAgreementCancellationRequest", {})
1716
- .n("MarketplaceAgreementClient", "RejectAgreementCancellationRequestCommand")
1717
- .sc(RejectAgreementCancellationRequest$)
1718
- .build() {
1543
+ class RejectAgreementCancellationRequestCommand extends command(_ep0, _mw0, "RejectAgreementCancellationRequest", RejectAgreementCancellationRequest$) {
1719
1544
  }
1720
1545
 
1721
- class RejectAgreementPaymentRequestCommand extends Command
1722
- .classBuilder()
1723
- .ep(commonParams)
1724
- .m(function (Command, cs, config, o) {
1725
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1726
- })
1727
- .s("AWSMPCommerceService_v20200301", "RejectAgreementPaymentRequest", {})
1728
- .n("MarketplaceAgreementClient", "RejectAgreementPaymentRequestCommand")
1729
- .sc(RejectAgreementPaymentRequest$)
1730
- .build() {
1546
+ class RejectAgreementPaymentRequestCommand extends command(_ep0, _mw0, "RejectAgreementPaymentRequest", RejectAgreementPaymentRequest$) {
1731
1547
  }
1732
1548
 
1733
- class SearchAgreementsCommand extends Command
1734
- .classBuilder()
1735
- .ep(commonParams)
1736
- .m(function (Command, cs, config, o) {
1737
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1738
- })
1739
- .s("AWSMPCommerceService_v20200301", "SearchAgreements", {})
1740
- .n("MarketplaceAgreementClient", "SearchAgreementsCommand")
1741
- .sc(SearchAgreements$)
1742
- .build() {
1549
+ class SearchAgreementsCommand extends command(_ep0, _mw0, "SearchAgreements", SearchAgreements$) {
1743
1550
  }
1744
1551
 
1745
- class SendAgreementCancellationRequestCommand extends Command
1746
- .classBuilder()
1747
- .ep(commonParams)
1748
- .m(function (Command, cs, config, o) {
1749
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1750
- })
1751
- .s("AWSMPCommerceService_v20200301", "SendAgreementCancellationRequest", {})
1752
- .n("MarketplaceAgreementClient", "SendAgreementCancellationRequestCommand")
1753
- .sc(SendAgreementCancellationRequest$)
1754
- .build() {
1552
+ class SendAgreementCancellationRequestCommand extends command(_ep0, _mw0, "SendAgreementCancellationRequest", SendAgreementCancellationRequest$) {
1755
1553
  }
1756
1554
 
1757
- class SendAgreementPaymentRequestCommand extends Command
1758
- .classBuilder()
1759
- .ep(commonParams)
1760
- .m(function (Command, cs, config, o) {
1761
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1762
- })
1763
- .s("AWSMPCommerceService_v20200301", "SendAgreementPaymentRequest", {})
1764
- .n("MarketplaceAgreementClient", "SendAgreementPaymentRequestCommand")
1765
- .sc(SendAgreementPaymentRequest$)
1766
- .build() {
1555
+ class SendAgreementPaymentRequestCommand extends command(_ep0, _mw0, "SendAgreementPaymentRequest", SendAgreementPaymentRequest$) {
1767
1556
  }
1768
1557
 
1769
- class UpdatePurchaseOrdersCommand extends Command
1770
- .classBuilder()
1771
- .ep(commonParams)
1772
- .m(function (Command, cs, config, o) {
1773
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1774
- })
1775
- .s("AWSMPCommerceService_v20200301", "UpdatePurchaseOrders", {})
1776
- .n("MarketplaceAgreementClient", "UpdatePurchaseOrdersCommand")
1777
- .sc(UpdatePurchaseOrders$)
1778
- .build() {
1558
+ class UpdatePurchaseOrdersCommand extends command(_ep0, _mw0, "UpdatePurchaseOrders", UpdatePurchaseOrders$) {
1779
1559
  }
1780
1560
 
1781
1561
  const paginateGetAgreementEntitlements = createPaginator(MarketplaceAgreementClient, GetAgreementEntitlementsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSMPCommerceService_v20200301", "MarketplaceAgreementClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AcceptAgreementCancellationRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AcceptAgreementCancellationRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "AcceptAgreementCancellationRequest", {})
13
- .n("MarketplaceAgreementClient", "AcceptAgreementCancellationRequestCommand")
14
- .sc(AcceptAgreementCancellationRequest$)
15
- .build() {
3
+ export class AcceptAgreementCancellationRequestCommand extends command(_ep0, _mw0, "AcceptAgreementCancellationRequest", AcceptAgreementCancellationRequest$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AcceptAgreementPaymentRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AcceptAgreementPaymentRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "AcceptAgreementPaymentRequest", {})
13
- .n("MarketplaceAgreementClient", "AcceptAgreementPaymentRequestCommand")
14
- .sc(AcceptAgreementPaymentRequest$)
15
- .build() {
3
+ export class AcceptAgreementPaymentRequestCommand extends command(_ep0, _mw0, "AcceptAgreementPaymentRequest", AcceptAgreementPaymentRequest$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AcceptAgreementRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AcceptAgreementRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "AcceptAgreementRequest", {})
13
- .n("MarketplaceAgreementClient", "AcceptAgreementRequestCommand")
14
- .sc(AcceptAgreementRequest$)
15
- .build() {
3
+ export class AcceptAgreementRequestCommand extends command(_ep0, _mw0, "AcceptAgreementRequest", AcceptAgreementRequest$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchCreateBillingAdjustmentRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchCreateBillingAdjustmentRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "BatchCreateBillingAdjustmentRequest", {})
13
- .n("MarketplaceAgreementClient", "BatchCreateBillingAdjustmentRequestCommand")
14
- .sc(BatchCreateBillingAdjustmentRequest$)
15
- .build() {
3
+ export class BatchCreateBillingAdjustmentRequestCommand extends command(_ep0, _mw0, "BatchCreateBillingAdjustmentRequest", BatchCreateBillingAdjustmentRequest$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelAgreementCancellationRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelAgreementCancellationRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "CancelAgreementCancellationRequest", {})
13
- .n("MarketplaceAgreementClient", "CancelAgreementCancellationRequestCommand")
14
- .sc(CancelAgreementCancellationRequest$)
15
- .build() {
3
+ export class CancelAgreementCancellationRequestCommand extends command(_ep0, _mw0, "CancelAgreementCancellationRequest", CancelAgreementCancellationRequest$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelAgreement$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelAgreementCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "CancelAgreement", {})
13
- .n("MarketplaceAgreementClient", "CancelAgreementCommand")
14
- .sc(CancelAgreement$)
15
- .build() {
3
+ export class CancelAgreementCommand extends command(_ep0, _mw0, "CancelAgreement", CancelAgreement$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelAgreementPaymentRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelAgreementPaymentRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "CancelAgreementPaymentRequest", {})
13
- .n("MarketplaceAgreementClient", "CancelAgreementPaymentRequestCommand")
14
- .sc(CancelAgreementPaymentRequest$)
15
- .build() {
3
+ export class CancelAgreementPaymentRequestCommand extends command(_ep0, _mw0, "CancelAgreementPaymentRequest", CancelAgreementPaymentRequest$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateAgreementRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAgreementRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "CreateAgreementRequest", {})
13
- .n("MarketplaceAgreementClient", "CreateAgreementRequestCommand")
14
- .sc(CreateAgreementRequest$)
15
- .build() {
3
+ export class CreateAgreementRequestCommand extends command(_ep0, _mw0, "CreateAgreementRequest", CreateAgreementRequest$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAgreement$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAgreementCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "DescribeAgreement", {})
13
- .n("MarketplaceAgreementClient", "DescribeAgreementCommand")
14
- .sc(DescribeAgreement$)
15
- .build() {
3
+ export class DescribeAgreementCommand extends command(_ep0, _mw0, "DescribeAgreement", DescribeAgreement$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetAgreementCancellationRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAgreementCancellationRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "GetAgreementCancellationRequest", {})
13
- .n("MarketplaceAgreementClient", "GetAgreementCancellationRequestCommand")
14
- .sc(GetAgreementCancellationRequest$)
15
- .build() {
3
+ export class GetAgreementCancellationRequestCommand extends command(_ep0, _mw0, "GetAgreementCancellationRequest", GetAgreementCancellationRequest$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetAgreementEntitlements$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAgreementEntitlementsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "GetAgreementEntitlements", {})
13
- .n("MarketplaceAgreementClient", "GetAgreementEntitlementsCommand")
14
- .sc(GetAgreementEntitlements$)
15
- .build() {
3
+ export class GetAgreementEntitlementsCommand extends command(_ep0, _mw0, "GetAgreementEntitlements", GetAgreementEntitlements$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetAgreementPaymentRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAgreementPaymentRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "GetAgreementPaymentRequest", {})
13
- .n("MarketplaceAgreementClient", "GetAgreementPaymentRequestCommand")
14
- .sc(GetAgreementPaymentRequest$)
15
- .build() {
3
+ export class GetAgreementPaymentRequestCommand extends command(_ep0, _mw0, "GetAgreementPaymentRequest", GetAgreementPaymentRequest$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetAgreementTerms$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAgreementTermsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "GetAgreementTerms", {})
13
- .n("MarketplaceAgreementClient", "GetAgreementTermsCommand")
14
- .sc(GetAgreementTerms$)
15
- .build() {
3
+ export class GetAgreementTermsCommand extends command(_ep0, _mw0, "GetAgreementTerms", GetAgreementTerms$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetBillingAdjustmentRequest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBillingAdjustmentRequestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPCommerceService_v20200301", "GetBillingAdjustmentRequest", {})
13
- .n("MarketplaceAgreementClient", "GetBillingAdjustmentRequestCommand")
14
- .sc(GetBillingAdjustmentRequest$)
15
- .build() {
3
+ export class GetBillingAdjustmentRequestCommand extends command(_ep0, _mw0, "GetBillingAdjustmentRequest", GetBillingAdjustmentRequest$) {
16
4
  }