@aws-sdk/client-cost-explorer 3.34.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CostExplorer.js +1 -20
  3. package/dist-cjs/CostExplorerClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateAnomalyMonitorCommand.js +2 -28
  5. package/{dist/cjs → dist-cjs}/commands/CreateAnomalySubscriptionCommand.js +2 -29
  6. package/{dist/cjs → dist-cjs}/commands/CreateCostCategoryDefinitionCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DeleteAnomalyMonitorCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DeleteAnomalySubscriptionCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DeleteCostCategoryDefinitionCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DescribeCostCategoryDefinitionCommand.js +2 -28
  11. package/{dist/cjs → dist-cjs}/commands/GetAnomaliesCommand.js +2 -28
  12. package/{dist/cjs → dist-cjs}/commands/GetAnomalyMonitorsCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/GetAnomalySubscriptionsCommand.js +2 -28
  14. package/dist-cjs/commands/GetCostAndUsageCommand.js +36 -0
  15. package/dist-cjs/commands/GetCostAndUsageWithResourcesCommand.js +36 -0
  16. package/{dist/cjs → dist-cjs}/commands/GetCostCategoriesCommand.js +2 -30
  17. package/{dist/cjs → dist-cjs}/commands/GetCostForecastCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/GetDimensionValuesCommand.js +2 -27
  19. package/dist-cjs/commands/GetReservationCoverageCommand.js +36 -0
  20. package/dist-cjs/commands/GetReservationPurchaseRecommendationCommand.js +36 -0
  21. package/{dist/cjs → dist-cjs}/commands/GetReservationUtilizationCommand.js +2 -29
  22. package/{dist/cjs → dist-cjs}/commands/GetRightsizingRecommendationCommand.js +2 -36
  23. package/dist-cjs/commands/GetSavingsPlansCoverageCommand.js +36 -0
  24. package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansUtilizationCommand.js +2 -30
  26. package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -31
  27. package/{dist/cjs → dist-cjs}/commands/GetTagsCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/GetUsageForecastCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/ListCostCategoryDefinitionsCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/ProvideAnomalyFeedbackCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/UpdateAnomalyMonitorCommand.js +2 -28
  32. package/{dist/cjs → dist-cjs}/commands/UpdateAnomalySubscriptionCommand.js +2 -27
  33. package/{dist/cjs → dist-cjs}/commands/UpdateCostCategoryDefinitionCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  35. package/{dist/cjs → dist-cjs}/index.js +0 -1
  36. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  37. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -442
  38. package/{dist/cjs → dist-cjs}/pagination/GetSavingsPlansCoveragePaginator.js +1 -12
  39. package/{dist/cjs → dist-cjs}/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +1 -12
  40. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  41. package/{dist/cjs → dist-cjs}/pagination/ListCostCategoryDefinitionsPaginator.js +1 -12
  42. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  46. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  47. package/{dist/es → dist-es}/CostExplorer.js +1 -2
  48. package/{dist/es → dist-es}/CostExplorerClient.js +1 -2
  49. package/{dist/es → dist-es}/commands/CreateAnomalyMonitorCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/CreateAnomalySubscriptionCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/CreateCostCategoryDefinitionCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/DeleteAnomalyMonitorCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/DeleteAnomalySubscriptionCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/DeleteCostCategoryDefinitionCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/DescribeCostCategoryDefinitionCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/GetAnomaliesCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/GetAnomalyMonitorsCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/GetAnomalySubscriptionsCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/GetCostAndUsageCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/GetCostAndUsageWithResourcesCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/GetCostCategoriesCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/GetCostForecastCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/GetDimensionValuesCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/GetReservationCoverageCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/GetReservationPurchaseRecommendationCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/GetReservationUtilizationCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/GetRightsizingRecommendationCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/GetSavingsPlansCoverageCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/GetSavingsPlansUtilizationCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/GetTagsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/GetUsageForecastCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/ListCostCategoryDefinitionsCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/ProvideAnomalyFeedbackCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/UpdateAnomalyMonitorCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/UpdateAnomalySubscriptionCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/UpdateCostCategoryDefinitionCommand.js +2 -3
  79. package/{dist/es → dist-es}/endpoints.js +1 -2
  80. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  81. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  82. package/{dist/es → dist-es}/models/models_0.js +0 -1
  83. package/{dist/es → dist-es}/pagination/GetSavingsPlansCoveragePaginator.js +1 -2
  84. package/{dist/es → dist-es}/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +1 -2
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/{dist/es → dist-es}/pagination/ListCostCategoryDefinitionsPaginator.js +1 -2
  87. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  88. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  89. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  90. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  91. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  92. package/{dist/types → dist-types}/CostExplorer.d.ts +2 -2
  93. package/{dist/types → dist-types}/CostExplorerClient.d.ts +8 -8
  94. package/{dist/types → dist-types}/commands/CreateAnomalyMonitorCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/CreateAnomalySubscriptionCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/CreateCostCategoryDefinitionCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/DeleteAnomalyMonitorCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/DeleteAnomalySubscriptionCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/DeleteCostCategoryDefinitionCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/DescribeCostCategoryDefinitionCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/GetAnomaliesCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/GetAnomalyMonitorsCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/GetAnomalySubscriptionsCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/GetCostAndUsageCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/GetCostAndUsageWithResourcesCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/GetCostCategoriesCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/GetCostForecastCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/GetDimensionValuesCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/GetReservationCoverageCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/GetReservationPurchaseRecommendationCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/GetReservationUtilizationCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/GetRightsizingRecommendationCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/GetSavingsPlansCoverageCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/GetSavingsPlansUtilizationCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/GetTagsCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/GetUsageForecastCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/ListCostCategoryDefinitionsCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/ProvideAnomalyFeedbackCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/UpdateAnomalyMonitorCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/UpdateAnomalySubscriptionCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/UpdateCostCategoryDefinitionCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  125. package/{index.ts → dist-types/index.d.ts} +0 -0
  126. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  127. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  128. package/{dist/types → dist-types}/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
  129. package/{dist/types → dist-types}/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  131. package/{dist/types → dist-types}/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  133. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  134. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  135. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  136. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  137. package/{dist/types → dist-types}/ts3.4/CostExplorer.d.ts +33 -224
  138. package/{dist/types → dist-types}/ts3.4/CostExplorerClient.d.ts +32 -112
  139. package/dist-types/ts3.4/commands/CreateAnomalyMonitorCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/CreateAnomalySubscriptionCommand.d.ts +17 -0
  141. package/{dist/types → dist-types}/ts3.4/commands/CreateCostCategoryDefinitionCommand.d.ts +4 -22
  142. package/{dist/types → dist-types}/ts3.4/commands/DeleteAnomalyMonitorCommand.d.ts +4 -22
  143. package/{dist/types → dist-types}/ts3.4/commands/DeleteAnomalySubscriptionCommand.d.ts +4 -22
  144. package/{dist/types → dist-types}/ts3.4/commands/DeleteCostCategoryDefinitionCommand.d.ts +4 -22
  145. package/dist-types/ts3.4/commands/DescribeCostCategoryDefinitionCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/GetAnomaliesCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/GetAnomalyMonitorsCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/GetAnomalySubscriptionsCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/GetCostAndUsageCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/GetCostAndUsageWithResourcesCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/GetCostCategoriesCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/GetCostForecastCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/GetDimensionValuesCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/GetReservationCoverageCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/GetReservationPurchaseRecommendationCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/GetReservationUtilizationCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/GetRightsizingRecommendationCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/GetSavingsPlansCoverageCommand.d.ts +17 -0
  159. package/{dist/types → dist-types}/ts3.4/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +4 -22
  160. package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/GetUsageForecastCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/ListCostCategoryDefinitionsCommand.d.ts +17 -0
  165. package/{dist/types → dist-types}/ts3.4/commands/ProvideAnomalyFeedbackCommand.d.ts +4 -22
  166. package/dist-types/ts3.4/commands/UpdateAnomalyMonitorCommand.d.ts +17 -0
  167. package/{dist/types → dist-types}/ts3.4/commands/UpdateAnomalySubscriptionCommand.d.ts +4 -22
  168. package/dist-types/ts3.4/commands/UpdateCostCategoryDefinitionCommand.d.ts +17 -0
  169. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  170. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  171. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  172. package/dist-types/ts3.4/models/models_0.d.ts +2345 -0
  173. package/{dist/types → dist-types}/ts3.4/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
  174. package/{dist/types → dist-types}/ts3.4/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
  175. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  176. package/{dist/types → dist-types}/ts3.4/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  178. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  179. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  180. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  181. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  182. package/package.json +45 -42
  183. package/CostExplorer.ts +0 -1235
  184. package/CostExplorerClient.ts +0 -406
  185. package/commands/CreateAnomalyMonitorCommand.ts +0 -95
  186. package/commands/CreateAnomalySubscriptionCommand.ts +0 -99
  187. package/commands/CreateCostCategoryDefinitionCommand.ts +0 -99
  188. package/commands/DeleteAnomalyMonitorCommand.ts +0 -94
  189. package/commands/DeleteAnomalySubscriptionCommand.ts +0 -97
  190. package/commands/DeleteCostCategoryDefinitionCommand.ts +0 -99
  191. package/commands/DescribeCostCategoryDefinitionCommand.ts +0 -103
  192. package/commands/GetAnomaliesCommand.ts +0 -95
  193. package/commands/GetAnomalyMonitorsCommand.ts +0 -95
  194. package/commands/GetAnomalySubscriptionsCommand.ts +0 -95
  195. package/commands/GetCostAndUsageCommand.ts +0 -99
  196. package/commands/GetCostAndUsageWithResourcesCommand.ts +0 -106
  197. package/commands/GetCostCategoriesCommand.ts +0 -97
  198. package/commands/GetCostForecastCommand.ts +0 -94
  199. package/commands/GetDimensionValuesCommand.ts +0 -94
  200. package/commands/GetReservationCoverageCommand.ts +0 -135
  201. package/commands/GetReservationPurchaseRecommendationCommand.ts +0 -114
  202. package/commands/GetReservationUtilizationCommand.ts +0 -99
  203. package/commands/GetRightsizingRecommendationCommand.ts +0 -108
  204. package/commands/GetSavingsPlansCoverageCommand.ts +0 -117
  205. package/commands/GetSavingsPlansPurchaseRecommendationCommand.ts +0 -106
  206. package/commands/GetSavingsPlansUtilizationCommand.ts +0 -100
  207. package/commands/GetSavingsPlansUtilizationDetailsCommand.ts +0 -109
  208. package/commands/GetTagsCommand.ts +0 -91
  209. package/commands/GetUsageForecastCommand.ts +0 -94
  210. package/commands/ListCostCategoryDefinitionsCommand.ts +0 -99
  211. package/commands/ProvideAnomalyFeedbackCommand.ts +0 -94
  212. package/commands/UpdateAnomalyMonitorCommand.ts +0 -95
  213. package/commands/UpdateAnomalySubscriptionCommand.ts +0 -97
  214. package/commands/UpdateCostCategoryDefinitionCommand.ts +0 -99
  215. package/dist/cjs/CostExplorer.js.map +0 -1
  216. package/dist/cjs/CostExplorerClient.js +0 -59
  217. package/dist/cjs/CostExplorerClient.js.map +0 -1
  218. package/dist/cjs/commands/CreateAnomalyMonitorCommand.js.map +0 -1
  219. package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js.map +0 -1
  220. package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js.map +0 -1
  221. package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js.map +0 -1
  222. package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js.map +0 -1
  223. package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js.map +0 -1
  224. package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js.map +0 -1
  225. package/dist/cjs/commands/GetAnomaliesCommand.js.map +0 -1
  226. package/dist/cjs/commands/GetAnomalyMonitorsCommand.js.map +0 -1
  227. package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js.map +0 -1
  228. package/dist/cjs/commands/GetCostAndUsageCommand.js +0 -66
  229. package/dist/cjs/commands/GetCostAndUsageCommand.js.map +0 -1
  230. package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js +0 -68
  231. package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js.map +0 -1
  232. package/dist/cjs/commands/GetCostCategoriesCommand.js.map +0 -1
  233. package/dist/cjs/commands/GetCostForecastCommand.js.map +0 -1
  234. package/dist/cjs/commands/GetDimensionValuesCommand.js.map +0 -1
  235. package/dist/cjs/commands/GetReservationCoverageCommand.js +0 -102
  236. package/dist/cjs/commands/GetReservationCoverageCommand.js.map +0 -1
  237. package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js +0 -70
  238. package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js.map +0 -1
  239. package/dist/cjs/commands/GetReservationUtilizationCommand.js.map +0 -1
  240. package/dist/cjs/commands/GetRightsizingRecommendationCommand.js.map +0 -1
  241. package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js +0 -84
  242. package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js.map +0 -1
  243. package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +0 -1
  244. package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js.map +0 -1
  245. package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +0 -1
  246. package/dist/cjs/commands/GetTagsCommand.js.map +0 -1
  247. package/dist/cjs/commands/GetUsageForecastCommand.js.map +0 -1
  248. package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js.map +0 -1
  249. package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js.map +0 -1
  250. package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js.map +0 -1
  251. package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js.map +0 -1
  252. package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js.map +0 -1
  253. package/dist/cjs/endpoints.js.map +0 -1
  254. package/dist/cjs/index.js.map +0 -1
  255. package/dist/cjs/models/index.js.map +0 -1
  256. package/dist/cjs/models/models_0.js.map +0 -1
  257. package/dist/cjs/package.json +0 -91
  258. package/dist/cjs/pagination/GetSavingsPlansCoveragePaginator.js.map +0 -1
  259. package/dist/cjs/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +0 -1
  260. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  261. package/dist/cjs/pagination/ListCostCategoryDefinitionsPaginator.js.map +0 -1
  262. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  263. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  264. package/dist/cjs/runtimeConfig.js.map +0 -1
  265. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  266. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  267. package/dist/es/CostExplorer.js.map +0 -1
  268. package/dist/es/CostExplorerClient.js.map +0 -1
  269. package/dist/es/commands/CreateAnomalyMonitorCommand.js.map +0 -1
  270. package/dist/es/commands/CreateAnomalySubscriptionCommand.js.map +0 -1
  271. package/dist/es/commands/CreateCostCategoryDefinitionCommand.js.map +0 -1
  272. package/dist/es/commands/DeleteAnomalyMonitorCommand.js.map +0 -1
  273. package/dist/es/commands/DeleteAnomalySubscriptionCommand.js.map +0 -1
  274. package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js.map +0 -1
  275. package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js.map +0 -1
  276. package/dist/es/commands/GetAnomaliesCommand.js.map +0 -1
  277. package/dist/es/commands/GetAnomalyMonitorsCommand.js.map +0 -1
  278. package/dist/es/commands/GetAnomalySubscriptionsCommand.js.map +0 -1
  279. package/dist/es/commands/GetCostAndUsageCommand.js.map +0 -1
  280. package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js.map +0 -1
  281. package/dist/es/commands/GetCostCategoriesCommand.js.map +0 -1
  282. package/dist/es/commands/GetCostForecastCommand.js.map +0 -1
  283. package/dist/es/commands/GetDimensionValuesCommand.js.map +0 -1
  284. package/dist/es/commands/GetReservationCoverageCommand.js.map +0 -1
  285. package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js.map +0 -1
  286. package/dist/es/commands/GetReservationUtilizationCommand.js.map +0 -1
  287. package/dist/es/commands/GetRightsizingRecommendationCommand.js.map +0 -1
  288. package/dist/es/commands/GetSavingsPlansCoverageCommand.js.map +0 -1
  289. package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +0 -1
  290. package/dist/es/commands/GetSavingsPlansUtilizationCommand.js.map +0 -1
  291. package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +0 -1
  292. package/dist/es/commands/GetTagsCommand.js.map +0 -1
  293. package/dist/es/commands/GetUsageForecastCommand.js.map +0 -1
  294. package/dist/es/commands/ListCostCategoryDefinitionsCommand.js.map +0 -1
  295. package/dist/es/commands/ProvideAnomalyFeedbackCommand.js.map +0 -1
  296. package/dist/es/commands/UpdateAnomalyMonitorCommand.js.map +0 -1
  297. package/dist/es/commands/UpdateAnomalySubscriptionCommand.js.map +0 -1
  298. package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js.map +0 -1
  299. package/dist/es/endpoints.js.map +0 -1
  300. package/dist/es/index.js +0 -38
  301. package/dist/es/index.js.map +0 -1
  302. package/dist/es/models/index.js +0 -2
  303. package/dist/es/models/index.js.map +0 -1
  304. package/dist/es/models/models_0.js.map +0 -1
  305. package/dist/es/package.json +0 -91
  306. package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js.map +0 -1
  307. package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +0 -1
  308. package/dist/es/pagination/Interfaces.js +0 -2
  309. package/dist/es/pagination/Interfaces.js.map +0 -1
  310. package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js.map +0 -1
  311. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  312. package/dist/es/runtimeConfig.browser.js.map +0 -1
  313. package/dist/es/runtimeConfig.js.map +0 -1
  314. package/dist/es/runtimeConfig.native.js.map +0 -1
  315. package/dist/es/runtimeConfig.shared.js.map +0 -1
  316. package/dist/types/ts3.4/commands/CreateAnomalyMonitorCommand.d.ts +0 -36
  317. package/dist/types/ts3.4/commands/CreateAnomalySubscriptionCommand.d.ts +0 -37
  318. package/dist/types/ts3.4/commands/DescribeCostCategoryDefinitionCommand.d.ts +0 -36
  319. package/dist/types/ts3.4/commands/GetAnomaliesCommand.d.ts +0 -36
  320. package/dist/types/ts3.4/commands/GetAnomalyMonitorsCommand.d.ts +0 -36
  321. package/dist/types/ts3.4/commands/GetAnomalySubscriptionsCommand.d.ts +0 -36
  322. package/dist/types/ts3.4/commands/GetCostAndUsageCommand.d.ts +0 -40
  323. package/dist/types/ts3.4/commands/GetCostAndUsageWithResourcesCommand.d.ts +0 -42
  324. package/dist/types/ts3.4/commands/GetCostCategoriesCommand.d.ts +0 -38
  325. package/dist/types/ts3.4/commands/GetCostForecastCommand.d.ts +0 -35
  326. package/dist/types/ts3.4/commands/GetDimensionValuesCommand.d.ts +0 -35
  327. package/dist/types/ts3.4/commands/GetReservationCoverageCommand.d.ts +0 -76
  328. package/dist/types/ts3.4/commands/GetReservationPurchaseRecommendationCommand.d.ts +0 -44
  329. package/dist/types/ts3.4/commands/GetReservationUtilizationCommand.d.ts +0 -37
  330. package/dist/types/ts3.4/commands/GetRightsizingRecommendationCommand.d.ts +0 -44
  331. package/dist/types/ts3.4/commands/GetSavingsPlansCoverageCommand.d.ts +0 -58
  332. package/dist/types/ts3.4/commands/GetSavingsPlansUtilizationCommand.d.ts +0 -38
  333. package/dist/types/ts3.4/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +0 -39
  334. package/dist/types/ts3.4/commands/GetTagsCommand.d.ts +0 -35
  335. package/dist/types/ts3.4/commands/GetUsageForecastCommand.d.ts +0 -35
  336. package/dist/types/ts3.4/commands/ListCostCategoryDefinitionsCommand.d.ts +0 -35
  337. package/dist/types/ts3.4/commands/UpdateAnomalyMonitorCommand.d.ts +0 -36
  338. package/dist/types/ts3.4/commands/UpdateCostCategoryDefinitionCommand.d.ts +0 -35
  339. package/dist/types/ts3.4/models/models_0.d.ts +0 -5807
  340. package/endpoints.ts +0 -67
  341. package/jest.config.js +0 -4
  342. package/models/models_0.ts +0 -6842
  343. package/pagination/GetSavingsPlansCoveragePaginator.ts +0 -58
  344. package/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts +0 -58
  345. package/pagination/Interfaces.ts +0 -7
  346. package/pagination/ListCostCategoryDefinitionsPaginator.ts +0 -58
  347. package/protocols/Aws_json1_1.ts +0 -5865
  348. package/runtimeConfig.browser.ts +0 -40
  349. package/runtimeConfig.native.ts +0 -16
  350. package/runtimeConfig.shared.ts +0 -16
  351. package/runtimeConfig.ts +0 -45
  352. package/tsconfig.es.json +0 -10
  353. package/tsconfig.json +0 -31
  354. package/tsconfig.types.json +0 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
29
+
30
+
31
+ ### Features
32
+
33
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
34
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
35
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
47
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
54
 
8
55
 
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CostExplorer = void 0;
4
- const CostExplorerClient_1 = require("./CostExplorerClient");
5
4
  const CreateAnomalyMonitorCommand_1 = require("./commands/CreateAnomalyMonitorCommand");
6
5
  const CreateAnomalySubscriptionCommand_1 = require("./commands/CreateAnomalySubscriptionCommand");
7
6
  const CreateCostCategoryDefinitionCommand_1 = require("./commands/CreateCostCategoryDefinitionCommand");
@@ -32,24 +31,7 @@ const ProvideAnomalyFeedbackCommand_1 = require("./commands/ProvideAnomalyFeedba
32
31
  const UpdateAnomalyMonitorCommand_1 = require("./commands/UpdateAnomalyMonitorCommand");
33
32
  const UpdateAnomalySubscriptionCommand_1 = require("./commands/UpdateAnomalySubscriptionCommand");
34
33
  const UpdateCostCategoryDefinitionCommand_1 = require("./commands/UpdateCostCategoryDefinitionCommand");
35
- /**
36
- * <p>You can use the Cost Explorer API to programmatically query your cost and usage data. You
37
- * can query for aggregated data such as total monthly costs or total daily usage. You can also
38
- * query for granular data. This might include the number of daily write operations for Amazon
39
- * DynamoDB database tables in your production environment. </p>
40
- * <p>Service Endpoint</p>
41
- * <p>The Cost Explorer API provides the following endpoint:</p>
42
- * <ul>
43
- * <li>
44
- * <p>
45
- * <code>https://ce.us-east-1.amazonaws.com</code>
46
- * </p>
47
- * </li>
48
- * </ul>
49
- * <p>For information about the costs that are associated with the Cost Explorer API, see
50
- * <a href="http://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost
51
- * Management Pricing</a>.</p>
52
- */
34
+ const CostExplorerClient_1 = require("./CostExplorerClient");
53
35
  class CostExplorer extends CostExplorerClient_1.CostExplorerClient {
54
36
  createAnomalyMonitor(args, optionsOrCb, cb) {
55
37
  const command = new CreateAnomalyMonitorCommand_1.CreateAnomalyMonitorCommand(args);
@@ -473,4 +455,3 @@ class CostExplorer extends CostExplorerClient_1.CostExplorerClient {
473
455
  }
474
456
  }
475
457
  exports.CostExplorer = CostExplorer;
476
- //# sourceMappingURL=CostExplorer.js.map
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CostExplorerClient = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
+ class CostExplorerClient extends smithy_client_1.Client {
14
+ constructor(configuration) {
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
22
+ super(_config_6);
23
+ this.config = _config_6;
24
+ this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
+ this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
+ this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
+ this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
+ this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
+ this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
30
+ }
31
+ destroy() {
32
+ super.destroy();
33
+ }
34
+ }
35
+ exports.CostExplorerClient = CostExplorerClient;
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateAnomalyMonitorCommand = 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 a new cost anomaly detection monitor with the requested type and monitor
10
- * specification. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CostExplorerClient, CreateAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
15
- * // const { CostExplorerClient, CreateAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
16
- * const client = new CostExplorerClient(config);
17
- * const command = new CreateAnomalyMonitorCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateAnomalyMonitorCommandInput} for command's `input` shape.
22
- * @see {@link CreateAnomalyMonitorCommandOutput} for command's `response` shape.
23
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class CreateAnomalyMonitorCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class CreateAnomalyMonitorCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.CreateAnomalyMonitorCommand = CreateAnomalyMonitorCommand;
62
- //# sourceMappingURL=CreateAnomalyMonitorCommand.js.map
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateAnomalySubscriptionCommand = 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>Adds a subscription to a cost anomaly detection monitor. You can use each subscription to
10
- * define subscribers with email or SNS notifications. Email subscribers can set a dollar
11
- * threshold and a time frequency for receiving notifications. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CostExplorerClient, CreateAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
16
- * // const { CostExplorerClient, CreateAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
17
- * const client = new CostExplorerClient(config);
18
- * const command = new CreateAnomalySubscriptionCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateAnomalySubscriptionCommandInput} for command's `input` shape.
23
- * @see {@link CreateAnomalySubscriptionCommandOutput} 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 CreateAnomalySubscriptionCommand 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 CreateAnomalySubscriptionCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.CreateAnomalySubscriptionCommand = CreateAnomalySubscriptionCommand;
63
- //# sourceMappingURL=CreateAnomalySubscriptionCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateCostCategoryDefinitionCommand = 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 a new Cost Category with the requested name and rules.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CostExplorerClient, CreateCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
14
- * // const { CostExplorerClient, CreateCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
15
- * const client = new CostExplorerClient(config);
16
- * const command = new CreateCostCategoryDefinitionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateCostCategoryDefinitionCommandInput} for command's `input` shape.
21
- * @see {@link CreateCostCategoryDefinitionCommandOutput} 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 CreateCostCategoryDefinitionCommand 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 CreateCostCategoryDefinitionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreateCostCategoryDefinitionCommand = CreateCostCategoryDefinitionCommand;
61
- //# sourceMappingURL=CreateCostCategoryDefinitionCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteAnomalyMonitorCommand = 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>Deletes a cost anomaly monitor. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CostExplorerClient, DeleteAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
14
- * // const { CostExplorerClient, DeleteAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
15
- * const client = new CostExplorerClient(config);
16
- * const command = new DeleteAnomalyMonitorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteAnomalyMonitorCommandInput} for command's `input` shape.
21
- * @see {@link DeleteAnomalyMonitorCommandOutput} 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 DeleteAnomalyMonitorCommand 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 DeleteAnomalyMonitorCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteAnomalyMonitorCommand = DeleteAnomalyMonitorCommand;
61
- //# sourceMappingURL=DeleteAnomalyMonitorCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteAnomalySubscriptionCommand = 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>Deletes a cost anomaly subscription. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CostExplorerClient, DeleteAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
14
- * // const { CostExplorerClient, DeleteAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
15
- * const client = new CostExplorerClient(config);
16
- * const command = new DeleteAnomalySubscriptionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteAnomalySubscriptionCommandInput} for command's `input` shape.
21
- * @see {@link DeleteAnomalySubscriptionCommandOutput} 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 DeleteAnomalySubscriptionCommand 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 DeleteAnomalySubscriptionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteAnomalySubscriptionCommand = DeleteAnomalySubscriptionCommand;
61
- //# sourceMappingURL=DeleteAnomalySubscriptionCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteCostCategoryDefinitionCommand = 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>Deletes a Cost Category. Expenses from this month going forward will no longer be categorized with this Cost Category.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CostExplorerClient, DeleteCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
14
- * // const { CostExplorerClient, DeleteCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
15
- * const client = new CostExplorerClient(config);
16
- * const command = new DeleteCostCategoryDefinitionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteCostCategoryDefinitionCommandInput} for command's `input` shape.
21
- * @see {@link DeleteCostCategoryDefinitionCommandOutput} 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 DeleteCostCategoryDefinitionCommand 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 DeleteCostCategoryDefinitionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteCostCategoryDefinitionCommand = DeleteCostCategoryDefinitionCommand;
61
- //# sourceMappingURL=DeleteCostCategoryDefinitionCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeCostCategoryDefinitionCommand = 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>Returns the name, ARN, rules, definition, and effective dates of a Cost Category that's defined in the account.</p>
10
- * <p>You have the option to use <code>EffectiveOn</code> to return a Cost Category that is active on a specific date. If there is no <code>EffectiveOn</code> specified, you’ll see a Cost Category that is effective on the current date. If Cost Category is still effective, <code>EffectiveEnd</code> is omitted in the response. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CostExplorerClient, DescribeCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
15
- * // const { CostExplorerClient, DescribeCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
16
- * const client = new CostExplorerClient(config);
17
- * const command = new DescribeCostCategoryDefinitionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeCostCategoryDefinitionCommandInput} for command's `input` shape.
22
- * @see {@link DescribeCostCategoryDefinitionCommandOutput} for command's `response` shape.
23
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class DescribeCostCategoryDefinitionCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class DescribeCostCategoryDefinitionCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.DescribeCostCategoryDefinitionCommand = DescribeCostCategoryDefinitionCommand;
62
- //# sourceMappingURL=DescribeCostCategoryDefinitionCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAnomaliesCommand = 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 of the cost anomalies detected on your account during the time period that's
10
- * specified by the <code>DateInterval</code> object. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CostExplorerClient, GetAnomaliesCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
15
- * // const { CostExplorerClient, GetAnomaliesCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
16
- * const client = new CostExplorerClient(config);
17
- * const command = new GetAnomaliesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetAnomaliesCommandInput} for command's `input` shape.
22
- * @see {@link GetAnomaliesCommandOutput} for command's `response` shape.
23
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class GetAnomaliesCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class GetAnomaliesCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.GetAnomaliesCommand = GetAnomaliesCommand;
62
- //# sourceMappingURL=GetAnomaliesCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAnomalyMonitorsCommand = 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 cost anomaly monitor definitions for your account. You can filter using a
10
- * list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CostExplorerClient, GetAnomalyMonitorsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
15
- * // const { CostExplorerClient, GetAnomalyMonitorsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
16
- * const client = new CostExplorerClient(config);
17
- * const command = new GetAnomalyMonitorsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetAnomalyMonitorsCommandInput} for command's `input` shape.
22
- * @see {@link GetAnomalyMonitorsCommandOutput} for command's `response` shape.
23
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class GetAnomalyMonitorsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class GetAnomalyMonitorsCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.GetAnomalyMonitorsCommand = GetAnomalyMonitorsCommand;
62
- //# sourceMappingURL=GetAnomalyMonitorsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAnomalySubscriptionsCommand = 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 cost anomaly subscription objects for your account. You can filter using a
10
- * list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CostExplorerClient, GetAnomalySubscriptionsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
15
- * // const { CostExplorerClient, GetAnomalySubscriptionsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
16
- * const client = new CostExplorerClient(config);
17
- * const command = new GetAnomalySubscriptionsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetAnomalySubscriptionsCommandInput} for command's `input` shape.
22
- * @see {@link GetAnomalySubscriptionsCommandOutput} for command's `response` shape.
23
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class GetAnomalySubscriptionsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class GetAnomalySubscriptionsCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.GetAnomalySubscriptionsCommand = GetAnomalySubscriptionsCommand;
62
- //# sourceMappingURL=GetAnomalySubscriptionsCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetCostAndUsageCommand = 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 GetCostAndUsageCommand 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 = "GetCostAndUsageCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetCostAndUsageRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetCostAndUsageResponse.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_1GetCostAndUsageCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1GetCostAndUsageCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetCostAndUsageCommand = GetCostAndUsageCommand;