@aws-sdk/client-billingconductor 3.55.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 (220) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +215 -0
  4. package/dist-cjs/Billingconductor.js +457 -0
  5. package/dist-cjs/BillingconductorClient.js +35 -0
  6. package/dist-cjs/commands/AssociateAccountsCommand.js +36 -0
  7. package/dist-cjs/commands/AssociatePricingRulesCommand.js +36 -0
  8. package/dist-cjs/commands/BatchAssociateResourcesToCustomLineItemCommand.js +36 -0
  9. package/dist-cjs/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +36 -0
  10. package/dist-cjs/commands/CreateBillingGroupCommand.js +36 -0
  11. package/dist-cjs/commands/CreateCustomLineItemCommand.js +36 -0
  12. package/dist-cjs/commands/CreatePricingPlanCommand.js +36 -0
  13. package/dist-cjs/commands/CreatePricingRuleCommand.js +36 -0
  14. package/dist-cjs/commands/DeleteBillingGroupCommand.js +36 -0
  15. package/dist-cjs/commands/DeleteCustomLineItemCommand.js +36 -0
  16. package/dist-cjs/commands/DeletePricingPlanCommand.js +36 -0
  17. package/dist-cjs/commands/DeletePricingRuleCommand.js +36 -0
  18. package/dist-cjs/commands/DisassociateAccountsCommand.js +36 -0
  19. package/dist-cjs/commands/DisassociatePricingRulesCommand.js +36 -0
  20. package/dist-cjs/commands/ListAccountAssociationsCommand.js +36 -0
  21. package/dist-cjs/commands/ListBillingGroupCostReportsCommand.js +36 -0
  22. package/dist-cjs/commands/ListBillingGroupsCommand.js +36 -0
  23. package/dist-cjs/commands/ListCustomLineItemsCommand.js +36 -0
  24. package/dist-cjs/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +36 -0
  25. package/dist-cjs/commands/ListPricingPlansCommand.js +36 -0
  26. package/dist-cjs/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +36 -0
  27. package/dist-cjs/commands/ListPricingRulesCommand.js +36 -0
  28. package/dist-cjs/commands/ListResourcesAssociatedToCustomLineItemCommand.js +36 -0
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  30. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  31. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  32. package/dist-cjs/commands/UpdateBillingGroupCommand.js +36 -0
  33. package/dist-cjs/commands/UpdateCustomLineItemCommand.js +36 -0
  34. package/dist-cjs/commands/UpdatePricingPlanCommand.js +36 -0
  35. package/dist-cjs/commands/UpdatePricingRuleCommand.js +36 -0
  36. package/dist-cjs/commands/index.js +33 -0
  37. package/dist-cjs/endpoints.js +131 -0
  38. package/dist-cjs/index.js +11 -0
  39. package/dist-cjs/models/BillingconductorServiceException.js +11 -0
  40. package/dist-cjs/models/index.js +4 -0
  41. package/dist-cjs/models/models_0.js +792 -0
  42. package/dist-cjs/pagination/Interfaces.js +2 -0
  43. package/dist-cjs/pagination/ListAccountAssociationsPaginator.js +34 -0
  44. package/dist-cjs/pagination/ListBillingGroupCostReportsPaginator.js +35 -0
  45. package/dist-cjs/pagination/ListBillingGroupsPaginator.js +35 -0
  46. package/dist-cjs/pagination/ListCustomLineItemsPaginator.js +35 -0
  47. package/dist-cjs/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.js +35 -0
  48. package/dist-cjs/pagination/ListPricingPlansPaginator.js +35 -0
  49. package/dist-cjs/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.js +35 -0
  50. package/dist-cjs/pagination/ListPricingRulesPaginator.js +35 -0
  51. package/dist-cjs/pagination/ListResourcesAssociatedToCustomLineItemPaginator.js +35 -0
  52. package/dist-cjs/pagination/index.js +13 -0
  53. package/dist-cjs/protocols/Aws_restJson1.js +3178 -0
  54. package/dist-cjs/runtimeConfig.browser.js +45 -0
  55. package/dist-cjs/runtimeConfig.js +50 -0
  56. package/dist-cjs/runtimeConfig.native.js +16 -0
  57. package/dist-cjs/runtimeConfig.shared.js +17 -0
  58. package/dist-es/Billingconductor.js +460 -0
  59. package/dist-es/BillingconductorClient.js +37 -0
  60. package/dist-es/commands/AssociateAccountsCommand.js +39 -0
  61. package/dist-es/commands/AssociatePricingRulesCommand.js +39 -0
  62. package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +39 -0
  63. package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +39 -0
  64. package/dist-es/commands/CreateBillingGroupCommand.js +39 -0
  65. package/dist-es/commands/CreateCustomLineItemCommand.js +39 -0
  66. package/dist-es/commands/CreatePricingPlanCommand.js +39 -0
  67. package/dist-es/commands/CreatePricingRuleCommand.js +39 -0
  68. package/dist-es/commands/DeleteBillingGroupCommand.js +39 -0
  69. package/dist-es/commands/DeleteCustomLineItemCommand.js +39 -0
  70. package/dist-es/commands/DeletePricingPlanCommand.js +39 -0
  71. package/dist-es/commands/DeletePricingRuleCommand.js +39 -0
  72. package/dist-es/commands/DisassociateAccountsCommand.js +39 -0
  73. package/dist-es/commands/DisassociatePricingRulesCommand.js +39 -0
  74. package/dist-es/commands/ListAccountAssociationsCommand.js +39 -0
  75. package/dist-es/commands/ListBillingGroupCostReportsCommand.js +39 -0
  76. package/dist-es/commands/ListBillingGroupsCommand.js +39 -0
  77. package/dist-es/commands/ListCustomLineItemsCommand.js +39 -0
  78. package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +39 -0
  79. package/dist-es/commands/ListPricingPlansCommand.js +39 -0
  80. package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +39 -0
  81. package/dist-es/commands/ListPricingRulesCommand.js +39 -0
  82. package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +39 -0
  83. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  84. package/dist-es/commands/TagResourceCommand.js +39 -0
  85. package/dist-es/commands/UntagResourceCommand.js +39 -0
  86. package/dist-es/commands/UpdateBillingGroupCommand.js +39 -0
  87. package/dist-es/commands/UpdateCustomLineItemCommand.js +39 -0
  88. package/dist-es/commands/UpdatePricingPlanCommand.js +39 -0
  89. package/dist-es/commands/UpdatePricingRuleCommand.js +39 -0
  90. package/dist-es/commands/index.js +30 -0
  91. package/dist-es/endpoints.js +127 -0
  92. package/dist-es/index.js +6 -0
  93. package/dist-es/models/BillingconductorServiceException.js +12 -0
  94. package/dist-es/models/index.js +1 -0
  95. package/dist-es/models/models_0.js +560 -0
  96. package/dist-es/pagination/Interfaces.js +1 -0
  97. package/dist-es/pagination/ListAccountAssociationsPaginator.js +73 -0
  98. package/dist-es/pagination/ListBillingGroupCostReportsPaginator.js +74 -0
  99. package/dist-es/pagination/ListBillingGroupsPaginator.js +74 -0
  100. package/dist-es/pagination/ListCustomLineItemsPaginator.js +74 -0
  101. package/dist-es/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.js +74 -0
  102. package/dist-es/pagination/ListPricingPlansPaginator.js +74 -0
  103. package/dist-es/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.js +74 -0
  104. package/dist-es/pagination/ListPricingRulesPaginator.js +74 -0
  105. package/dist-es/pagination/ListResourcesAssociatedToCustomLineItemPaginator.js +74 -0
  106. package/dist-es/pagination/index.js +10 -0
  107. package/dist-es/protocols/Aws_restJson1.js +3850 -0
  108. package/dist-es/runtimeConfig.browser.js +26 -0
  109. package/dist-es/runtimeConfig.js +28 -0
  110. package/dist-es/runtimeConfig.native.js +8 -0
  111. package/dist-es/runtimeConfig.shared.js +13 -0
  112. package/dist-types/Billingconductor.d.ts +283 -0
  113. package/dist-types/BillingconductorClient.d.ts +186 -0
  114. package/dist-types/commands/AssociateAccountsCommand.d.ts +38 -0
  115. package/dist-types/commands/AssociatePricingRulesCommand.d.ts +36 -0
  116. package/dist-types/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +37 -0
  117. package/dist-types/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +37 -0
  118. package/dist-types/commands/CreateBillingGroupCommand.d.ts +37 -0
  119. package/dist-types/commands/CreateCustomLineItemCommand.d.ts +37 -0
  120. package/dist-types/commands/CreatePricingPlanCommand.d.ts +36 -0
  121. package/dist-types/commands/CreatePricingRuleCommand.d.ts +37 -0
  122. package/dist-types/commands/DeleteBillingGroupCommand.d.ts +37 -0
  123. package/dist-types/commands/DeleteCustomLineItemCommand.d.ts +37 -0
  124. package/dist-types/commands/DeletePricingPlanCommand.d.ts +36 -0
  125. package/dist-types/commands/DeletePricingRuleCommand.d.ts +35 -0
  126. package/dist-types/commands/DisassociateAccountsCommand.d.ts +35 -0
  127. package/dist-types/commands/DisassociatePricingRulesCommand.d.ts +37 -0
  128. package/dist-types/commands/ListAccountAssociationsCommand.d.ts +43 -0
  129. package/dist-types/commands/ListBillingGroupCostReportsCommand.d.ts +36 -0
  130. package/dist-types/commands/ListBillingGroupsCommand.d.ts +35 -0
  131. package/dist-types/commands/ListCustomLineItemsCommand.d.ts +37 -0
  132. package/dist-types/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +37 -0
  133. package/dist-types/commands/ListPricingPlansCommand.d.ts +36 -0
  134. package/dist-types/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +37 -0
  135. package/dist-types/commands/ListPricingRulesCommand.d.ts +37 -0
  136. package/dist-types/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +37 -0
  137. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  138. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  139. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  140. package/dist-types/commands/UpdateBillingGroupCommand.d.ts +36 -0
  141. package/dist-types/commands/UpdateCustomLineItemCommand.d.ts +37 -0
  142. package/dist-types/commands/UpdatePricingPlanCommand.d.ts +36 -0
  143. package/dist-types/commands/UpdatePricingRuleCommand.d.ts +37 -0
  144. package/dist-types/commands/index.d.ts +30 -0
  145. package/dist-types/endpoints.d.ts +2 -0
  146. package/dist-types/index.d.ts +6 -0
  147. package/dist-types/models/BillingconductorServiceException.d.ts +10 -0
  148. package/dist-types/models/index.d.ts +1 -0
  149. package/dist-types/models/models_0.d.ts +2576 -0
  150. package/dist-types/pagination/Interfaces.d.ts +6 -0
  151. package/dist-types/pagination/ListAccountAssociationsPaginator.d.ts +4 -0
  152. package/dist-types/pagination/ListBillingGroupCostReportsPaginator.d.ts +4 -0
  153. package/dist-types/pagination/ListBillingGroupsPaginator.d.ts +4 -0
  154. package/dist-types/pagination/ListCustomLineItemsPaginator.d.ts +4 -0
  155. package/dist-types/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.d.ts +4 -0
  156. package/dist-types/pagination/ListPricingPlansPaginator.d.ts +4 -0
  157. package/dist-types/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.d.ts +4 -0
  158. package/dist-types/pagination/ListPricingRulesPaginator.d.ts +4 -0
  159. package/dist-types/pagination/ListResourcesAssociatedToCustomLineItemPaginator.d.ts +4 -0
  160. package/dist-types/pagination/index.d.ts +10 -0
  161. package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
  162. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  163. package/dist-types/runtimeConfig.d.ts +40 -0
  164. package/dist-types/runtimeConfig.native.d.ts +39 -0
  165. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  166. package/dist-types/ts3.4/Billingconductor.d.ts +155 -0
  167. package/dist-types/ts3.4/BillingconductorClient.d.ts +103 -0
  168. package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/AssociatePricingRulesCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/CreateBillingGroupCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/CreateCustomLineItemCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/CreatePricingPlanCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/CreatePricingRuleCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/DeleteBillingGroupCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/DeleteCustomLineItemCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/DeletePricingPlanCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/DeletePricingRuleCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/DisassociatePricingRulesCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/ListAccountAssociationsCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/ListBillingGroupCostReportsCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/ListBillingGroupsCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/ListCustomLineItemsCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/ListPricingPlansCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/ListPricingRulesCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/UpdateBillingGroupCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/UpdateCustomLineItemCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/UpdatePricingPlanCommand.d.ts +17 -0
  197. package/dist-types/ts3.4/commands/UpdatePricingRuleCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/index.d.ts +30 -0
  199. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  200. package/dist-types/ts3.4/index.d.ts +6 -0
  201. package/dist-types/ts3.4/models/BillingconductorServiceException.d.ts +6 -0
  202. package/dist-types/ts3.4/models/index.d.ts +1 -0
  203. package/dist-types/ts3.4/models/models_0.d.ts +1266 -0
  204. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  205. package/dist-types/ts3.4/pagination/ListAccountAssociationsPaginator.d.ts +4 -0
  206. package/dist-types/ts3.4/pagination/ListBillingGroupCostReportsPaginator.d.ts +4 -0
  207. package/dist-types/ts3.4/pagination/ListBillingGroupsPaginator.d.ts +4 -0
  208. package/dist-types/ts3.4/pagination/ListCustomLineItemsPaginator.d.ts +4 -0
  209. package/dist-types/ts3.4/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.d.ts +4 -0
  210. package/dist-types/ts3.4/pagination/ListPricingPlansPaginator.d.ts +4 -0
  211. package/dist-types/ts3.4/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.d.ts +4 -0
  212. package/dist-types/ts3.4/pagination/ListPricingRulesPaginator.d.ts +4 -0
  213. package/dist-types/ts3.4/pagination/ListResourcesAssociatedToCustomLineItemPaginator.d.ts +4 -0
  214. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  215. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +92 -0
  216. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  217. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  218. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  219. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  220. package/package.json +95 -0
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListResourcesAssociatedToCustomLineItemCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListResourcesAssociatedToCustomLineItemCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "BillingconductorClient";
18
+ const commandName = "ListResourcesAssociatedToCustomLineItemCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListResourcesAssociatedToCustomLineItemInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListResourcesAssociatedToCustomLineItemOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListResourcesAssociatedToCustomLineItemCommand = ListResourcesAssociatedToCustomLineItemCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListTagsForResourceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "BillingconductorClient";
18
+ const commandName = "ListTagsForResourceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class TagResourceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "BillingconductorClient";
18
+ const commandName = "TagResourceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.TagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.TagResourceResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UntagResourceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "BillingconductorClient";
18
+ const commandName = "UntagResourceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UntagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UntagResourceResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateBillingGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateBillingGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "BillingconductorClient";
18
+ const commandName = "UpdateBillingGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateBillingGroupInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateBillingGroupOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateBillingGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateBillingGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateBillingGroupCommand = UpdateBillingGroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateCustomLineItemCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateCustomLineItemCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "BillingconductorClient";
18
+ const commandName = "UpdateCustomLineItemCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateCustomLineItemInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateCustomLineItemOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateCustomLineItemCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateCustomLineItemCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateCustomLineItemCommand = UpdateCustomLineItemCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdatePricingPlanCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdatePricingPlanCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "BillingconductorClient";
18
+ const commandName = "UpdatePricingPlanCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdatePricingPlanInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdatePricingPlanOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdatePricingPlanCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdatePricingPlanCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdatePricingPlanCommand = UpdatePricingPlanCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdatePricingRuleCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdatePricingRuleCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "BillingconductorClient";
18
+ const commandName = "UpdatePricingRuleCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdatePricingRuleInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdatePricingRuleOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdatePricingRuleCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdatePricingRuleCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdatePricingRuleCommand = UpdatePricingRuleCommand;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AssociateAccountsCommand"), exports);
5
+ tslib_1.__exportStar(require("./AssociatePricingRulesCommand"), exports);
6
+ tslib_1.__exportStar(require("./BatchAssociateResourcesToCustomLineItemCommand"), exports);
7
+ tslib_1.__exportStar(require("./BatchDisassociateResourcesFromCustomLineItemCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateBillingGroupCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateCustomLineItemCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreatePricingPlanCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreatePricingRuleCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteBillingGroupCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteCustomLineItemCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeletePricingPlanCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeletePricingRuleCommand"), exports);
16
+ tslib_1.__exportStar(require("./DisassociateAccountsCommand"), exports);
17
+ tslib_1.__exportStar(require("./DisassociatePricingRulesCommand"), exports);
18
+ tslib_1.__exportStar(require("./ListAccountAssociationsCommand"), exports);
19
+ tslib_1.__exportStar(require("./ListBillingGroupCostReportsCommand"), exports);
20
+ tslib_1.__exportStar(require("./ListBillingGroupsCommand"), exports);
21
+ tslib_1.__exportStar(require("./ListCustomLineItemsCommand"), exports);
22
+ tslib_1.__exportStar(require("./ListPricingPlansAssociatedWithPricingRuleCommand"), exports);
23
+ tslib_1.__exportStar(require("./ListPricingPlansCommand"), exports);
24
+ tslib_1.__exportStar(require("./ListPricingRulesAssociatedToPricingPlanCommand"), exports);
25
+ tslib_1.__exportStar(require("./ListPricingRulesCommand"), exports);
26
+ tslib_1.__exportStar(require("./ListResourcesAssociatedToCustomLineItemCommand"), exports);
27
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
28
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
29
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
30
+ tslib_1.__exportStar(require("./UpdateBillingGroupCommand"), exports);
31
+ tslib_1.__exportStar(require("./UpdateCustomLineItemCommand"), exports);
32
+ tslib_1.__exportStar(require("./UpdatePricingPlanCommand"), exports);
33
+ tslib_1.__exportStar(require("./UpdatePricingRuleCommand"), exports);
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultRegionInfoProvider = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const regionHash = {};
6
+ const partitionHash = {
7
+ aws: {
8
+ regions: [
9
+ "af-south-1",
10
+ "ap-east-1",
11
+ "ap-northeast-1",
12
+ "ap-northeast-2",
13
+ "ap-northeast-3",
14
+ "ap-south-1",
15
+ "ap-southeast-1",
16
+ "ap-southeast-2",
17
+ "ap-southeast-3",
18
+ "ca-central-1",
19
+ "eu-central-1",
20
+ "eu-north-1",
21
+ "eu-south-1",
22
+ "eu-west-1",
23
+ "eu-west-2",
24
+ "eu-west-3",
25
+ "me-south-1",
26
+ "sa-east-1",
27
+ "us-east-1",
28
+ "us-east-2",
29
+ "us-west-1",
30
+ "us-west-2",
31
+ ],
32
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
33
+ variants: [
34
+ {
35
+ hostname: "billingconductor.{region}.amazonaws.com",
36
+ tags: [],
37
+ },
38
+ {
39
+ hostname: "billingconductor-fips.{region}.amazonaws.com",
40
+ tags: ["fips"],
41
+ },
42
+ {
43
+ hostname: "billingconductor-fips.{region}.api.aws",
44
+ tags: ["dualstack", "fips"],
45
+ },
46
+ {
47
+ hostname: "billingconductor.{region}.api.aws",
48
+ tags: ["dualstack"],
49
+ },
50
+ ],
51
+ },
52
+ "aws-cn": {
53
+ regions: ["cn-north-1", "cn-northwest-1"],
54
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
55
+ variants: [
56
+ {
57
+ hostname: "billingconductor.{region}.amazonaws.com.cn",
58
+ tags: [],
59
+ },
60
+ {
61
+ hostname: "billingconductor-fips.{region}.amazonaws.com.cn",
62
+ tags: ["fips"],
63
+ },
64
+ {
65
+ hostname: "billingconductor-fips.{region}.api.amazonwebservices.com.cn",
66
+ tags: ["dualstack", "fips"],
67
+ },
68
+ {
69
+ hostname: "billingconductor.{region}.api.amazonwebservices.com.cn",
70
+ tags: ["dualstack"],
71
+ },
72
+ ],
73
+ },
74
+ "aws-iso": {
75
+ regions: ["us-iso-east-1", "us-iso-west-1"],
76
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
77
+ variants: [
78
+ {
79
+ hostname: "billingconductor.{region}.c2s.ic.gov",
80
+ tags: [],
81
+ },
82
+ {
83
+ hostname: "billingconductor-fips.{region}.c2s.ic.gov",
84
+ tags: ["fips"],
85
+ },
86
+ ],
87
+ },
88
+ "aws-iso-b": {
89
+ regions: ["us-isob-east-1"],
90
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
91
+ variants: [
92
+ {
93
+ hostname: "billingconductor.{region}.sc2s.sgov.gov",
94
+ tags: [],
95
+ },
96
+ {
97
+ hostname: "billingconductor-fips.{region}.sc2s.sgov.gov",
98
+ tags: ["fips"],
99
+ },
100
+ ],
101
+ },
102
+ "aws-us-gov": {
103
+ regions: ["us-gov-east-1", "us-gov-west-1"],
104
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
105
+ variants: [
106
+ {
107
+ hostname: "billingconductor.{region}.amazonaws.com",
108
+ tags: [],
109
+ },
110
+ {
111
+ hostname: "billingconductor-fips.{region}.amazonaws.com",
112
+ tags: ["fips"],
113
+ },
114
+ {
115
+ hostname: "billingconductor-fips.{region}.api.aws",
116
+ tags: ["dualstack", "fips"],
117
+ },
118
+ {
119
+ hostname: "billingconductor.{region}.api.aws",
120
+ tags: ["dualstack"],
121
+ },
122
+ ],
123
+ },
124
+ };
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
+ ...options,
127
+ signingService: "billingconductor",
128
+ regionHash,
129
+ partitionHash,
130
+ });
131
+ exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BillingconductorServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./Billingconductor"), exports);
6
+ tslib_1.__exportStar(require("./BillingconductorClient"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./models"), exports);
9
+ tslib_1.__exportStar(require("./pagination"), exports);
10
+ var BillingconductorServiceException_1 = require("./models/BillingconductorServiceException");
11
+ Object.defineProperty(exports, "BillingconductorServiceException", { enumerable: true, get: function () { return BillingconductorServiceException_1.BillingconductorServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BillingconductorServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class BillingconductorServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, BillingconductorServiceException.prototype);
9
+ }
10
+ }
11
+ exports.BillingconductorServiceException = BillingconductorServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);