@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
@@ -1,100 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { GetSavingsPlansUtilizationRequest, GetSavingsPlansUtilizationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetSavingsPlansUtilizationCommand,
5
- serializeAws_json1_1GetSavingsPlansUtilizationCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetSavingsPlansUtilizationCommandInput extends GetSavingsPlansUtilizationRequest {}
21
- export interface GetSavingsPlansUtilizationCommandOutput extends GetSavingsPlansUtilizationResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <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>
25
- * <note>
26
- * <p>You cannot group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p>
27
- * </note>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { CostExplorerClient, GetSavingsPlansUtilizationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
32
- * // const { CostExplorerClient, GetSavingsPlansUtilizationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
33
- * const client = new CostExplorerClient(config);
34
- * const command = new GetSavingsPlansUtilizationCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link GetSavingsPlansUtilizationCommandInput} for command's `input` shape.
39
- * @see {@link GetSavingsPlansUtilizationCommandOutput} for command's `response` shape.
40
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class GetSavingsPlansUtilizationCommand extends $Command<
44
- GetSavingsPlansUtilizationCommandInput,
45
- GetSavingsPlansUtilizationCommandOutput,
46
- CostExplorerClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: GetSavingsPlansUtilizationCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: CostExplorerClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<GetSavingsPlansUtilizationCommandInput, GetSavingsPlansUtilizationCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "CostExplorerClient";
71
- const commandName = "GetSavingsPlansUtilizationCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: GetSavingsPlansUtilizationRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: GetSavingsPlansUtilizationResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: GetSavingsPlansUtilizationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1GetSavingsPlansUtilizationCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<GetSavingsPlansUtilizationCommandOutput> {
95
- return deserializeAws_json1_1GetSavingsPlansUtilizationCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,109 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import {
3
- GetSavingsPlansUtilizationDetailsRequest,
4
- GetSavingsPlansUtilizationDetailsResponse,
5
- } from "../models/models_0";
6
- import {
7
- deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand,
8
- serializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand,
9
- } from "../protocols/Aws_json1_1";
10
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
11
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
12
- import { Command as $Command } from "@aws-sdk/smithy-client";
13
- import {
14
- FinalizeHandlerArguments,
15
- Handler,
16
- HandlerExecutionContext,
17
- MiddlewareStack,
18
- HttpHandlerOptions as __HttpHandlerOptions,
19
- MetadataBearer as __MetadataBearer,
20
- SerdeContext as __SerdeContext,
21
- } from "@aws-sdk/types";
22
-
23
- export interface GetSavingsPlansUtilizationDetailsCommandInput extends GetSavingsPlansUtilizationDetailsRequest {}
24
- export interface GetSavingsPlansUtilizationDetailsCommandOutput
25
- extends GetSavingsPlansUtilizationDetailsResponse,
26
- __MetadataBearer {}
27
-
28
- /**
29
- * <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>
30
- * <note>
31
- * <p>
32
- * <code>GetSavingsPlanUtilizationDetails</code> internally groups data by <code>SavingsPlansArn</code>.</p>
33
- * </note>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
38
- * // const { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
39
- * const client = new CostExplorerClient(config);
40
- * const command = new GetSavingsPlansUtilizationDetailsCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link GetSavingsPlansUtilizationDetailsCommandInput} for command's `input` shape.
45
- * @see {@link GetSavingsPlansUtilizationDetailsCommandOutput} for command's `response` shape.
46
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class GetSavingsPlansUtilizationDetailsCommand extends $Command<
50
- GetSavingsPlansUtilizationDetailsCommandInput,
51
- GetSavingsPlansUtilizationDetailsCommandOutput,
52
- CostExplorerClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: GetSavingsPlansUtilizationDetailsCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: CostExplorerClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizationDetailsCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "CostExplorerClient";
77
- const commandName = "GetSavingsPlansUtilizationDetailsCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: GetSavingsPlansUtilizationDetailsRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: GetSavingsPlansUtilizationDetailsResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(
94
- input: GetSavingsPlansUtilizationDetailsCommandInput,
95
- context: __SerdeContext
96
- ): Promise<__HttpRequest> {
97
- return serializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand(input, context);
98
- }
99
-
100
- private deserialize(
101
- output: __HttpResponse,
102
- context: __SerdeContext
103
- ): Promise<GetSavingsPlansUtilizationDetailsCommandOutput> {
104
- return deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand(output, context);
105
- }
106
-
107
- // Start section: command_body_extra
108
- // End section: command_body_extra
109
- }
@@ -1,91 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { GetTagsRequest, GetTagsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1GetTagsCommand, serializeAws_json1_1GetTagsCommand } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface GetTagsCommandInput extends GetTagsRequest {}
18
- export interface GetTagsCommandOutput extends GetTagsResponse, __MetadataBearer {}
19
-
20
- /**
21
- * <p>Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. </p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { CostExplorerClient, GetTagsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
26
- * // const { CostExplorerClient, GetTagsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
27
- * const client = new CostExplorerClient(config);
28
- * const command = new GetTagsCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link GetTagsCommandInput} for command's `input` shape.
33
- * @see {@link GetTagsCommandOutput} for command's `response` shape.
34
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
- export class GetTagsCommand extends $Command<
38
- GetTagsCommandInput,
39
- GetTagsCommandOutput,
40
- CostExplorerClientResolvedConfig
41
- > {
42
- // Start section: command_properties
43
- // End section: command_properties
44
-
45
- constructor(readonly input: GetTagsCommandInput) {
46
- // Start section: command_constructor
47
- super();
48
- // End section: command_constructor
49
- }
50
-
51
- /**
52
- * @internal
53
- */
54
- resolveMiddleware(
55
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
56
- configuration: CostExplorerClientResolvedConfig,
57
- options?: __HttpHandlerOptions
58
- ): Handler<GetTagsCommandInput, GetTagsCommandOutput> {
59
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
60
-
61
- const stack = clientStack.concat(this.middlewareStack);
62
-
63
- const { logger } = configuration;
64
- const clientName = "CostExplorerClient";
65
- const commandName = "GetTagsCommand";
66
- const handlerExecutionContext: HandlerExecutionContext = {
67
- logger,
68
- clientName,
69
- commandName,
70
- inputFilterSensitiveLog: GetTagsRequest.filterSensitiveLog,
71
- outputFilterSensitiveLog: GetTagsResponse.filterSensitiveLog,
72
- };
73
- const { requestHandler } = configuration;
74
- return stack.resolve(
75
- (request: FinalizeHandlerArguments<any>) =>
76
- requestHandler.handle(request.request as __HttpRequest, options || {}),
77
- handlerExecutionContext
78
- );
79
- }
80
-
81
- private serialize(input: GetTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
82
- return serializeAws_json1_1GetTagsCommand(input, context);
83
- }
84
-
85
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetTagsCommandOutput> {
86
- return deserializeAws_json1_1GetTagsCommand(output, context);
87
- }
88
-
89
- // Start section: command_body_extra
90
- // End section: command_body_extra
91
- }
@@ -1,94 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { GetUsageForecastRequest, GetUsageForecastResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetUsageForecastCommand,
5
- serializeAws_json1_1GetUsageForecastCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetUsageForecastCommandInput extends GetUsageForecastRequest {}
21
- export interface GetUsageForecastCommandOutput extends GetUsageForecastResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <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>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CostExplorerClient, GetUsageForecastCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
29
- * // const { CostExplorerClient, GetUsageForecastCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
30
- * const client = new CostExplorerClient(config);
31
- * const command = new GetUsageForecastCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetUsageForecastCommandInput} for command's `input` shape.
36
- * @see {@link GetUsageForecastCommandOutput} for command's `response` shape.
37
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetUsageForecastCommand extends $Command<
41
- GetUsageForecastCommandInput,
42
- GetUsageForecastCommandOutput,
43
- CostExplorerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetUsageForecastCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CostExplorerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetUsageForecastCommandInput, GetUsageForecastCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CostExplorerClient";
68
- const commandName = "GetUsageForecastCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetUsageForecastRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetUsageForecastResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetUsageForecastCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1GetUsageForecastCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetUsageForecastCommandOutput> {
89
- return deserializeAws_json1_1GetUsageForecastCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,99 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { ListCostCategoryDefinitionsRequest, ListCostCategoryDefinitionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListCostCategoryDefinitionsCommand,
5
- serializeAws_json1_1ListCostCategoryDefinitionsCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListCostCategoryDefinitionsCommandInput extends ListCostCategoryDefinitionsRequest {}
21
- export interface ListCostCategoryDefinitionsCommandOutput
22
- extends ListCostCategoryDefinitionsResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <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>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { CostExplorerClient, ListCostCategoryDefinitionsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
31
- * // const { CostExplorerClient, ListCostCategoryDefinitionsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
32
- * const client = new CostExplorerClient(config);
33
- * const command = new ListCostCategoryDefinitionsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListCostCategoryDefinitionsCommandInput} for command's `input` shape.
38
- * @see {@link ListCostCategoryDefinitionsCommandOutput} for command's `response` shape.
39
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListCostCategoryDefinitionsCommand extends $Command<
43
- ListCostCategoryDefinitionsCommandInput,
44
- ListCostCategoryDefinitionsCommandOutput,
45
- CostExplorerClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListCostCategoryDefinitionsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: CostExplorerClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "CostExplorerClient";
70
- const commandName = "ListCostCategoryDefinitionsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListCostCategoryDefinitionsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListCostCategoryDefinitionsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListCostCategoryDefinitionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1ListCostCategoryDefinitionsCommand(input, context);
88
- }
89
-
90
- private deserialize(
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ): Promise<ListCostCategoryDefinitionsCommandOutput> {
94
- return deserializeAws_json1_1ListCostCategoryDefinitionsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,94 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { ProvideAnomalyFeedbackRequest, ProvideAnomalyFeedbackResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ProvideAnomalyFeedbackCommand,
5
- serializeAws_json1_1ProvideAnomalyFeedbackCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ProvideAnomalyFeedbackCommandInput extends ProvideAnomalyFeedbackRequest {}
21
- export interface ProvideAnomalyFeedbackCommandOutput extends ProvideAnomalyFeedbackResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Modifies the feedback property of a given cost anomaly. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CostExplorerClient, ProvideAnomalyFeedbackCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
29
- * // const { CostExplorerClient, ProvideAnomalyFeedbackCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
30
- * const client = new CostExplorerClient(config);
31
- * const command = new ProvideAnomalyFeedbackCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ProvideAnomalyFeedbackCommandInput} for command's `input` shape.
36
- * @see {@link ProvideAnomalyFeedbackCommandOutput} for command's `response` shape.
37
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ProvideAnomalyFeedbackCommand extends $Command<
41
- ProvideAnomalyFeedbackCommandInput,
42
- ProvideAnomalyFeedbackCommandOutput,
43
- CostExplorerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ProvideAnomalyFeedbackCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CostExplorerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CostExplorerClient";
68
- const commandName = "ProvideAnomalyFeedbackCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ProvideAnomalyFeedbackRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ProvideAnomalyFeedbackResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ProvideAnomalyFeedbackCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1ProvideAnomalyFeedbackCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ProvideAnomalyFeedbackCommandOutput> {
89
- return deserializeAws_json1_1ProvideAnomalyFeedbackCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }