@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,135 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { GetReservationCoverageRequest, GetReservationCoverageResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetReservationCoverageCommand,
5
- serializeAws_json1_1GetReservationCoverageCommand,
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 GetReservationCoverageCommandInput extends GetReservationCoverageRequest {}
21
- export interface GetReservationCoverageCommandOutput extends GetReservationCoverageResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <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
25
- * 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.
26
- * For any time period, you can filter data about reservation usage by the following dimensions:</p>
27
- * <ul>
28
- * <li>
29
- * <p>AZ</p>
30
- * </li>
31
- * <li>
32
- * <p>CACHE_ENGINE</p>
33
- * </li>
34
- * <li>
35
- * <p>DATABASE_ENGINE</p>
36
- * </li>
37
- * <li>
38
- * <p>DEPLOYMENT_OPTION</p>
39
- * </li>
40
- * <li>
41
- * <p>INSTANCE_TYPE</p>
42
- * </li>
43
- * <li>
44
- * <p>LINKED_ACCOUNT</p>
45
- * </li>
46
- * <li>
47
- * <p>OPERATING_SYSTEM</p>
48
- * </li>
49
- * <li>
50
- * <p>PLATFORM</p>
51
- * </li>
52
- * <li>
53
- * <p>REGION</p>
54
- * </li>
55
- * <li>
56
- * <p>SERVICE</p>
57
- * </li>
58
- * <li>
59
- * <p>TAG</p>
60
- * </li>
61
- * <li>
62
- * <p>TENANCY</p>
63
- * </li>
64
- * </ul>
65
- * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation. </p>
66
- * @example
67
- * Use a bare-bones client and the command you need to make an API call.
68
- * ```javascript
69
- * import { CostExplorerClient, GetReservationCoverageCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
70
- * // const { CostExplorerClient, GetReservationCoverageCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
71
- * const client = new CostExplorerClient(config);
72
- * const command = new GetReservationCoverageCommand(input);
73
- * const response = await client.send(command);
74
- * ```
75
- *
76
- * @see {@link GetReservationCoverageCommandInput} for command's `input` shape.
77
- * @see {@link GetReservationCoverageCommandOutput} for command's `response` shape.
78
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
79
- *
80
- */
81
- export class GetReservationCoverageCommand extends $Command<
82
- GetReservationCoverageCommandInput,
83
- GetReservationCoverageCommandOutput,
84
- CostExplorerClientResolvedConfig
85
- > {
86
- // Start section: command_properties
87
- // End section: command_properties
88
-
89
- constructor(readonly input: GetReservationCoverageCommandInput) {
90
- // Start section: command_constructor
91
- super();
92
- // End section: command_constructor
93
- }
94
-
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(
99
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
100
- configuration: CostExplorerClientResolvedConfig,
101
- options?: __HttpHandlerOptions
102
- ): Handler<GetReservationCoverageCommandInput, GetReservationCoverageCommandOutput> {
103
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
104
-
105
- const stack = clientStack.concat(this.middlewareStack);
106
-
107
- const { logger } = configuration;
108
- const clientName = "CostExplorerClient";
109
- const commandName = "GetReservationCoverageCommand";
110
- const handlerExecutionContext: HandlerExecutionContext = {
111
- logger,
112
- clientName,
113
- commandName,
114
- inputFilterSensitiveLog: GetReservationCoverageRequest.filterSensitiveLog,
115
- outputFilterSensitiveLog: GetReservationCoverageResponse.filterSensitiveLog,
116
- };
117
- const { requestHandler } = configuration;
118
- return stack.resolve(
119
- (request: FinalizeHandlerArguments<any>) =>
120
- requestHandler.handle(request.request as __HttpRequest, options || {}),
121
- handlerExecutionContext
122
- );
123
- }
124
-
125
- private serialize(input: GetReservationCoverageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
126
- return serializeAws_json1_1GetReservationCoverageCommand(input, context);
127
- }
128
-
129
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetReservationCoverageCommandOutput> {
130
- return deserializeAws_json1_1GetReservationCoverageCommand(output, context);
131
- }
132
-
133
- // Start section: command_body_extra
134
- // End section: command_body_extra
135
- }
@@ -1,114 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import {
3
- GetReservationPurchaseRecommendationRequest,
4
- GetReservationPurchaseRecommendationResponse,
5
- } from "../models/models_0";
6
- import {
7
- deserializeAws_json1_1GetReservationPurchaseRecommendationCommand,
8
- serializeAws_json1_1GetReservationPurchaseRecommendationCommand,
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 GetReservationPurchaseRecommendationCommandInput extends GetReservationPurchaseRecommendationRequest {}
24
- export interface GetReservationPurchaseRecommendationCommandOutput
25
- extends GetReservationPurchaseRecommendationResponse,
26
- __MetadataBearer {}
27
-
28
- /**
29
- * <p>Gets recommendations for which reservations to purchase. These recommendations could help you reduce your costs.
30
- * Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing.</p>
31
- * <p>Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage
32
- * into categories that are eligible for a reservation. After Amazon Web Services has these categories, it simulates every combination of reservations
33
- * in each category of usage to identify the best number of each type of RI to purchase to maximize your estimated savings. </p>
34
- * <p>For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family usage in the US West (Oregon) Region
35
- * and recommends that you buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services recommends the smallest size instance
36
- * 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
37
- * so that you can purchase any instance size that you want. For this example, your RI recommendation would be for <code>c4.large</code>
38
- * because that is the smallest size instance in the c4 instance family.</p>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { CostExplorerClient, GetReservationPurchaseRecommendationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
43
- * // const { CostExplorerClient, GetReservationPurchaseRecommendationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
44
- * const client = new CostExplorerClient(config);
45
- * const command = new GetReservationPurchaseRecommendationCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link GetReservationPurchaseRecommendationCommandInput} for command's `input` shape.
50
- * @see {@link GetReservationPurchaseRecommendationCommandOutput} for command's `response` shape.
51
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class GetReservationPurchaseRecommendationCommand extends $Command<
55
- GetReservationPurchaseRecommendationCommandInput,
56
- GetReservationPurchaseRecommendationCommandOutput,
57
- CostExplorerClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: GetReservationPurchaseRecommendationCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: CostExplorerClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<GetReservationPurchaseRecommendationCommandInput, GetReservationPurchaseRecommendationCommandOutput> {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
-
78
- const stack = clientStack.concat(this.middlewareStack);
79
-
80
- const { logger } = configuration;
81
- const clientName = "CostExplorerClient";
82
- const commandName = "GetReservationPurchaseRecommendationCommand";
83
- const handlerExecutionContext: HandlerExecutionContext = {
84
- logger,
85
- clientName,
86
- commandName,
87
- inputFilterSensitiveLog: GetReservationPurchaseRecommendationRequest.filterSensitiveLog,
88
- outputFilterSensitiveLog: GetReservationPurchaseRecommendationResponse.filterSensitiveLog,
89
- };
90
- const { requestHandler } = configuration;
91
- return stack.resolve(
92
- (request: FinalizeHandlerArguments<any>) =>
93
- requestHandler.handle(request.request as __HttpRequest, options || {}),
94
- handlerExecutionContext
95
- );
96
- }
97
-
98
- private serialize(
99
- input: GetReservationPurchaseRecommendationCommandInput,
100
- context: __SerdeContext
101
- ): Promise<__HttpRequest> {
102
- return serializeAws_json1_1GetReservationPurchaseRecommendationCommand(input, context);
103
- }
104
-
105
- private deserialize(
106
- output: __HttpResponse,
107
- context: __SerdeContext
108
- ): Promise<GetReservationPurchaseRecommendationCommandOutput> {
109
- return deserializeAws_json1_1GetReservationPurchaseRecommendationCommand(output, context);
110
- }
111
-
112
- // Start section: command_body_extra
113
- // End section: command_body_extra
114
- }
@@ -1,99 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { GetReservationUtilizationRequest, GetReservationUtilizationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetReservationUtilizationCommand,
5
- serializeAws_json1_1GetReservationUtilizationCommand,
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 GetReservationUtilizationCommandInput extends GetReservationUtilizationRequest {}
21
- export interface GetReservationUtilizationCommandOutput extends GetReservationUtilizationResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves the reservation utilization for your account. Management account in an organization have access to member accounts.
25
- * You can filter data by dimensions in a time period. You can use <code>GetDimensionValues</code> to determine the possible
26
- * dimension values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { CostExplorerClient, GetReservationUtilizationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
31
- * // const { CostExplorerClient, GetReservationUtilizationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
32
- * const client = new CostExplorerClient(config);
33
- * const command = new GetReservationUtilizationCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link GetReservationUtilizationCommandInput} for command's `input` shape.
38
- * @see {@link GetReservationUtilizationCommandOutput} for command's `response` shape.
39
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class GetReservationUtilizationCommand extends $Command<
43
- GetReservationUtilizationCommandInput,
44
- GetReservationUtilizationCommandOutput,
45
- CostExplorerClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: GetReservationUtilizationCommandInput) {
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<GetReservationUtilizationCommandInput, GetReservationUtilizationCommandOutput> {
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 = "GetReservationUtilizationCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: GetReservationUtilizationRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: GetReservationUtilizationResponse.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: GetReservationUtilizationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1GetReservationUtilizationCommand(input, context);
88
- }
89
-
90
- private deserialize(
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ): Promise<GetReservationUtilizationCommandOutput> {
94
- return deserializeAws_json1_1GetReservationUtilizationCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,108 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { GetRightsizingRecommendationRequest, GetRightsizingRecommendationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetRightsizingRecommendationCommand,
5
- serializeAws_json1_1GetRightsizingRecommendationCommand,
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 GetRightsizingRecommendationCommandInput extends GetRightsizingRecommendationRequest {}
21
- export interface GetRightsizingRecommendationCommandOutput
22
- extends GetRightsizingRecommendationResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Creates recommendations that
27
- * help you save cost
28
- * by identifying idle and underutilized Amazon EC2 instances.</p>
29
- * <p>Recommendations are generated to either downsize or terminate instances, along with
30
- * providing savings detail and metrics. For details on calculation and function, see
31
- * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html">Optimizing
32
- * Your Cost with Rightsizing
33
- * Recommendations</a>
34
- * in the <i>Billing and Cost Management User
35
- * Guide</i>.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { CostExplorerClient, GetRightsizingRecommendationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
40
- * // const { CostExplorerClient, GetRightsizingRecommendationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
41
- * const client = new CostExplorerClient(config);
42
- * const command = new GetRightsizingRecommendationCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link GetRightsizingRecommendationCommandInput} for command's `input` shape.
47
- * @see {@link GetRightsizingRecommendationCommandOutput} for command's `response` shape.
48
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class GetRightsizingRecommendationCommand extends $Command<
52
- GetRightsizingRecommendationCommandInput,
53
- GetRightsizingRecommendationCommandOutput,
54
- CostExplorerClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: GetRightsizingRecommendationCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: CostExplorerClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<GetRightsizingRecommendationCommandInput, GetRightsizingRecommendationCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "CostExplorerClient";
79
- const commandName = "GetRightsizingRecommendationCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: GetRightsizingRecommendationRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: GetRightsizingRecommendationResponse.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: GetRightsizingRecommendationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_json1_1GetRightsizingRecommendationCommand(input, context);
97
- }
98
-
99
- private deserialize(
100
- output: __HttpResponse,
101
- context: __SerdeContext
102
- ): Promise<GetRightsizingRecommendationCommandOutput> {
103
- return deserializeAws_json1_1GetRightsizingRecommendationCommand(output, context);
104
- }
105
-
106
- // Start section: command_body_extra
107
- // End section: command_body_extra
108
- }
@@ -1,117 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { GetSavingsPlansCoverageRequest, GetSavingsPlansCoverageResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetSavingsPlansCoverageCommand,
5
- serializeAws_json1_1GetSavingsPlansCoverageCommand,
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 GetSavingsPlansCoverageCommandInput extends GetSavingsPlansCoverageRequest {}
21
- export interface GetSavingsPlansCoverageCommandOutput extends GetSavingsPlansCoverageResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <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>
25
- * <ul>
26
- * <li>
27
- * <p>
28
- * <code>LINKED_ACCOUNT</code>
29
- * </p>
30
- * </li>
31
- * <li>
32
- * <p>
33
- * <code>REGION</code>
34
- * </p>
35
- * </li>
36
- * <li>
37
- * <p>
38
- * <code>SERVICE</code>
39
- * </p>
40
- * </li>
41
- * <li>
42
- * <p>
43
- * <code>INSTANCE_FAMILY</code>
44
- * </p>
45
- * </li>
46
- * </ul>
47
- * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation.</p>
48
- * @example
49
- * Use a bare-bones client and the command you need to make an API call.
50
- * ```javascript
51
- * import { CostExplorerClient, GetSavingsPlansCoverageCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
52
- * // const { CostExplorerClient, GetSavingsPlansCoverageCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
53
- * const client = new CostExplorerClient(config);
54
- * const command = new GetSavingsPlansCoverageCommand(input);
55
- * const response = await client.send(command);
56
- * ```
57
- *
58
- * @see {@link GetSavingsPlansCoverageCommandInput} for command's `input` shape.
59
- * @see {@link GetSavingsPlansCoverageCommandOutput} for command's `response` shape.
60
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
61
- *
62
- */
63
- export class GetSavingsPlansCoverageCommand extends $Command<
64
- GetSavingsPlansCoverageCommandInput,
65
- GetSavingsPlansCoverageCommandOutput,
66
- CostExplorerClientResolvedConfig
67
- > {
68
- // Start section: command_properties
69
- // End section: command_properties
70
-
71
- constructor(readonly input: GetSavingsPlansCoverageCommandInput) {
72
- // Start section: command_constructor
73
- super();
74
- // End section: command_constructor
75
- }
76
-
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(
81
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
82
- configuration: CostExplorerClientResolvedConfig,
83
- options?: __HttpHandlerOptions
84
- ): Handler<GetSavingsPlansCoverageCommandInput, GetSavingsPlansCoverageCommandOutput> {
85
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
86
-
87
- const stack = clientStack.concat(this.middlewareStack);
88
-
89
- const { logger } = configuration;
90
- const clientName = "CostExplorerClient";
91
- const commandName = "GetSavingsPlansCoverageCommand";
92
- const handlerExecutionContext: HandlerExecutionContext = {
93
- logger,
94
- clientName,
95
- commandName,
96
- inputFilterSensitiveLog: GetSavingsPlansCoverageRequest.filterSensitiveLog,
97
- outputFilterSensitiveLog: GetSavingsPlansCoverageResponse.filterSensitiveLog,
98
- };
99
- const { requestHandler } = configuration;
100
- return stack.resolve(
101
- (request: FinalizeHandlerArguments<any>) =>
102
- requestHandler.handle(request.request as __HttpRequest, options || {}),
103
- handlerExecutionContext
104
- );
105
- }
106
-
107
- private serialize(input: GetSavingsPlansCoverageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
108
- return serializeAws_json1_1GetSavingsPlansCoverageCommand(input, context);
109
- }
110
-
111
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetSavingsPlansCoverageCommandOutput> {
112
- return deserializeAws_json1_1GetSavingsPlansCoverageCommand(output, context);
113
- }
114
-
115
- // Start section: command_body_extra
116
- // End section: command_body_extra
117
- }
@@ -1,106 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import {
3
- GetSavingsPlansPurchaseRecommendationRequest,
4
- GetSavingsPlansPurchaseRecommendationResponse,
5
- } from "../models/models_0";
6
- import {
7
- deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommand,
8
- serializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommand,
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 GetSavingsPlansPurchaseRecommendationCommandInput
24
- extends GetSavingsPlansPurchaseRecommendationRequest {}
25
- export interface GetSavingsPlansPurchaseRecommendationCommandOutput
26
- extends GetSavingsPlansPurchaseRecommendationResponse,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Retrieves your request parameters, Savings Plan Recommendations Summary and Details. </p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { CostExplorerClient, GetSavingsPlansPurchaseRecommendationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
35
- * // const { CostExplorerClient, GetSavingsPlansPurchaseRecommendationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
36
- * const client = new CostExplorerClient(config);
37
- * const command = new GetSavingsPlansPurchaseRecommendationCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link GetSavingsPlansPurchaseRecommendationCommandInput} for command's `input` shape.
42
- * @see {@link GetSavingsPlansPurchaseRecommendationCommandOutput} for command's `response` shape.
43
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class GetSavingsPlansPurchaseRecommendationCommand extends $Command<
47
- GetSavingsPlansPurchaseRecommendationCommandInput,
48
- GetSavingsPlansPurchaseRecommendationCommandOutput,
49
- CostExplorerClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: GetSavingsPlansPurchaseRecommendationCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: CostExplorerClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<GetSavingsPlansPurchaseRecommendationCommandInput, GetSavingsPlansPurchaseRecommendationCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "CostExplorerClient";
74
- const commandName = "GetSavingsPlansPurchaseRecommendationCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: GetSavingsPlansPurchaseRecommendationRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: GetSavingsPlansPurchaseRecommendationResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(
91
- input: GetSavingsPlansPurchaseRecommendationCommandInput,
92
- context: __SerdeContext
93
- ): Promise<__HttpRequest> {
94
- return serializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommand(input, context);
95
- }
96
-
97
- private deserialize(
98
- output: __HttpResponse,
99
- context: __SerdeContext
100
- ): Promise<GetSavingsPlansPurchaseRecommendationCommandOutput> {
101
- return deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }