@aws-sdk/client-marketplace-agreement 3.1076.0 → 3.1078.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 (95) hide show
  1. package/dist-cjs/index.js +36 -255
  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-es/runtimeConfig.browser.js +0 -2
  30. package/dist-es/runtimeConfig.js +1 -2
  31. package/dist-es/runtimeConfig.native.js +0 -2
  32. package/dist-es/runtimeConfig.shared.js +2 -0
  33. package/dist-types/commandBuilder.d.ts +18 -0
  34. package/dist-types/commands/AcceptAgreementCancellationRequestCommand.d.ts +3 -8
  35. package/dist-types/commands/AcceptAgreementPaymentRequestCommand.d.ts +3 -8
  36. package/dist-types/commands/AcceptAgreementRequestCommand.d.ts +3 -8
  37. package/dist-types/commands/BatchCreateBillingAdjustmentRequestCommand.d.ts +3 -8
  38. package/dist-types/commands/CancelAgreementCancellationRequestCommand.d.ts +3 -8
  39. package/dist-types/commands/CancelAgreementCommand.d.ts +3 -8
  40. package/dist-types/commands/CancelAgreementPaymentRequestCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateAgreementRequestCommand.d.ts +3 -8
  42. package/dist-types/commands/DescribeAgreementCommand.d.ts +3 -8
  43. package/dist-types/commands/GetAgreementCancellationRequestCommand.d.ts +3 -8
  44. package/dist-types/commands/GetAgreementEntitlementsCommand.d.ts +3 -8
  45. package/dist-types/commands/GetAgreementPaymentRequestCommand.d.ts +3 -8
  46. package/dist-types/commands/GetAgreementTermsCommand.d.ts +3 -8
  47. package/dist-types/commands/GetBillingAdjustmentRequestCommand.d.ts +3 -8
  48. package/dist-types/commands/ListAgreementCancellationRequestsCommand.d.ts +3 -8
  49. package/dist-types/commands/ListAgreementChargesCommand.d.ts +3 -8
  50. package/dist-types/commands/ListAgreementInvoiceLineItemsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListAgreementPaymentRequestsCommand.d.ts +3 -8
  52. package/dist-types/commands/ListBillingAdjustmentRequestsCommand.d.ts +3 -8
  53. package/dist-types/commands/RejectAgreementCancellationRequestCommand.d.ts +3 -8
  54. package/dist-types/commands/RejectAgreementPaymentRequestCommand.d.ts +3 -8
  55. package/dist-types/commands/SearchAgreementsCommand.d.ts +3 -8
  56. package/dist-types/commands/SendAgreementCancellationRequestCommand.d.ts +3 -8
  57. package/dist-types/commands/SendAgreementPaymentRequestCommand.d.ts +3 -8
  58. package/dist-types/commands/UpdatePurchaseOrdersCommand.d.ts +3 -8
  59. package/dist-types/index.d.ts +1 -0
  60. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  61. package/dist-types/runtimeConfig.d.ts +1 -1
  62. package/dist-types/runtimeConfig.native.d.ts +1 -1
  63. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  64. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  65. package/dist-types/ts3.4/commands/AcceptAgreementCancellationRequestCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/AcceptAgreementPaymentRequestCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/AcceptAgreementRequestCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/BatchCreateBillingAdjustmentRequestCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/CancelAgreementCancellationRequestCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CancelAgreementCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/CancelAgreementPaymentRequestCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateAgreementRequestCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DescribeAgreementCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/GetAgreementCancellationRequestCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/GetAgreementEntitlementsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/GetAgreementPaymentRequestCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/GetAgreementTermsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/GetBillingAdjustmentRequestCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ListAgreementCancellationRequestsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListAgreementChargesCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ListAgreementInvoiceLineItemsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListAgreementPaymentRequestsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListBillingAdjustmentRequestsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/RejectAgreementCancellationRequestCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/RejectAgreementPaymentRequestCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/SearchAgreementsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/SendAgreementCancellationRequestCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/SendAgreementPaymentRequestCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/UpdatePurchaseOrdersCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/index.d.ts +1 -0
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  95. package/package.json +8 -10
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");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultMarketplaceAgreementHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1356,6 +1358,7 @@ const getRuntimeConfig$1 = (config) => {
1356
1358
  serviceTarget: "AWSMPCommerceService_v20200301",
1357
1359
  },
1358
1360
  serviceId: config?.serviceId ?? "Marketplace Agreement",
1361
+ sha256: config?.sha256 ?? Sha256,
1359
1362
  urlParser: config?.urlParser ?? parseUrl,
1360
1363
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1361
1364
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1389,7 +1392,6 @@ const getRuntimeConfig = (config) => {
1389
1392
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1390
1393
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1391
1394
  }, config),
1392
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1393
1395
  streamCollector: config?.streamCollector ?? streamCollector,
1394
1396
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1395
1397
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1477,304 +1479,83 @@ class MarketplaceAgreementClient extends Client {
1477
1479
  }
1478
1480
  }
1479
1481
 
1480
- class AcceptAgreementCancellationRequestCommand extends Command
1481
- .classBuilder()
1482
- .ep(commonParams)
1483
- .m(function (Command, cs, config, o) {
1484
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1485
- })
1486
- .s("AWSMPCommerceService_v20200301", "AcceptAgreementCancellationRequest", {})
1487
- .n("MarketplaceAgreementClient", "AcceptAgreementCancellationRequestCommand")
1488
- .sc(AcceptAgreementCancellationRequest$)
1489
- .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$) {
1490
1487
  }
1491
1488
 
1492
- class AcceptAgreementPaymentRequestCommand extends Command
1493
- .classBuilder()
1494
- .ep(commonParams)
1495
- .m(function (Command, cs, config, o) {
1496
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
- })
1498
- .s("AWSMPCommerceService_v20200301", "AcceptAgreementPaymentRequest", {})
1499
- .n("MarketplaceAgreementClient", "AcceptAgreementPaymentRequestCommand")
1500
- .sc(AcceptAgreementPaymentRequest$)
1501
- .build() {
1489
+ class AcceptAgreementPaymentRequestCommand extends command(_ep0, _mw0, "AcceptAgreementPaymentRequest", AcceptAgreementPaymentRequest$) {
1502
1490
  }
1503
1491
 
1504
- class AcceptAgreementRequestCommand extends Command
1505
- .classBuilder()
1506
- .ep(commonParams)
1507
- .m(function (Command, cs, config, o) {
1508
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1509
- })
1510
- .s("AWSMPCommerceService_v20200301", "AcceptAgreementRequest", {})
1511
- .n("MarketplaceAgreementClient", "AcceptAgreementRequestCommand")
1512
- .sc(AcceptAgreementRequest$)
1513
- .build() {
1492
+ class AcceptAgreementRequestCommand extends command(_ep0, _mw0, "AcceptAgreementRequest", AcceptAgreementRequest$) {
1514
1493
  }
1515
1494
 
1516
- class BatchCreateBillingAdjustmentRequestCommand extends Command
1517
- .classBuilder()
1518
- .ep(commonParams)
1519
- .m(function (Command, cs, config, o) {
1520
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
- })
1522
- .s("AWSMPCommerceService_v20200301", "BatchCreateBillingAdjustmentRequest", {})
1523
- .n("MarketplaceAgreementClient", "BatchCreateBillingAdjustmentRequestCommand")
1524
- .sc(BatchCreateBillingAdjustmentRequest$)
1525
- .build() {
1495
+ class BatchCreateBillingAdjustmentRequestCommand extends command(_ep0, _mw0, "BatchCreateBillingAdjustmentRequest", BatchCreateBillingAdjustmentRequest$) {
1526
1496
  }
1527
1497
 
1528
- class CancelAgreementCancellationRequestCommand extends Command
1529
- .classBuilder()
1530
- .ep(commonParams)
1531
- .m(function (Command, cs, config, o) {
1532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1533
- })
1534
- .s("AWSMPCommerceService_v20200301", "CancelAgreementCancellationRequest", {})
1535
- .n("MarketplaceAgreementClient", "CancelAgreementCancellationRequestCommand")
1536
- .sc(CancelAgreementCancellationRequest$)
1537
- .build() {
1498
+ class CancelAgreementCancellationRequestCommand extends command(_ep0, _mw0, "CancelAgreementCancellationRequest", CancelAgreementCancellationRequest$) {
1538
1499
  }
1539
1500
 
1540
- class CancelAgreementCommand extends Command
1541
- .classBuilder()
1542
- .ep(commonParams)
1543
- .m(function (Command, cs, config, o) {
1544
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1545
- })
1546
- .s("AWSMPCommerceService_v20200301", "CancelAgreement", {})
1547
- .n("MarketplaceAgreementClient", "CancelAgreementCommand")
1548
- .sc(CancelAgreement$)
1549
- .build() {
1501
+ class CancelAgreementCommand extends command(_ep0, _mw0, "CancelAgreement", CancelAgreement$) {
1550
1502
  }
1551
1503
 
1552
- class CancelAgreementPaymentRequestCommand extends Command
1553
- .classBuilder()
1554
- .ep(commonParams)
1555
- .m(function (Command, cs, config, o) {
1556
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1557
- })
1558
- .s("AWSMPCommerceService_v20200301", "CancelAgreementPaymentRequest", {})
1559
- .n("MarketplaceAgreementClient", "CancelAgreementPaymentRequestCommand")
1560
- .sc(CancelAgreementPaymentRequest$)
1561
- .build() {
1504
+ class CancelAgreementPaymentRequestCommand extends command(_ep0, _mw0, "CancelAgreementPaymentRequest", CancelAgreementPaymentRequest$) {
1562
1505
  }
1563
1506
 
1564
- class CreateAgreementRequestCommand extends Command
1565
- .classBuilder()
1566
- .ep(commonParams)
1567
- .m(function (Command, cs, config, o) {
1568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1569
- })
1570
- .s("AWSMPCommerceService_v20200301", "CreateAgreementRequest", {})
1571
- .n("MarketplaceAgreementClient", "CreateAgreementRequestCommand")
1572
- .sc(CreateAgreementRequest$)
1573
- .build() {
1507
+ class CreateAgreementRequestCommand extends command(_ep0, _mw0, "CreateAgreementRequest", CreateAgreementRequest$) {
1574
1508
  }
1575
1509
 
1576
- class DescribeAgreementCommand extends Command
1577
- .classBuilder()
1578
- .ep(commonParams)
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("AWSMPCommerceService_v20200301", "DescribeAgreement", {})
1583
- .n("MarketplaceAgreementClient", "DescribeAgreementCommand")
1584
- .sc(DescribeAgreement$)
1585
- .build() {
1510
+ class DescribeAgreementCommand extends command(_ep0, _mw0, "DescribeAgreement", DescribeAgreement$) {
1586
1511
  }
1587
1512
 
1588
- class GetAgreementCancellationRequestCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("AWSMPCommerceService_v20200301", "GetAgreementCancellationRequest", {})
1595
- .n("MarketplaceAgreementClient", "GetAgreementCancellationRequestCommand")
1596
- .sc(GetAgreementCancellationRequest$)
1597
- .build() {
1513
+ class GetAgreementCancellationRequestCommand extends command(_ep0, _mw0, "GetAgreementCancellationRequest", GetAgreementCancellationRequest$) {
1598
1514
  }
1599
1515
 
1600
- class GetAgreementEntitlementsCommand extends Command
1601
- .classBuilder()
1602
- .ep(commonParams)
1603
- .m(function (Command, cs, config, o) {
1604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
- })
1606
- .s("AWSMPCommerceService_v20200301", "GetAgreementEntitlements", {})
1607
- .n("MarketplaceAgreementClient", "GetAgreementEntitlementsCommand")
1608
- .sc(GetAgreementEntitlements$)
1609
- .build() {
1516
+ class GetAgreementEntitlementsCommand extends command(_ep0, _mw0, "GetAgreementEntitlements", GetAgreementEntitlements$) {
1610
1517
  }
1611
1518
 
1612
- class GetAgreementPaymentRequestCommand extends Command
1613
- .classBuilder()
1614
- .ep(commonParams)
1615
- .m(function (Command, cs, config, o) {
1616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
- })
1618
- .s("AWSMPCommerceService_v20200301", "GetAgreementPaymentRequest", {})
1619
- .n("MarketplaceAgreementClient", "GetAgreementPaymentRequestCommand")
1620
- .sc(GetAgreementPaymentRequest$)
1621
- .build() {
1519
+ class GetAgreementPaymentRequestCommand extends command(_ep0, _mw0, "GetAgreementPaymentRequest", GetAgreementPaymentRequest$) {
1622
1520
  }
1623
1521
 
1624
- class GetAgreementTermsCommand extends Command
1625
- .classBuilder()
1626
- .ep(commonParams)
1627
- .m(function (Command, cs, config, o) {
1628
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
- })
1630
- .s("AWSMPCommerceService_v20200301", "GetAgreementTerms", {})
1631
- .n("MarketplaceAgreementClient", "GetAgreementTermsCommand")
1632
- .sc(GetAgreementTerms$)
1633
- .build() {
1522
+ class GetAgreementTermsCommand extends command(_ep0, _mw0, "GetAgreementTerms", GetAgreementTerms$) {
1634
1523
  }
1635
1524
 
1636
- class GetBillingAdjustmentRequestCommand extends Command
1637
- .classBuilder()
1638
- .ep(commonParams)
1639
- .m(function (Command, cs, config, o) {
1640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
- })
1642
- .s("AWSMPCommerceService_v20200301", "GetBillingAdjustmentRequest", {})
1643
- .n("MarketplaceAgreementClient", "GetBillingAdjustmentRequestCommand")
1644
- .sc(GetBillingAdjustmentRequest$)
1645
- .build() {
1525
+ class GetBillingAdjustmentRequestCommand extends command(_ep0, _mw0, "GetBillingAdjustmentRequest", GetBillingAdjustmentRequest$) {
1646
1526
  }
1647
1527
 
1648
- class ListAgreementCancellationRequestsCommand extends Command
1649
- .classBuilder()
1650
- .ep(commonParams)
1651
- .m(function (Command, cs, config, o) {
1652
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1653
- })
1654
- .s("AWSMPCommerceService_v20200301", "ListAgreementCancellationRequests", {})
1655
- .n("MarketplaceAgreementClient", "ListAgreementCancellationRequestsCommand")
1656
- .sc(ListAgreementCancellationRequests$)
1657
- .build() {
1528
+ class ListAgreementCancellationRequestsCommand extends command(_ep0, _mw0, "ListAgreementCancellationRequests", ListAgreementCancellationRequests$) {
1658
1529
  }
1659
1530
 
1660
- class ListAgreementChargesCommand extends Command
1661
- .classBuilder()
1662
- .ep(commonParams)
1663
- .m(function (Command, cs, config, o) {
1664
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1665
- })
1666
- .s("AWSMPCommerceService_v20200301", "ListAgreementCharges", {})
1667
- .n("MarketplaceAgreementClient", "ListAgreementChargesCommand")
1668
- .sc(ListAgreementCharges$)
1669
- .build() {
1531
+ class ListAgreementChargesCommand extends command(_ep0, _mw0, "ListAgreementCharges", ListAgreementCharges$) {
1670
1532
  }
1671
1533
 
1672
- class ListAgreementInvoiceLineItemsCommand extends Command
1673
- .classBuilder()
1674
- .ep(commonParams)
1675
- .m(function (Command, cs, config, o) {
1676
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1677
- })
1678
- .s("AWSMPCommerceService_v20200301", "ListAgreementInvoiceLineItems", {})
1679
- .n("MarketplaceAgreementClient", "ListAgreementInvoiceLineItemsCommand")
1680
- .sc(ListAgreementInvoiceLineItems$)
1681
- .build() {
1534
+ class ListAgreementInvoiceLineItemsCommand extends command(_ep0, _mw0, "ListAgreementInvoiceLineItems", ListAgreementInvoiceLineItems$) {
1682
1535
  }
1683
1536
 
1684
- class ListAgreementPaymentRequestsCommand extends Command
1685
- .classBuilder()
1686
- .ep(commonParams)
1687
- .m(function (Command, cs, config, o) {
1688
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1689
- })
1690
- .s("AWSMPCommerceService_v20200301", "ListAgreementPaymentRequests", {})
1691
- .n("MarketplaceAgreementClient", "ListAgreementPaymentRequestsCommand")
1692
- .sc(ListAgreementPaymentRequests$)
1693
- .build() {
1537
+ class ListAgreementPaymentRequestsCommand extends command(_ep0, _mw0, "ListAgreementPaymentRequests", ListAgreementPaymentRequests$) {
1694
1538
  }
1695
1539
 
1696
- class ListBillingAdjustmentRequestsCommand extends Command
1697
- .classBuilder()
1698
- .ep(commonParams)
1699
- .m(function (Command, cs, config, o) {
1700
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1701
- })
1702
- .s("AWSMPCommerceService_v20200301", "ListBillingAdjustmentRequests", {})
1703
- .n("MarketplaceAgreementClient", "ListBillingAdjustmentRequestsCommand")
1704
- .sc(ListBillingAdjustmentRequests$)
1705
- .build() {
1540
+ class ListBillingAdjustmentRequestsCommand extends command(_ep0, _mw0, "ListBillingAdjustmentRequests", ListBillingAdjustmentRequests$) {
1706
1541
  }
1707
1542
 
1708
- class RejectAgreementCancellationRequestCommand extends Command
1709
- .classBuilder()
1710
- .ep(commonParams)
1711
- .m(function (Command, cs, config, o) {
1712
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1713
- })
1714
- .s("AWSMPCommerceService_v20200301", "RejectAgreementCancellationRequest", {})
1715
- .n("MarketplaceAgreementClient", "RejectAgreementCancellationRequestCommand")
1716
- .sc(RejectAgreementCancellationRequest$)
1717
- .build() {
1543
+ class RejectAgreementCancellationRequestCommand extends command(_ep0, _mw0, "RejectAgreementCancellationRequest", RejectAgreementCancellationRequest$) {
1718
1544
  }
1719
1545
 
1720
- class RejectAgreementPaymentRequestCommand extends Command
1721
- .classBuilder()
1722
- .ep(commonParams)
1723
- .m(function (Command, cs, config, o) {
1724
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1725
- })
1726
- .s("AWSMPCommerceService_v20200301", "RejectAgreementPaymentRequest", {})
1727
- .n("MarketplaceAgreementClient", "RejectAgreementPaymentRequestCommand")
1728
- .sc(RejectAgreementPaymentRequest$)
1729
- .build() {
1546
+ class RejectAgreementPaymentRequestCommand extends command(_ep0, _mw0, "RejectAgreementPaymentRequest", RejectAgreementPaymentRequest$) {
1730
1547
  }
1731
1548
 
1732
- class SearchAgreementsCommand extends Command
1733
- .classBuilder()
1734
- .ep(commonParams)
1735
- .m(function (Command, cs, config, o) {
1736
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1737
- })
1738
- .s("AWSMPCommerceService_v20200301", "SearchAgreements", {})
1739
- .n("MarketplaceAgreementClient", "SearchAgreementsCommand")
1740
- .sc(SearchAgreements$)
1741
- .build() {
1549
+ class SearchAgreementsCommand extends command(_ep0, _mw0, "SearchAgreements", SearchAgreements$) {
1742
1550
  }
1743
1551
 
1744
- class SendAgreementCancellationRequestCommand extends Command
1745
- .classBuilder()
1746
- .ep(commonParams)
1747
- .m(function (Command, cs, config, o) {
1748
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1749
- })
1750
- .s("AWSMPCommerceService_v20200301", "SendAgreementCancellationRequest", {})
1751
- .n("MarketplaceAgreementClient", "SendAgreementCancellationRequestCommand")
1752
- .sc(SendAgreementCancellationRequest$)
1753
- .build() {
1552
+ class SendAgreementCancellationRequestCommand extends command(_ep0, _mw0, "SendAgreementCancellationRequest", SendAgreementCancellationRequest$) {
1754
1553
  }
1755
1554
 
1756
- class SendAgreementPaymentRequestCommand extends Command
1757
- .classBuilder()
1758
- .ep(commonParams)
1759
- .m(function (Command, cs, config, o) {
1760
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1761
- })
1762
- .s("AWSMPCommerceService_v20200301", "SendAgreementPaymentRequest", {})
1763
- .n("MarketplaceAgreementClient", "SendAgreementPaymentRequestCommand")
1764
- .sc(SendAgreementPaymentRequest$)
1765
- .build() {
1555
+ class SendAgreementPaymentRequestCommand extends command(_ep0, _mw0, "SendAgreementPaymentRequest", SendAgreementPaymentRequest$) {
1766
1556
  }
1767
1557
 
1768
- class UpdatePurchaseOrdersCommand extends Command
1769
- .classBuilder()
1770
- .ep(commonParams)
1771
- .m(function (Command, cs, config, o) {
1772
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1773
- })
1774
- .s("AWSMPCommerceService_v20200301", "UpdatePurchaseOrders", {})
1775
- .n("MarketplaceAgreementClient", "UpdatePurchaseOrdersCommand")
1776
- .sc(UpdatePurchaseOrders$)
1777
- .build() {
1558
+ class UpdatePurchaseOrdersCommand extends command(_ep0, _mw0, "UpdatePurchaseOrders", UpdatePurchaseOrders$) {
1778
1559
  }
1779
1560
 
1780
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
  }