@aws-sdk/client-cost-explorer 3.34.0 → 3.37.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 (354) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CostExplorer.js +1 -20
  3. package/dist-cjs/CostExplorerClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateAnomalyMonitorCommand.js +2 -28
  5. package/{dist/cjs → dist-cjs}/commands/CreateAnomalySubscriptionCommand.js +2 -29
  6. package/{dist/cjs → dist-cjs}/commands/CreateCostCategoryDefinitionCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DeleteAnomalyMonitorCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DeleteAnomalySubscriptionCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DeleteCostCategoryDefinitionCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DescribeCostCategoryDefinitionCommand.js +2 -28
  11. package/{dist/cjs → dist-cjs}/commands/GetAnomaliesCommand.js +2 -28
  12. package/{dist/cjs → dist-cjs}/commands/GetAnomalyMonitorsCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/GetAnomalySubscriptionsCommand.js +2 -28
  14. package/dist-cjs/commands/GetCostAndUsageCommand.js +36 -0
  15. package/dist-cjs/commands/GetCostAndUsageWithResourcesCommand.js +36 -0
  16. package/{dist/cjs → dist-cjs}/commands/GetCostCategoriesCommand.js +2 -30
  17. package/{dist/cjs → dist-cjs}/commands/GetCostForecastCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/GetDimensionValuesCommand.js +2 -27
  19. package/dist-cjs/commands/GetReservationCoverageCommand.js +36 -0
  20. package/dist-cjs/commands/GetReservationPurchaseRecommendationCommand.js +36 -0
  21. package/{dist/cjs → dist-cjs}/commands/GetReservationUtilizationCommand.js +2 -29
  22. package/{dist/cjs → dist-cjs}/commands/GetRightsizingRecommendationCommand.js +2 -36
  23. package/dist-cjs/commands/GetSavingsPlansCoverageCommand.js +36 -0
  24. package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansUtilizationCommand.js +2 -30
  26. package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -31
  27. package/{dist/cjs → dist-cjs}/commands/GetTagsCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/GetUsageForecastCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/ListCostCategoryDefinitionsCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/ProvideAnomalyFeedbackCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/UpdateAnomalyMonitorCommand.js +2 -28
  32. package/{dist/cjs → dist-cjs}/commands/UpdateAnomalySubscriptionCommand.js +2 -27
  33. package/{dist/cjs → dist-cjs}/commands/UpdateCostCategoryDefinitionCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  35. package/{dist/cjs → dist-cjs}/index.js +0 -1
  36. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  37. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -442
  38. package/{dist/cjs → dist-cjs}/pagination/GetSavingsPlansCoveragePaginator.js +1 -12
  39. package/{dist/cjs → dist-cjs}/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +1 -12
  40. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  41. package/{dist/cjs → dist-cjs}/pagination/ListCostCategoryDefinitionsPaginator.js +1 -12
  42. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  46. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  47. package/{dist/es → dist-es}/CostExplorer.js +1 -2
  48. package/{dist/es → dist-es}/CostExplorerClient.js +1 -2
  49. package/{dist/es → dist-es}/commands/CreateAnomalyMonitorCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/CreateAnomalySubscriptionCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/CreateCostCategoryDefinitionCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/DeleteAnomalyMonitorCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/DeleteAnomalySubscriptionCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/DeleteCostCategoryDefinitionCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/DescribeCostCategoryDefinitionCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/GetAnomaliesCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/GetAnomalyMonitorsCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/GetAnomalySubscriptionsCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/GetCostAndUsageCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/GetCostAndUsageWithResourcesCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/GetCostCategoriesCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/GetCostForecastCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/GetDimensionValuesCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/GetReservationCoverageCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/GetReservationPurchaseRecommendationCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/GetReservationUtilizationCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/GetRightsizingRecommendationCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/GetSavingsPlansCoverageCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/GetSavingsPlansUtilizationCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/GetTagsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/GetUsageForecastCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/ListCostCategoryDefinitionsCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/ProvideAnomalyFeedbackCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/UpdateAnomalyMonitorCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/UpdateAnomalySubscriptionCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/UpdateCostCategoryDefinitionCommand.js +2 -3
  79. package/{dist/es → dist-es}/endpoints.js +1 -2
  80. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  81. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  82. package/{dist/es → dist-es}/models/models_0.js +0 -1
  83. package/{dist/es → dist-es}/pagination/GetSavingsPlansCoveragePaginator.js +1 -2
  84. package/{dist/es → dist-es}/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +1 -2
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/{dist/es → dist-es}/pagination/ListCostCategoryDefinitionsPaginator.js +1 -2
  87. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  88. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  89. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  90. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  91. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  92. package/{dist/types → dist-types}/CostExplorer.d.ts +2 -2
  93. package/{dist/types → dist-types}/CostExplorerClient.d.ts +8 -8
  94. package/{dist/types → dist-types}/commands/CreateAnomalyMonitorCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/CreateAnomalySubscriptionCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/CreateCostCategoryDefinitionCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/DeleteAnomalyMonitorCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/DeleteAnomalySubscriptionCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/DeleteCostCategoryDefinitionCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/DescribeCostCategoryDefinitionCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/GetAnomaliesCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/GetAnomalyMonitorsCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/GetAnomalySubscriptionsCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/GetCostAndUsageCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/GetCostAndUsageWithResourcesCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/GetCostCategoriesCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/GetCostForecastCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/GetDimensionValuesCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/GetReservationCoverageCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/GetReservationPurchaseRecommendationCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/GetReservationUtilizationCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/GetRightsizingRecommendationCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/GetSavingsPlansCoverageCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/GetSavingsPlansUtilizationCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/GetTagsCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/GetUsageForecastCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/ListCostCategoryDefinitionsCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/ProvideAnomalyFeedbackCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/UpdateAnomalyMonitorCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/UpdateAnomalySubscriptionCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/UpdateCostCategoryDefinitionCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  125. package/{index.ts → dist-types/index.d.ts} +0 -0
  126. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  127. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  128. package/{dist/types → dist-types}/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
  129. package/{dist/types → dist-types}/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  131. package/{dist/types → dist-types}/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  133. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  134. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  135. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  136. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  137. package/{dist/types → dist-types}/ts3.4/CostExplorer.d.ts +33 -224
  138. package/{dist/types → dist-types}/ts3.4/CostExplorerClient.d.ts +32 -112
  139. package/dist-types/ts3.4/commands/CreateAnomalyMonitorCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/CreateAnomalySubscriptionCommand.d.ts +17 -0
  141. package/{dist/types → dist-types}/ts3.4/commands/CreateCostCategoryDefinitionCommand.d.ts +4 -22
  142. package/{dist/types → dist-types}/ts3.4/commands/DeleteAnomalyMonitorCommand.d.ts +4 -22
  143. package/{dist/types → dist-types}/ts3.4/commands/DeleteAnomalySubscriptionCommand.d.ts +4 -22
  144. package/{dist/types → dist-types}/ts3.4/commands/DeleteCostCategoryDefinitionCommand.d.ts +4 -22
  145. package/dist-types/ts3.4/commands/DescribeCostCategoryDefinitionCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/GetAnomaliesCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/GetAnomalyMonitorsCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/GetAnomalySubscriptionsCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/GetCostAndUsageCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/GetCostAndUsageWithResourcesCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/GetCostCategoriesCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/GetCostForecastCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/GetDimensionValuesCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/GetReservationCoverageCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/GetReservationPurchaseRecommendationCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/GetReservationUtilizationCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/GetRightsizingRecommendationCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/GetSavingsPlansCoverageCommand.d.ts +17 -0
  159. package/{dist/types → dist-types}/ts3.4/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +4 -22
  160. package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/GetUsageForecastCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/ListCostCategoryDefinitionsCommand.d.ts +17 -0
  165. package/{dist/types → dist-types}/ts3.4/commands/ProvideAnomalyFeedbackCommand.d.ts +4 -22
  166. package/dist-types/ts3.4/commands/UpdateAnomalyMonitorCommand.d.ts +17 -0
  167. package/{dist/types → dist-types}/ts3.4/commands/UpdateAnomalySubscriptionCommand.d.ts +4 -22
  168. package/dist-types/ts3.4/commands/UpdateCostCategoryDefinitionCommand.d.ts +17 -0
  169. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  170. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  171. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  172. package/dist-types/ts3.4/models/models_0.d.ts +2345 -0
  173. package/{dist/types → dist-types}/ts3.4/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
  174. package/{dist/types → dist-types}/ts3.4/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
  175. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  176. package/{dist/types → dist-types}/ts3.4/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  178. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  179. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  180. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  181. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  182. package/package.json +45 -42
  183. package/CostExplorer.ts +0 -1235
  184. package/CostExplorerClient.ts +0 -406
  185. package/commands/CreateAnomalyMonitorCommand.ts +0 -95
  186. package/commands/CreateAnomalySubscriptionCommand.ts +0 -99
  187. package/commands/CreateCostCategoryDefinitionCommand.ts +0 -99
  188. package/commands/DeleteAnomalyMonitorCommand.ts +0 -94
  189. package/commands/DeleteAnomalySubscriptionCommand.ts +0 -97
  190. package/commands/DeleteCostCategoryDefinitionCommand.ts +0 -99
  191. package/commands/DescribeCostCategoryDefinitionCommand.ts +0 -103
  192. package/commands/GetAnomaliesCommand.ts +0 -95
  193. package/commands/GetAnomalyMonitorsCommand.ts +0 -95
  194. package/commands/GetAnomalySubscriptionsCommand.ts +0 -95
  195. package/commands/GetCostAndUsageCommand.ts +0 -99
  196. package/commands/GetCostAndUsageWithResourcesCommand.ts +0 -106
  197. package/commands/GetCostCategoriesCommand.ts +0 -97
  198. package/commands/GetCostForecastCommand.ts +0 -94
  199. package/commands/GetDimensionValuesCommand.ts +0 -94
  200. package/commands/GetReservationCoverageCommand.ts +0 -135
  201. package/commands/GetReservationPurchaseRecommendationCommand.ts +0 -114
  202. package/commands/GetReservationUtilizationCommand.ts +0 -99
  203. package/commands/GetRightsizingRecommendationCommand.ts +0 -108
  204. package/commands/GetSavingsPlansCoverageCommand.ts +0 -117
  205. package/commands/GetSavingsPlansPurchaseRecommendationCommand.ts +0 -106
  206. package/commands/GetSavingsPlansUtilizationCommand.ts +0 -100
  207. package/commands/GetSavingsPlansUtilizationDetailsCommand.ts +0 -109
  208. package/commands/GetTagsCommand.ts +0 -91
  209. package/commands/GetUsageForecastCommand.ts +0 -94
  210. package/commands/ListCostCategoryDefinitionsCommand.ts +0 -99
  211. package/commands/ProvideAnomalyFeedbackCommand.ts +0 -94
  212. package/commands/UpdateAnomalyMonitorCommand.ts +0 -95
  213. package/commands/UpdateAnomalySubscriptionCommand.ts +0 -97
  214. package/commands/UpdateCostCategoryDefinitionCommand.ts +0 -99
  215. package/dist/cjs/CostExplorer.js.map +0 -1
  216. package/dist/cjs/CostExplorerClient.js +0 -59
  217. package/dist/cjs/CostExplorerClient.js.map +0 -1
  218. package/dist/cjs/commands/CreateAnomalyMonitorCommand.js.map +0 -1
  219. package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js.map +0 -1
  220. package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js.map +0 -1
  221. package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js.map +0 -1
  222. package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js.map +0 -1
  223. package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js.map +0 -1
  224. package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js.map +0 -1
  225. package/dist/cjs/commands/GetAnomaliesCommand.js.map +0 -1
  226. package/dist/cjs/commands/GetAnomalyMonitorsCommand.js.map +0 -1
  227. package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js.map +0 -1
  228. package/dist/cjs/commands/GetCostAndUsageCommand.js +0 -66
  229. package/dist/cjs/commands/GetCostAndUsageCommand.js.map +0 -1
  230. package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js +0 -68
  231. package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js.map +0 -1
  232. package/dist/cjs/commands/GetCostCategoriesCommand.js.map +0 -1
  233. package/dist/cjs/commands/GetCostForecastCommand.js.map +0 -1
  234. package/dist/cjs/commands/GetDimensionValuesCommand.js.map +0 -1
  235. package/dist/cjs/commands/GetReservationCoverageCommand.js +0 -102
  236. package/dist/cjs/commands/GetReservationCoverageCommand.js.map +0 -1
  237. package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js +0 -70
  238. package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js.map +0 -1
  239. package/dist/cjs/commands/GetReservationUtilizationCommand.js.map +0 -1
  240. package/dist/cjs/commands/GetRightsizingRecommendationCommand.js.map +0 -1
  241. package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js +0 -84
  242. package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js.map +0 -1
  243. package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +0 -1
  244. package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js.map +0 -1
  245. package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +0 -1
  246. package/dist/cjs/commands/GetTagsCommand.js.map +0 -1
  247. package/dist/cjs/commands/GetUsageForecastCommand.js.map +0 -1
  248. package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js.map +0 -1
  249. package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js.map +0 -1
  250. package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js.map +0 -1
  251. package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js.map +0 -1
  252. package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js.map +0 -1
  253. package/dist/cjs/endpoints.js.map +0 -1
  254. package/dist/cjs/index.js.map +0 -1
  255. package/dist/cjs/models/index.js.map +0 -1
  256. package/dist/cjs/models/models_0.js.map +0 -1
  257. package/dist/cjs/package.json +0 -91
  258. package/dist/cjs/pagination/GetSavingsPlansCoveragePaginator.js.map +0 -1
  259. package/dist/cjs/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +0 -1
  260. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  261. package/dist/cjs/pagination/ListCostCategoryDefinitionsPaginator.js.map +0 -1
  262. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  263. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  264. package/dist/cjs/runtimeConfig.js.map +0 -1
  265. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  266. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  267. package/dist/es/CostExplorer.js.map +0 -1
  268. package/dist/es/CostExplorerClient.js.map +0 -1
  269. package/dist/es/commands/CreateAnomalyMonitorCommand.js.map +0 -1
  270. package/dist/es/commands/CreateAnomalySubscriptionCommand.js.map +0 -1
  271. package/dist/es/commands/CreateCostCategoryDefinitionCommand.js.map +0 -1
  272. package/dist/es/commands/DeleteAnomalyMonitorCommand.js.map +0 -1
  273. package/dist/es/commands/DeleteAnomalySubscriptionCommand.js.map +0 -1
  274. package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js.map +0 -1
  275. package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js.map +0 -1
  276. package/dist/es/commands/GetAnomaliesCommand.js.map +0 -1
  277. package/dist/es/commands/GetAnomalyMonitorsCommand.js.map +0 -1
  278. package/dist/es/commands/GetAnomalySubscriptionsCommand.js.map +0 -1
  279. package/dist/es/commands/GetCostAndUsageCommand.js.map +0 -1
  280. package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js.map +0 -1
  281. package/dist/es/commands/GetCostCategoriesCommand.js.map +0 -1
  282. package/dist/es/commands/GetCostForecastCommand.js.map +0 -1
  283. package/dist/es/commands/GetDimensionValuesCommand.js.map +0 -1
  284. package/dist/es/commands/GetReservationCoverageCommand.js.map +0 -1
  285. package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js.map +0 -1
  286. package/dist/es/commands/GetReservationUtilizationCommand.js.map +0 -1
  287. package/dist/es/commands/GetRightsizingRecommendationCommand.js.map +0 -1
  288. package/dist/es/commands/GetSavingsPlansCoverageCommand.js.map +0 -1
  289. package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +0 -1
  290. package/dist/es/commands/GetSavingsPlansUtilizationCommand.js.map +0 -1
  291. package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +0 -1
  292. package/dist/es/commands/GetTagsCommand.js.map +0 -1
  293. package/dist/es/commands/GetUsageForecastCommand.js.map +0 -1
  294. package/dist/es/commands/ListCostCategoryDefinitionsCommand.js.map +0 -1
  295. package/dist/es/commands/ProvideAnomalyFeedbackCommand.js.map +0 -1
  296. package/dist/es/commands/UpdateAnomalyMonitorCommand.js.map +0 -1
  297. package/dist/es/commands/UpdateAnomalySubscriptionCommand.js.map +0 -1
  298. package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js.map +0 -1
  299. package/dist/es/endpoints.js.map +0 -1
  300. package/dist/es/index.js +0 -38
  301. package/dist/es/index.js.map +0 -1
  302. package/dist/es/models/index.js +0 -2
  303. package/dist/es/models/index.js.map +0 -1
  304. package/dist/es/models/models_0.js.map +0 -1
  305. package/dist/es/package.json +0 -91
  306. package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js.map +0 -1
  307. package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +0 -1
  308. package/dist/es/pagination/Interfaces.js +0 -2
  309. package/dist/es/pagination/Interfaces.js.map +0 -1
  310. package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js.map +0 -1
  311. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  312. package/dist/es/runtimeConfig.browser.js.map +0 -1
  313. package/dist/es/runtimeConfig.js.map +0 -1
  314. package/dist/es/runtimeConfig.native.js.map +0 -1
  315. package/dist/es/runtimeConfig.shared.js.map +0 -1
  316. package/dist/types/ts3.4/commands/CreateAnomalyMonitorCommand.d.ts +0 -36
  317. package/dist/types/ts3.4/commands/CreateAnomalySubscriptionCommand.d.ts +0 -37
  318. package/dist/types/ts3.4/commands/DescribeCostCategoryDefinitionCommand.d.ts +0 -36
  319. package/dist/types/ts3.4/commands/GetAnomaliesCommand.d.ts +0 -36
  320. package/dist/types/ts3.4/commands/GetAnomalyMonitorsCommand.d.ts +0 -36
  321. package/dist/types/ts3.4/commands/GetAnomalySubscriptionsCommand.d.ts +0 -36
  322. package/dist/types/ts3.4/commands/GetCostAndUsageCommand.d.ts +0 -40
  323. package/dist/types/ts3.4/commands/GetCostAndUsageWithResourcesCommand.d.ts +0 -42
  324. package/dist/types/ts3.4/commands/GetCostCategoriesCommand.d.ts +0 -38
  325. package/dist/types/ts3.4/commands/GetCostForecastCommand.d.ts +0 -35
  326. package/dist/types/ts3.4/commands/GetDimensionValuesCommand.d.ts +0 -35
  327. package/dist/types/ts3.4/commands/GetReservationCoverageCommand.d.ts +0 -76
  328. package/dist/types/ts3.4/commands/GetReservationPurchaseRecommendationCommand.d.ts +0 -44
  329. package/dist/types/ts3.4/commands/GetReservationUtilizationCommand.d.ts +0 -37
  330. package/dist/types/ts3.4/commands/GetRightsizingRecommendationCommand.d.ts +0 -44
  331. package/dist/types/ts3.4/commands/GetSavingsPlansCoverageCommand.d.ts +0 -58
  332. package/dist/types/ts3.4/commands/GetSavingsPlansUtilizationCommand.d.ts +0 -38
  333. package/dist/types/ts3.4/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +0 -39
  334. package/dist/types/ts3.4/commands/GetTagsCommand.d.ts +0 -35
  335. package/dist/types/ts3.4/commands/GetUsageForecastCommand.d.ts +0 -35
  336. package/dist/types/ts3.4/commands/ListCostCategoryDefinitionsCommand.d.ts +0 -35
  337. package/dist/types/ts3.4/commands/UpdateAnomalyMonitorCommand.d.ts +0 -36
  338. package/dist/types/ts3.4/commands/UpdateCostCategoryDefinitionCommand.d.ts +0 -35
  339. package/dist/types/ts3.4/models/models_0.d.ts +0 -5807
  340. package/endpoints.ts +0 -67
  341. package/jest.config.js +0 -4
  342. package/models/models_0.ts +0 -6842
  343. package/pagination/GetSavingsPlansCoveragePaginator.ts +0 -58
  344. package/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts +0 -58
  345. package/pagination/Interfaces.ts +0 -7
  346. package/pagination/ListCostCategoryDefinitionsPaginator.ts +0 -58
  347. package/protocols/Aws_json1_1.ts +0 -5865
  348. package/runtimeConfig.browser.ts +0 -40
  349. package/runtimeConfig.native.ts +0 -16
  350. package/runtimeConfig.shared.ts +0 -16
  351. package/runtimeConfig.ts +0 -45
  352. package/tsconfig.es.json +0 -10
  353. package/tsconfig.json +0 -31
  354. package/tsconfig.types.json +0 -8
package/CostExplorer.ts DELETED
@@ -1,1235 +0,0 @@
1
- import { CostExplorerClient } from "./CostExplorerClient";
2
- import {
3
- CreateAnomalyMonitorCommand,
4
- CreateAnomalyMonitorCommandInput,
5
- CreateAnomalyMonitorCommandOutput,
6
- } from "./commands/CreateAnomalyMonitorCommand";
7
- import {
8
- CreateAnomalySubscriptionCommand,
9
- CreateAnomalySubscriptionCommandInput,
10
- CreateAnomalySubscriptionCommandOutput,
11
- } from "./commands/CreateAnomalySubscriptionCommand";
12
- import {
13
- CreateCostCategoryDefinitionCommand,
14
- CreateCostCategoryDefinitionCommandInput,
15
- CreateCostCategoryDefinitionCommandOutput,
16
- } from "./commands/CreateCostCategoryDefinitionCommand";
17
- import {
18
- DeleteAnomalyMonitorCommand,
19
- DeleteAnomalyMonitorCommandInput,
20
- DeleteAnomalyMonitorCommandOutput,
21
- } from "./commands/DeleteAnomalyMonitorCommand";
22
- import {
23
- DeleteAnomalySubscriptionCommand,
24
- DeleteAnomalySubscriptionCommandInput,
25
- DeleteAnomalySubscriptionCommandOutput,
26
- } from "./commands/DeleteAnomalySubscriptionCommand";
27
- import {
28
- DeleteCostCategoryDefinitionCommand,
29
- DeleteCostCategoryDefinitionCommandInput,
30
- DeleteCostCategoryDefinitionCommandOutput,
31
- } from "./commands/DeleteCostCategoryDefinitionCommand";
32
- import {
33
- DescribeCostCategoryDefinitionCommand,
34
- DescribeCostCategoryDefinitionCommandInput,
35
- DescribeCostCategoryDefinitionCommandOutput,
36
- } from "./commands/DescribeCostCategoryDefinitionCommand";
37
- import {
38
- GetAnomaliesCommand,
39
- GetAnomaliesCommandInput,
40
- GetAnomaliesCommandOutput,
41
- } from "./commands/GetAnomaliesCommand";
42
- import {
43
- GetAnomalyMonitorsCommand,
44
- GetAnomalyMonitorsCommandInput,
45
- GetAnomalyMonitorsCommandOutput,
46
- } from "./commands/GetAnomalyMonitorsCommand";
47
- import {
48
- GetAnomalySubscriptionsCommand,
49
- GetAnomalySubscriptionsCommandInput,
50
- GetAnomalySubscriptionsCommandOutput,
51
- } from "./commands/GetAnomalySubscriptionsCommand";
52
- import {
53
- GetCostAndUsageCommand,
54
- GetCostAndUsageCommandInput,
55
- GetCostAndUsageCommandOutput,
56
- } from "./commands/GetCostAndUsageCommand";
57
- import {
58
- GetCostAndUsageWithResourcesCommand,
59
- GetCostAndUsageWithResourcesCommandInput,
60
- GetCostAndUsageWithResourcesCommandOutput,
61
- } from "./commands/GetCostAndUsageWithResourcesCommand";
62
- import {
63
- GetCostCategoriesCommand,
64
- GetCostCategoriesCommandInput,
65
- GetCostCategoriesCommandOutput,
66
- } from "./commands/GetCostCategoriesCommand";
67
- import {
68
- GetCostForecastCommand,
69
- GetCostForecastCommandInput,
70
- GetCostForecastCommandOutput,
71
- } from "./commands/GetCostForecastCommand";
72
- import {
73
- GetDimensionValuesCommand,
74
- GetDimensionValuesCommandInput,
75
- GetDimensionValuesCommandOutput,
76
- } from "./commands/GetDimensionValuesCommand";
77
- import {
78
- GetReservationCoverageCommand,
79
- GetReservationCoverageCommandInput,
80
- GetReservationCoverageCommandOutput,
81
- } from "./commands/GetReservationCoverageCommand";
82
- import {
83
- GetReservationPurchaseRecommendationCommand,
84
- GetReservationPurchaseRecommendationCommandInput,
85
- GetReservationPurchaseRecommendationCommandOutput,
86
- } from "./commands/GetReservationPurchaseRecommendationCommand";
87
- import {
88
- GetReservationUtilizationCommand,
89
- GetReservationUtilizationCommandInput,
90
- GetReservationUtilizationCommandOutput,
91
- } from "./commands/GetReservationUtilizationCommand";
92
- import {
93
- GetRightsizingRecommendationCommand,
94
- GetRightsizingRecommendationCommandInput,
95
- GetRightsizingRecommendationCommandOutput,
96
- } from "./commands/GetRightsizingRecommendationCommand";
97
- import {
98
- GetSavingsPlansCoverageCommand,
99
- GetSavingsPlansCoverageCommandInput,
100
- GetSavingsPlansCoverageCommandOutput,
101
- } from "./commands/GetSavingsPlansCoverageCommand";
102
- import {
103
- GetSavingsPlansPurchaseRecommendationCommand,
104
- GetSavingsPlansPurchaseRecommendationCommandInput,
105
- GetSavingsPlansPurchaseRecommendationCommandOutput,
106
- } from "./commands/GetSavingsPlansPurchaseRecommendationCommand";
107
- import {
108
- GetSavingsPlansUtilizationCommand,
109
- GetSavingsPlansUtilizationCommandInput,
110
- GetSavingsPlansUtilizationCommandOutput,
111
- } from "./commands/GetSavingsPlansUtilizationCommand";
112
- import {
113
- GetSavingsPlansUtilizationDetailsCommand,
114
- GetSavingsPlansUtilizationDetailsCommandInput,
115
- GetSavingsPlansUtilizationDetailsCommandOutput,
116
- } from "./commands/GetSavingsPlansUtilizationDetailsCommand";
117
- import { GetTagsCommand, GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
118
- import {
119
- GetUsageForecastCommand,
120
- GetUsageForecastCommandInput,
121
- GetUsageForecastCommandOutput,
122
- } from "./commands/GetUsageForecastCommand";
123
- import {
124
- ListCostCategoryDefinitionsCommand,
125
- ListCostCategoryDefinitionsCommandInput,
126
- ListCostCategoryDefinitionsCommandOutput,
127
- } from "./commands/ListCostCategoryDefinitionsCommand";
128
- import {
129
- ProvideAnomalyFeedbackCommand,
130
- ProvideAnomalyFeedbackCommandInput,
131
- ProvideAnomalyFeedbackCommandOutput,
132
- } from "./commands/ProvideAnomalyFeedbackCommand";
133
- import {
134
- UpdateAnomalyMonitorCommand,
135
- UpdateAnomalyMonitorCommandInput,
136
- UpdateAnomalyMonitorCommandOutput,
137
- } from "./commands/UpdateAnomalyMonitorCommand";
138
- import {
139
- UpdateAnomalySubscriptionCommand,
140
- UpdateAnomalySubscriptionCommandInput,
141
- UpdateAnomalySubscriptionCommandOutput,
142
- } from "./commands/UpdateAnomalySubscriptionCommand";
143
- import {
144
- UpdateCostCategoryDefinitionCommand,
145
- UpdateCostCategoryDefinitionCommandInput,
146
- UpdateCostCategoryDefinitionCommandOutput,
147
- } from "./commands/UpdateCostCategoryDefinitionCommand";
148
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
149
-
150
- /**
151
- * <p>You can use the Cost Explorer API to programmatically query your cost and usage data. You
152
- * can query for aggregated data such as total monthly costs or total daily usage. You can also
153
- * query for granular data. This might include the number of daily write operations for Amazon
154
- * DynamoDB database tables in your production environment. </p>
155
- * <p>Service Endpoint</p>
156
- * <p>The Cost Explorer API provides the following endpoint:</p>
157
- * <ul>
158
- * <li>
159
- * <p>
160
- * <code>https://ce.us-east-1.amazonaws.com</code>
161
- * </p>
162
- * </li>
163
- * </ul>
164
- * <p>For information about the costs that are associated with the Cost Explorer API, see
165
- * <a href="http://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost
166
- * Management Pricing</a>.</p>
167
- */
168
- export class CostExplorer extends CostExplorerClient {
169
- /**
170
- * <p>Creates a new cost anomaly detection monitor with the requested type and monitor
171
- * specification. </p>
172
- */
173
- public createAnomalyMonitor(
174
- args: CreateAnomalyMonitorCommandInput,
175
- options?: __HttpHandlerOptions
176
- ): Promise<CreateAnomalyMonitorCommandOutput>;
177
- public createAnomalyMonitor(
178
- args: CreateAnomalyMonitorCommandInput,
179
- cb: (err: any, data?: CreateAnomalyMonitorCommandOutput) => void
180
- ): void;
181
- public createAnomalyMonitor(
182
- args: CreateAnomalyMonitorCommandInput,
183
- options: __HttpHandlerOptions,
184
- cb: (err: any, data?: CreateAnomalyMonitorCommandOutput) => void
185
- ): void;
186
- public createAnomalyMonitor(
187
- args: CreateAnomalyMonitorCommandInput,
188
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAnomalyMonitorCommandOutput) => void),
189
- cb?: (err: any, data?: CreateAnomalyMonitorCommandOutput) => void
190
- ): Promise<CreateAnomalyMonitorCommandOutput> | void {
191
- const command = new CreateAnomalyMonitorCommand(args);
192
- if (typeof optionsOrCb === "function") {
193
- this.send(command, optionsOrCb);
194
- } else if (typeof cb === "function") {
195
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
196
- this.send(command, optionsOrCb || {}, cb);
197
- } else {
198
- return this.send(command, optionsOrCb);
199
- }
200
- }
201
-
202
- /**
203
- * <p>Adds a subscription to a cost anomaly detection monitor. You can use each subscription to
204
- * define subscribers with email or SNS notifications. Email subscribers can set a dollar
205
- * threshold and a time frequency for receiving notifications. </p>
206
- */
207
- public createAnomalySubscription(
208
- args: CreateAnomalySubscriptionCommandInput,
209
- options?: __HttpHandlerOptions
210
- ): Promise<CreateAnomalySubscriptionCommandOutput>;
211
- public createAnomalySubscription(
212
- args: CreateAnomalySubscriptionCommandInput,
213
- cb: (err: any, data?: CreateAnomalySubscriptionCommandOutput) => void
214
- ): void;
215
- public createAnomalySubscription(
216
- args: CreateAnomalySubscriptionCommandInput,
217
- options: __HttpHandlerOptions,
218
- cb: (err: any, data?: CreateAnomalySubscriptionCommandOutput) => void
219
- ): void;
220
- public createAnomalySubscription(
221
- args: CreateAnomalySubscriptionCommandInput,
222
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAnomalySubscriptionCommandOutput) => void),
223
- cb?: (err: any, data?: CreateAnomalySubscriptionCommandOutput) => void
224
- ): Promise<CreateAnomalySubscriptionCommandOutput> | void {
225
- const command = new CreateAnomalySubscriptionCommand(args);
226
- if (typeof optionsOrCb === "function") {
227
- this.send(command, optionsOrCb);
228
- } else if (typeof cb === "function") {
229
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
230
- this.send(command, optionsOrCb || {}, cb);
231
- } else {
232
- return this.send(command, optionsOrCb);
233
- }
234
- }
235
-
236
- /**
237
- * <p>Creates a new Cost Category with the requested name and rules.</p>
238
- */
239
- public createCostCategoryDefinition(
240
- args: CreateCostCategoryDefinitionCommandInput,
241
- options?: __HttpHandlerOptions
242
- ): Promise<CreateCostCategoryDefinitionCommandOutput>;
243
- public createCostCategoryDefinition(
244
- args: CreateCostCategoryDefinitionCommandInput,
245
- cb: (err: any, data?: CreateCostCategoryDefinitionCommandOutput) => void
246
- ): void;
247
- public createCostCategoryDefinition(
248
- args: CreateCostCategoryDefinitionCommandInput,
249
- options: __HttpHandlerOptions,
250
- cb: (err: any, data?: CreateCostCategoryDefinitionCommandOutput) => void
251
- ): void;
252
- public createCostCategoryDefinition(
253
- args: CreateCostCategoryDefinitionCommandInput,
254
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCostCategoryDefinitionCommandOutput) => void),
255
- cb?: (err: any, data?: CreateCostCategoryDefinitionCommandOutput) => void
256
- ): Promise<CreateCostCategoryDefinitionCommandOutput> | void {
257
- const command = new CreateCostCategoryDefinitionCommand(args);
258
- if (typeof optionsOrCb === "function") {
259
- this.send(command, optionsOrCb);
260
- } else if (typeof cb === "function") {
261
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
262
- this.send(command, optionsOrCb || {}, cb);
263
- } else {
264
- return this.send(command, optionsOrCb);
265
- }
266
- }
267
-
268
- /**
269
- * <p>Deletes a cost anomaly monitor. </p>
270
- */
271
- public deleteAnomalyMonitor(
272
- args: DeleteAnomalyMonitorCommandInput,
273
- options?: __HttpHandlerOptions
274
- ): Promise<DeleteAnomalyMonitorCommandOutput>;
275
- public deleteAnomalyMonitor(
276
- args: DeleteAnomalyMonitorCommandInput,
277
- cb: (err: any, data?: DeleteAnomalyMonitorCommandOutput) => void
278
- ): void;
279
- public deleteAnomalyMonitor(
280
- args: DeleteAnomalyMonitorCommandInput,
281
- options: __HttpHandlerOptions,
282
- cb: (err: any, data?: DeleteAnomalyMonitorCommandOutput) => void
283
- ): void;
284
- public deleteAnomalyMonitor(
285
- args: DeleteAnomalyMonitorCommandInput,
286
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAnomalyMonitorCommandOutput) => void),
287
- cb?: (err: any, data?: DeleteAnomalyMonitorCommandOutput) => void
288
- ): Promise<DeleteAnomalyMonitorCommandOutput> | void {
289
- const command = new DeleteAnomalyMonitorCommand(args);
290
- if (typeof optionsOrCb === "function") {
291
- this.send(command, optionsOrCb);
292
- } else if (typeof cb === "function") {
293
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
294
- this.send(command, optionsOrCb || {}, cb);
295
- } else {
296
- return this.send(command, optionsOrCb);
297
- }
298
- }
299
-
300
- /**
301
- * <p>Deletes a cost anomaly subscription. </p>
302
- */
303
- public deleteAnomalySubscription(
304
- args: DeleteAnomalySubscriptionCommandInput,
305
- options?: __HttpHandlerOptions
306
- ): Promise<DeleteAnomalySubscriptionCommandOutput>;
307
- public deleteAnomalySubscription(
308
- args: DeleteAnomalySubscriptionCommandInput,
309
- cb: (err: any, data?: DeleteAnomalySubscriptionCommandOutput) => void
310
- ): void;
311
- public deleteAnomalySubscription(
312
- args: DeleteAnomalySubscriptionCommandInput,
313
- options: __HttpHandlerOptions,
314
- cb: (err: any, data?: DeleteAnomalySubscriptionCommandOutput) => void
315
- ): void;
316
- public deleteAnomalySubscription(
317
- args: DeleteAnomalySubscriptionCommandInput,
318
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAnomalySubscriptionCommandOutput) => void),
319
- cb?: (err: any, data?: DeleteAnomalySubscriptionCommandOutput) => void
320
- ): Promise<DeleteAnomalySubscriptionCommandOutput> | void {
321
- const command = new DeleteAnomalySubscriptionCommand(args);
322
- if (typeof optionsOrCb === "function") {
323
- this.send(command, optionsOrCb);
324
- } else if (typeof cb === "function") {
325
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
326
- this.send(command, optionsOrCb || {}, cb);
327
- } else {
328
- return this.send(command, optionsOrCb);
329
- }
330
- }
331
-
332
- /**
333
- * <p>Deletes a Cost Category. Expenses from this month going forward will no longer be categorized with this Cost Category.</p>
334
- */
335
- public deleteCostCategoryDefinition(
336
- args: DeleteCostCategoryDefinitionCommandInput,
337
- options?: __HttpHandlerOptions
338
- ): Promise<DeleteCostCategoryDefinitionCommandOutput>;
339
- public deleteCostCategoryDefinition(
340
- args: DeleteCostCategoryDefinitionCommandInput,
341
- cb: (err: any, data?: DeleteCostCategoryDefinitionCommandOutput) => void
342
- ): void;
343
- public deleteCostCategoryDefinition(
344
- args: DeleteCostCategoryDefinitionCommandInput,
345
- options: __HttpHandlerOptions,
346
- cb: (err: any, data?: DeleteCostCategoryDefinitionCommandOutput) => void
347
- ): void;
348
- public deleteCostCategoryDefinition(
349
- args: DeleteCostCategoryDefinitionCommandInput,
350
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCostCategoryDefinitionCommandOutput) => void),
351
- cb?: (err: any, data?: DeleteCostCategoryDefinitionCommandOutput) => void
352
- ): Promise<DeleteCostCategoryDefinitionCommandOutput> | void {
353
- const command = new DeleteCostCategoryDefinitionCommand(args);
354
- if (typeof optionsOrCb === "function") {
355
- this.send(command, optionsOrCb);
356
- } else if (typeof cb === "function") {
357
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
358
- this.send(command, optionsOrCb || {}, cb);
359
- } else {
360
- return this.send(command, optionsOrCb);
361
- }
362
- }
363
-
364
- /**
365
- * <p>Returns the name, ARN, rules, definition, and effective dates of a Cost Category that's defined in the account.</p>
366
- * <p>You have the option to use <code>EffectiveOn</code> to return a Cost Category that is active on a specific date. If there is no <code>EffectiveOn</code> specified, you’ll see a Cost Category that is effective on the current date. If Cost Category is still effective, <code>EffectiveEnd</code> is omitted in the response. </p>
367
- */
368
- public describeCostCategoryDefinition(
369
- args: DescribeCostCategoryDefinitionCommandInput,
370
- options?: __HttpHandlerOptions
371
- ): Promise<DescribeCostCategoryDefinitionCommandOutput>;
372
- public describeCostCategoryDefinition(
373
- args: DescribeCostCategoryDefinitionCommandInput,
374
- cb: (err: any, data?: DescribeCostCategoryDefinitionCommandOutput) => void
375
- ): void;
376
- public describeCostCategoryDefinition(
377
- args: DescribeCostCategoryDefinitionCommandInput,
378
- options: __HttpHandlerOptions,
379
- cb: (err: any, data?: DescribeCostCategoryDefinitionCommandOutput) => void
380
- ): void;
381
- public describeCostCategoryDefinition(
382
- args: DescribeCostCategoryDefinitionCommandInput,
383
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeCostCategoryDefinitionCommandOutput) => void),
384
- cb?: (err: any, data?: DescribeCostCategoryDefinitionCommandOutput) => void
385
- ): Promise<DescribeCostCategoryDefinitionCommandOutput> | void {
386
- const command = new DescribeCostCategoryDefinitionCommand(args);
387
- if (typeof optionsOrCb === "function") {
388
- this.send(command, optionsOrCb);
389
- } else if (typeof cb === "function") {
390
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
391
- this.send(command, optionsOrCb || {}, cb);
392
- } else {
393
- return this.send(command, optionsOrCb);
394
- }
395
- }
396
-
397
- /**
398
- * <p>Retrieves all of the cost anomalies detected on your account during the time period that's
399
- * specified by the <code>DateInterval</code> object. </p>
400
- */
401
- public getAnomalies(
402
- args: GetAnomaliesCommandInput,
403
- options?: __HttpHandlerOptions
404
- ): Promise<GetAnomaliesCommandOutput>;
405
- public getAnomalies(args: GetAnomaliesCommandInput, cb: (err: any, data?: GetAnomaliesCommandOutput) => void): void;
406
- public getAnomalies(
407
- args: GetAnomaliesCommandInput,
408
- options: __HttpHandlerOptions,
409
- cb: (err: any, data?: GetAnomaliesCommandOutput) => void
410
- ): void;
411
- public getAnomalies(
412
- args: GetAnomaliesCommandInput,
413
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAnomaliesCommandOutput) => void),
414
- cb?: (err: any, data?: GetAnomaliesCommandOutput) => void
415
- ): Promise<GetAnomaliesCommandOutput> | void {
416
- const command = new GetAnomaliesCommand(args);
417
- if (typeof optionsOrCb === "function") {
418
- this.send(command, optionsOrCb);
419
- } else if (typeof cb === "function") {
420
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
421
- this.send(command, optionsOrCb || {}, cb);
422
- } else {
423
- return this.send(command, optionsOrCb);
424
- }
425
- }
426
-
427
- /**
428
- * <p>Retrieves the cost anomaly monitor definitions for your account. You can filter using a
429
- * list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
430
- */
431
- public getAnomalyMonitors(
432
- args: GetAnomalyMonitorsCommandInput,
433
- options?: __HttpHandlerOptions
434
- ): Promise<GetAnomalyMonitorsCommandOutput>;
435
- public getAnomalyMonitors(
436
- args: GetAnomalyMonitorsCommandInput,
437
- cb: (err: any, data?: GetAnomalyMonitorsCommandOutput) => void
438
- ): void;
439
- public getAnomalyMonitors(
440
- args: GetAnomalyMonitorsCommandInput,
441
- options: __HttpHandlerOptions,
442
- cb: (err: any, data?: GetAnomalyMonitorsCommandOutput) => void
443
- ): void;
444
- public getAnomalyMonitors(
445
- args: GetAnomalyMonitorsCommandInput,
446
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAnomalyMonitorsCommandOutput) => void),
447
- cb?: (err: any, data?: GetAnomalyMonitorsCommandOutput) => void
448
- ): Promise<GetAnomalyMonitorsCommandOutput> | void {
449
- const command = new GetAnomalyMonitorsCommand(args);
450
- if (typeof optionsOrCb === "function") {
451
- this.send(command, optionsOrCb);
452
- } else if (typeof cb === "function") {
453
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
454
- this.send(command, optionsOrCb || {}, cb);
455
- } else {
456
- return this.send(command, optionsOrCb);
457
- }
458
- }
459
-
460
- /**
461
- * <p>Retrieves the cost anomaly subscription objects for your account. You can filter using a
462
- * list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
463
- */
464
- public getAnomalySubscriptions(
465
- args: GetAnomalySubscriptionsCommandInput,
466
- options?: __HttpHandlerOptions
467
- ): Promise<GetAnomalySubscriptionsCommandOutput>;
468
- public getAnomalySubscriptions(
469
- args: GetAnomalySubscriptionsCommandInput,
470
- cb: (err: any, data?: GetAnomalySubscriptionsCommandOutput) => void
471
- ): void;
472
- public getAnomalySubscriptions(
473
- args: GetAnomalySubscriptionsCommandInput,
474
- options: __HttpHandlerOptions,
475
- cb: (err: any, data?: GetAnomalySubscriptionsCommandOutput) => void
476
- ): void;
477
- public getAnomalySubscriptions(
478
- args: GetAnomalySubscriptionsCommandInput,
479
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAnomalySubscriptionsCommandOutput) => void),
480
- cb?: (err: any, data?: GetAnomalySubscriptionsCommandOutput) => void
481
- ): Promise<GetAnomalySubscriptionsCommandOutput> | void {
482
- const command = new GetAnomalySubscriptionsCommand(args);
483
- if (typeof optionsOrCb === "function") {
484
- this.send(command, optionsOrCb);
485
- } else if (typeof cb === "function") {
486
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
487
- this.send(command, optionsOrCb || {}, cb);
488
- } else {
489
- return this.send(command, optionsOrCb);
490
- }
491
- }
492
-
493
- /**
494
- * <p>Retrieves cost and usage metrics for your account. You can specify which cost and
495
- * usage-related metric that you want the request to return. For example, you can specify
496
- * <code>BlendedCosts</code> or <code>UsageQuantity</code>. You can also filter and group your
497
- * data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific
498
- * time range. For a complete list of valid dimensions, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts.</p>
499
- * <p>For information about filter limitations, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html">Quotas and restrictions</a> in the <i>Billing and Cost Management User Guide</i>.</p>
500
- */
501
- public getCostAndUsage(
502
- args: GetCostAndUsageCommandInput,
503
- options?: __HttpHandlerOptions
504
- ): Promise<GetCostAndUsageCommandOutput>;
505
- public getCostAndUsage(
506
- args: GetCostAndUsageCommandInput,
507
- cb: (err: any, data?: GetCostAndUsageCommandOutput) => void
508
- ): void;
509
- public getCostAndUsage(
510
- args: GetCostAndUsageCommandInput,
511
- options: __HttpHandlerOptions,
512
- cb: (err: any, data?: GetCostAndUsageCommandOutput) => void
513
- ): void;
514
- public getCostAndUsage(
515
- args: GetCostAndUsageCommandInput,
516
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCostAndUsageCommandOutput) => void),
517
- cb?: (err: any, data?: GetCostAndUsageCommandOutput) => void
518
- ): Promise<GetCostAndUsageCommandOutput> | void {
519
- const command = new GetCostAndUsageCommand(args);
520
- if (typeof optionsOrCb === "function") {
521
- this.send(command, optionsOrCb);
522
- } else if (typeof cb === "function") {
523
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
524
- this.send(command, optionsOrCb || {}, cb);
525
- } else {
526
- return this.send(command, optionsOrCb);
527
- }
528
- }
529
-
530
- /**
531
- * <p>Retrieves cost and usage metrics with resources for your account. You can specify which cost and
532
- * usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that
533
- * you want the request to return. You can also filter and group your data by various dimensions,
534
- * such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. For a complete list
535
- * of valid dimensions, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only.</p>
536
- * <note>
537
- * <p>This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html">Controlling Access for Cost Explorer</a> in the <i>Billing and Cost Management User Guide</i>.</p>
538
- * </note>
539
- */
540
- public getCostAndUsageWithResources(
541
- args: GetCostAndUsageWithResourcesCommandInput,
542
- options?: __HttpHandlerOptions
543
- ): Promise<GetCostAndUsageWithResourcesCommandOutput>;
544
- public getCostAndUsageWithResources(
545
- args: GetCostAndUsageWithResourcesCommandInput,
546
- cb: (err: any, data?: GetCostAndUsageWithResourcesCommandOutput) => void
547
- ): void;
548
- public getCostAndUsageWithResources(
549
- args: GetCostAndUsageWithResourcesCommandInput,
550
- options: __HttpHandlerOptions,
551
- cb: (err: any, data?: GetCostAndUsageWithResourcesCommandOutput) => void
552
- ): void;
553
- public getCostAndUsageWithResources(
554
- args: GetCostAndUsageWithResourcesCommandInput,
555
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCostAndUsageWithResourcesCommandOutput) => void),
556
- cb?: (err: any, data?: GetCostAndUsageWithResourcesCommandOutput) => void
557
- ): Promise<GetCostAndUsageWithResourcesCommandOutput> | void {
558
- const command = new GetCostAndUsageWithResourcesCommand(args);
559
- if (typeof optionsOrCb === "function") {
560
- this.send(command, optionsOrCb);
561
- } else if (typeof cb === "function") {
562
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
563
- this.send(command, optionsOrCb || {}, cb);
564
- } else {
565
- return this.send(command, optionsOrCb);
566
- }
567
- }
568
-
569
- /**
570
- * <p>Retrieves an array of Cost Category names and values incurred cost.</p>
571
- * <note>
572
- * <p>If some Cost Category names and values are not associated with any cost, they will not be returned by this API.</p>
573
- * </note>
574
- */
575
- public getCostCategories(
576
- args: GetCostCategoriesCommandInput,
577
- options?: __HttpHandlerOptions
578
- ): Promise<GetCostCategoriesCommandOutput>;
579
- public getCostCategories(
580
- args: GetCostCategoriesCommandInput,
581
- cb: (err: any, data?: GetCostCategoriesCommandOutput) => void
582
- ): void;
583
- public getCostCategories(
584
- args: GetCostCategoriesCommandInput,
585
- options: __HttpHandlerOptions,
586
- cb: (err: any, data?: GetCostCategoriesCommandOutput) => void
587
- ): void;
588
- public getCostCategories(
589
- args: GetCostCategoriesCommandInput,
590
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCostCategoriesCommandOutput) => void),
591
- cb?: (err: any, data?: GetCostCategoriesCommandOutput) => void
592
- ): Promise<GetCostCategoriesCommandOutput> | void {
593
- const command = new GetCostCategoriesCommand(args);
594
- if (typeof optionsOrCb === "function") {
595
- this.send(command, optionsOrCb);
596
- } else if (typeof cb === "function") {
597
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
598
- this.send(command, optionsOrCb || {}, cb);
599
- } else {
600
- return this.send(command, optionsOrCb);
601
- }
602
- }
603
-
604
- /**
605
- * <p>Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs. </p>
606
- */
607
- public getCostForecast(
608
- args: GetCostForecastCommandInput,
609
- options?: __HttpHandlerOptions
610
- ): Promise<GetCostForecastCommandOutput>;
611
- public getCostForecast(
612
- args: GetCostForecastCommandInput,
613
- cb: (err: any, data?: GetCostForecastCommandOutput) => void
614
- ): void;
615
- public getCostForecast(
616
- args: GetCostForecastCommandInput,
617
- options: __HttpHandlerOptions,
618
- cb: (err: any, data?: GetCostForecastCommandOutput) => void
619
- ): void;
620
- public getCostForecast(
621
- args: GetCostForecastCommandInput,
622
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCostForecastCommandOutput) => void),
623
- cb?: (err: any, data?: GetCostForecastCommandOutput) => void
624
- ): Promise<GetCostForecastCommandOutput> | void {
625
- const command = new GetCostForecastCommand(args);
626
- if (typeof optionsOrCb === "function") {
627
- this.send(command, optionsOrCb);
628
- } else if (typeof cb === "function") {
629
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
630
- this.send(command, optionsOrCb || {}, cb);
631
- } else {
632
- return this.send(command, optionsOrCb);
633
- }
634
- }
635
-
636
- /**
637
- * <p>Retrieves all available filter values for a specified filter over a period of time. You can search the dimension values for an arbitrary string. </p>
638
- */
639
- public getDimensionValues(
640
- args: GetDimensionValuesCommandInput,
641
- options?: __HttpHandlerOptions
642
- ): Promise<GetDimensionValuesCommandOutput>;
643
- public getDimensionValues(
644
- args: GetDimensionValuesCommandInput,
645
- cb: (err: any, data?: GetDimensionValuesCommandOutput) => void
646
- ): void;
647
- public getDimensionValues(
648
- args: GetDimensionValuesCommandInput,
649
- options: __HttpHandlerOptions,
650
- cb: (err: any, data?: GetDimensionValuesCommandOutput) => void
651
- ): void;
652
- public getDimensionValues(
653
- args: GetDimensionValuesCommandInput,
654
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDimensionValuesCommandOutput) => void),
655
- cb?: (err: any, data?: GetDimensionValuesCommandOutput) => void
656
- ): Promise<GetDimensionValuesCommandOutput> | void {
657
- const command = new GetDimensionValuesCommand(args);
658
- if (typeof optionsOrCb === "function") {
659
- this.send(command, optionsOrCb);
660
- } else if (typeof cb === "function") {
661
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
662
- this.send(command, optionsOrCb || {}, cb);
663
- } else {
664
- return this.send(command, optionsOrCb);
665
- }
666
- }
667
-
668
- /**
669
- * <p>Retrieves the reservation coverage for your account. This enables you to see how much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or
670
- * Amazon Redshift usage is covered by a reservation. An organization's management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions.
671
- * For any time period, you can filter data about reservation usage by the following dimensions:</p>
672
- * <ul>
673
- * <li>
674
- * <p>AZ</p>
675
- * </li>
676
- * <li>
677
- * <p>CACHE_ENGINE</p>
678
- * </li>
679
- * <li>
680
- * <p>DATABASE_ENGINE</p>
681
- * </li>
682
- * <li>
683
- * <p>DEPLOYMENT_OPTION</p>
684
- * </li>
685
- * <li>
686
- * <p>INSTANCE_TYPE</p>
687
- * </li>
688
- * <li>
689
- * <p>LINKED_ACCOUNT</p>
690
- * </li>
691
- * <li>
692
- * <p>OPERATING_SYSTEM</p>
693
- * </li>
694
- * <li>
695
- * <p>PLATFORM</p>
696
- * </li>
697
- * <li>
698
- * <p>REGION</p>
699
- * </li>
700
- * <li>
701
- * <p>SERVICE</p>
702
- * </li>
703
- * <li>
704
- * <p>TAG</p>
705
- * </li>
706
- * <li>
707
- * <p>TENANCY</p>
708
- * </li>
709
- * </ul>
710
- * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation. </p>
711
- */
712
- public getReservationCoverage(
713
- args: GetReservationCoverageCommandInput,
714
- options?: __HttpHandlerOptions
715
- ): Promise<GetReservationCoverageCommandOutput>;
716
- public getReservationCoverage(
717
- args: GetReservationCoverageCommandInput,
718
- cb: (err: any, data?: GetReservationCoverageCommandOutput) => void
719
- ): void;
720
- public getReservationCoverage(
721
- args: GetReservationCoverageCommandInput,
722
- options: __HttpHandlerOptions,
723
- cb: (err: any, data?: GetReservationCoverageCommandOutput) => void
724
- ): void;
725
- public getReservationCoverage(
726
- args: GetReservationCoverageCommandInput,
727
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetReservationCoverageCommandOutput) => void),
728
- cb?: (err: any, data?: GetReservationCoverageCommandOutput) => void
729
- ): Promise<GetReservationCoverageCommandOutput> | void {
730
- const command = new GetReservationCoverageCommand(args);
731
- if (typeof optionsOrCb === "function") {
732
- this.send(command, optionsOrCb);
733
- } else if (typeof cb === "function") {
734
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
735
- this.send(command, optionsOrCb || {}, cb);
736
- } else {
737
- return this.send(command, optionsOrCb);
738
- }
739
- }
740
-
741
- /**
742
- * <p>Gets recommendations for which reservations to purchase. These recommendations could help you reduce your costs.
743
- * Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing.</p>
744
- * <p>Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage
745
- * into categories that are eligible for a reservation. After Amazon Web Services has these categories, it simulates every combination of reservations
746
- * in each category of usage to identify the best number of each type of RI to purchase to maximize your estimated savings. </p>
747
- * <p>For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family usage in the US West (Oregon) Region
748
- * and recommends that you buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services recommends the smallest size instance
749
- * in an instance family. This makes it easier to purchase a size-flexible RI. Amazon Web Services also shows the equal number of normalized units
750
- * so that you can purchase any instance size that you want. For this example, your RI recommendation would be for <code>c4.large</code>
751
- * because that is the smallest size instance in the c4 instance family.</p>
752
- */
753
- public getReservationPurchaseRecommendation(
754
- args: GetReservationPurchaseRecommendationCommandInput,
755
- options?: __HttpHandlerOptions
756
- ): Promise<GetReservationPurchaseRecommendationCommandOutput>;
757
- public getReservationPurchaseRecommendation(
758
- args: GetReservationPurchaseRecommendationCommandInput,
759
- cb: (err: any, data?: GetReservationPurchaseRecommendationCommandOutput) => void
760
- ): void;
761
- public getReservationPurchaseRecommendation(
762
- args: GetReservationPurchaseRecommendationCommandInput,
763
- options: __HttpHandlerOptions,
764
- cb: (err: any, data?: GetReservationPurchaseRecommendationCommandOutput) => void
765
- ): void;
766
- public getReservationPurchaseRecommendation(
767
- args: GetReservationPurchaseRecommendationCommandInput,
768
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetReservationPurchaseRecommendationCommandOutput) => void),
769
- cb?: (err: any, data?: GetReservationPurchaseRecommendationCommandOutput) => void
770
- ): Promise<GetReservationPurchaseRecommendationCommandOutput> | void {
771
- const command = new GetReservationPurchaseRecommendationCommand(args);
772
- if (typeof optionsOrCb === "function") {
773
- this.send(command, optionsOrCb);
774
- } else if (typeof cb === "function") {
775
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
776
- this.send(command, optionsOrCb || {}, cb);
777
- } else {
778
- return this.send(command, optionsOrCb);
779
- }
780
- }
781
-
782
- /**
783
- * <p>Retrieves the reservation utilization for your account. Management account in an organization have access to member accounts.
784
- * You can filter data by dimensions in a time period. You can use <code>GetDimensionValues</code> to determine the possible
785
- * dimension values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>
786
- */
787
- public getReservationUtilization(
788
- args: GetReservationUtilizationCommandInput,
789
- options?: __HttpHandlerOptions
790
- ): Promise<GetReservationUtilizationCommandOutput>;
791
- public getReservationUtilization(
792
- args: GetReservationUtilizationCommandInput,
793
- cb: (err: any, data?: GetReservationUtilizationCommandOutput) => void
794
- ): void;
795
- public getReservationUtilization(
796
- args: GetReservationUtilizationCommandInput,
797
- options: __HttpHandlerOptions,
798
- cb: (err: any, data?: GetReservationUtilizationCommandOutput) => void
799
- ): void;
800
- public getReservationUtilization(
801
- args: GetReservationUtilizationCommandInput,
802
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetReservationUtilizationCommandOutput) => void),
803
- cb?: (err: any, data?: GetReservationUtilizationCommandOutput) => void
804
- ): Promise<GetReservationUtilizationCommandOutput> | void {
805
- const command = new GetReservationUtilizationCommand(args);
806
- if (typeof optionsOrCb === "function") {
807
- this.send(command, optionsOrCb);
808
- } else if (typeof cb === "function") {
809
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
810
- this.send(command, optionsOrCb || {}, cb);
811
- } else {
812
- return this.send(command, optionsOrCb);
813
- }
814
- }
815
-
816
- /**
817
- * <p>Creates recommendations that
818
- * help you save cost
819
- * by identifying idle and underutilized Amazon EC2 instances.</p>
820
- * <p>Recommendations are generated to either downsize or terminate instances, along with
821
- * providing savings detail and metrics. For details on calculation and function, see
822
- * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html">Optimizing
823
- * Your Cost with Rightsizing
824
- * Recommendations</a>
825
- * in the <i>Billing and Cost Management User
826
- * Guide</i>.</p>
827
- */
828
- public getRightsizingRecommendation(
829
- args: GetRightsizingRecommendationCommandInput,
830
- options?: __HttpHandlerOptions
831
- ): Promise<GetRightsizingRecommendationCommandOutput>;
832
- public getRightsizingRecommendation(
833
- args: GetRightsizingRecommendationCommandInput,
834
- cb: (err: any, data?: GetRightsizingRecommendationCommandOutput) => void
835
- ): void;
836
- public getRightsizingRecommendation(
837
- args: GetRightsizingRecommendationCommandInput,
838
- options: __HttpHandlerOptions,
839
- cb: (err: any, data?: GetRightsizingRecommendationCommandOutput) => void
840
- ): void;
841
- public getRightsizingRecommendation(
842
- args: GetRightsizingRecommendationCommandInput,
843
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRightsizingRecommendationCommandOutput) => void),
844
- cb?: (err: any, data?: GetRightsizingRecommendationCommandOutput) => void
845
- ): Promise<GetRightsizingRecommendationCommandOutput> | void {
846
- const command = new GetRightsizingRecommendationCommand(args);
847
- if (typeof optionsOrCb === "function") {
848
- this.send(command, optionsOrCb);
849
- } else if (typeof cb === "function") {
850
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
851
- this.send(command, optionsOrCb || {}, cb);
852
- } else {
853
- return this.send(command, optionsOrCb);
854
- }
855
- }
856
-
857
- /**
858
- * <p>Retrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data for Savings Plans usage with the following dimensions:</p>
859
- * <ul>
860
- * <li>
861
- * <p>
862
- * <code>LINKED_ACCOUNT</code>
863
- * </p>
864
- * </li>
865
- * <li>
866
- * <p>
867
- * <code>REGION</code>
868
- * </p>
869
- * </li>
870
- * <li>
871
- * <p>
872
- * <code>SERVICE</code>
873
- * </p>
874
- * </li>
875
- * <li>
876
- * <p>
877
- * <code>INSTANCE_FAMILY</code>
878
- * </p>
879
- * </li>
880
- * </ul>
881
- * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation.</p>
882
- */
883
- public getSavingsPlansCoverage(
884
- args: GetSavingsPlansCoverageCommandInput,
885
- options?: __HttpHandlerOptions
886
- ): Promise<GetSavingsPlansCoverageCommandOutput>;
887
- public getSavingsPlansCoverage(
888
- args: GetSavingsPlansCoverageCommandInput,
889
- cb: (err: any, data?: GetSavingsPlansCoverageCommandOutput) => void
890
- ): void;
891
- public getSavingsPlansCoverage(
892
- args: GetSavingsPlansCoverageCommandInput,
893
- options: __HttpHandlerOptions,
894
- cb: (err: any, data?: GetSavingsPlansCoverageCommandOutput) => void
895
- ): void;
896
- public getSavingsPlansCoverage(
897
- args: GetSavingsPlansCoverageCommandInput,
898
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSavingsPlansCoverageCommandOutput) => void),
899
- cb?: (err: any, data?: GetSavingsPlansCoverageCommandOutput) => void
900
- ): Promise<GetSavingsPlansCoverageCommandOutput> | void {
901
- const command = new GetSavingsPlansCoverageCommand(args);
902
- if (typeof optionsOrCb === "function") {
903
- this.send(command, optionsOrCb);
904
- } else if (typeof cb === "function") {
905
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
906
- this.send(command, optionsOrCb || {}, cb);
907
- } else {
908
- return this.send(command, optionsOrCb);
909
- }
910
- }
911
-
912
- /**
913
- * <p>Retrieves your request parameters, Savings Plan Recommendations Summary and Details. </p>
914
- */
915
- public getSavingsPlansPurchaseRecommendation(
916
- args: GetSavingsPlansPurchaseRecommendationCommandInput,
917
- options?: __HttpHandlerOptions
918
- ): Promise<GetSavingsPlansPurchaseRecommendationCommandOutput>;
919
- public getSavingsPlansPurchaseRecommendation(
920
- args: GetSavingsPlansPurchaseRecommendationCommandInput,
921
- cb: (err: any, data?: GetSavingsPlansPurchaseRecommendationCommandOutput) => void
922
- ): void;
923
- public getSavingsPlansPurchaseRecommendation(
924
- args: GetSavingsPlansPurchaseRecommendationCommandInput,
925
- options: __HttpHandlerOptions,
926
- cb: (err: any, data?: GetSavingsPlansPurchaseRecommendationCommandOutput) => void
927
- ): void;
928
- public getSavingsPlansPurchaseRecommendation(
929
- args: GetSavingsPlansPurchaseRecommendationCommandInput,
930
- optionsOrCb?:
931
- | __HttpHandlerOptions
932
- | ((err: any, data?: GetSavingsPlansPurchaseRecommendationCommandOutput) => void),
933
- cb?: (err: any, data?: GetSavingsPlansPurchaseRecommendationCommandOutput) => void
934
- ): Promise<GetSavingsPlansPurchaseRecommendationCommandOutput> | void {
935
- const command = new GetSavingsPlansPurchaseRecommendationCommand(args);
936
- if (typeof optionsOrCb === "function") {
937
- this.send(command, optionsOrCb);
938
- } else if (typeof cb === "function") {
939
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
940
- this.send(command, optionsOrCb || {}, cb);
941
- } else {
942
- return this.send(command, optionsOrCb);
943
- }
944
- }
945
-
946
- /**
947
- * <p>Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p>
948
- * <note>
949
- * <p>You cannot group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p>
950
- * </note>
951
- */
952
- public getSavingsPlansUtilization(
953
- args: GetSavingsPlansUtilizationCommandInput,
954
- options?: __HttpHandlerOptions
955
- ): Promise<GetSavingsPlansUtilizationCommandOutput>;
956
- public getSavingsPlansUtilization(
957
- args: GetSavingsPlansUtilizationCommandInput,
958
- cb: (err: any, data?: GetSavingsPlansUtilizationCommandOutput) => void
959
- ): void;
960
- public getSavingsPlansUtilization(
961
- args: GetSavingsPlansUtilizationCommandInput,
962
- options: __HttpHandlerOptions,
963
- cb: (err: any, data?: GetSavingsPlansUtilizationCommandOutput) => void
964
- ): void;
965
- public getSavingsPlansUtilization(
966
- args: GetSavingsPlansUtilizationCommandInput,
967
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSavingsPlansUtilizationCommandOutput) => void),
968
- cb?: (err: any, data?: GetSavingsPlansUtilizationCommandOutput) => void
969
- ): Promise<GetSavingsPlansUtilizationCommandOutput> | void {
970
- const command = new GetSavingsPlansUtilizationCommand(args);
971
- if (typeof optionsOrCb === "function") {
972
- this.send(command, optionsOrCb);
973
- } else if (typeof cb === "function") {
974
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
975
- this.send(command, optionsOrCb || {}, cb);
976
- } else {
977
- return this.send(command, optionsOrCb);
978
- }
979
- }
980
-
981
- /**
982
- * <p>Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to <code>GetSavingsPlanUtilization</code>, but you have the option to make multiple calls to <code>GetSavingsPlanUtilizationDetails</code> by providing individual dates. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p>
983
- * <note>
984
- * <p>
985
- * <code>GetSavingsPlanUtilizationDetails</code> internally groups data by <code>SavingsPlansArn</code>.</p>
986
- * </note>
987
- */
988
- public getSavingsPlansUtilizationDetails(
989
- args: GetSavingsPlansUtilizationDetailsCommandInput,
990
- options?: __HttpHandlerOptions
991
- ): Promise<GetSavingsPlansUtilizationDetailsCommandOutput>;
992
- public getSavingsPlansUtilizationDetails(
993
- args: GetSavingsPlansUtilizationDetailsCommandInput,
994
- cb: (err: any, data?: GetSavingsPlansUtilizationDetailsCommandOutput) => void
995
- ): void;
996
- public getSavingsPlansUtilizationDetails(
997
- args: GetSavingsPlansUtilizationDetailsCommandInput,
998
- options: __HttpHandlerOptions,
999
- cb: (err: any, data?: GetSavingsPlansUtilizationDetailsCommandOutput) => void
1000
- ): void;
1001
- public getSavingsPlansUtilizationDetails(
1002
- args: GetSavingsPlansUtilizationDetailsCommandInput,
1003
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSavingsPlansUtilizationDetailsCommandOutput) => void),
1004
- cb?: (err: any, data?: GetSavingsPlansUtilizationDetailsCommandOutput) => void
1005
- ): Promise<GetSavingsPlansUtilizationDetailsCommandOutput> | void {
1006
- const command = new GetSavingsPlansUtilizationDetailsCommand(args);
1007
- if (typeof optionsOrCb === "function") {
1008
- this.send(command, optionsOrCb);
1009
- } else if (typeof cb === "function") {
1010
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1011
- this.send(command, optionsOrCb || {}, cb);
1012
- } else {
1013
- return this.send(command, optionsOrCb);
1014
- }
1015
- }
1016
-
1017
- /**
1018
- * <p>Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. </p>
1019
- */
1020
- public getTags(args: GetTagsCommandInput, options?: __HttpHandlerOptions): Promise<GetTagsCommandOutput>;
1021
- public getTags(args: GetTagsCommandInput, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
1022
- public getTags(
1023
- args: GetTagsCommandInput,
1024
- options: __HttpHandlerOptions,
1025
- cb: (err: any, data?: GetTagsCommandOutput) => void
1026
- ): void;
1027
- public getTags(
1028
- args: GetTagsCommandInput,
1029
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetTagsCommandOutput) => void),
1030
- cb?: (err: any, data?: GetTagsCommandOutput) => void
1031
- ): Promise<GetTagsCommandOutput> | void {
1032
- const command = new GetTagsCommand(args);
1033
- if (typeof optionsOrCb === "function") {
1034
- this.send(command, optionsOrCb);
1035
- } else if (typeof cb === "function") {
1036
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1037
- this.send(command, optionsOrCb || {}, cb);
1038
- } else {
1039
- return this.send(command, optionsOrCb);
1040
- }
1041
- }
1042
-
1043
- /**
1044
- * <p>Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage. </p>
1045
- */
1046
- public getUsageForecast(
1047
- args: GetUsageForecastCommandInput,
1048
- options?: __HttpHandlerOptions
1049
- ): Promise<GetUsageForecastCommandOutput>;
1050
- public getUsageForecast(
1051
- args: GetUsageForecastCommandInput,
1052
- cb: (err: any, data?: GetUsageForecastCommandOutput) => void
1053
- ): void;
1054
- public getUsageForecast(
1055
- args: GetUsageForecastCommandInput,
1056
- options: __HttpHandlerOptions,
1057
- cb: (err: any, data?: GetUsageForecastCommandOutput) => void
1058
- ): void;
1059
- public getUsageForecast(
1060
- args: GetUsageForecastCommandInput,
1061
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetUsageForecastCommandOutput) => void),
1062
- cb?: (err: any, data?: GetUsageForecastCommandOutput) => void
1063
- ): Promise<GetUsageForecastCommandOutput> | void {
1064
- const command = new GetUsageForecastCommand(args);
1065
- if (typeof optionsOrCb === "function") {
1066
- this.send(command, optionsOrCb);
1067
- } else if (typeof cb === "function") {
1068
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1069
- this.send(command, optionsOrCb || {}, cb);
1070
- } else {
1071
- return this.send(command, optionsOrCb);
1072
- }
1073
- }
1074
-
1075
- /**
1076
- * <p>Returns the name, ARN, <code>NumberOfRules</code> and effective dates of all Cost Categories defined in the account. You have the option to use <code>EffectiveOn</code> to return a list of Cost Categories that were active on a specific date. If there is no <code>EffectiveOn</code> specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, <code>EffectiveEnd</code> is omitted in the response. <code>ListCostCategoryDefinitions</code> supports pagination. The request can have a <code>MaxResults</code> range up to 100.</p>
1077
- */
1078
- public listCostCategoryDefinitions(
1079
- args: ListCostCategoryDefinitionsCommandInput,
1080
- options?: __HttpHandlerOptions
1081
- ): Promise<ListCostCategoryDefinitionsCommandOutput>;
1082
- public listCostCategoryDefinitions(
1083
- args: ListCostCategoryDefinitionsCommandInput,
1084
- cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void
1085
- ): void;
1086
- public listCostCategoryDefinitions(
1087
- args: ListCostCategoryDefinitionsCommandInput,
1088
- options: __HttpHandlerOptions,
1089
- cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void
1090
- ): void;
1091
- public listCostCategoryDefinitions(
1092
- args: ListCostCategoryDefinitionsCommandInput,
1093
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void),
1094
- cb?: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void
1095
- ): Promise<ListCostCategoryDefinitionsCommandOutput> | void {
1096
- const command = new ListCostCategoryDefinitionsCommand(args);
1097
- if (typeof optionsOrCb === "function") {
1098
- this.send(command, optionsOrCb);
1099
- } else if (typeof cb === "function") {
1100
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1101
- this.send(command, optionsOrCb || {}, cb);
1102
- } else {
1103
- return this.send(command, optionsOrCb);
1104
- }
1105
- }
1106
-
1107
- /**
1108
- * <p>Modifies the feedback property of a given cost anomaly. </p>
1109
- */
1110
- public provideAnomalyFeedback(
1111
- args: ProvideAnomalyFeedbackCommandInput,
1112
- options?: __HttpHandlerOptions
1113
- ): Promise<ProvideAnomalyFeedbackCommandOutput>;
1114
- public provideAnomalyFeedback(
1115
- args: ProvideAnomalyFeedbackCommandInput,
1116
- cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void
1117
- ): void;
1118
- public provideAnomalyFeedback(
1119
- args: ProvideAnomalyFeedbackCommandInput,
1120
- options: __HttpHandlerOptions,
1121
- cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void
1122
- ): void;
1123
- public provideAnomalyFeedback(
1124
- args: ProvideAnomalyFeedbackCommandInput,
1125
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void),
1126
- cb?: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void
1127
- ): Promise<ProvideAnomalyFeedbackCommandOutput> | void {
1128
- const command = new ProvideAnomalyFeedbackCommand(args);
1129
- if (typeof optionsOrCb === "function") {
1130
- this.send(command, optionsOrCb);
1131
- } else if (typeof cb === "function") {
1132
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1133
- this.send(command, optionsOrCb || {}, cb);
1134
- } else {
1135
- return this.send(command, optionsOrCb);
1136
- }
1137
- }
1138
-
1139
- /**
1140
- * <p>Updates an existing cost anomaly monitor. The changes made are applied going forward, and
1141
- * doesn'tt change anomalies detected in the past. </p>
1142
- */
1143
- public updateAnomalyMonitor(
1144
- args: UpdateAnomalyMonitorCommandInput,
1145
- options?: __HttpHandlerOptions
1146
- ): Promise<UpdateAnomalyMonitorCommandOutput>;
1147
- public updateAnomalyMonitor(
1148
- args: UpdateAnomalyMonitorCommandInput,
1149
- cb: (err: any, data?: UpdateAnomalyMonitorCommandOutput) => void
1150
- ): void;
1151
- public updateAnomalyMonitor(
1152
- args: UpdateAnomalyMonitorCommandInput,
1153
- options: __HttpHandlerOptions,
1154
- cb: (err: any, data?: UpdateAnomalyMonitorCommandOutput) => void
1155
- ): void;
1156
- public updateAnomalyMonitor(
1157
- args: UpdateAnomalyMonitorCommandInput,
1158
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAnomalyMonitorCommandOutput) => void),
1159
- cb?: (err: any, data?: UpdateAnomalyMonitorCommandOutput) => void
1160
- ): Promise<UpdateAnomalyMonitorCommandOutput> | void {
1161
- const command = new UpdateAnomalyMonitorCommand(args);
1162
- if (typeof optionsOrCb === "function") {
1163
- this.send(command, optionsOrCb);
1164
- } else if (typeof cb === "function") {
1165
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1166
- this.send(command, optionsOrCb || {}, cb);
1167
- } else {
1168
- return this.send(command, optionsOrCb);
1169
- }
1170
- }
1171
-
1172
- /**
1173
- * <p>Updates an existing cost anomaly monitor subscription. </p>
1174
- */
1175
- public updateAnomalySubscription(
1176
- args: UpdateAnomalySubscriptionCommandInput,
1177
- options?: __HttpHandlerOptions
1178
- ): Promise<UpdateAnomalySubscriptionCommandOutput>;
1179
- public updateAnomalySubscription(
1180
- args: UpdateAnomalySubscriptionCommandInput,
1181
- cb: (err: any, data?: UpdateAnomalySubscriptionCommandOutput) => void
1182
- ): void;
1183
- public updateAnomalySubscription(
1184
- args: UpdateAnomalySubscriptionCommandInput,
1185
- options: __HttpHandlerOptions,
1186
- cb: (err: any, data?: UpdateAnomalySubscriptionCommandOutput) => void
1187
- ): void;
1188
- public updateAnomalySubscription(
1189
- args: UpdateAnomalySubscriptionCommandInput,
1190
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAnomalySubscriptionCommandOutput) => void),
1191
- cb?: (err: any, data?: UpdateAnomalySubscriptionCommandOutput) => void
1192
- ): Promise<UpdateAnomalySubscriptionCommandOutput> | void {
1193
- const command = new UpdateAnomalySubscriptionCommand(args);
1194
- if (typeof optionsOrCb === "function") {
1195
- this.send(command, optionsOrCb);
1196
- } else if (typeof cb === "function") {
1197
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1198
- this.send(command, optionsOrCb || {}, cb);
1199
- } else {
1200
- return this.send(command, optionsOrCb);
1201
- }
1202
- }
1203
-
1204
- /**
1205
- * <p>Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current month’s expenses and future expenses. This won’t change categorization for the previous months.</p>
1206
- */
1207
- public updateCostCategoryDefinition(
1208
- args: UpdateCostCategoryDefinitionCommandInput,
1209
- options?: __HttpHandlerOptions
1210
- ): Promise<UpdateCostCategoryDefinitionCommandOutput>;
1211
- public updateCostCategoryDefinition(
1212
- args: UpdateCostCategoryDefinitionCommandInput,
1213
- cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void
1214
- ): void;
1215
- public updateCostCategoryDefinition(
1216
- args: UpdateCostCategoryDefinitionCommandInput,
1217
- options: __HttpHandlerOptions,
1218
- cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void
1219
- ): void;
1220
- public updateCostCategoryDefinition(
1221
- args: UpdateCostCategoryDefinitionCommandInput,
1222
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void),
1223
- cb?: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void
1224
- ): Promise<UpdateCostCategoryDefinitionCommandOutput> | void {
1225
- const command = new UpdateCostCategoryDefinitionCommand(args);
1226
- if (typeof optionsOrCb === "function") {
1227
- this.send(command, optionsOrCb);
1228
- } else if (typeof cb === "function") {
1229
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1230
- this.send(command, optionsOrCb || {}, cb);
1231
- } else {
1232
- return this.send(command, optionsOrCb);
1233
- }
1234
- }
1235
- }