@aws-sdk/client-bcm-pricing-calculator 3.699.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 (271) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +504 -0
  3. package/dist-cjs/BCMPricingCalculator.js +83 -0
  4. package/dist-cjs/BCMPricingCalculatorClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/BatchCreateBillScenarioCommitmentModificationCommand.js +26 -0
  8. package/dist-cjs/commands/BatchCreateBillScenarioUsageModificationCommand.js +26 -0
  9. package/dist-cjs/commands/BatchCreateWorkloadEstimateUsageCommand.js +26 -0
  10. package/dist-cjs/commands/BatchDeleteBillScenarioCommitmentModificationCommand.js +26 -0
  11. package/dist-cjs/commands/BatchDeleteBillScenarioUsageModificationCommand.js +26 -0
  12. package/dist-cjs/commands/BatchDeleteWorkloadEstimateUsageCommand.js +26 -0
  13. package/dist-cjs/commands/BatchUpdateBillScenarioCommitmentModificationCommand.js +26 -0
  14. package/dist-cjs/commands/BatchUpdateBillScenarioUsageModificationCommand.js +26 -0
  15. package/dist-cjs/commands/BatchUpdateWorkloadEstimateUsageCommand.js +26 -0
  16. package/dist-cjs/commands/CreateBillEstimateCommand.js +26 -0
  17. package/dist-cjs/commands/CreateBillScenarioCommand.js +26 -0
  18. package/dist-cjs/commands/CreateWorkloadEstimateCommand.js +26 -0
  19. package/dist-cjs/commands/DeleteBillEstimateCommand.js +26 -0
  20. package/dist-cjs/commands/DeleteBillScenarioCommand.js +26 -0
  21. package/dist-cjs/commands/DeleteWorkloadEstimateCommand.js +26 -0
  22. package/dist-cjs/commands/GetBillEstimateCommand.js +26 -0
  23. package/dist-cjs/commands/GetBillScenarioCommand.js +26 -0
  24. package/dist-cjs/commands/GetPreferencesCommand.js +26 -0
  25. package/dist-cjs/commands/GetWorkloadEstimateCommand.js +26 -0
  26. package/dist-cjs/commands/ListBillEstimateCommitmentsCommand.js +26 -0
  27. package/dist-cjs/commands/ListBillEstimateInputCommitmentModificationsCommand.js +26 -0
  28. package/dist-cjs/commands/ListBillEstimateInputUsageModificationsCommand.js +26 -0
  29. package/dist-cjs/commands/ListBillEstimateLineItemsCommand.js +26 -0
  30. package/dist-cjs/commands/ListBillEstimatesCommand.js +26 -0
  31. package/dist-cjs/commands/ListBillScenarioCommitmentModificationsCommand.js +26 -0
  32. package/dist-cjs/commands/ListBillScenarioUsageModificationsCommand.js +26 -0
  33. package/dist-cjs/commands/ListBillScenariosCommand.js +26 -0
  34. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  35. package/dist-cjs/commands/ListWorkloadEstimateUsageCommand.js +26 -0
  36. package/dist-cjs/commands/ListWorkloadEstimatesCommand.js +26 -0
  37. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  38. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  39. package/dist-cjs/commands/UpdateBillEstimateCommand.js +26 -0
  40. package/dist-cjs/commands/UpdateBillScenarioCommand.js +26 -0
  41. package/dist-cjs/commands/UpdatePreferencesCommand.js +26 -0
  42. package/dist-cjs/commands/UpdateWorkloadEstimateCommand.js +26 -0
  43. package/dist-cjs/commands/index.js +39 -0
  44. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  45. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  46. package/dist-cjs/endpoint/ruleset.js +7 -0
  47. package/dist-cjs/extensionConfiguration.js +2 -0
  48. package/dist-cjs/index.js +11 -0
  49. package/dist-cjs/models/BCMPricingCalculatorServiceException.js +12 -0
  50. package/dist-cjs/models/index.js +4 -0
  51. package/dist-cjs/models/models_0.js +263 -0
  52. package/dist-cjs/pagination/Interfaces.js +2 -0
  53. package/dist-cjs/pagination/ListBillEstimateCommitmentsPaginator.js +7 -0
  54. package/dist-cjs/pagination/ListBillEstimateInputCommitmentModificationsPaginator.js +7 -0
  55. package/dist-cjs/pagination/ListBillEstimateInputUsageModificationsPaginator.js +7 -0
  56. package/dist-cjs/pagination/ListBillEstimateLineItemsPaginator.js +7 -0
  57. package/dist-cjs/pagination/ListBillEstimatesPaginator.js +7 -0
  58. package/dist-cjs/pagination/ListBillScenarioCommitmentModificationsPaginator.js +7 -0
  59. package/dist-cjs/pagination/ListBillScenarioUsageModificationsPaginator.js +7 -0
  60. package/dist-cjs/pagination/ListBillScenariosPaginator.js +7 -0
  61. package/dist-cjs/pagination/ListWorkloadEstimateUsagePaginator.js +7 -0
  62. package/dist-cjs/pagination/ListWorkloadEstimatesPaginator.js +7 -0
  63. package/dist-cjs/pagination/index.js +14 -0
  64. package/dist-cjs/protocols/Aws_json1_0.js +1761 -0
  65. package/dist-cjs/runtimeConfig.browser.js +39 -0
  66. package/dist-cjs/runtimeConfig.js +50 -0
  67. package/dist-cjs/runtimeConfig.native.js +15 -0
  68. package/dist-cjs/runtimeConfig.shared.js +34 -0
  69. package/dist-cjs/runtimeExtensions.js +25 -0
  70. package/dist-es/BCMPricingCalculator.js +79 -0
  71. package/dist-es/BCMPricingCalculatorClient.js +46 -0
  72. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  73. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  74. package/dist-es/commands/BatchCreateBillScenarioCommitmentModificationCommand.js +22 -0
  75. package/dist-es/commands/BatchCreateBillScenarioUsageModificationCommand.js +22 -0
  76. package/dist-es/commands/BatchCreateWorkloadEstimateUsageCommand.js +22 -0
  77. package/dist-es/commands/BatchDeleteBillScenarioCommitmentModificationCommand.js +22 -0
  78. package/dist-es/commands/BatchDeleteBillScenarioUsageModificationCommand.js +22 -0
  79. package/dist-es/commands/BatchDeleteWorkloadEstimateUsageCommand.js +22 -0
  80. package/dist-es/commands/BatchUpdateBillScenarioCommitmentModificationCommand.js +22 -0
  81. package/dist-es/commands/BatchUpdateBillScenarioUsageModificationCommand.js +22 -0
  82. package/dist-es/commands/BatchUpdateWorkloadEstimateUsageCommand.js +22 -0
  83. package/dist-es/commands/CreateBillEstimateCommand.js +22 -0
  84. package/dist-es/commands/CreateBillScenarioCommand.js +22 -0
  85. package/dist-es/commands/CreateWorkloadEstimateCommand.js +22 -0
  86. package/dist-es/commands/DeleteBillEstimateCommand.js +22 -0
  87. package/dist-es/commands/DeleteBillScenarioCommand.js +22 -0
  88. package/dist-es/commands/DeleteWorkloadEstimateCommand.js +22 -0
  89. package/dist-es/commands/GetBillEstimateCommand.js +22 -0
  90. package/dist-es/commands/GetBillScenarioCommand.js +22 -0
  91. package/dist-es/commands/GetPreferencesCommand.js +22 -0
  92. package/dist-es/commands/GetWorkloadEstimateCommand.js +22 -0
  93. package/dist-es/commands/ListBillEstimateCommitmentsCommand.js +22 -0
  94. package/dist-es/commands/ListBillEstimateInputCommitmentModificationsCommand.js +22 -0
  95. package/dist-es/commands/ListBillEstimateInputUsageModificationsCommand.js +22 -0
  96. package/dist-es/commands/ListBillEstimateLineItemsCommand.js +22 -0
  97. package/dist-es/commands/ListBillEstimatesCommand.js +22 -0
  98. package/dist-es/commands/ListBillScenarioCommitmentModificationsCommand.js +22 -0
  99. package/dist-es/commands/ListBillScenarioUsageModificationsCommand.js +22 -0
  100. package/dist-es/commands/ListBillScenariosCommand.js +22 -0
  101. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  102. package/dist-es/commands/ListWorkloadEstimateUsageCommand.js +22 -0
  103. package/dist-es/commands/ListWorkloadEstimatesCommand.js +22 -0
  104. package/dist-es/commands/TagResourceCommand.js +22 -0
  105. package/dist-es/commands/UntagResourceCommand.js +22 -0
  106. package/dist-es/commands/UpdateBillEstimateCommand.js +22 -0
  107. package/dist-es/commands/UpdateBillScenarioCommand.js +22 -0
  108. package/dist-es/commands/UpdatePreferencesCommand.js +22 -0
  109. package/dist-es/commands/UpdateWorkloadEstimateCommand.js +22 -0
  110. package/dist-es/commands/index.js +36 -0
  111. package/dist-es/endpoint/EndpointParameters.js +12 -0
  112. package/dist-es/endpoint/endpointResolver.js +14 -0
  113. package/dist-es/endpoint/ruleset.js +4 -0
  114. package/dist-es/extensionConfiguration.js +1 -0
  115. package/dist-es/index.js +6 -0
  116. package/dist-es/models/BCMPricingCalculatorServiceException.js +8 -0
  117. package/dist-es/models/index.js +1 -0
  118. package/dist-es/models/models_0.js +252 -0
  119. package/dist-es/pagination/Interfaces.js +1 -0
  120. package/dist-es/pagination/ListBillEstimateCommitmentsPaginator.js +4 -0
  121. package/dist-es/pagination/ListBillEstimateInputCommitmentModificationsPaginator.js +4 -0
  122. package/dist-es/pagination/ListBillEstimateInputUsageModificationsPaginator.js +4 -0
  123. package/dist-es/pagination/ListBillEstimateLineItemsPaginator.js +4 -0
  124. package/dist-es/pagination/ListBillEstimatesPaginator.js +4 -0
  125. package/dist-es/pagination/ListBillScenarioCommitmentModificationsPaginator.js +4 -0
  126. package/dist-es/pagination/ListBillScenarioUsageModificationsPaginator.js +4 -0
  127. package/dist-es/pagination/ListBillScenariosPaginator.js +4 -0
  128. package/dist-es/pagination/ListWorkloadEstimateUsagePaginator.js +4 -0
  129. package/dist-es/pagination/ListWorkloadEstimatesPaginator.js +4 -0
  130. package/dist-es/pagination/index.js +11 -0
  131. package/dist-es/protocols/Aws_json1_0.js +1685 -0
  132. package/dist-es/runtimeConfig.browser.js +34 -0
  133. package/dist-es/runtimeConfig.js +45 -0
  134. package/dist-es/runtimeConfig.native.js +11 -0
  135. package/dist-es/runtimeConfig.shared.js +30 -0
  136. package/dist-es/runtimeExtensions.js +21 -0
  137. package/dist-types/BCMPricingCalculator.d.ts +278 -0
  138. package/dist-types/BCMPricingCalculatorClient.d.ts +216 -0
  139. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  140. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  141. package/dist-types/commands/BatchCreateBillScenarioCommitmentModificationCommand.d.ts +162 -0
  142. package/dist-types/commands/BatchCreateBillScenarioUsageModificationCommand.d.ts +285 -0
  143. package/dist-types/commands/BatchCreateWorkloadEstimateUsageCommand.d.ts +278 -0
  144. package/dist-types/commands/BatchDeleteBillScenarioCommitmentModificationCommand.d.ts +117 -0
  145. package/dist-types/commands/BatchDeleteBillScenarioUsageModificationCommand.d.ts +120 -0
  146. package/dist-types/commands/BatchDeleteWorkloadEstimateUsageCommand.d.ts +120 -0
  147. package/dist-types/commands/BatchUpdateBillScenarioCommitmentModificationCommand.d.ts +138 -0
  148. package/dist-types/commands/BatchUpdateBillScenarioUsageModificationCommand.d.ts +209 -0
  149. package/dist-types/commands/BatchUpdateWorkloadEstimateUsageCommand.d.ts +203 -0
  150. package/dist-types/commands/CreateBillEstimateCommand.d.ts +146 -0
  151. package/dist-types/commands/CreateBillScenarioCommand.d.ts +121 -0
  152. package/dist-types/commands/CreateWorkloadEstimateCommand.d.ts +122 -0
  153. package/dist-types/commands/DeleteBillEstimateCommand.d.ts +96 -0
  154. package/dist-types/commands/DeleteBillScenarioCommand.d.ts +96 -0
  155. package/dist-types/commands/DeleteWorkloadEstimateCommand.d.ts +96 -0
  156. package/dist-types/commands/GetBillEstimateCommand.d.ts +136 -0
  157. package/dist-types/commands/GetBillScenarioCommand.d.ts +112 -0
  158. package/dist-types/commands/GetPreferencesCommand.d.ts +101 -0
  159. package/dist-types/commands/GetWorkloadEstimateCommand.d.ts +112 -0
  160. package/dist-types/commands/ListBillEstimateCommitmentsCommand.d.ts +124 -0
  161. package/dist-types/commands/ListBillEstimateInputCommitmentModificationsCommand.d.ts +128 -0
  162. package/dist-types/commands/ListBillEstimateInputUsageModificationsCommand.d.ts +197 -0
  163. package/dist-types/commands/ListBillEstimateLineItemsCommand.d.ts +147 -0
  164. package/dist-types/commands/ListBillEstimatesCommand.d.ts +129 -0
  165. package/dist-types/commands/ListBillScenarioCommitmentModificationsCommand.d.ts +128 -0
  166. package/dist-types/commands/ListBillScenarioUsageModificationsCommand.d.ts +197 -0
  167. package/dist-types/commands/ListBillScenariosCommand.d.ts +130 -0
  168. package/dist-types/commands/ListTagsForResourceCommand.d.ts +100 -0
  169. package/dist-types/commands/ListWorkloadEstimateUsageCommand.d.ts +196 -0
  170. package/dist-types/commands/ListWorkloadEstimatesCommand.d.ts +130 -0
  171. package/dist-types/commands/TagResourceCommand.d.ts +104 -0
  172. package/dist-types/commands/UntagResourceCommand.d.ts +99 -0
  173. package/dist-types/commands/UpdateBillEstimateCommand.d.ts +143 -0
  174. package/dist-types/commands/UpdateBillScenarioCommand.d.ts +119 -0
  175. package/dist-types/commands/UpdatePreferencesCommand.d.ts +113 -0
  176. package/dist-types/commands/UpdateWorkloadEstimateCommand.d.ts +119 -0
  177. package/dist-types/commands/index.d.ts +36 -0
  178. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  179. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  180. package/dist-types/endpoint/ruleset.d.ts +2 -0
  181. package/dist-types/extensionConfiguration.d.ts +9 -0
  182. package/dist-types/index.d.ts +25 -0
  183. package/dist-types/models/BCMPricingCalculatorServiceException.d.ts +14 -0
  184. package/dist-types/models/index.d.ts +1 -0
  185. package/dist-types/models/models_0.d.ts +4474 -0
  186. package/dist-types/pagination/Interfaces.d.ts +8 -0
  187. package/dist-types/pagination/ListBillEstimateCommitmentsPaginator.d.ts +7 -0
  188. package/dist-types/pagination/ListBillEstimateInputCommitmentModificationsPaginator.d.ts +7 -0
  189. package/dist-types/pagination/ListBillEstimateInputUsageModificationsPaginator.d.ts +7 -0
  190. package/dist-types/pagination/ListBillEstimateLineItemsPaginator.d.ts +7 -0
  191. package/dist-types/pagination/ListBillEstimatesPaginator.d.ts +7 -0
  192. package/dist-types/pagination/ListBillScenarioCommitmentModificationsPaginator.d.ts +7 -0
  193. package/dist-types/pagination/ListBillScenarioUsageModificationsPaginator.d.ts +7 -0
  194. package/dist-types/pagination/ListBillScenariosPaginator.d.ts +7 -0
  195. package/dist-types/pagination/ListWorkloadEstimateUsagePaginator.d.ts +7 -0
  196. package/dist-types/pagination/ListWorkloadEstimatesPaginator.d.ts +7 -0
  197. package/dist-types/pagination/index.d.ts +11 -0
  198. package/dist-types/protocols/Aws_json1_0.d.ts +326 -0
  199. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  200. package/dist-types/runtimeConfig.d.ts +48 -0
  201. package/dist-types/runtimeConfig.native.d.ts +47 -0
  202. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  203. package/dist-types/runtimeExtensions.d.ts +17 -0
  204. package/dist-types/ts3.4/BCMPricingCalculator.d.ts +684 -0
  205. package/dist-types/ts3.4/BCMPricingCalculatorClient.d.ts +337 -0
  206. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  207. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  208. package/dist-types/ts3.4/commands/BatchCreateBillScenarioCommitmentModificationCommand.d.ts +51 -0
  209. package/dist-types/ts3.4/commands/BatchCreateBillScenarioUsageModificationCommand.d.ts +51 -0
  210. package/dist-types/ts3.4/commands/BatchCreateWorkloadEstimateUsageCommand.d.ts +51 -0
  211. package/dist-types/ts3.4/commands/BatchDeleteBillScenarioCommitmentModificationCommand.d.ts +51 -0
  212. package/dist-types/ts3.4/commands/BatchDeleteBillScenarioUsageModificationCommand.d.ts +51 -0
  213. package/dist-types/ts3.4/commands/BatchDeleteWorkloadEstimateUsageCommand.d.ts +51 -0
  214. package/dist-types/ts3.4/commands/BatchUpdateBillScenarioCommitmentModificationCommand.d.ts +51 -0
  215. package/dist-types/ts3.4/commands/BatchUpdateBillScenarioUsageModificationCommand.d.ts +51 -0
  216. package/dist-types/ts3.4/commands/BatchUpdateWorkloadEstimateUsageCommand.d.ts +51 -0
  217. package/dist-types/ts3.4/commands/CreateBillEstimateCommand.d.ts +51 -0
  218. package/dist-types/ts3.4/commands/CreateBillScenarioCommand.d.ts +51 -0
  219. package/dist-types/ts3.4/commands/CreateWorkloadEstimateCommand.d.ts +51 -0
  220. package/dist-types/ts3.4/commands/DeleteBillEstimateCommand.d.ts +51 -0
  221. package/dist-types/ts3.4/commands/DeleteBillScenarioCommand.d.ts +51 -0
  222. package/dist-types/ts3.4/commands/DeleteWorkloadEstimateCommand.d.ts +51 -0
  223. package/dist-types/ts3.4/commands/GetBillEstimateCommand.d.ts +50 -0
  224. package/dist-types/ts3.4/commands/GetBillScenarioCommand.d.ts +50 -0
  225. package/dist-types/ts3.4/commands/GetPreferencesCommand.d.ts +50 -0
  226. package/dist-types/ts3.4/commands/GetWorkloadEstimateCommand.d.ts +51 -0
  227. package/dist-types/ts3.4/commands/ListBillEstimateCommitmentsCommand.d.ts +51 -0
  228. package/dist-types/ts3.4/commands/ListBillEstimateInputCommitmentModificationsCommand.d.ts +51 -0
  229. package/dist-types/ts3.4/commands/ListBillEstimateInputUsageModificationsCommand.d.ts +51 -0
  230. package/dist-types/ts3.4/commands/ListBillEstimateLineItemsCommand.d.ts +51 -0
  231. package/dist-types/ts3.4/commands/ListBillEstimatesCommand.d.ts +51 -0
  232. package/dist-types/ts3.4/commands/ListBillScenarioCommitmentModificationsCommand.d.ts +51 -0
  233. package/dist-types/ts3.4/commands/ListBillScenarioUsageModificationsCommand.d.ts +51 -0
  234. package/dist-types/ts3.4/commands/ListBillScenariosCommand.d.ts +51 -0
  235. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  236. package/dist-types/ts3.4/commands/ListWorkloadEstimateUsageCommand.d.ts +51 -0
  237. package/dist-types/ts3.4/commands/ListWorkloadEstimatesCommand.d.ts +51 -0
  238. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  239. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  240. package/dist-types/ts3.4/commands/UpdateBillEstimateCommand.d.ts +51 -0
  241. package/dist-types/ts3.4/commands/UpdateBillScenarioCommand.d.ts +51 -0
  242. package/dist-types/ts3.4/commands/UpdatePreferencesCommand.d.ts +51 -0
  243. package/dist-types/ts3.4/commands/UpdateWorkloadEstimateCommand.d.ts +51 -0
  244. package/dist-types/ts3.4/commands/index.d.ts +36 -0
  245. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  246. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  247. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  248. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  249. package/dist-types/ts3.4/index.d.ts +9 -0
  250. package/dist-types/ts3.4/models/BCMPricingCalculatorServiceException.d.ts +9 -0
  251. package/dist-types/ts3.4/models/index.d.ts +1 -0
  252. package/dist-types/ts3.4/models/models_0.d.ts +985 -0
  253. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  254. package/dist-types/ts3.4/pagination/ListBillEstimateCommitmentsPaginator.d.ts +11 -0
  255. package/dist-types/ts3.4/pagination/ListBillEstimateInputCommitmentModificationsPaginator.d.ts +11 -0
  256. package/dist-types/ts3.4/pagination/ListBillEstimateInputUsageModificationsPaginator.d.ts +11 -0
  257. package/dist-types/ts3.4/pagination/ListBillEstimateLineItemsPaginator.d.ts +11 -0
  258. package/dist-types/ts3.4/pagination/ListBillEstimatesPaginator.d.ts +11 -0
  259. package/dist-types/ts3.4/pagination/ListBillScenarioCommitmentModificationsPaginator.d.ts +11 -0
  260. package/dist-types/ts3.4/pagination/ListBillScenarioUsageModificationsPaginator.d.ts +11 -0
  261. package/dist-types/ts3.4/pagination/ListBillScenariosPaginator.d.ts +11 -0
  262. package/dist-types/ts3.4/pagination/ListWorkloadEstimateUsagePaginator.d.ts +11 -0
  263. package/dist-types/ts3.4/pagination/ListWorkloadEstimatesPaginator.d.ts +11 -0
  264. package/dist-types/ts3.4/pagination/index.d.ts +11 -0
  265. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +437 -0
  266. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  267. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  268. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
  269. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  270. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  271. package/package.json +103 -0
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,4 @@
1
+ const l = "ref";
2
+ const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: {}, headers: {} }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://bcm-pricing-calculator-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }, { endpoint: { url: "https://bcm-pricing-calculator.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from "./BCMPricingCalculatorClient";
2
+ export * from "./BCMPricingCalculator";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ export { BCMPricingCalculatorServiceException } from "./models/BCMPricingCalculatorServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class BCMPricingCalculatorServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, BCMPricingCalculatorServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,252 @@
1
+ import { BCMPricingCalculatorServiceException as __BaseException } from "./BCMPricingCalculatorServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "AccessDeniedException",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "AccessDeniedException";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class DataUnavailableException extends __BaseException {
15
+ constructor(opts) {
16
+ super({
17
+ name: "DataUnavailableException",
18
+ $fault: "client",
19
+ ...opts,
20
+ });
21
+ this.name = "DataUnavailableException";
22
+ this.$fault = "client";
23
+ Object.setPrototypeOf(this, DataUnavailableException.prototype);
24
+ }
25
+ }
26
+ export class InternalServerException extends __BaseException {
27
+ constructor(opts) {
28
+ super({
29
+ name: "InternalServerException",
30
+ $fault: "server",
31
+ ...opts,
32
+ });
33
+ this.name = "InternalServerException";
34
+ this.$fault = "server";
35
+ Object.setPrototypeOf(this, InternalServerException.prototype);
36
+ this.retryAfterSeconds = opts.retryAfterSeconds;
37
+ }
38
+ }
39
+ export const CurrencyCode = {
40
+ USD: "USD",
41
+ };
42
+ export const PurchaseAgreementType = {
43
+ RESERVED_INSTANCE: "RESERVED_INSTANCE",
44
+ SAVINGS_PLANS: "SAVINGS_PLANS",
45
+ };
46
+ export class ResourceNotFoundException extends __BaseException {
47
+ constructor(opts) {
48
+ super({
49
+ name: "ResourceNotFoundException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ this.name = "ResourceNotFoundException";
54
+ this.$fault = "client";
55
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
56
+ this.resourceId = opts.resourceId;
57
+ this.resourceType = opts.resourceType;
58
+ }
59
+ }
60
+ export class ThrottlingException extends __BaseException {
61
+ constructor(opts) {
62
+ super({
63
+ name: "ThrottlingException",
64
+ $fault: "client",
65
+ ...opts,
66
+ });
67
+ this.name = "ThrottlingException";
68
+ this.$fault = "client";
69
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
70
+ this.serviceCode = opts.serviceCode;
71
+ this.quotaCode = opts.quotaCode;
72
+ this.retryAfterSeconds = opts.retryAfterSeconds;
73
+ }
74
+ }
75
+ export const ValidationExceptionReason = {
76
+ CANNOT_PARSE: "cannotParse",
77
+ DISALLOWED_RATE: "disallowedRate",
78
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
79
+ INVALID_REQUEST_FROM_MEMBER: "invalidRequestFromMember",
80
+ OTHER: "other",
81
+ UNKNOWN_OPERATION: "unknownOperation",
82
+ };
83
+ export class ValidationException extends __BaseException {
84
+ constructor(opts) {
85
+ super({
86
+ name: "ValidationException",
87
+ $fault: "client",
88
+ ...opts,
89
+ });
90
+ this.name = "ValidationException";
91
+ this.$fault = "client";
92
+ Object.setPrototypeOf(this, ValidationException.prototype);
93
+ this.reason = opts.reason;
94
+ this.fieldList = opts.fieldList;
95
+ }
96
+ }
97
+ export var BillScenarioCommitmentModificationAction;
98
+ (function (BillScenarioCommitmentModificationAction) {
99
+ BillScenarioCommitmentModificationAction.visit = (value, visitor) => {
100
+ if (value.addReservedInstanceAction !== undefined)
101
+ return visitor.addReservedInstanceAction(value.addReservedInstanceAction);
102
+ if (value.addSavingsPlanAction !== undefined)
103
+ return visitor.addSavingsPlanAction(value.addSavingsPlanAction);
104
+ if (value.negateReservedInstanceAction !== undefined)
105
+ return visitor.negateReservedInstanceAction(value.negateReservedInstanceAction);
106
+ if (value.negateSavingsPlanAction !== undefined)
107
+ return visitor.negateSavingsPlanAction(value.negateSavingsPlanAction);
108
+ return visitor._(value.$unknown[0], value.$unknown[1]);
109
+ };
110
+ })(BillScenarioCommitmentModificationAction || (BillScenarioCommitmentModificationAction = {}));
111
+ export const MatchOption = {
112
+ CONTAINS: "CONTAINS",
113
+ EQUALS: "EQUALS",
114
+ STARTS_WITH: "STARTS_WITH",
115
+ };
116
+ export const ListUsageFilterName = {
117
+ HISTORICAL_LOCATION: "HISTORICAL_LOCATION",
118
+ HISTORICAL_OPERATION: "HISTORICAL_OPERATION",
119
+ HISTORICAL_SERVICE_CODE: "HISTORICAL_SERVICE_CODE",
120
+ HISTORICAL_USAGE_ACCOUNT_ID: "HISTORICAL_USAGE_ACCOUNT_ID",
121
+ HISTORICAL_USAGE_TYPE: "HISTORICAL_USAGE_TYPE",
122
+ LOCATION: "LOCATION",
123
+ OPERATION: "OPERATION",
124
+ SERVICE_CODE: "SERVICE_CODE",
125
+ USAGE_ACCOUNT_ID: "USAGE_ACCOUNT_ID",
126
+ USAGE_GROUP: "USAGE_GROUP",
127
+ USAGE_TYPE: "USAGE_TYPE",
128
+ };
129
+ export const ListBillEstimateLineItemsFilterName = {
130
+ LINE_ITEM_TYPE: "LINE_ITEM_TYPE",
131
+ LOCATION: "LOCATION",
132
+ OPERATION: "OPERATION",
133
+ SERVICE_CODE: "SERVICE_CODE",
134
+ USAGE_ACCOUNT_ID: "USAGE_ACCOUNT_ID",
135
+ USAGE_TYPE: "USAGE_TYPE",
136
+ };
137
+ export const BillEstimateStatus = {
138
+ COMPLETE: "COMPLETE",
139
+ FAILED: "FAILED",
140
+ IN_PROGRESS: "IN_PROGRESS",
141
+ };
142
+ export class ConflictException extends __BaseException {
143
+ constructor(opts) {
144
+ super({
145
+ name: "ConflictException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ this.name = "ConflictException";
150
+ this.$fault = "client";
151
+ Object.setPrototypeOf(this, ConflictException.prototype);
152
+ this.resourceId = opts.resourceId;
153
+ this.resourceType = opts.resourceType;
154
+ }
155
+ }
156
+ export const ListBillEstimatesFilterName = {
157
+ NAME: "NAME",
158
+ STATUS: "STATUS",
159
+ };
160
+ export const BatchCreateBillScenarioCommitmentModificationErrorCode = {
161
+ CONFLICT: "CONFLICT",
162
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
163
+ INVALID_ACCOUNT: "INVALID_ACCOUNT",
164
+ };
165
+ export const BatchDeleteBillScenarioCommitmentModificationErrorCode = {
166
+ BAD_REQUEST: "BAD_REQUEST",
167
+ CONFLICT: "CONFLICT",
168
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
169
+ };
170
+ export const BatchUpdateBillScenarioCommitmentModificationErrorCode = {
171
+ BAD_REQUEST: "BAD_REQUEST",
172
+ CONFLICT: "CONFLICT",
173
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
174
+ NOT_FOUND: "NOT_FOUND",
175
+ };
176
+ export const BillScenarioStatus = {
177
+ FAILED: "FAILED",
178
+ LOCKED: "LOCKED",
179
+ READY: "READY",
180
+ };
181
+ export const BatchCreateBillScenarioUsageModificationErrorCode = {
182
+ BAD_REQUEST: "BAD_REQUEST",
183
+ CONFLICT: "CONFLICT",
184
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
185
+ NOT_FOUND: "NOT_FOUND",
186
+ };
187
+ export class ServiceQuotaExceededException extends __BaseException {
188
+ constructor(opts) {
189
+ super({
190
+ name: "ServiceQuotaExceededException",
191
+ $fault: "client",
192
+ ...opts,
193
+ });
194
+ this.name = "ServiceQuotaExceededException";
195
+ this.$fault = "client";
196
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
197
+ this.resourceId = opts.resourceId;
198
+ this.resourceType = opts.resourceType;
199
+ this.serviceCode = opts.serviceCode;
200
+ this.quotaCode = opts.quotaCode;
201
+ }
202
+ }
203
+ export const BatchDeleteBillScenarioUsageModificationErrorCode = {
204
+ BAD_REQUEST: "BAD_REQUEST",
205
+ CONFLICT: "CONFLICT",
206
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
207
+ };
208
+ export const BatchUpdateBillScenarioUsageModificationErrorCode = {
209
+ BAD_REQUEST: "BAD_REQUEST",
210
+ CONFLICT: "CONFLICT",
211
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
212
+ NOT_FOUND: "NOT_FOUND",
213
+ };
214
+ export const ListBillScenariosFilterName = {
215
+ NAME: "NAME",
216
+ STATUS: "STATUS",
217
+ };
218
+ export const RateType = {
219
+ AFTER_DISCOUNTS: "AFTER_DISCOUNTS",
220
+ BEFORE_DISCOUNTS: "BEFORE_DISCOUNTS",
221
+ };
222
+ export const WorkloadEstimateRateType = {
223
+ AFTER_DISCOUNTS: "AFTER_DISCOUNTS",
224
+ BEFORE_DISCOUNTS: "BEFORE_DISCOUNTS",
225
+ };
226
+ export const WorkloadEstimateStatus = {
227
+ ACTION_NEEDED: "ACTION_NEEDED",
228
+ INVALID: "INVALID",
229
+ UPDATING: "UPDATING",
230
+ VALID: "VALID",
231
+ };
232
+ export const ListWorkloadEstimatesFilterName = {
233
+ NAME: "NAME",
234
+ STATUS: "STATUS",
235
+ };
236
+ export const BatchCreateWorkloadEstimateUsageCode = {
237
+ BAD_REQUEST: "BAD_REQUEST",
238
+ CONFLICT: "CONFLICT",
239
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
240
+ NOT_FOUND: "NOT_FOUND",
241
+ };
242
+ export const WorkloadEstimateCostStatus = {
243
+ INVALID: "INVALID",
244
+ STALE: "STALE",
245
+ VALID: "VALID",
246
+ };
247
+ export const WorkloadEstimateUpdateUsageErrorCode = {
248
+ BAD_REQUEST: "BAD_REQUEST",
249
+ CONFLICT: "CONFLICT",
250
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
251
+ NOT_FOUND: "NOT_FOUND",
252
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListBillEstimateCommitmentsCommand, } from "../commands/ListBillEstimateCommitmentsCommand";
4
+ export const paginateListBillEstimateCommitments = createPaginator(BCMPricingCalculatorClient, ListBillEstimateCommitmentsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListBillEstimateInputCommitmentModificationsCommand, } from "../commands/ListBillEstimateInputCommitmentModificationsCommand";
4
+ export const paginateListBillEstimateInputCommitmentModifications = createPaginator(BCMPricingCalculatorClient, ListBillEstimateInputCommitmentModificationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListBillEstimateInputUsageModificationsCommand, } from "../commands/ListBillEstimateInputUsageModificationsCommand";
4
+ export const paginateListBillEstimateInputUsageModifications = createPaginator(BCMPricingCalculatorClient, ListBillEstimateInputUsageModificationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListBillEstimateLineItemsCommand, } from "../commands/ListBillEstimateLineItemsCommand";
4
+ export const paginateListBillEstimateLineItems = createPaginator(BCMPricingCalculatorClient, ListBillEstimateLineItemsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListBillEstimatesCommand, } from "../commands/ListBillEstimatesCommand";
4
+ export const paginateListBillEstimates = createPaginator(BCMPricingCalculatorClient, ListBillEstimatesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListBillScenarioCommitmentModificationsCommand, } from "../commands/ListBillScenarioCommitmentModificationsCommand";
4
+ export const paginateListBillScenarioCommitmentModifications = createPaginator(BCMPricingCalculatorClient, ListBillScenarioCommitmentModificationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListBillScenarioUsageModificationsCommand, } from "../commands/ListBillScenarioUsageModificationsCommand";
4
+ export const paginateListBillScenarioUsageModifications = createPaginator(BCMPricingCalculatorClient, ListBillScenarioUsageModificationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListBillScenariosCommand, } from "../commands/ListBillScenariosCommand";
4
+ export const paginateListBillScenarios = createPaginator(BCMPricingCalculatorClient, ListBillScenariosCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListWorkloadEstimateUsageCommand, } from "../commands/ListWorkloadEstimateUsageCommand";
4
+ export const paginateListWorkloadEstimateUsage = createPaginator(BCMPricingCalculatorClient, ListWorkloadEstimateUsageCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BCMPricingCalculatorClient } from "../BCMPricingCalculatorClient";
3
+ import { ListWorkloadEstimatesCommand, } from "../commands/ListWorkloadEstimatesCommand";
4
+ export const paginateListWorkloadEstimates = createPaginator(BCMPricingCalculatorClient, ListWorkloadEstimatesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,11 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListBillEstimateCommitmentsPaginator";
3
+ export * from "./ListBillEstimateInputCommitmentModificationsPaginator";
4
+ export * from "./ListBillEstimateInputUsageModificationsPaginator";
5
+ export * from "./ListBillEstimateLineItemsPaginator";
6
+ export * from "./ListBillEstimatesPaginator";
7
+ export * from "./ListBillScenarioCommitmentModificationsPaginator";
8
+ export * from "./ListBillScenarioUsageModificationsPaginator";
9
+ export * from "./ListBillScenariosPaginator";
10
+ export * from "./ListWorkloadEstimateUsagePaginator";
11
+ export * from "./ListWorkloadEstimatesPaginator";