@aws-sdk/client-billingconductor 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 (116) hide show
  1. package/dist-cjs/index.js +43 -325
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateAccountsCommand.js +2 -14
  4. package/dist-es/commands/AssociatePricingRulesCommand.js +2 -14
  5. package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +2 -14
  6. package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +2 -14
  7. package/dist-es/commands/CreateBillingGroupCommand.js +2 -14
  8. package/dist-es/commands/CreateCustomLineItemCommand.js +2 -14
  9. package/dist-es/commands/CreatePricingPlanCommand.js +2 -14
  10. package/dist-es/commands/CreatePricingRuleCommand.js +2 -14
  11. package/dist-es/commands/DeleteBillingGroupCommand.js +2 -14
  12. package/dist-es/commands/DeleteCustomLineItemCommand.js +2 -14
  13. package/dist-es/commands/DeletePricingPlanCommand.js +2 -14
  14. package/dist-es/commands/DeletePricingRuleCommand.js +2 -14
  15. package/dist-es/commands/DisassociateAccountsCommand.js +2 -14
  16. package/dist-es/commands/DisassociatePricingRulesCommand.js +2 -14
  17. package/dist-es/commands/GetBillingGroupCostReportCommand.js +2 -14
  18. package/dist-es/commands/ListAccountAssociationsCommand.js +2 -14
  19. package/dist-es/commands/ListBillingGroupCostReportsCommand.js +2 -14
  20. package/dist-es/commands/ListBillingGroupsCommand.js +2 -14
  21. package/dist-es/commands/ListCustomLineItemVersionsCommand.js +2 -14
  22. package/dist-es/commands/ListCustomLineItemsCommand.js +2 -14
  23. package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +2 -14
  24. package/dist-es/commands/ListPricingPlansCommand.js +2 -14
  25. package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +2 -14
  26. package/dist-es/commands/ListPricingRulesCommand.js +2 -14
  27. package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +2 -14
  28. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  29. package/dist-es/commands/TagResourceCommand.js +2 -14
  30. package/dist-es/commands/UntagResourceCommand.js +2 -14
  31. package/dist-es/commands/UpdateBillingGroupCommand.js +2 -14
  32. package/dist-es/commands/UpdateCustomLineItemCommand.js +2 -14
  33. package/dist-es/commands/UpdatePricingPlanCommand.js +2 -14
  34. package/dist-es/commands/UpdatePricingRuleCommand.js +2 -14
  35. package/dist-es/index.js +1 -0
  36. package/dist-es/runtimeConfig.browser.js +0 -2
  37. package/dist-es/runtimeConfig.js +1 -2
  38. package/dist-es/runtimeConfig.native.js +0 -2
  39. package/dist-es/runtimeConfig.shared.js +2 -0
  40. package/dist-types/commandBuilder.d.ts +18 -0
  41. package/dist-types/commands/AssociateAccountsCommand.d.ts +3 -8
  42. package/dist-types/commands/AssociatePricingRulesCommand.d.ts +3 -8
  43. package/dist-types/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +3 -8
  44. package/dist-types/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateBillingGroupCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateCustomLineItemCommand.d.ts +3 -8
  47. package/dist-types/commands/CreatePricingPlanCommand.d.ts +3 -8
  48. package/dist-types/commands/CreatePricingRuleCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteBillingGroupCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteCustomLineItemCommand.d.ts +3 -8
  51. package/dist-types/commands/DeletePricingPlanCommand.d.ts +3 -8
  52. package/dist-types/commands/DeletePricingRuleCommand.d.ts +3 -8
  53. package/dist-types/commands/DisassociateAccountsCommand.d.ts +3 -8
  54. package/dist-types/commands/DisassociatePricingRulesCommand.d.ts +3 -8
  55. package/dist-types/commands/GetBillingGroupCostReportCommand.d.ts +3 -8
  56. package/dist-types/commands/ListAccountAssociationsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListBillingGroupCostReportsCommand.d.ts +3 -8
  58. package/dist-types/commands/ListBillingGroupsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListCustomLineItemVersionsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListCustomLineItemsCommand.d.ts +3 -8
  61. package/dist-types/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +3 -8
  62. package/dist-types/commands/ListPricingPlansCommand.d.ts +3 -8
  63. package/dist-types/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +3 -8
  64. package/dist-types/commands/ListPricingRulesCommand.d.ts +3 -8
  65. package/dist-types/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +3 -8
  66. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  67. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdateBillingGroupCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateCustomLineItemCommand.d.ts +3 -8
  71. package/dist-types/commands/UpdatePricingPlanCommand.d.ts +3 -8
  72. package/dist-types/commands/UpdatePricingRuleCommand.d.ts +3 -8
  73. package/dist-types/index.d.ts +1 -0
  74. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  75. package/dist-types/runtimeConfig.d.ts +1 -1
  76. package/dist-types/runtimeConfig.native.d.ts +1 -1
  77. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  78. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  79. package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/AssociatePricingRulesCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateBillingGroupCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CreateCustomLineItemCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/CreatePricingPlanCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/CreatePricingRuleCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteBillingGroupCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DeleteCustomLineItemCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DeletePricingPlanCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DeletePricingRuleCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DisassociatePricingRulesCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetBillingGroupCostReportCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListAccountAssociationsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListBillingGroupCostReportsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListBillingGroupsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListCustomLineItemVersionsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListCustomLineItemsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListPricingPlansCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListPricingRulesCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UpdateBillingGroupCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/UpdateCustomLineItemCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/UpdatePricingPlanCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/UpdatePricingRuleCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/index.d.ts +1 -0
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  115. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  116. 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 { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultBillingconductorHttpAuthSchemeParametersProvider = 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
 
@@ -1348,6 +1350,7 @@ const getRuntimeConfig$1 = (config) => {
1348
1350
  serviceTarget: "AWSBillingConductor",
1349
1351
  },
1350
1352
  serviceId: config?.serviceId ?? "billingconductor",
1353
+ sha256: config?.sha256 ?? Sha256,
1351
1354
  urlParser: config?.urlParser ?? parseUrl,
1352
1355
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1353
1356
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1381,7 +1384,6 @@ const getRuntimeConfig = (config) => {
1381
1384
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1382
1385
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1383
1386
  }, config),
1384
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1385
1387
  streamCollector: config?.streamCollector ?? streamCollector,
1386
1388
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1387
1389
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1469,388 +1471,104 @@ class BillingconductorClient extends Client {
1469
1471
  }
1470
1472
  }
1471
1473
 
1472
- class AssociateAccountsCommand extends Command
1473
- .classBuilder()
1474
- .ep(commonParams)
1475
- .m(function (Command, cs, config, o) {
1476
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1477
- })
1478
- .s("AWSBillingConductor", "AssociateAccounts", {})
1479
- .n("BillingconductorClient", "AssociateAccountsCommand")
1480
- .sc(AssociateAccounts$)
1481
- .build() {
1474
+ const command = makeBuilder(commonParams, "AWSBillingConductor", "BillingconductorClient", getEndpointPlugin);
1475
+ const _ep0 = {};
1476
+ const _mw0 = (Command, cs, config, o) => [];
1477
+
1478
+ class AssociateAccountsCommand extends command(_ep0, _mw0, "AssociateAccounts", AssociateAccounts$) {
1482
1479
  }
1483
1480
 
1484
- class AssociatePricingRulesCommand extends Command
1485
- .classBuilder()
1486
- .ep(commonParams)
1487
- .m(function (Command, cs, config, o) {
1488
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1489
- })
1490
- .s("AWSBillingConductor", "AssociatePricingRules", {})
1491
- .n("BillingconductorClient", "AssociatePricingRulesCommand")
1492
- .sc(AssociatePricingRules$)
1493
- .build() {
1481
+ class AssociatePricingRulesCommand extends command(_ep0, _mw0, "AssociatePricingRules", AssociatePricingRules$) {
1494
1482
  }
1495
1483
 
1496
- class BatchAssociateResourcesToCustomLineItemCommand extends Command
1497
- .classBuilder()
1498
- .ep(commonParams)
1499
- .m(function (Command, cs, config, o) {
1500
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1501
- })
1502
- .s("AWSBillingConductor", "BatchAssociateResourcesToCustomLineItem", {})
1503
- .n("BillingconductorClient", "BatchAssociateResourcesToCustomLineItemCommand")
1504
- .sc(BatchAssociateResourcesToCustomLineItem$)
1505
- .build() {
1484
+ class BatchAssociateResourcesToCustomLineItemCommand extends command(_ep0, _mw0, "BatchAssociateResourcesToCustomLineItem", BatchAssociateResourcesToCustomLineItem$) {
1506
1485
  }
1507
1486
 
1508
- class BatchDisassociateResourcesFromCustomLineItemCommand extends Command
1509
- .classBuilder()
1510
- .ep(commonParams)
1511
- .m(function (Command, cs, config, o) {
1512
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1513
- })
1514
- .s("AWSBillingConductor", "BatchDisassociateResourcesFromCustomLineItem", {})
1515
- .n("BillingconductorClient", "BatchDisassociateResourcesFromCustomLineItemCommand")
1516
- .sc(BatchDisassociateResourcesFromCustomLineItem$)
1517
- .build() {
1487
+ class BatchDisassociateResourcesFromCustomLineItemCommand extends command(_ep0, _mw0, "BatchDisassociateResourcesFromCustomLineItem", BatchDisassociateResourcesFromCustomLineItem$) {
1518
1488
  }
1519
1489
 
1520
- class CreateBillingGroupCommand extends Command
1521
- .classBuilder()
1522
- .ep(commonParams)
1523
- .m(function (Command, cs, config, o) {
1524
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1525
- })
1526
- .s("AWSBillingConductor", "CreateBillingGroup", {})
1527
- .n("BillingconductorClient", "CreateBillingGroupCommand")
1528
- .sc(CreateBillingGroup$)
1529
- .build() {
1490
+ class CreateBillingGroupCommand extends command(_ep0, _mw0, "CreateBillingGroup", CreateBillingGroup$) {
1530
1491
  }
1531
1492
 
1532
- class CreateCustomLineItemCommand extends Command
1533
- .classBuilder()
1534
- .ep(commonParams)
1535
- .m(function (Command, cs, config, o) {
1536
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1537
- })
1538
- .s("AWSBillingConductor", "CreateCustomLineItem", {})
1539
- .n("BillingconductorClient", "CreateCustomLineItemCommand")
1540
- .sc(CreateCustomLineItem$)
1541
- .build() {
1493
+ class CreateCustomLineItemCommand extends command(_ep0, _mw0, "CreateCustomLineItem", CreateCustomLineItem$) {
1542
1494
  }
1543
1495
 
1544
- class CreatePricingPlanCommand extends Command
1545
- .classBuilder()
1546
- .ep(commonParams)
1547
- .m(function (Command, cs, config, o) {
1548
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1549
- })
1550
- .s("AWSBillingConductor", "CreatePricingPlan", {})
1551
- .n("BillingconductorClient", "CreatePricingPlanCommand")
1552
- .sc(CreatePricingPlan$)
1553
- .build() {
1496
+ class CreatePricingPlanCommand extends command(_ep0, _mw0, "CreatePricingPlan", CreatePricingPlan$) {
1554
1497
  }
1555
1498
 
1556
- class CreatePricingRuleCommand extends Command
1557
- .classBuilder()
1558
- .ep(commonParams)
1559
- .m(function (Command, cs, config, o) {
1560
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1561
- })
1562
- .s("AWSBillingConductor", "CreatePricingRule", {})
1563
- .n("BillingconductorClient", "CreatePricingRuleCommand")
1564
- .sc(CreatePricingRule$)
1565
- .build() {
1499
+ class CreatePricingRuleCommand extends command(_ep0, _mw0, "CreatePricingRule", CreatePricingRule$) {
1566
1500
  }
1567
1501
 
1568
- class DeleteBillingGroupCommand extends Command
1569
- .classBuilder()
1570
- .ep(commonParams)
1571
- .m(function (Command, cs, config, o) {
1572
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1573
- })
1574
- .s("AWSBillingConductor", "DeleteBillingGroup", {})
1575
- .n("BillingconductorClient", "DeleteBillingGroupCommand")
1576
- .sc(DeleteBillingGroup$)
1577
- .build() {
1502
+ class DeleteBillingGroupCommand extends command(_ep0, _mw0, "DeleteBillingGroup", DeleteBillingGroup$) {
1578
1503
  }
1579
1504
 
1580
- class DeleteCustomLineItemCommand extends Command
1581
- .classBuilder()
1582
- .ep(commonParams)
1583
- .m(function (Command, cs, config, o) {
1584
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1585
- })
1586
- .s("AWSBillingConductor", "DeleteCustomLineItem", {})
1587
- .n("BillingconductorClient", "DeleteCustomLineItemCommand")
1588
- .sc(DeleteCustomLineItem$)
1589
- .build() {
1505
+ class DeleteCustomLineItemCommand extends command(_ep0, _mw0, "DeleteCustomLineItem", DeleteCustomLineItem$) {
1590
1506
  }
1591
1507
 
1592
- class DeletePricingPlanCommand extends Command
1593
- .classBuilder()
1594
- .ep(commonParams)
1595
- .m(function (Command, cs, config, o) {
1596
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1597
- })
1598
- .s("AWSBillingConductor", "DeletePricingPlan", {})
1599
- .n("BillingconductorClient", "DeletePricingPlanCommand")
1600
- .sc(DeletePricingPlan$)
1601
- .build() {
1508
+ class DeletePricingPlanCommand extends command(_ep0, _mw0, "DeletePricingPlan", DeletePricingPlan$) {
1602
1509
  }
1603
1510
 
1604
- class DeletePricingRuleCommand extends Command
1605
- .classBuilder()
1606
- .ep(commonParams)
1607
- .m(function (Command, cs, config, o) {
1608
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1609
- })
1610
- .s("AWSBillingConductor", "DeletePricingRule", {})
1611
- .n("BillingconductorClient", "DeletePricingRuleCommand")
1612
- .sc(DeletePricingRule$)
1613
- .build() {
1511
+ class DeletePricingRuleCommand extends command(_ep0, _mw0, "DeletePricingRule", DeletePricingRule$) {
1614
1512
  }
1615
1513
 
1616
- class DisassociateAccountsCommand extends Command
1617
- .classBuilder()
1618
- .ep(commonParams)
1619
- .m(function (Command, cs, config, o) {
1620
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1621
- })
1622
- .s("AWSBillingConductor", "DisassociateAccounts", {})
1623
- .n("BillingconductorClient", "DisassociateAccountsCommand")
1624
- .sc(DisassociateAccounts$)
1625
- .build() {
1514
+ class DisassociateAccountsCommand extends command(_ep0, _mw0, "DisassociateAccounts", DisassociateAccounts$) {
1626
1515
  }
1627
1516
 
1628
- class DisassociatePricingRulesCommand extends Command
1629
- .classBuilder()
1630
- .ep(commonParams)
1631
- .m(function (Command, cs, config, o) {
1632
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1633
- })
1634
- .s("AWSBillingConductor", "DisassociatePricingRules", {})
1635
- .n("BillingconductorClient", "DisassociatePricingRulesCommand")
1636
- .sc(DisassociatePricingRules$)
1637
- .build() {
1517
+ class DisassociatePricingRulesCommand extends command(_ep0, _mw0, "DisassociatePricingRules", DisassociatePricingRules$) {
1638
1518
  }
1639
1519
 
1640
- class GetBillingGroupCostReportCommand extends Command
1641
- .classBuilder()
1642
- .ep(commonParams)
1643
- .m(function (Command, cs, config, o) {
1644
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1645
- })
1646
- .s("AWSBillingConductor", "GetBillingGroupCostReport", {})
1647
- .n("BillingconductorClient", "GetBillingGroupCostReportCommand")
1648
- .sc(GetBillingGroupCostReport$)
1649
- .build() {
1520
+ class GetBillingGroupCostReportCommand extends command(_ep0, _mw0, "GetBillingGroupCostReport", GetBillingGroupCostReport$) {
1650
1521
  }
1651
1522
 
1652
- class ListAccountAssociationsCommand extends Command
1653
- .classBuilder()
1654
- .ep(commonParams)
1655
- .m(function (Command, cs, config, o) {
1656
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1657
- })
1658
- .s("AWSBillingConductor", "ListAccountAssociations", {})
1659
- .n("BillingconductorClient", "ListAccountAssociationsCommand")
1660
- .sc(ListAccountAssociations$)
1661
- .build() {
1523
+ class ListAccountAssociationsCommand extends command(_ep0, _mw0, "ListAccountAssociations", ListAccountAssociations$) {
1662
1524
  }
1663
1525
 
1664
- class ListBillingGroupCostReportsCommand extends Command
1665
- .classBuilder()
1666
- .ep(commonParams)
1667
- .m(function (Command, cs, config, o) {
1668
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1669
- })
1670
- .s("AWSBillingConductor", "ListBillingGroupCostReports", {})
1671
- .n("BillingconductorClient", "ListBillingGroupCostReportsCommand")
1672
- .sc(ListBillingGroupCostReports$)
1673
- .build() {
1526
+ class ListBillingGroupCostReportsCommand extends command(_ep0, _mw0, "ListBillingGroupCostReports", ListBillingGroupCostReports$) {
1674
1527
  }
1675
1528
 
1676
- class ListBillingGroupsCommand extends Command
1677
- .classBuilder()
1678
- .ep(commonParams)
1679
- .m(function (Command, cs, config, o) {
1680
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1681
- })
1682
- .s("AWSBillingConductor", "ListBillingGroups", {})
1683
- .n("BillingconductorClient", "ListBillingGroupsCommand")
1684
- .sc(ListBillingGroups$)
1685
- .build() {
1529
+ class ListBillingGroupsCommand extends command(_ep0, _mw0, "ListBillingGroups", ListBillingGroups$) {
1686
1530
  }
1687
1531
 
1688
- class ListCustomLineItemsCommand extends Command
1689
- .classBuilder()
1690
- .ep(commonParams)
1691
- .m(function (Command, cs, config, o) {
1692
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1693
- })
1694
- .s("AWSBillingConductor", "ListCustomLineItems", {})
1695
- .n("BillingconductorClient", "ListCustomLineItemsCommand")
1696
- .sc(ListCustomLineItems$)
1697
- .build() {
1532
+ class ListCustomLineItemsCommand extends command(_ep0, _mw0, "ListCustomLineItems", ListCustomLineItems$) {
1698
1533
  }
1699
1534
 
1700
- class ListCustomLineItemVersionsCommand extends Command
1701
- .classBuilder()
1702
- .ep(commonParams)
1703
- .m(function (Command, cs, config, o) {
1704
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1705
- })
1706
- .s("AWSBillingConductor", "ListCustomLineItemVersions", {})
1707
- .n("BillingconductorClient", "ListCustomLineItemVersionsCommand")
1708
- .sc(ListCustomLineItemVersions$)
1709
- .build() {
1535
+ class ListCustomLineItemVersionsCommand extends command(_ep0, _mw0, "ListCustomLineItemVersions", ListCustomLineItemVersions$) {
1710
1536
  }
1711
1537
 
1712
- class ListPricingPlansAssociatedWithPricingRuleCommand extends Command
1713
- .classBuilder()
1714
- .ep(commonParams)
1715
- .m(function (Command, cs, config, o) {
1716
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1717
- })
1718
- .s("AWSBillingConductor", "ListPricingPlansAssociatedWithPricingRule", {})
1719
- .n("BillingconductorClient", "ListPricingPlansAssociatedWithPricingRuleCommand")
1720
- .sc(ListPricingPlansAssociatedWithPricingRule$)
1721
- .build() {
1538
+ class ListPricingPlansAssociatedWithPricingRuleCommand extends command(_ep0, _mw0, "ListPricingPlansAssociatedWithPricingRule", ListPricingPlansAssociatedWithPricingRule$) {
1722
1539
  }
1723
1540
 
1724
- class ListPricingPlansCommand extends Command
1725
- .classBuilder()
1726
- .ep(commonParams)
1727
- .m(function (Command, cs, config, o) {
1728
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1729
- })
1730
- .s("AWSBillingConductor", "ListPricingPlans", {})
1731
- .n("BillingconductorClient", "ListPricingPlansCommand")
1732
- .sc(ListPricingPlans$)
1733
- .build() {
1541
+ class ListPricingPlansCommand extends command(_ep0, _mw0, "ListPricingPlans", ListPricingPlans$) {
1734
1542
  }
1735
1543
 
1736
- class ListPricingRulesAssociatedToPricingPlanCommand extends Command
1737
- .classBuilder()
1738
- .ep(commonParams)
1739
- .m(function (Command, cs, config, o) {
1740
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1741
- })
1742
- .s("AWSBillingConductor", "ListPricingRulesAssociatedToPricingPlan", {})
1743
- .n("BillingconductorClient", "ListPricingRulesAssociatedToPricingPlanCommand")
1744
- .sc(ListPricingRulesAssociatedToPricingPlan$)
1745
- .build() {
1544
+ class ListPricingRulesAssociatedToPricingPlanCommand extends command(_ep0, _mw0, "ListPricingRulesAssociatedToPricingPlan", ListPricingRulesAssociatedToPricingPlan$) {
1746
1545
  }
1747
1546
 
1748
- class ListPricingRulesCommand extends Command
1749
- .classBuilder()
1750
- .ep(commonParams)
1751
- .m(function (Command, cs, config, o) {
1752
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1753
- })
1754
- .s("AWSBillingConductor", "ListPricingRules", {})
1755
- .n("BillingconductorClient", "ListPricingRulesCommand")
1756
- .sc(ListPricingRules$)
1757
- .build() {
1547
+ class ListPricingRulesCommand extends command(_ep0, _mw0, "ListPricingRules", ListPricingRules$) {
1758
1548
  }
1759
1549
 
1760
- class ListResourcesAssociatedToCustomLineItemCommand extends Command
1761
- .classBuilder()
1762
- .ep(commonParams)
1763
- .m(function (Command, cs, config, o) {
1764
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1765
- })
1766
- .s("AWSBillingConductor", "ListResourcesAssociatedToCustomLineItem", {})
1767
- .n("BillingconductorClient", "ListResourcesAssociatedToCustomLineItemCommand")
1768
- .sc(ListResourcesAssociatedToCustomLineItem$)
1769
- .build() {
1550
+ class ListResourcesAssociatedToCustomLineItemCommand extends command(_ep0, _mw0, "ListResourcesAssociatedToCustomLineItem", ListResourcesAssociatedToCustomLineItem$) {
1770
1551
  }
1771
1552
 
1772
- class ListTagsForResourceCommand extends Command
1773
- .classBuilder()
1774
- .ep(commonParams)
1775
- .m(function (Command, cs, config, o) {
1776
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1777
- })
1778
- .s("AWSBillingConductor", "ListTagsForResource", {})
1779
- .n("BillingconductorClient", "ListTagsForResourceCommand")
1780
- .sc(ListTagsForResource$)
1781
- .build() {
1553
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1782
1554
  }
1783
1555
 
1784
- class TagResourceCommand extends Command
1785
- .classBuilder()
1786
- .ep(commonParams)
1787
- .m(function (Command, cs, config, o) {
1788
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1789
- })
1790
- .s("AWSBillingConductor", "TagResource", {})
1791
- .n("BillingconductorClient", "TagResourceCommand")
1792
- .sc(TagResource$)
1793
- .build() {
1556
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1794
1557
  }
1795
1558
 
1796
- class UntagResourceCommand extends Command
1797
- .classBuilder()
1798
- .ep(commonParams)
1799
- .m(function (Command, cs, config, o) {
1800
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1801
- })
1802
- .s("AWSBillingConductor", "UntagResource", {})
1803
- .n("BillingconductorClient", "UntagResourceCommand")
1804
- .sc(UntagResource$)
1805
- .build() {
1559
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1806
1560
  }
1807
1561
 
1808
- class UpdateBillingGroupCommand extends Command
1809
- .classBuilder()
1810
- .ep(commonParams)
1811
- .m(function (Command, cs, config, o) {
1812
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1813
- })
1814
- .s("AWSBillingConductor", "UpdateBillingGroup", {})
1815
- .n("BillingconductorClient", "UpdateBillingGroupCommand")
1816
- .sc(UpdateBillingGroup$)
1817
- .build() {
1562
+ class UpdateBillingGroupCommand extends command(_ep0, _mw0, "UpdateBillingGroup", UpdateBillingGroup$) {
1818
1563
  }
1819
1564
 
1820
- class UpdateCustomLineItemCommand extends Command
1821
- .classBuilder()
1822
- .ep(commonParams)
1823
- .m(function (Command, cs, config, o) {
1824
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1825
- })
1826
- .s("AWSBillingConductor", "UpdateCustomLineItem", {})
1827
- .n("BillingconductorClient", "UpdateCustomLineItemCommand")
1828
- .sc(UpdateCustomLineItem$)
1829
- .build() {
1565
+ class UpdateCustomLineItemCommand extends command(_ep0, _mw0, "UpdateCustomLineItem", UpdateCustomLineItem$) {
1830
1566
  }
1831
1567
 
1832
- class UpdatePricingPlanCommand extends Command
1833
- .classBuilder()
1834
- .ep(commonParams)
1835
- .m(function (Command, cs, config, o) {
1836
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1837
- })
1838
- .s("AWSBillingConductor", "UpdatePricingPlan", {})
1839
- .n("BillingconductorClient", "UpdatePricingPlanCommand")
1840
- .sc(UpdatePricingPlan$)
1841
- .build() {
1568
+ class UpdatePricingPlanCommand extends command(_ep0, _mw0, "UpdatePricingPlan", UpdatePricingPlan$) {
1842
1569
  }
1843
1570
 
1844
- class UpdatePricingRuleCommand extends Command
1845
- .classBuilder()
1846
- .ep(commonParams)
1847
- .m(function (Command, cs, config, o) {
1848
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1849
- })
1850
- .s("AWSBillingConductor", "UpdatePricingRule", {})
1851
- .n("BillingconductorClient", "UpdatePricingRuleCommand")
1852
- .sc(UpdatePricingRule$)
1853
- .build() {
1571
+ class UpdatePricingRuleCommand extends command(_ep0, _mw0, "UpdatePricingRule", UpdatePricingRule$) {
1854
1572
  }
1855
1573
 
1856
1574
  const paginateGetBillingGroupCostReport = createPaginator(BillingconductorClient, GetBillingGroupCostReportCommand, "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, "AWSBillingConductor", "BillingconductorClient", 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 { AssociateAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "AssociateAccounts", {})
13
- .n("BillingconductorClient", "AssociateAccountsCommand")
14
- .sc(AssociateAccounts$)
15
- .build() {
3
+ export class AssociateAccountsCommand extends command(_ep0, _mw0, "AssociateAccounts", AssociateAccounts$) {
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 { AssociatePricingRules$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociatePricingRulesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "AssociatePricingRules", {})
13
- .n("BillingconductorClient", "AssociatePricingRulesCommand")
14
- .sc(AssociatePricingRules$)
15
- .build() {
3
+ export class AssociatePricingRulesCommand extends command(_ep0, _mw0, "AssociatePricingRules", AssociatePricingRules$) {
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 { BatchAssociateResourcesToCustomLineItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchAssociateResourcesToCustomLineItemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "BatchAssociateResourcesToCustomLineItem", {})
13
- .n("BillingconductorClient", "BatchAssociateResourcesToCustomLineItemCommand")
14
- .sc(BatchAssociateResourcesToCustomLineItem$)
15
- .build() {
3
+ export class BatchAssociateResourcesToCustomLineItemCommand extends command(_ep0, _mw0, "BatchAssociateResourcesToCustomLineItem", BatchAssociateResourcesToCustomLineItem$) {
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 { BatchDisassociateResourcesFromCustomLineItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchDisassociateResourcesFromCustomLineItemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "BatchDisassociateResourcesFromCustomLineItem", {})
13
- .n("BillingconductorClient", "BatchDisassociateResourcesFromCustomLineItemCommand")
14
- .sc(BatchDisassociateResourcesFromCustomLineItem$)
15
- .build() {
3
+ export class BatchDisassociateResourcesFromCustomLineItemCommand extends command(_ep0, _mw0, "BatchDisassociateResourcesFromCustomLineItem", BatchDisassociateResourcesFromCustomLineItem$) {
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 { CreateBillingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBillingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "CreateBillingGroup", {})
13
- .n("BillingconductorClient", "CreateBillingGroupCommand")
14
- .sc(CreateBillingGroup$)
15
- .build() {
3
+ export class CreateBillingGroupCommand extends command(_ep0, _mw0, "CreateBillingGroup", CreateBillingGroup$) {
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 { CreateCustomLineItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCustomLineItemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "CreateCustomLineItem", {})
13
- .n("BillingconductorClient", "CreateCustomLineItemCommand")
14
- .sc(CreateCustomLineItem$)
15
- .build() {
3
+ export class CreateCustomLineItemCommand extends command(_ep0, _mw0, "CreateCustomLineItem", CreateCustomLineItem$) {
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 { CreatePricingPlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePricingPlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "CreatePricingPlan", {})
13
- .n("BillingconductorClient", "CreatePricingPlanCommand")
14
- .sc(CreatePricingPlan$)
15
- .build() {
3
+ export class CreatePricingPlanCommand extends command(_ep0, _mw0, "CreatePricingPlan", CreatePricingPlan$) {
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 { CreatePricingRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePricingRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "CreatePricingRule", {})
13
- .n("BillingconductorClient", "CreatePricingRuleCommand")
14
- .sc(CreatePricingRule$)
15
- .build() {
3
+ export class CreatePricingRuleCommand extends command(_ep0, _mw0, "CreatePricingRule", CreatePricingRule$) {
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 { DeleteBillingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBillingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "DeleteBillingGroup", {})
13
- .n("BillingconductorClient", "DeleteBillingGroupCommand")
14
- .sc(DeleteBillingGroup$)
15
- .build() {
3
+ export class DeleteBillingGroupCommand extends command(_ep0, _mw0, "DeleteBillingGroup", DeleteBillingGroup$) {
16
4
  }