@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
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetCostAndUsageWithResourcesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GetCostAndUsageWithResourcesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CostExplorerClient";
18
+ const commandName = "GetCostAndUsageWithResourcesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetCostAndUsageWithResourcesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetCostAndUsageWithResourcesResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1GetCostAndUsageWithResourcesCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1GetCostAndUsageWithResourcesCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetCostAndUsageWithResourcesCommand = GetCostAndUsageWithResourcesCommand;
@@ -1,42 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetCostCategoriesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves an array of Cost Category names and values incurred cost.</p>
10
- * <note>
11
- * <p>If some Cost Category names and values are not associated with any cost, they will not be returned by this API.</p>
12
- * </note>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CostExplorerClient, GetCostCategoriesCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
17
- * // const { CostExplorerClient, GetCostCategoriesCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
18
- * const client = new CostExplorerClient(config);
19
- * const command = new GetCostCategoriesCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link GetCostCategoriesCommandInput} for command's `input` shape.
24
- * @see {@link GetCostCategoriesCommandOutput} for command's `response` shape.
25
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
28
8
  class GetCostCategoriesCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class GetCostCategoriesCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.GetCostCategoriesCommand = GetCostCategoriesCommand;
64
- //# sourceMappingURL=GetCostCategoriesCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetCostForecastCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CostExplorerClient, GetCostForecastCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
14
- * // const { CostExplorerClient, GetCostForecastCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
15
- * const client = new CostExplorerClient(config);
16
- * const command = new GetCostForecastCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetCostForecastCommandInput} for command's `input` shape.
21
- * @see {@link GetCostForecastCommandOutput} for command's `response` shape.
22
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class GetCostForecastCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetCostForecastCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetCostForecastCommand = GetCostForecastCommand;
61
- //# sourceMappingURL=GetCostForecastCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetDimensionValuesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves all available filter values for a specified filter over a period of time. You can search the dimension values for an arbitrary string. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CostExplorerClient, GetDimensionValuesCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
14
- * // const { CostExplorerClient, GetDimensionValuesCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
15
- * const client = new CostExplorerClient(config);
16
- * const command = new GetDimensionValuesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetDimensionValuesCommandInput} for command's `input` shape.
21
- * @see {@link GetDimensionValuesCommandOutput} for command's `response` shape.
22
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class GetDimensionValuesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetDimensionValuesCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetDimensionValuesCommand = GetDimensionValuesCommand;
61
- //# sourceMappingURL=GetDimensionValuesCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetReservationCoverageCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GetReservationCoverageCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CostExplorerClient";
18
+ const commandName = "GetReservationCoverageCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetReservationCoverageRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetReservationCoverageResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1GetReservationCoverageCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1GetReservationCoverageCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetReservationCoverageCommand = GetReservationCoverageCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetReservationPurchaseRecommendationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GetReservationPurchaseRecommendationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CostExplorerClient";
18
+ const commandName = "GetReservationPurchaseRecommendationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetReservationPurchaseRecommendationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetReservationPurchaseRecommendationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1GetReservationPurchaseRecommendationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1GetReservationPurchaseRecommendationCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetReservationPurchaseRecommendationCommand = GetReservationPurchaseRecommendationCommand;
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetReservationUtilizationCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves the reservation utilization for your account. Management account in an organization have access to member accounts.
10
- * You can filter data by dimensions in a time period. You can use <code>GetDimensionValues</code> to determine the possible
11
- * dimension values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CostExplorerClient, GetReservationUtilizationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
16
- * // const { CostExplorerClient, GetReservationUtilizationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
17
- * const client = new CostExplorerClient(config);
18
- * const command = new GetReservationUtilizationCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link GetReservationUtilizationCommandInput} for command's `input` shape.
23
- * @see {@link GetReservationUtilizationCommandOutput} for command's `response` shape.
24
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
27
8
  class GetReservationUtilizationCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class GetReservationUtilizationCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.GetReservationUtilizationCommand = GetReservationUtilizationCommand;
63
- //# sourceMappingURL=GetReservationUtilizationCommand.js.map
@@ -1,48 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetRightsizingRecommendationCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Creates recommendations that
10
- * help you save cost
11
- * by identifying idle and underutilized Amazon EC2 instances.</p>
12
- * <p>Recommendations are generated to either downsize or terminate instances, along with
13
- * providing savings detail and metrics. For details on calculation and function, see
14
- * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html">Optimizing
15
- * Your Cost with Rightsizing
16
- * Recommendations</a>
17
- * in the <i>Billing and Cost Management User
18
- * Guide</i>.</p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { CostExplorerClient, GetRightsizingRecommendationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
23
- * // const { CostExplorerClient, GetRightsizingRecommendationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
24
- * const client = new CostExplorerClient(config);
25
- * const command = new GetRightsizingRecommendationCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link GetRightsizingRecommendationCommandInput} for command's `input` shape.
30
- * @see {@link GetRightsizingRecommendationCommandOutput} for command's `response` shape.
31
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
34
8
  class GetRightsizingRecommendationCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -67,4 +34,3 @@ class GetRightsizingRecommendationCommand extends smithy_client_1.Command {
67
34
  }
68
35
  }
69
36
  exports.GetRightsizingRecommendationCommand = GetRightsizingRecommendationCommand;
70
- //# sourceMappingURL=GetRightsizingRecommendationCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSavingsPlansCoverageCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GetSavingsPlansCoverageCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CostExplorerClient";
18
+ const commandName = "GetSavingsPlansCoverageCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetSavingsPlansCoverageRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetSavingsPlansCoverageResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1GetSavingsPlansCoverageCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1GetSavingsPlansCoverageCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetSavingsPlansCoverageCommand = GetSavingsPlansCoverageCommand;
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetSavingsPlansPurchaseRecommendationCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves your request parameters, Savings Plan Recommendations Summary and Details. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CostExplorerClient, GetSavingsPlansPurchaseRecommendationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
14
- * // const { CostExplorerClient, GetSavingsPlansPurchaseRecommendationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
15
- * const client = new CostExplorerClient(config);
16
- * const command = new GetSavingsPlansPurchaseRecommendationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetSavingsPlansPurchaseRecommendationCommandInput} for command's `input` shape.
21
- * @see {@link GetSavingsPlansPurchaseRecommendationCommandOutput} for command's `response` shape.
22
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class GetSavingsPlansPurchaseRecommendationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetSavingsPlansPurchaseRecommendationCommand extends smithy_client_1.Comma
58
34
  }
59
35
  }
60
36
  exports.GetSavingsPlansPurchaseRecommendationCommand = GetSavingsPlansPurchaseRecommendationCommand;
61
- //# sourceMappingURL=GetSavingsPlansPurchaseRecommendationCommand.js.map
@@ -1,42 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetSavingsPlansUtilizationCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <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>
10
- * <note>
11
- * <p>You cannot group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p>
12
- * </note>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CostExplorerClient, GetSavingsPlansUtilizationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
17
- * // const { CostExplorerClient, GetSavingsPlansUtilizationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
18
- * const client = new CostExplorerClient(config);
19
- * const command = new GetSavingsPlansUtilizationCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link GetSavingsPlansUtilizationCommandInput} for command's `input` shape.
24
- * @see {@link GetSavingsPlansUtilizationCommandOutput} for command's `response` shape.
25
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
28
8
  class GetSavingsPlansUtilizationCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class GetSavingsPlansUtilizationCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.GetSavingsPlansUtilizationCommand = GetSavingsPlansUtilizationCommand;
64
- //# sourceMappingURL=GetSavingsPlansUtilizationCommand.js.map
@@ -1,43 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetSavingsPlansUtilizationDetailsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <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>
10
- * <note>
11
- * <p>
12
- * <code>GetSavingsPlanUtilizationDetails</code> internally groups data by <code>SavingsPlansArn</code>.</p>
13
- * </note>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
18
- * // const { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
19
- * const client = new CostExplorerClient(config);
20
- * const command = new GetSavingsPlansUtilizationDetailsCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link GetSavingsPlansUtilizationDetailsCommandInput} for command's `input` shape.
25
- * @see {@link GetSavingsPlansUtilizationDetailsCommandOutput} for command's `response` shape.
26
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
29
8
  class GetSavingsPlansUtilizationDetailsCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class GetSavingsPlansUtilizationDetailsCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.GetSavingsPlansUtilizationDetailsCommand = GetSavingsPlansUtilizationDetailsCommand;
65
- //# sourceMappingURL=GetSavingsPlansUtilizationDetailsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetTagsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CostExplorerClient, GetTagsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
14
- * // const { CostExplorerClient, GetTagsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
15
- * const client = new CostExplorerClient(config);
16
- * const command = new GetTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetTagsCommandInput} for command's `input` shape.
21
- * @see {@link GetTagsCommandOutput} for command's `response` shape.
22
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class GetTagsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetTagsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetTagsCommand = GetTagsCommand;
61
- //# sourceMappingURL=GetTagsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetUsageForecastCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <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>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CostExplorerClient, GetUsageForecastCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
14
- * // const { CostExplorerClient, GetUsageForecastCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
15
- * const client = new CostExplorerClient(config);
16
- * const command = new GetUsageForecastCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetUsageForecastCommandInput} for command's `input` shape.
21
- * @see {@link GetUsageForecastCommandOutput} for command's `response` shape.
22
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class GetUsageForecastCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetUsageForecastCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetUsageForecastCommand = GetUsageForecastCommand;
61
- //# sourceMappingURL=GetUsageForecastCommand.js.map