@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
@@ -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 { DeleteCustomLineItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCustomLineItemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "DeleteCustomLineItem", {})
13
- .n("BillingconductorClient", "DeleteCustomLineItemCommand")
14
- .sc(DeleteCustomLineItem$)
15
- .build() {
3
+ export class DeleteCustomLineItemCommand extends command(_ep0, _mw0, "DeleteCustomLineItem", DeleteCustomLineItem$) {
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 { DeletePricingPlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePricingPlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "DeletePricingPlan", {})
13
- .n("BillingconductorClient", "DeletePricingPlanCommand")
14
- .sc(DeletePricingPlan$)
15
- .build() {
3
+ export class DeletePricingPlanCommand extends command(_ep0, _mw0, "DeletePricingPlan", DeletePricingPlan$) {
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 { DeletePricingRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePricingRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "DeletePricingRule", {})
13
- .n("BillingconductorClient", "DeletePricingRuleCommand")
14
- .sc(DeletePricingRule$)
15
- .build() {
3
+ export class DeletePricingRuleCommand extends command(_ep0, _mw0, "DeletePricingRule", DeletePricingRule$) {
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 { DisassociateAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "DisassociateAccounts", {})
13
- .n("BillingconductorClient", "DisassociateAccountsCommand")
14
- .sc(DisassociateAccounts$)
15
- .build() {
3
+ export class DisassociateAccountsCommand extends command(_ep0, _mw0, "DisassociateAccounts", DisassociateAccounts$) {
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 { DisassociatePricingRules$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociatePricingRulesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "DisassociatePricingRules", {})
13
- .n("BillingconductorClient", "DisassociatePricingRulesCommand")
14
- .sc(DisassociatePricingRules$)
15
- .build() {
3
+ export class DisassociatePricingRulesCommand extends command(_ep0, _mw0, "DisassociatePricingRules", DisassociatePricingRules$) {
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 { GetBillingGroupCostReport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBillingGroupCostReportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "GetBillingGroupCostReport", {})
13
- .n("BillingconductorClient", "GetBillingGroupCostReportCommand")
14
- .sc(GetBillingGroupCostReport$)
15
- .build() {
3
+ export class GetBillingGroupCostReportCommand extends command(_ep0, _mw0, "GetBillingGroupCostReport", GetBillingGroupCostReport$) {
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 { ListAccountAssociations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAccountAssociationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListAccountAssociations", {})
13
- .n("BillingconductorClient", "ListAccountAssociationsCommand")
14
- .sc(ListAccountAssociations$)
15
- .build() {
3
+ export class ListAccountAssociationsCommand extends command(_ep0, _mw0, "ListAccountAssociations", ListAccountAssociations$) {
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 { ListBillingGroupCostReports$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListBillingGroupCostReportsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListBillingGroupCostReports", {})
13
- .n("BillingconductorClient", "ListBillingGroupCostReportsCommand")
14
- .sc(ListBillingGroupCostReports$)
15
- .build() {
3
+ export class ListBillingGroupCostReportsCommand extends command(_ep0, _mw0, "ListBillingGroupCostReports", ListBillingGroupCostReports$) {
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 { ListBillingGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListBillingGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListBillingGroups", {})
13
- .n("BillingconductorClient", "ListBillingGroupsCommand")
14
- .sc(ListBillingGroups$)
15
- .build() {
3
+ export class ListBillingGroupsCommand extends command(_ep0, _mw0, "ListBillingGroups", ListBillingGroups$) {
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 { ListCustomLineItemVersions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCustomLineItemVersionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListCustomLineItemVersions", {})
13
- .n("BillingconductorClient", "ListCustomLineItemVersionsCommand")
14
- .sc(ListCustomLineItemVersions$)
15
- .build() {
3
+ export class ListCustomLineItemVersionsCommand extends command(_ep0, _mw0, "ListCustomLineItemVersions", ListCustomLineItemVersions$) {
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 { ListCustomLineItems$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCustomLineItemsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListCustomLineItems", {})
13
- .n("BillingconductorClient", "ListCustomLineItemsCommand")
14
- .sc(ListCustomLineItems$)
15
- .build() {
3
+ export class ListCustomLineItemsCommand extends command(_ep0, _mw0, "ListCustomLineItems", ListCustomLineItems$) {
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 { ListPricingPlansAssociatedWithPricingRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPricingPlansAssociatedWithPricingRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListPricingPlansAssociatedWithPricingRule", {})
13
- .n("BillingconductorClient", "ListPricingPlansAssociatedWithPricingRuleCommand")
14
- .sc(ListPricingPlansAssociatedWithPricingRule$)
15
- .build() {
3
+ export class ListPricingPlansAssociatedWithPricingRuleCommand extends command(_ep0, _mw0, "ListPricingPlansAssociatedWithPricingRule", ListPricingPlansAssociatedWithPricingRule$) {
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 { ListPricingPlans$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPricingPlansCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListPricingPlans", {})
13
- .n("BillingconductorClient", "ListPricingPlansCommand")
14
- .sc(ListPricingPlans$)
15
- .build() {
3
+ export class ListPricingPlansCommand extends command(_ep0, _mw0, "ListPricingPlans", ListPricingPlans$) {
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 { ListPricingRulesAssociatedToPricingPlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPricingRulesAssociatedToPricingPlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListPricingRulesAssociatedToPricingPlan", {})
13
- .n("BillingconductorClient", "ListPricingRulesAssociatedToPricingPlanCommand")
14
- .sc(ListPricingRulesAssociatedToPricingPlan$)
15
- .build() {
3
+ export class ListPricingRulesAssociatedToPricingPlanCommand extends command(_ep0, _mw0, "ListPricingRulesAssociatedToPricingPlan", ListPricingRulesAssociatedToPricingPlan$) {
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 { ListPricingRules$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPricingRulesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListPricingRules", {})
13
- .n("BillingconductorClient", "ListPricingRulesCommand")
14
- .sc(ListPricingRules$)
15
- .build() {
3
+ export class ListPricingRulesCommand extends command(_ep0, _mw0, "ListPricingRules", ListPricingRules$) {
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 { ListResourcesAssociatedToCustomLineItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListResourcesAssociatedToCustomLineItemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListResourcesAssociatedToCustomLineItem", {})
13
- .n("BillingconductorClient", "ListResourcesAssociatedToCustomLineItemCommand")
14
- .sc(ListResourcesAssociatedToCustomLineItem$)
15
- .build() {
3
+ export class ListResourcesAssociatedToCustomLineItemCommand extends command(_ep0, _mw0, "ListResourcesAssociatedToCustomLineItem", ListResourcesAssociatedToCustomLineItem$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "ListTagsForResource", {})
13
- .n("BillingconductorClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "TagResource", {})
13
- .n("BillingconductorClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "UntagResource", {})
13
- .n("BillingconductorClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateBillingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateBillingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "UpdateBillingGroup", {})
13
- .n("BillingconductorClient", "UpdateBillingGroupCommand")
14
- .sc(UpdateBillingGroup$)
15
- .build() {
3
+ export class UpdateBillingGroupCommand extends command(_ep0, _mw0, "UpdateBillingGroup", UpdateBillingGroup$) {
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 { UpdateCustomLineItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCustomLineItemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "UpdateCustomLineItem", {})
13
- .n("BillingconductorClient", "UpdateCustomLineItemCommand")
14
- .sc(UpdateCustomLineItem$)
15
- .build() {
3
+ export class UpdateCustomLineItemCommand extends command(_ep0, _mw0, "UpdateCustomLineItem", UpdateCustomLineItem$) {
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 { UpdatePricingPlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePricingPlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "UpdatePricingPlan", {})
13
- .n("BillingconductorClient", "UpdatePricingPlanCommand")
14
- .sc(UpdatePricingPlan$)
15
- .build() {
3
+ export class UpdatePricingPlanCommand extends command(_ep0, _mw0, "UpdatePricingPlan", UpdatePricingPlan$) {
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 { UpdatePricingRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePricingRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBillingConductor", "UpdatePricingRule", {})
13
- .n("BillingconductorClient", "UpdatePricingRuleCommand")
14
- .sc(UpdatePricingRule$)
15
- .build() {
3
+ export class UpdatePricingRuleCommand extends command(_ep0, _mw0, "UpdatePricingRule", UpdatePricingRule$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BillingconductorClient";
2
2
  export * from "./Billingconductor";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "AWSBillingConductor",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "billingconductor",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./BillingconductorClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingconductorClient";
4
2
  import type { AssociateAccountsInput, AssociateAccountsOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateAccountsCommandInput extends AssociateAccountsInput {
22
19
  export interface AssociateAccountsCommandOutput extends AssociateAccountsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateAccountsCommand_base: {
25
- new (input: AssociateAccountsCommandInput): import("@smithy/core/client").CommandImpl<AssociateAccountsCommandInput, AssociateAccountsCommandOutput, BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateAccountsCommandInput): import("@smithy/core/client").CommandImpl<AssociateAccountsCommandInput, AssociateAccountsCommandOutput, BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateAccountsCommandInput): import("@smithy/core/client").CommandImpl<AssociateAccountsCommandInput, AssociateAccountsCommandOutput, import("..").BillingconductorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateAccountsCommandInput): import("@smithy/core/client").CommandImpl<AssociateAccountsCommandInput, AssociateAccountsCommandOutput, import("..").BillingconductorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingconductorClient";
4
2
  import type { AssociatePricingRulesInput, AssociatePricingRulesOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociatePricingRulesCommandInput extends AssociatePricingRules
22
19
  export interface AssociatePricingRulesCommandOutput extends AssociatePricingRulesOutput, __MetadataBearer {
23
20
  }
24
21
  declare const AssociatePricingRulesCommand_base: {
25
- new (input: AssociatePricingRulesCommandInput): import("@smithy/core/client").CommandImpl<AssociatePricingRulesCommandInput, AssociatePricingRulesCommandOutput, BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociatePricingRulesCommandInput): import("@smithy/core/client").CommandImpl<AssociatePricingRulesCommandInput, AssociatePricingRulesCommandOutput, BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociatePricingRulesCommandInput): import("@smithy/core/client").CommandImpl<AssociatePricingRulesCommandInput, AssociatePricingRulesCommandOutput, import("..").BillingconductorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociatePricingRulesCommandInput): import("@smithy/core/client").CommandImpl<AssociatePricingRulesCommandInput, AssociatePricingRulesCommandOutput, import("..").BillingconductorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Connects an array of <code>PricingRuleArns</code> to a defined <code>PricingPlan</code>. The maximum number <code>PricingRuleArn</code> that can be associated in one call is 30. </p>