@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,26 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
15
+ export var getRuntimeConfig = function (config) {
16
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
+ var clientSharedValues = getSharedRuntimeConfig(config);
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
26
+ };
@@ -0,0 +1,28 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
+ import { Hash } from "@aws-sdk/hash-node";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ export var getRuntimeConfig = function (config) {
18
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
+ var clientSharedValues = getSharedRuntimeConfig(config);
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
28
+ };
@@ -0,0 +1,8 @@
1
+ import { __assign } from "tslib";
2
+ import { Sha256 } from "@aws-crypto/sha256-js";
3
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
+ export var getRuntimeConfig = function (config) {
5
+ var _a;
6
+ var browserDefaults = getBrowserRuntimeConfig(config);
7
+ return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
+ };
@@ -0,0 +1,13 @@
1
+ import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
+ export var getRuntimeConfig = function (config) {
4
+ var _a, _b, _c, _d, _e;
5
+ return ({
6
+ apiVersion: "2021-07-30",
7
+ disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
8
+ logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
9
+ regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
10
+ serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "billingconductor",
11
+ urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
+ });
13
+ };
@@ -0,0 +1,283 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { BillingconductorClient } from "./BillingconductorClient";
3
+ import { AssociateAccountsCommandInput, AssociateAccountsCommandOutput } from "./commands/AssociateAccountsCommand";
4
+ import { AssociatePricingRulesCommandInput, AssociatePricingRulesCommandOutput } from "./commands/AssociatePricingRulesCommand";
5
+ import { BatchAssociateResourcesToCustomLineItemCommandInput, BatchAssociateResourcesToCustomLineItemCommandOutput } from "./commands/BatchAssociateResourcesToCustomLineItemCommand";
6
+ import { BatchDisassociateResourcesFromCustomLineItemCommandInput, BatchDisassociateResourcesFromCustomLineItemCommandOutput } from "./commands/BatchDisassociateResourcesFromCustomLineItemCommand";
7
+ import { CreateBillingGroupCommandInput, CreateBillingGroupCommandOutput } from "./commands/CreateBillingGroupCommand";
8
+ import { CreateCustomLineItemCommandInput, CreateCustomLineItemCommandOutput } from "./commands/CreateCustomLineItemCommand";
9
+ import { CreatePricingPlanCommandInput, CreatePricingPlanCommandOutput } from "./commands/CreatePricingPlanCommand";
10
+ import { CreatePricingRuleCommandInput, CreatePricingRuleCommandOutput } from "./commands/CreatePricingRuleCommand";
11
+ import { DeleteBillingGroupCommandInput, DeleteBillingGroupCommandOutput } from "./commands/DeleteBillingGroupCommand";
12
+ import { DeleteCustomLineItemCommandInput, DeleteCustomLineItemCommandOutput } from "./commands/DeleteCustomLineItemCommand";
13
+ import { DeletePricingPlanCommandInput, DeletePricingPlanCommandOutput } from "./commands/DeletePricingPlanCommand";
14
+ import { DeletePricingRuleCommandInput, DeletePricingRuleCommandOutput } from "./commands/DeletePricingRuleCommand";
15
+ import { DisassociateAccountsCommandInput, DisassociateAccountsCommandOutput } from "./commands/DisassociateAccountsCommand";
16
+ import { DisassociatePricingRulesCommandInput, DisassociatePricingRulesCommandOutput } from "./commands/DisassociatePricingRulesCommand";
17
+ import { ListAccountAssociationsCommandInput, ListAccountAssociationsCommandOutput } from "./commands/ListAccountAssociationsCommand";
18
+ import { ListBillingGroupCostReportsCommandInput, ListBillingGroupCostReportsCommandOutput } from "./commands/ListBillingGroupCostReportsCommand";
19
+ import { ListBillingGroupsCommandInput, ListBillingGroupsCommandOutput } from "./commands/ListBillingGroupsCommand";
20
+ import { ListCustomLineItemsCommandInput, ListCustomLineItemsCommandOutput } from "./commands/ListCustomLineItemsCommand";
21
+ import { ListPricingPlansAssociatedWithPricingRuleCommandInput, ListPricingPlansAssociatedWithPricingRuleCommandOutput } from "./commands/ListPricingPlansAssociatedWithPricingRuleCommand";
22
+ import { ListPricingPlansCommandInput, ListPricingPlansCommandOutput } from "./commands/ListPricingPlansCommand";
23
+ import { ListPricingRulesAssociatedToPricingPlanCommandInput, ListPricingRulesAssociatedToPricingPlanCommandOutput } from "./commands/ListPricingRulesAssociatedToPricingPlanCommand";
24
+ import { ListPricingRulesCommandInput, ListPricingRulesCommandOutput } from "./commands/ListPricingRulesCommand";
25
+ import { ListResourcesAssociatedToCustomLineItemCommandInput, ListResourcesAssociatedToCustomLineItemCommandOutput } from "./commands/ListResourcesAssociatedToCustomLineItemCommand";
26
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
27
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
28
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
29
+ import { UpdateBillingGroupCommandInput, UpdateBillingGroupCommandOutput } from "./commands/UpdateBillingGroupCommand";
30
+ import { UpdateCustomLineItemCommandInput, UpdateCustomLineItemCommandOutput } from "./commands/UpdateCustomLineItemCommand";
31
+ import { UpdatePricingPlanCommandInput, UpdatePricingPlanCommandOutput } from "./commands/UpdatePricingPlanCommand";
32
+ import { UpdatePricingRuleCommandInput, UpdatePricingRuleCommandOutput } from "./commands/UpdatePricingRuleCommand";
33
+ /**
34
+ * <p>Amazon Web Services Billing Conductor is a fully managed service that you can use
35
+ * to customize a <a href="https://docs.aws.amazon.com/enterprisebilling/6b7c01c5-b592-467e-9769-90052eaf359c/userguide/understanding-eb.html#eb-other-definitions">pro forma</a> version of your billing data each month, to accurately show or chargeback
36
+ * your end customers. Amazon Web Services Billing Conductor doesn't change the way
37
+ * you're billed by Amazon Web Services each month by design. Instead, it provides you with a
38
+ * mechanism to configure, generate, and display rates to certain customers over a given billing
39
+ * period. You can also analyze the difference between the rates you apply to your accounting
40
+ * groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the
41
+ * custom rate applied on the billing details page of the <a href="https://console.aws.amazon.com/billing">Amazon Web Services Billing console</a>, or configure a cost and usage report per
42
+ * billing group.</p>
43
+ * <p>This documentation shows how you can configure Amazon Web Services Billing Conductor using its
44
+ * API. For more information about using the <a href="https://console.aws.amazon.com/enterprisebilling/">Amazon Web Services
45
+ * Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/enterprisebilling/6b7c01c5-b592-467e-9769-90052eaf359c/userguide/what-is-enterprisebilling.html"> Amazon Web Services Enterprise
46
+ * Billing Console User Guide</a>.</p>
47
+ */
48
+ export declare class Billingconductor extends BillingconductorClient {
49
+ /**
50
+ * <p>Connects an array of account IDs in a consolidated billing family to a predefined
51
+ * billing group. The account IDs must be a part of the consolidated billing family during the
52
+ * current month, and not already associated with another billing group. The maximum number of
53
+ * accounts that can be associated in one call is 30. </p>
54
+ */
55
+ associateAccounts(args: AssociateAccountsCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAccountsCommandOutput>;
56
+ associateAccounts(args: AssociateAccountsCommandInput, cb: (err: any, data?: AssociateAccountsCommandOutput) => void): void;
57
+ associateAccounts(args: AssociateAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAccountsCommandOutput) => void): void;
58
+ /**
59
+ * <p>Connects an array of <code>PricingRuleArns</code> to a defined <code>PricingPlan</code>.
60
+ * The maximum number <code>PricingRuleArn</code> that can be associated in one call is 30. </p>
61
+ */
62
+ associatePricingRules(args: AssociatePricingRulesCommandInput, options?: __HttpHandlerOptions): Promise<AssociatePricingRulesCommandOutput>;
63
+ associatePricingRules(args: AssociatePricingRulesCommandInput, cb: (err: any, data?: AssociatePricingRulesCommandOutput) => void): void;
64
+ associatePricingRules(args: AssociatePricingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociatePricingRulesCommandOutput) => void): void;
65
+ /**
66
+ * <p>
67
+ * Associates a batch of resources to a percentage custom line item.
68
+ * </p>
69
+ */
70
+ batchAssociateResourcesToCustomLineItem(args: BatchAssociateResourcesToCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<BatchAssociateResourcesToCustomLineItemCommandOutput>;
71
+ batchAssociateResourcesToCustomLineItem(args: BatchAssociateResourcesToCustomLineItemCommandInput, cb: (err: any, data?: BatchAssociateResourcesToCustomLineItemCommandOutput) => void): void;
72
+ batchAssociateResourcesToCustomLineItem(args: BatchAssociateResourcesToCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAssociateResourcesToCustomLineItemCommandOutput) => void): void;
73
+ /**
74
+ * <p>
75
+ * Disassociates a batch of resources from a percentage custom line item.
76
+ * </p>
77
+ */
78
+ batchDisassociateResourcesFromCustomLineItem(args: BatchDisassociateResourcesFromCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<BatchDisassociateResourcesFromCustomLineItemCommandOutput>;
79
+ batchDisassociateResourcesFromCustomLineItem(args: BatchDisassociateResourcesFromCustomLineItemCommandInput, cb: (err: any, data?: BatchDisassociateResourcesFromCustomLineItemCommandOutput) => void): void;
80
+ batchDisassociateResourcesFromCustomLineItem(args: BatchDisassociateResourcesFromCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisassociateResourcesFromCustomLineItemCommandOutput) => void): void;
81
+ /**
82
+ * <p>
83
+ * Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.
84
+ * </p>
85
+ */
86
+ createBillingGroup(args: CreateBillingGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateBillingGroupCommandOutput>;
87
+ createBillingGroup(args: CreateBillingGroupCommandInput, cb: (err: any, data?: CreateBillingGroupCommandOutput) => void): void;
88
+ createBillingGroup(args: CreateBillingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBillingGroupCommandOutput) => void): void;
89
+ /**
90
+ * <p>
91
+ * Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.
92
+ * </p>
93
+ */
94
+ createCustomLineItem(args: CreateCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomLineItemCommandOutput>;
95
+ createCustomLineItem(args: CreateCustomLineItemCommandInput, cb: (err: any, data?: CreateCustomLineItemCommandOutput) => void): void;
96
+ createCustomLineItem(args: CreateCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomLineItemCommandOutput) => void): void;
97
+ /**
98
+ * <p>Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.
99
+ * </p>
100
+ */
101
+ createPricingPlan(args: CreatePricingPlanCommandInput, options?: __HttpHandlerOptions): Promise<CreatePricingPlanCommandOutput>;
102
+ createPricingPlan(args: CreatePricingPlanCommandInput, cb: (err: any, data?: CreatePricingPlanCommandOutput) => void): void;
103
+ createPricingPlan(args: CreatePricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePricingPlanCommandOutput) => void): void;
104
+ /**
105
+ * <p>
106
+ * Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.
107
+ * </p>
108
+ */
109
+ createPricingRule(args: CreatePricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreatePricingRuleCommandOutput>;
110
+ createPricingRule(args: CreatePricingRuleCommandInput, cb: (err: any, data?: CreatePricingRuleCommandOutput) => void): void;
111
+ createPricingRule(args: CreatePricingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePricingRuleCommandOutput) => void): void;
112
+ /**
113
+ * <p>
114
+ * Deletes a billing group.
115
+ * </p>
116
+ */
117
+ deleteBillingGroup(args: DeleteBillingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBillingGroupCommandOutput>;
118
+ deleteBillingGroup(args: DeleteBillingGroupCommandInput, cb: (err: any, data?: DeleteBillingGroupCommandOutput) => void): void;
119
+ deleteBillingGroup(args: DeleteBillingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBillingGroupCommandOutput) => void): void;
120
+ /**
121
+ * <p>
122
+ * Deletes the custom line item identified by the given ARN in the current, or previous billing period.
123
+ * </p>
124
+ */
125
+ deleteCustomLineItem(args: DeleteCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomLineItemCommandOutput>;
126
+ deleteCustomLineItem(args: DeleteCustomLineItemCommandInput, cb: (err: any, data?: DeleteCustomLineItemCommandOutput) => void): void;
127
+ deleteCustomLineItem(args: DeleteCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomLineItemCommandOutput) => void): void;
128
+ /**
129
+ * <p>Deletes a pricing plan. The pricing plan must not be associated with any billing groups to
130
+ * delete successfully.</p>
131
+ */
132
+ deletePricingPlan(args: DeletePricingPlanCommandInput, options?: __HttpHandlerOptions): Promise<DeletePricingPlanCommandOutput>;
133
+ deletePricingPlan(args: DeletePricingPlanCommandInput, cb: (err: any, data?: DeletePricingPlanCommandOutput) => void): void;
134
+ deletePricingPlan(args: DeletePricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePricingPlanCommandOutput) => void): void;
135
+ /**
136
+ * <p> Deletes the pricing rule identified by the input Amazon Resource Name (ARN). </p>
137
+ */
138
+ deletePricingRule(args: DeletePricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeletePricingRuleCommandOutput>;
139
+ deletePricingRule(args: DeletePricingRuleCommandInput, cb: (err: any, data?: DeletePricingRuleCommandOutput) => void): void;
140
+ deletePricingRule(args: DeletePricingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePricingRuleCommandOutput) => void): void;
141
+ /**
142
+ * <p>Removes the specified list of account IDs from the given billing group. </p>
143
+ */
144
+ disassociateAccounts(args: DisassociateAccountsCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateAccountsCommandOutput>;
145
+ disassociateAccounts(args: DisassociateAccountsCommandInput, cb: (err: any, data?: DisassociateAccountsCommandOutput) => void): void;
146
+ disassociateAccounts(args: DisassociateAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateAccountsCommandOutput) => void): void;
147
+ /**
148
+ * <p>
149
+ * Disassociates a list of pricing rules from a pricing plan.
150
+ * </p>
151
+ */
152
+ disassociatePricingRules(args: DisassociatePricingRulesCommandInput, options?: __HttpHandlerOptions): Promise<DisassociatePricingRulesCommandOutput>;
153
+ disassociatePricingRules(args: DisassociatePricingRulesCommandInput, cb: (err: any, data?: DisassociatePricingRulesCommandOutput) => void): void;
154
+ disassociatePricingRules(args: DisassociatePricingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociatePricingRulesCommandOutput) => void): void;
155
+ /**
156
+ * <p>
157
+ * <i>
158
+ * <b>Amazon Web Services Billing Conductor is in beta release and is subject to change. Your use of Amazon Web Services Billing Conductor is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
159
+ * </i>
160
+ * </p>
161
+ * <p> This is a paginated call to list linked accounts that are linked to the payer account for
162
+ * the specified time period. If no information is provided, the current billing period is used.
163
+ * The response will optionally include the billing group associated with the linked
164
+ * account.</p>
165
+ */
166
+ listAccountAssociations(args: ListAccountAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountAssociationsCommandOutput>;
167
+ listAccountAssociations(args: ListAccountAssociationsCommandInput, cb: (err: any, data?: ListAccountAssociationsCommandOutput) => void): void;
168
+ listAccountAssociations(args: ListAccountAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountAssociationsCommandOutput) => void): void;
169
+ /**
170
+ * <p>A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated
171
+ * Amazon Web Services charges based on the associated pricing plan of a billing group.</p>
172
+ */
173
+ listBillingGroupCostReports(args: ListBillingGroupCostReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillingGroupCostReportsCommandOutput>;
174
+ listBillingGroupCostReports(args: ListBillingGroupCostReportsCommandInput, cb: (err: any, data?: ListBillingGroupCostReportsCommandOutput) => void): void;
175
+ listBillingGroupCostReports(args: ListBillingGroupCostReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillingGroupCostReportsCommandOutput) => void): void;
176
+ /**
177
+ * <p>A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.</p>
178
+ */
179
+ listBillingGroups(args: ListBillingGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillingGroupsCommandOutput>;
180
+ listBillingGroups(args: ListBillingGroupsCommandInput, cb: (err: any, data?: ListBillingGroupsCommandOutput) => void): void;
181
+ listBillingGroups(args: ListBillingGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillingGroupsCommandOutput) => void): void;
182
+ /**
183
+ * <p>
184
+ * A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.
185
+ * </p>
186
+ */
187
+ listCustomLineItems(args: ListCustomLineItemsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomLineItemsCommandOutput>;
188
+ listCustomLineItems(args: ListCustomLineItemsCommandInput, cb: (err: any, data?: ListCustomLineItemsCommandOutput) => void): void;
189
+ listCustomLineItems(args: ListCustomLineItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomLineItemsCommandOutput) => void): void;
190
+ /**
191
+ * <p>A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
192
+ * </p>
193
+ */
194
+ listPricingPlans(args: ListPricingPlansCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingPlansCommandOutput>;
195
+ listPricingPlans(args: ListPricingPlansCommandInput, cb: (err: any, data?: ListPricingPlansCommandOutput) => void): void;
196
+ listPricingPlans(args: ListPricingPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingPlansCommandOutput) => void): void;
197
+ /**
198
+ * <p>
199
+ * A list of the pricing plans associated with a pricing rule.
200
+ * </p>
201
+ */
202
+ listPricingPlansAssociatedWithPricingRule(args: ListPricingPlansAssociatedWithPricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingPlansAssociatedWithPricingRuleCommandOutput>;
203
+ listPricingPlansAssociatedWithPricingRule(args: ListPricingPlansAssociatedWithPricingRuleCommandInput, cb: (err: any, data?: ListPricingPlansAssociatedWithPricingRuleCommandOutput) => void): void;
204
+ listPricingPlansAssociatedWithPricingRule(args: ListPricingPlansAssociatedWithPricingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingPlansAssociatedWithPricingRuleCommandOutput) => void): void;
205
+ /**
206
+ * <p>
207
+ * Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.
208
+ * </p>
209
+ */
210
+ listPricingRules(args: ListPricingRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingRulesCommandOutput>;
211
+ listPricingRules(args: ListPricingRulesCommandInput, cb: (err: any, data?: ListPricingRulesCommandOutput) => void): void;
212
+ listPricingRules(args: ListPricingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingRulesCommandOutput) => void): void;
213
+ /**
214
+ * <p>
215
+ * Lists the pricing rules associated with a pricing plan.
216
+ * </p>
217
+ */
218
+ listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingRulesAssociatedToPricingPlanCommandOutput>;
219
+ listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, cb: (err: any, data?: ListPricingRulesAssociatedToPricingPlanCommandOutput) => void): void;
220
+ listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingRulesAssociatedToPricingPlanCommandOutput) => void): void;
221
+ /**
222
+ * <p>
223
+ * List the resources associated to a custom line item.
224
+ * </p>
225
+ */
226
+ listResourcesAssociatedToCustomLineItem(args: ListResourcesAssociatedToCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesAssociatedToCustomLineItemCommandOutput>;
227
+ listResourcesAssociatedToCustomLineItem(args: ListResourcesAssociatedToCustomLineItemCommandInput, cb: (err: any, data?: ListResourcesAssociatedToCustomLineItemCommandOutput) => void): void;
228
+ listResourcesAssociatedToCustomLineItem(args: ListResourcesAssociatedToCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesAssociatedToCustomLineItemCommandOutput) => void): void;
229
+ /**
230
+ * <p>
231
+ * A list the tags for a resource.
232
+ * </p>
233
+ */
234
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
235
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
236
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
237
+ /**
238
+ * <p> Associates the specified tags to a resource with the specified <code>resourceArn</code>.
239
+ * If existing tags on a resource are not specified in the request parameters, they are not
240
+ * changed. </p>
241
+ */
242
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
243
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
244
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
245
+ /**
246
+ * <p>
247
+ * Deletes specified tags from a resource.
248
+ * </p>
249
+ */
250
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
251
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
252
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
253
+ /**
254
+ * <p>This updates an existing billing group.
255
+ * </p>
256
+ */
257
+ updateBillingGroup(args: UpdateBillingGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBillingGroupCommandOutput>;
258
+ updateBillingGroup(args: UpdateBillingGroupCommandInput, cb: (err: any, data?: UpdateBillingGroupCommandOutput) => void): void;
259
+ updateBillingGroup(args: UpdateBillingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBillingGroupCommandOutput) => void): void;
260
+ /**
261
+ * <p>
262
+ * Update an existing custom line item in the current or previous billing period.
263
+ * </p>
264
+ */
265
+ updateCustomLineItem(args: UpdateCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCustomLineItemCommandOutput>;
266
+ updateCustomLineItem(args: UpdateCustomLineItemCommandInput, cb: (err: any, data?: UpdateCustomLineItemCommandOutput) => void): void;
267
+ updateCustomLineItem(args: UpdateCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCustomLineItemCommandOutput) => void): void;
268
+ /**
269
+ * <p>This updates an existing pricing plan.
270
+ * </p>
271
+ */
272
+ updatePricingPlan(args: UpdatePricingPlanCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePricingPlanCommandOutput>;
273
+ updatePricingPlan(args: UpdatePricingPlanCommandInput, cb: (err: any, data?: UpdatePricingPlanCommandOutput) => void): void;
274
+ updatePricingPlan(args: UpdatePricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePricingPlanCommandOutput) => void): void;
275
+ /**
276
+ * <p>
277
+ * Updates an existing pricing rule.
278
+ * </p>
279
+ */
280
+ updatePricingRule(args: UpdatePricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePricingRuleCommandOutput>;
281
+ updatePricingRule(args: UpdatePricingRuleCommandInput, cb: (err: any, data?: UpdatePricingRuleCommandOutput) => void): void;
282
+ updatePricingRule(args: UpdatePricingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePricingRuleCommandOutput) => void): void;
283
+ }
@@ -0,0 +1,186 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { AssociateAccountsCommandInput, AssociateAccountsCommandOutput } from "./commands/AssociateAccountsCommand";
10
+ import { AssociatePricingRulesCommandInput, AssociatePricingRulesCommandOutput } from "./commands/AssociatePricingRulesCommand";
11
+ import { BatchAssociateResourcesToCustomLineItemCommandInput, BatchAssociateResourcesToCustomLineItemCommandOutput } from "./commands/BatchAssociateResourcesToCustomLineItemCommand";
12
+ import { BatchDisassociateResourcesFromCustomLineItemCommandInput, BatchDisassociateResourcesFromCustomLineItemCommandOutput } from "./commands/BatchDisassociateResourcesFromCustomLineItemCommand";
13
+ import { CreateBillingGroupCommandInput, CreateBillingGroupCommandOutput } from "./commands/CreateBillingGroupCommand";
14
+ import { CreateCustomLineItemCommandInput, CreateCustomLineItemCommandOutput } from "./commands/CreateCustomLineItemCommand";
15
+ import { CreatePricingPlanCommandInput, CreatePricingPlanCommandOutput } from "./commands/CreatePricingPlanCommand";
16
+ import { CreatePricingRuleCommandInput, CreatePricingRuleCommandOutput } from "./commands/CreatePricingRuleCommand";
17
+ import { DeleteBillingGroupCommandInput, DeleteBillingGroupCommandOutput } from "./commands/DeleteBillingGroupCommand";
18
+ import { DeleteCustomLineItemCommandInput, DeleteCustomLineItemCommandOutput } from "./commands/DeleteCustomLineItemCommand";
19
+ import { DeletePricingPlanCommandInput, DeletePricingPlanCommandOutput } from "./commands/DeletePricingPlanCommand";
20
+ import { DeletePricingRuleCommandInput, DeletePricingRuleCommandOutput } from "./commands/DeletePricingRuleCommand";
21
+ import { DisassociateAccountsCommandInput, DisassociateAccountsCommandOutput } from "./commands/DisassociateAccountsCommand";
22
+ import { DisassociatePricingRulesCommandInput, DisassociatePricingRulesCommandOutput } from "./commands/DisassociatePricingRulesCommand";
23
+ import { ListAccountAssociationsCommandInput, ListAccountAssociationsCommandOutput } from "./commands/ListAccountAssociationsCommand";
24
+ import { ListBillingGroupCostReportsCommandInput, ListBillingGroupCostReportsCommandOutput } from "./commands/ListBillingGroupCostReportsCommand";
25
+ import { ListBillingGroupsCommandInput, ListBillingGroupsCommandOutput } from "./commands/ListBillingGroupsCommand";
26
+ import { ListCustomLineItemsCommandInput, ListCustomLineItemsCommandOutput } from "./commands/ListCustomLineItemsCommand";
27
+ import { ListPricingPlansAssociatedWithPricingRuleCommandInput, ListPricingPlansAssociatedWithPricingRuleCommandOutput } from "./commands/ListPricingPlansAssociatedWithPricingRuleCommand";
28
+ import { ListPricingPlansCommandInput, ListPricingPlansCommandOutput } from "./commands/ListPricingPlansCommand";
29
+ import { ListPricingRulesAssociatedToPricingPlanCommandInput, ListPricingRulesAssociatedToPricingPlanCommandOutput } from "./commands/ListPricingRulesAssociatedToPricingPlanCommand";
30
+ import { ListPricingRulesCommandInput, ListPricingRulesCommandOutput } from "./commands/ListPricingRulesCommand";
31
+ import { ListResourcesAssociatedToCustomLineItemCommandInput, ListResourcesAssociatedToCustomLineItemCommandOutput } from "./commands/ListResourcesAssociatedToCustomLineItemCommand";
32
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
33
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
34
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
35
+ import { UpdateBillingGroupCommandInput, UpdateBillingGroupCommandOutput } from "./commands/UpdateBillingGroupCommand";
36
+ import { UpdateCustomLineItemCommandInput, UpdateCustomLineItemCommandOutput } from "./commands/UpdateCustomLineItemCommand";
37
+ import { UpdatePricingPlanCommandInput, UpdatePricingPlanCommandOutput } from "./commands/UpdatePricingPlanCommand";
38
+ import { UpdatePricingRuleCommandInput, UpdatePricingRuleCommandOutput } from "./commands/UpdatePricingRuleCommand";
39
+ export declare type ServiceInputTypes = AssociateAccountsCommandInput | AssociatePricingRulesCommandInput | BatchAssociateResourcesToCustomLineItemCommandInput | BatchDisassociateResourcesFromCustomLineItemCommandInput | CreateBillingGroupCommandInput | CreateCustomLineItemCommandInput | CreatePricingPlanCommandInput | CreatePricingRuleCommandInput | DeleteBillingGroupCommandInput | DeleteCustomLineItemCommandInput | DeletePricingPlanCommandInput | DeletePricingRuleCommandInput | DisassociateAccountsCommandInput | DisassociatePricingRulesCommandInput | ListAccountAssociationsCommandInput | ListBillingGroupCostReportsCommandInput | ListBillingGroupsCommandInput | ListCustomLineItemsCommandInput | ListPricingPlansAssociatedWithPricingRuleCommandInput | ListPricingPlansCommandInput | ListPricingRulesAssociatedToPricingPlanCommandInput | ListPricingRulesCommandInput | ListResourcesAssociatedToCustomLineItemCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingGroupCommandInput | UpdateCustomLineItemCommandInput | UpdatePricingPlanCommandInput | UpdatePricingRuleCommandInput;
40
+ export declare type ServiceOutputTypes = AssociateAccountsCommandOutput | AssociatePricingRulesCommandOutput | BatchAssociateResourcesToCustomLineItemCommandOutput | BatchDisassociateResourcesFromCustomLineItemCommandOutput | CreateBillingGroupCommandOutput | CreateCustomLineItemCommandOutput | CreatePricingPlanCommandOutput | CreatePricingRuleCommandOutput | DeleteBillingGroupCommandOutput | DeleteCustomLineItemCommandOutput | DeletePricingPlanCommandOutput | DeletePricingRuleCommandOutput | DisassociateAccountsCommandOutput | DisassociatePricingRulesCommandOutput | ListAccountAssociationsCommandOutput | ListBillingGroupCostReportsCommandOutput | ListBillingGroupsCommandOutput | ListCustomLineItemsCommandOutput | ListPricingPlansAssociatedWithPricingRuleCommandOutput | ListPricingPlansCommandOutput | ListPricingRulesAssociatedToPricingPlanCommandOutput | ListPricingRulesCommandOutput | ListResourcesAssociatedToCustomLineItemCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingGroupCommandOutput | UpdateCustomLineItemCommandOutput | UpdatePricingPlanCommandOutput | UpdatePricingRuleCommandOutput;
41
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
42
+ /**
43
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
44
+ */
45
+ requestHandler?: __HttpHandler;
46
+ /**
47
+ * A constructor for a class implementing the {@link __Hash} interface
48
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
49
+ * @internal
50
+ */
51
+ sha256?: __HashConstructor;
52
+ /**
53
+ * The function that will be used to convert strings into HTTP endpoints.
54
+ * @internal
55
+ */
56
+ urlParser?: __UrlParser;
57
+ /**
58
+ * A function that can calculate the length of a request body.
59
+ * @internal
60
+ */
61
+ bodyLengthChecker?: __BodyLengthCalculator;
62
+ /**
63
+ * A function that converts a stream into an array of bytes.
64
+ * @internal
65
+ */
66
+ streamCollector?: __StreamCollector;
67
+ /**
68
+ * The function that will be used to convert a base64-encoded string to a byte array.
69
+ * @internal
70
+ */
71
+ base64Decoder?: __Decoder;
72
+ /**
73
+ * The function that will be used to convert binary data to a base64-encoded string.
74
+ * @internal
75
+ */
76
+ base64Encoder?: __Encoder;
77
+ /**
78
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
79
+ * @internal
80
+ */
81
+ utf8Decoder?: __Decoder;
82
+ /**
83
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
84
+ * @internal
85
+ */
86
+ utf8Encoder?: __Encoder;
87
+ /**
88
+ * The runtime environment.
89
+ * @internal
90
+ */
91
+ runtime?: string;
92
+ /**
93
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
94
+ * trait of an operation.
95
+ */
96
+ disableHostPrefix?: boolean;
97
+ /**
98
+ * Value for how many times a request will be made at most in case of retry.
99
+ */
100
+ maxAttempts?: number | __Provider<number>;
101
+ /**
102
+ * Specifies which retry algorithm to use.
103
+ */
104
+ retryMode?: string | __Provider<string>;
105
+ /**
106
+ * Optional logger for logging debug/info/warn/error.
107
+ */
108
+ logger?: __Logger;
109
+ /**
110
+ * Enables IPv6/IPv4 dualstack endpoint.
111
+ */
112
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
113
+ /**
114
+ * Enables FIPS compatible endpoints.
115
+ */
116
+ useFipsEndpoint?: boolean | __Provider<boolean>;
117
+ /**
118
+ * Unique service identifier.
119
+ * @internal
120
+ */
121
+ serviceId?: string;
122
+ /**
123
+ * The AWS region to which this client will send requests
124
+ */
125
+ region?: string | __Provider<string>;
126
+ /**
127
+ * Default credentials provider; Not available in browser runtime.
128
+ * @internal
129
+ */
130
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
131
+ /**
132
+ * Fetch related hostname, signing name or signing region with given region.
133
+ * @internal
134
+ */
135
+ regionInfoProvider?: RegionInfoProvider;
136
+ /**
137
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
138
+ * @internal
139
+ */
140
+ defaultUserAgentProvider?: Provider<__UserAgent>;
141
+ /**
142
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
143
+ */
144
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
145
+ }
146
+ declare type BillingconductorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
147
+ /**
148
+ * The configuration interface of BillingconductorClient class constructor that set the region, credentials and other options.
149
+ */
150
+ export interface BillingconductorClientConfig extends BillingconductorClientConfigType {
151
+ }
152
+ declare type BillingconductorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
153
+ /**
154
+ * The resolved configuration interface of BillingconductorClient class. This is resolved and normalized from the {@link BillingconductorClientConfig | constructor configuration interface}.
155
+ */
156
+ export interface BillingconductorClientResolvedConfig extends BillingconductorClientResolvedConfigType {
157
+ }
158
+ /**
159
+ * <p>Amazon Web Services Billing Conductor is a fully managed service that you can use
160
+ * to customize a <a href="https://docs.aws.amazon.com/enterprisebilling/6b7c01c5-b592-467e-9769-90052eaf359c/userguide/understanding-eb.html#eb-other-definitions">pro forma</a> version of your billing data each month, to accurately show or chargeback
161
+ * your end customers. Amazon Web Services Billing Conductor doesn't change the way
162
+ * you're billed by Amazon Web Services each month by design. Instead, it provides you with a
163
+ * mechanism to configure, generate, and display rates to certain customers over a given billing
164
+ * period. You can also analyze the difference between the rates you apply to your accounting
165
+ * groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the
166
+ * custom rate applied on the billing details page of the <a href="https://console.aws.amazon.com/billing">Amazon Web Services Billing console</a>, or configure a cost and usage report per
167
+ * billing group.</p>
168
+ * <p>This documentation shows how you can configure Amazon Web Services Billing Conductor using its
169
+ * API. For more information about using the <a href="https://console.aws.amazon.com/enterprisebilling/">Amazon Web Services
170
+ * Billing Conductor</a> user interface, see the <a href="https://docs.aws.amazon.com/enterprisebilling/6b7c01c5-b592-467e-9769-90052eaf359c/userguide/what-is-enterprisebilling.html"> Amazon Web Services Enterprise
171
+ * Billing Console User Guide</a>.</p>
172
+ */
173
+ export declare class BillingconductorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BillingconductorClientResolvedConfig> {
174
+ /**
175
+ * The resolved configuration of BillingconductorClient class. This is resolved and normalized from the {@link BillingconductorClientConfig | constructor configuration interface}.
176
+ */
177
+ readonly config: BillingconductorClientResolvedConfig;
178
+ constructor(configuration: BillingconductorClientConfig);
179
+ /**
180
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
181
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
182
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
183
+ */
184
+ destroy(): void;
185
+ }
186
+ export {};
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BillingconductorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingconductorClient";
4
+ import { AssociateAccountsInput, AssociateAccountsOutput } from "../models/models_0";
5
+ export interface AssociateAccountsCommandInput extends AssociateAccountsInput {
6
+ }
7
+ export interface AssociateAccountsCommandOutput extends AssociateAccountsOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Connects an array of account IDs in a consolidated billing family to a predefined
11
+ * billing group. The account IDs must be a part of the consolidated billing family during the
12
+ * current month, and not already associated with another billing group. The maximum number of
13
+ * accounts that can be associated in one call is 30. </p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { BillingconductorClient, AssociateAccountsCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
18
+ * // const { BillingconductorClient, AssociateAccountsCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
19
+ * const client = new BillingconductorClient(config);
20
+ * const command = new AssociateAccountsCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link AssociateAccountsCommandInput} for command's `input` shape.
25
+ * @see {@link AssociateAccountsCommandOutput} for command's `response` shape.
26
+ * @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class AssociateAccountsCommand extends $Command<AssociateAccountsCommandInput, AssociateAccountsCommandOutput, BillingconductorClientResolvedConfig> {
30
+ readonly input: AssociateAccountsCommandInput;
31
+ constructor(input: AssociateAccountsCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BillingconductorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateAccountsCommandInput, AssociateAccountsCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }