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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CostExplorer.js +1 -20
  3. package/dist-cjs/CostExplorerClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateAnomalyMonitorCommand.js +2 -28
  5. package/{dist/cjs → dist-cjs}/commands/CreateAnomalySubscriptionCommand.js +2 -29
  6. package/{dist/cjs → dist-cjs}/commands/CreateCostCategoryDefinitionCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DeleteAnomalyMonitorCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DeleteAnomalySubscriptionCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DeleteCostCategoryDefinitionCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DescribeCostCategoryDefinitionCommand.js +2 -28
  11. package/{dist/cjs → dist-cjs}/commands/GetAnomaliesCommand.js +2 -28
  12. package/{dist/cjs → dist-cjs}/commands/GetAnomalyMonitorsCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/GetAnomalySubscriptionsCommand.js +2 -28
  14. package/dist-cjs/commands/GetCostAndUsageCommand.js +36 -0
  15. package/dist-cjs/commands/GetCostAndUsageWithResourcesCommand.js +36 -0
  16. package/{dist/cjs → dist-cjs}/commands/GetCostCategoriesCommand.js +2 -30
  17. package/{dist/cjs → dist-cjs}/commands/GetCostForecastCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/GetDimensionValuesCommand.js +2 -27
  19. package/dist-cjs/commands/GetReservationCoverageCommand.js +36 -0
  20. package/dist-cjs/commands/GetReservationPurchaseRecommendationCommand.js +36 -0
  21. package/{dist/cjs → dist-cjs}/commands/GetReservationUtilizationCommand.js +2 -29
  22. package/{dist/cjs → dist-cjs}/commands/GetRightsizingRecommendationCommand.js +2 -36
  23. package/dist-cjs/commands/GetSavingsPlansCoverageCommand.js +36 -0
  24. package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansUtilizationCommand.js +2 -30
  26. package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -31
  27. package/{dist/cjs → dist-cjs}/commands/GetTagsCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/GetUsageForecastCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/ListCostCategoryDefinitionsCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/ProvideAnomalyFeedbackCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/UpdateAnomalyMonitorCommand.js +2 -28
  32. package/{dist/cjs → dist-cjs}/commands/UpdateAnomalySubscriptionCommand.js +2 -27
  33. package/{dist/cjs → dist-cjs}/commands/UpdateCostCategoryDefinitionCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  35. package/{dist/cjs → dist-cjs}/index.js +0 -1
  36. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  37. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -442
  38. package/{dist/cjs → dist-cjs}/pagination/GetSavingsPlansCoveragePaginator.js +1 -12
  39. package/{dist/cjs → dist-cjs}/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +1 -12
  40. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  41. package/{dist/cjs → dist-cjs}/pagination/ListCostCategoryDefinitionsPaginator.js +1 -12
  42. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  46. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  47. package/{dist/es → dist-es}/CostExplorer.js +1 -2
  48. package/{dist/es → dist-es}/CostExplorerClient.js +1 -2
  49. package/{dist/es → dist-es}/commands/CreateAnomalyMonitorCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/CreateAnomalySubscriptionCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/CreateCostCategoryDefinitionCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/DeleteAnomalyMonitorCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/DeleteAnomalySubscriptionCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/DeleteCostCategoryDefinitionCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/DescribeCostCategoryDefinitionCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/GetAnomaliesCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/GetAnomalyMonitorsCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/GetAnomalySubscriptionsCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/GetCostAndUsageCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/GetCostAndUsageWithResourcesCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/GetCostCategoriesCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/GetCostForecastCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/GetDimensionValuesCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/GetReservationCoverageCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/GetReservationPurchaseRecommendationCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/GetReservationUtilizationCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/GetRightsizingRecommendationCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/GetSavingsPlansCoverageCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/GetSavingsPlansUtilizationCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/GetTagsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/GetUsageForecastCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/ListCostCategoryDefinitionsCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/ProvideAnomalyFeedbackCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/UpdateAnomalyMonitorCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/UpdateAnomalySubscriptionCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/UpdateCostCategoryDefinitionCommand.js +2 -3
  79. package/{dist/es → dist-es}/endpoints.js +1 -2
  80. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  81. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  82. package/{dist/es → dist-es}/models/models_0.js +0 -1
  83. package/{dist/es → dist-es}/pagination/GetSavingsPlansCoveragePaginator.js +1 -2
  84. package/{dist/es → dist-es}/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +1 -2
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/{dist/es → dist-es}/pagination/ListCostCategoryDefinitionsPaginator.js +1 -2
  87. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  88. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  89. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  90. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  91. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  92. package/{dist/types → dist-types}/CostExplorer.d.ts +2 -2
  93. package/{dist/types → dist-types}/CostExplorerClient.d.ts +8 -8
  94. package/{dist/types → dist-types}/commands/CreateAnomalyMonitorCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/CreateAnomalySubscriptionCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/CreateCostCategoryDefinitionCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/DeleteAnomalyMonitorCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/DeleteAnomalySubscriptionCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/DeleteCostCategoryDefinitionCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/DescribeCostCategoryDefinitionCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/GetAnomaliesCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/GetAnomalyMonitorsCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/GetAnomalySubscriptionsCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/GetCostAndUsageCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/GetCostAndUsageWithResourcesCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/GetCostCategoriesCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/GetCostForecastCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/GetDimensionValuesCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/GetReservationCoverageCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/GetReservationPurchaseRecommendationCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/GetReservationUtilizationCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/GetRightsizingRecommendationCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/GetSavingsPlansCoverageCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/GetSavingsPlansUtilizationCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/GetTagsCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/GetUsageForecastCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/ListCostCategoryDefinitionsCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/ProvideAnomalyFeedbackCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/UpdateAnomalyMonitorCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/UpdateAnomalySubscriptionCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/UpdateCostCategoryDefinitionCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  125. package/{index.ts → dist-types/index.d.ts} +0 -0
  126. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  127. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  128. package/{dist/types → dist-types}/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
  129. package/{dist/types → dist-types}/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  131. package/{dist/types → dist-types}/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  133. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  134. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  135. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  136. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  137. package/{dist/types → dist-types}/ts3.4/CostExplorer.d.ts +33 -224
  138. package/{dist/types → dist-types}/ts3.4/CostExplorerClient.d.ts +32 -112
  139. package/dist-types/ts3.4/commands/CreateAnomalyMonitorCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/CreateAnomalySubscriptionCommand.d.ts +17 -0
  141. package/{dist/types → dist-types}/ts3.4/commands/CreateCostCategoryDefinitionCommand.d.ts +4 -22
  142. package/{dist/types → dist-types}/ts3.4/commands/DeleteAnomalyMonitorCommand.d.ts +4 -22
  143. package/{dist/types → dist-types}/ts3.4/commands/DeleteAnomalySubscriptionCommand.d.ts +4 -22
  144. package/{dist/types → dist-types}/ts3.4/commands/DeleteCostCategoryDefinitionCommand.d.ts +4 -22
  145. package/dist-types/ts3.4/commands/DescribeCostCategoryDefinitionCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/GetAnomaliesCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/GetAnomalyMonitorsCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/GetAnomalySubscriptionsCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/GetCostAndUsageCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/GetCostAndUsageWithResourcesCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/GetCostCategoriesCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/GetCostForecastCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/GetDimensionValuesCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/GetReservationCoverageCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/GetReservationPurchaseRecommendationCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/GetReservationUtilizationCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/GetRightsizingRecommendationCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/GetSavingsPlansCoverageCommand.d.ts +17 -0
  159. package/{dist/types → dist-types}/ts3.4/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +4 -22
  160. package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/GetUsageForecastCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/ListCostCategoryDefinitionsCommand.d.ts +17 -0
  165. package/{dist/types → dist-types}/ts3.4/commands/ProvideAnomalyFeedbackCommand.d.ts +4 -22
  166. package/dist-types/ts3.4/commands/UpdateAnomalyMonitorCommand.d.ts +17 -0
  167. package/{dist/types → dist-types}/ts3.4/commands/UpdateAnomalySubscriptionCommand.d.ts +4 -22
  168. package/dist-types/ts3.4/commands/UpdateCostCategoryDefinitionCommand.d.ts +17 -0
  169. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  170. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  171. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  172. package/dist-types/ts3.4/models/models_0.d.ts +2345 -0
  173. package/{dist/types → dist-types}/ts3.4/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
  174. package/{dist/types → dist-types}/ts3.4/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
  175. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  176. package/{dist/types → dist-types}/ts3.4/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  178. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  179. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  180. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  181. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  182. package/package.json +45 -42
  183. package/CostExplorer.ts +0 -1235
  184. package/CostExplorerClient.ts +0 -406
  185. package/commands/CreateAnomalyMonitorCommand.ts +0 -95
  186. package/commands/CreateAnomalySubscriptionCommand.ts +0 -99
  187. package/commands/CreateCostCategoryDefinitionCommand.ts +0 -99
  188. package/commands/DeleteAnomalyMonitorCommand.ts +0 -94
  189. package/commands/DeleteAnomalySubscriptionCommand.ts +0 -97
  190. package/commands/DeleteCostCategoryDefinitionCommand.ts +0 -99
  191. package/commands/DescribeCostCategoryDefinitionCommand.ts +0 -103
  192. package/commands/GetAnomaliesCommand.ts +0 -95
  193. package/commands/GetAnomalyMonitorsCommand.ts +0 -95
  194. package/commands/GetAnomalySubscriptionsCommand.ts +0 -95
  195. package/commands/GetCostAndUsageCommand.ts +0 -99
  196. package/commands/GetCostAndUsageWithResourcesCommand.ts +0 -106
  197. package/commands/GetCostCategoriesCommand.ts +0 -97
  198. package/commands/GetCostForecastCommand.ts +0 -94
  199. package/commands/GetDimensionValuesCommand.ts +0 -94
  200. package/commands/GetReservationCoverageCommand.ts +0 -135
  201. package/commands/GetReservationPurchaseRecommendationCommand.ts +0 -114
  202. package/commands/GetReservationUtilizationCommand.ts +0 -99
  203. package/commands/GetRightsizingRecommendationCommand.ts +0 -108
  204. package/commands/GetSavingsPlansCoverageCommand.ts +0 -117
  205. package/commands/GetSavingsPlansPurchaseRecommendationCommand.ts +0 -106
  206. package/commands/GetSavingsPlansUtilizationCommand.ts +0 -100
  207. package/commands/GetSavingsPlansUtilizationDetailsCommand.ts +0 -109
  208. package/commands/GetTagsCommand.ts +0 -91
  209. package/commands/GetUsageForecastCommand.ts +0 -94
  210. package/commands/ListCostCategoryDefinitionsCommand.ts +0 -99
  211. package/commands/ProvideAnomalyFeedbackCommand.ts +0 -94
  212. package/commands/UpdateAnomalyMonitorCommand.ts +0 -95
  213. package/commands/UpdateAnomalySubscriptionCommand.ts +0 -97
  214. package/commands/UpdateCostCategoryDefinitionCommand.ts +0 -99
  215. package/dist/cjs/CostExplorer.js.map +0 -1
  216. package/dist/cjs/CostExplorerClient.js +0 -59
  217. package/dist/cjs/CostExplorerClient.js.map +0 -1
  218. package/dist/cjs/commands/CreateAnomalyMonitorCommand.js.map +0 -1
  219. package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js.map +0 -1
  220. package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js.map +0 -1
  221. package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js.map +0 -1
  222. package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js.map +0 -1
  223. package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js.map +0 -1
  224. package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js.map +0 -1
  225. package/dist/cjs/commands/GetAnomaliesCommand.js.map +0 -1
  226. package/dist/cjs/commands/GetAnomalyMonitorsCommand.js.map +0 -1
  227. package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js.map +0 -1
  228. package/dist/cjs/commands/GetCostAndUsageCommand.js +0 -66
  229. package/dist/cjs/commands/GetCostAndUsageCommand.js.map +0 -1
  230. package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js +0 -68
  231. package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js.map +0 -1
  232. package/dist/cjs/commands/GetCostCategoriesCommand.js.map +0 -1
  233. package/dist/cjs/commands/GetCostForecastCommand.js.map +0 -1
  234. package/dist/cjs/commands/GetDimensionValuesCommand.js.map +0 -1
  235. package/dist/cjs/commands/GetReservationCoverageCommand.js +0 -102
  236. package/dist/cjs/commands/GetReservationCoverageCommand.js.map +0 -1
  237. package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js +0 -70
  238. package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js.map +0 -1
  239. package/dist/cjs/commands/GetReservationUtilizationCommand.js.map +0 -1
  240. package/dist/cjs/commands/GetRightsizingRecommendationCommand.js.map +0 -1
  241. package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js +0 -84
  242. package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js.map +0 -1
  243. package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +0 -1
  244. package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js.map +0 -1
  245. package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +0 -1
  246. package/dist/cjs/commands/GetTagsCommand.js.map +0 -1
  247. package/dist/cjs/commands/GetUsageForecastCommand.js.map +0 -1
  248. package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js.map +0 -1
  249. package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js.map +0 -1
  250. package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js.map +0 -1
  251. package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js.map +0 -1
  252. package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js.map +0 -1
  253. package/dist/cjs/endpoints.js.map +0 -1
  254. package/dist/cjs/index.js.map +0 -1
  255. package/dist/cjs/models/index.js.map +0 -1
  256. package/dist/cjs/models/models_0.js.map +0 -1
  257. package/dist/cjs/package.json +0 -91
  258. package/dist/cjs/pagination/GetSavingsPlansCoveragePaginator.js.map +0 -1
  259. package/dist/cjs/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +0 -1
  260. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  261. package/dist/cjs/pagination/ListCostCategoryDefinitionsPaginator.js.map +0 -1
  262. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  263. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  264. package/dist/cjs/runtimeConfig.js.map +0 -1
  265. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  266. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  267. package/dist/es/CostExplorer.js.map +0 -1
  268. package/dist/es/CostExplorerClient.js.map +0 -1
  269. package/dist/es/commands/CreateAnomalyMonitorCommand.js.map +0 -1
  270. package/dist/es/commands/CreateAnomalySubscriptionCommand.js.map +0 -1
  271. package/dist/es/commands/CreateCostCategoryDefinitionCommand.js.map +0 -1
  272. package/dist/es/commands/DeleteAnomalyMonitorCommand.js.map +0 -1
  273. package/dist/es/commands/DeleteAnomalySubscriptionCommand.js.map +0 -1
  274. package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js.map +0 -1
  275. package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js.map +0 -1
  276. package/dist/es/commands/GetAnomaliesCommand.js.map +0 -1
  277. package/dist/es/commands/GetAnomalyMonitorsCommand.js.map +0 -1
  278. package/dist/es/commands/GetAnomalySubscriptionsCommand.js.map +0 -1
  279. package/dist/es/commands/GetCostAndUsageCommand.js.map +0 -1
  280. package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js.map +0 -1
  281. package/dist/es/commands/GetCostCategoriesCommand.js.map +0 -1
  282. package/dist/es/commands/GetCostForecastCommand.js.map +0 -1
  283. package/dist/es/commands/GetDimensionValuesCommand.js.map +0 -1
  284. package/dist/es/commands/GetReservationCoverageCommand.js.map +0 -1
  285. package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js.map +0 -1
  286. package/dist/es/commands/GetReservationUtilizationCommand.js.map +0 -1
  287. package/dist/es/commands/GetRightsizingRecommendationCommand.js.map +0 -1
  288. package/dist/es/commands/GetSavingsPlansCoverageCommand.js.map +0 -1
  289. package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +0 -1
  290. package/dist/es/commands/GetSavingsPlansUtilizationCommand.js.map +0 -1
  291. package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +0 -1
  292. package/dist/es/commands/GetTagsCommand.js.map +0 -1
  293. package/dist/es/commands/GetUsageForecastCommand.js.map +0 -1
  294. package/dist/es/commands/ListCostCategoryDefinitionsCommand.js.map +0 -1
  295. package/dist/es/commands/ProvideAnomalyFeedbackCommand.js.map +0 -1
  296. package/dist/es/commands/UpdateAnomalyMonitorCommand.js.map +0 -1
  297. package/dist/es/commands/UpdateAnomalySubscriptionCommand.js.map +0 -1
  298. package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js.map +0 -1
  299. package/dist/es/endpoints.js.map +0 -1
  300. package/dist/es/index.js +0 -38
  301. package/dist/es/index.js.map +0 -1
  302. package/dist/es/models/index.js +0 -2
  303. package/dist/es/models/index.js.map +0 -1
  304. package/dist/es/models/models_0.js.map +0 -1
  305. package/dist/es/package.json +0 -91
  306. package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js.map +0 -1
  307. package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +0 -1
  308. package/dist/es/pagination/Interfaces.js +0 -2
  309. package/dist/es/pagination/Interfaces.js.map +0 -1
  310. package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js.map +0 -1
  311. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  312. package/dist/es/runtimeConfig.browser.js.map +0 -1
  313. package/dist/es/runtimeConfig.js.map +0 -1
  314. package/dist/es/runtimeConfig.native.js.map +0 -1
  315. package/dist/es/runtimeConfig.shared.js.map +0 -1
  316. package/dist/types/ts3.4/commands/CreateAnomalyMonitorCommand.d.ts +0 -36
  317. package/dist/types/ts3.4/commands/CreateAnomalySubscriptionCommand.d.ts +0 -37
  318. package/dist/types/ts3.4/commands/DescribeCostCategoryDefinitionCommand.d.ts +0 -36
  319. package/dist/types/ts3.4/commands/GetAnomaliesCommand.d.ts +0 -36
  320. package/dist/types/ts3.4/commands/GetAnomalyMonitorsCommand.d.ts +0 -36
  321. package/dist/types/ts3.4/commands/GetAnomalySubscriptionsCommand.d.ts +0 -36
  322. package/dist/types/ts3.4/commands/GetCostAndUsageCommand.d.ts +0 -40
  323. package/dist/types/ts3.4/commands/GetCostAndUsageWithResourcesCommand.d.ts +0 -42
  324. package/dist/types/ts3.4/commands/GetCostCategoriesCommand.d.ts +0 -38
  325. package/dist/types/ts3.4/commands/GetCostForecastCommand.d.ts +0 -35
  326. package/dist/types/ts3.4/commands/GetDimensionValuesCommand.d.ts +0 -35
  327. package/dist/types/ts3.4/commands/GetReservationCoverageCommand.d.ts +0 -76
  328. package/dist/types/ts3.4/commands/GetReservationPurchaseRecommendationCommand.d.ts +0 -44
  329. package/dist/types/ts3.4/commands/GetReservationUtilizationCommand.d.ts +0 -37
  330. package/dist/types/ts3.4/commands/GetRightsizingRecommendationCommand.d.ts +0 -44
  331. package/dist/types/ts3.4/commands/GetSavingsPlansCoverageCommand.d.ts +0 -58
  332. package/dist/types/ts3.4/commands/GetSavingsPlansUtilizationCommand.d.ts +0 -38
  333. package/dist/types/ts3.4/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +0 -39
  334. package/dist/types/ts3.4/commands/GetTagsCommand.d.ts +0 -35
  335. package/dist/types/ts3.4/commands/GetUsageForecastCommand.d.ts +0 -35
  336. package/dist/types/ts3.4/commands/ListCostCategoryDefinitionsCommand.d.ts +0 -35
  337. package/dist/types/ts3.4/commands/UpdateAnomalyMonitorCommand.d.ts +0 -36
  338. package/dist/types/ts3.4/commands/UpdateCostCategoryDefinitionCommand.d.ts +0 -35
  339. package/dist/types/ts3.4/models/models_0.d.ts +0 -5807
  340. package/endpoints.ts +0 -67
  341. package/jest.config.js +0 -4
  342. package/models/models_0.ts +0 -6842
  343. package/pagination/GetSavingsPlansCoveragePaginator.ts +0 -58
  344. package/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts +0 -58
  345. package/pagination/Interfaces.ts +0 -7
  346. package/pagination/ListCostCategoryDefinitionsPaginator.ts +0 -58
  347. package/protocols/Aws_json1_1.ts +0 -5865
  348. package/runtimeConfig.browser.ts +0 -40
  349. package/runtimeConfig.native.ts +0 -16
  350. package/runtimeConfig.shared.ts +0 -16
  351. package/runtimeConfig.ts +0 -45
  352. package/tsconfig.es.json +0 -10
  353. package/tsconfig.json +0 -31
  354. package/tsconfig.types.json +0 -8
@@ -1,406 +0,0 @@
1
- import {
2
- CreateAnomalyMonitorCommandInput,
3
- CreateAnomalyMonitorCommandOutput,
4
- } from "./commands/CreateAnomalyMonitorCommand";
5
- import {
6
- CreateAnomalySubscriptionCommandInput,
7
- CreateAnomalySubscriptionCommandOutput,
8
- } from "./commands/CreateAnomalySubscriptionCommand";
9
- import {
10
- CreateCostCategoryDefinitionCommandInput,
11
- CreateCostCategoryDefinitionCommandOutput,
12
- } from "./commands/CreateCostCategoryDefinitionCommand";
13
- import {
14
- DeleteAnomalyMonitorCommandInput,
15
- DeleteAnomalyMonitorCommandOutput,
16
- } from "./commands/DeleteAnomalyMonitorCommand";
17
- import {
18
- DeleteAnomalySubscriptionCommandInput,
19
- DeleteAnomalySubscriptionCommandOutput,
20
- } from "./commands/DeleteAnomalySubscriptionCommand";
21
- import {
22
- DeleteCostCategoryDefinitionCommandInput,
23
- DeleteCostCategoryDefinitionCommandOutput,
24
- } from "./commands/DeleteCostCategoryDefinitionCommand";
25
- import {
26
- DescribeCostCategoryDefinitionCommandInput,
27
- DescribeCostCategoryDefinitionCommandOutput,
28
- } from "./commands/DescribeCostCategoryDefinitionCommand";
29
- import { GetAnomaliesCommandInput, GetAnomaliesCommandOutput } from "./commands/GetAnomaliesCommand";
30
- import { GetAnomalyMonitorsCommandInput, GetAnomalyMonitorsCommandOutput } from "./commands/GetAnomalyMonitorsCommand";
31
- import {
32
- GetAnomalySubscriptionsCommandInput,
33
- GetAnomalySubscriptionsCommandOutput,
34
- } from "./commands/GetAnomalySubscriptionsCommand";
35
- import { GetCostAndUsageCommandInput, GetCostAndUsageCommandOutput } from "./commands/GetCostAndUsageCommand";
36
- import {
37
- GetCostAndUsageWithResourcesCommandInput,
38
- GetCostAndUsageWithResourcesCommandOutput,
39
- } from "./commands/GetCostAndUsageWithResourcesCommand";
40
- import { GetCostCategoriesCommandInput, GetCostCategoriesCommandOutput } from "./commands/GetCostCategoriesCommand";
41
- import { GetCostForecastCommandInput, GetCostForecastCommandOutput } from "./commands/GetCostForecastCommand";
42
- import { GetDimensionValuesCommandInput, GetDimensionValuesCommandOutput } from "./commands/GetDimensionValuesCommand";
43
- import {
44
- GetReservationCoverageCommandInput,
45
- GetReservationCoverageCommandOutput,
46
- } from "./commands/GetReservationCoverageCommand";
47
- import {
48
- GetReservationPurchaseRecommendationCommandInput,
49
- GetReservationPurchaseRecommendationCommandOutput,
50
- } from "./commands/GetReservationPurchaseRecommendationCommand";
51
- import {
52
- GetReservationUtilizationCommandInput,
53
- GetReservationUtilizationCommandOutput,
54
- } from "./commands/GetReservationUtilizationCommand";
55
- import {
56
- GetRightsizingRecommendationCommandInput,
57
- GetRightsizingRecommendationCommandOutput,
58
- } from "./commands/GetRightsizingRecommendationCommand";
59
- import {
60
- GetSavingsPlansCoverageCommandInput,
61
- GetSavingsPlansCoverageCommandOutput,
62
- } from "./commands/GetSavingsPlansCoverageCommand";
63
- import {
64
- GetSavingsPlansPurchaseRecommendationCommandInput,
65
- GetSavingsPlansPurchaseRecommendationCommandOutput,
66
- } from "./commands/GetSavingsPlansPurchaseRecommendationCommand";
67
- import {
68
- GetSavingsPlansUtilizationCommandInput,
69
- GetSavingsPlansUtilizationCommandOutput,
70
- } from "./commands/GetSavingsPlansUtilizationCommand";
71
- import {
72
- GetSavingsPlansUtilizationDetailsCommandInput,
73
- GetSavingsPlansUtilizationDetailsCommandOutput,
74
- } from "./commands/GetSavingsPlansUtilizationDetailsCommand";
75
- import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
76
- import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "./commands/GetUsageForecastCommand";
77
- import {
78
- ListCostCategoryDefinitionsCommandInput,
79
- ListCostCategoryDefinitionsCommandOutput,
80
- } from "./commands/ListCostCategoryDefinitionsCommand";
81
- import {
82
- ProvideAnomalyFeedbackCommandInput,
83
- ProvideAnomalyFeedbackCommandOutput,
84
- } from "./commands/ProvideAnomalyFeedbackCommand";
85
- import {
86
- UpdateAnomalyMonitorCommandInput,
87
- UpdateAnomalyMonitorCommandOutput,
88
- } from "./commands/UpdateAnomalyMonitorCommand";
89
- import {
90
- UpdateAnomalySubscriptionCommandInput,
91
- UpdateAnomalySubscriptionCommandOutput,
92
- } from "./commands/UpdateAnomalySubscriptionCommand";
93
- import {
94
- UpdateCostCategoryDefinitionCommandInput,
95
- UpdateCostCategoryDefinitionCommandOutput,
96
- } from "./commands/UpdateCostCategoryDefinitionCommand";
97
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
98
- import {
99
- EndpointsInputConfig,
100
- EndpointsResolvedConfig,
101
- RegionInputConfig,
102
- RegionResolvedConfig,
103
- resolveEndpointsConfig,
104
- resolveRegionConfig,
105
- } from "@aws-sdk/config-resolver";
106
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
107
- import {
108
- HostHeaderInputConfig,
109
- HostHeaderResolvedConfig,
110
- getHostHeaderPlugin,
111
- resolveHostHeaderConfig,
112
- } from "@aws-sdk/middleware-host-header";
113
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
114
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
115
- import {
116
- AwsAuthInputConfig,
117
- AwsAuthResolvedConfig,
118
- getAwsAuthPlugin,
119
- resolveAwsAuthConfig,
120
- } from "@aws-sdk/middleware-signing";
121
- import {
122
- UserAgentInputConfig,
123
- UserAgentResolvedConfig,
124
- getUserAgentPlugin,
125
- resolveUserAgentConfig,
126
- } from "@aws-sdk/middleware-user-agent";
127
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
128
- import {
129
- Client as __Client,
130
- SmithyConfiguration as __SmithyConfiguration,
131
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
132
- } from "@aws-sdk/smithy-client";
133
- import {
134
- Provider,
135
- RegionInfoProvider,
136
- Credentials as __Credentials,
137
- Decoder as __Decoder,
138
- Encoder as __Encoder,
139
- Hash as __Hash,
140
- HashConstructor as __HashConstructor,
141
- HttpHandlerOptions as __HttpHandlerOptions,
142
- Logger as __Logger,
143
- Provider as __Provider,
144
- StreamCollector as __StreamCollector,
145
- UrlParser as __UrlParser,
146
- UserAgent as __UserAgent,
147
- } from "@aws-sdk/types";
148
-
149
- export type ServiceInputTypes =
150
- | CreateAnomalyMonitorCommandInput
151
- | CreateAnomalySubscriptionCommandInput
152
- | CreateCostCategoryDefinitionCommandInput
153
- | DeleteAnomalyMonitorCommandInput
154
- | DeleteAnomalySubscriptionCommandInput
155
- | DeleteCostCategoryDefinitionCommandInput
156
- | DescribeCostCategoryDefinitionCommandInput
157
- | GetAnomaliesCommandInput
158
- | GetAnomalyMonitorsCommandInput
159
- | GetAnomalySubscriptionsCommandInput
160
- | GetCostAndUsageCommandInput
161
- | GetCostAndUsageWithResourcesCommandInput
162
- | GetCostCategoriesCommandInput
163
- | GetCostForecastCommandInput
164
- | GetDimensionValuesCommandInput
165
- | GetReservationCoverageCommandInput
166
- | GetReservationPurchaseRecommendationCommandInput
167
- | GetReservationUtilizationCommandInput
168
- | GetRightsizingRecommendationCommandInput
169
- | GetSavingsPlansCoverageCommandInput
170
- | GetSavingsPlansPurchaseRecommendationCommandInput
171
- | GetSavingsPlansUtilizationCommandInput
172
- | GetSavingsPlansUtilizationDetailsCommandInput
173
- | GetTagsCommandInput
174
- | GetUsageForecastCommandInput
175
- | ListCostCategoryDefinitionsCommandInput
176
- | ProvideAnomalyFeedbackCommandInput
177
- | UpdateAnomalyMonitorCommandInput
178
- | UpdateAnomalySubscriptionCommandInput
179
- | UpdateCostCategoryDefinitionCommandInput;
180
-
181
- export type ServiceOutputTypes =
182
- | CreateAnomalyMonitorCommandOutput
183
- | CreateAnomalySubscriptionCommandOutput
184
- | CreateCostCategoryDefinitionCommandOutput
185
- | DeleteAnomalyMonitorCommandOutput
186
- | DeleteAnomalySubscriptionCommandOutput
187
- | DeleteCostCategoryDefinitionCommandOutput
188
- | DescribeCostCategoryDefinitionCommandOutput
189
- | GetAnomaliesCommandOutput
190
- | GetAnomalyMonitorsCommandOutput
191
- | GetAnomalySubscriptionsCommandOutput
192
- | GetCostAndUsageCommandOutput
193
- | GetCostAndUsageWithResourcesCommandOutput
194
- | GetCostCategoriesCommandOutput
195
- | GetCostForecastCommandOutput
196
- | GetDimensionValuesCommandOutput
197
- | GetReservationCoverageCommandOutput
198
- | GetReservationPurchaseRecommendationCommandOutput
199
- | GetReservationUtilizationCommandOutput
200
- | GetRightsizingRecommendationCommandOutput
201
- | GetSavingsPlansCoverageCommandOutput
202
- | GetSavingsPlansPurchaseRecommendationCommandOutput
203
- | GetSavingsPlansUtilizationCommandOutput
204
- | GetSavingsPlansUtilizationDetailsCommandOutput
205
- | GetTagsCommandOutput
206
- | GetUsageForecastCommandOutput
207
- | ListCostCategoryDefinitionsCommandOutput
208
- | ProvideAnomalyFeedbackCommandOutput
209
- | UpdateAnomalyMonitorCommandOutput
210
- | UpdateAnomalySubscriptionCommandOutput
211
- | UpdateCostCategoryDefinitionCommandOutput;
212
-
213
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
214
- /**
215
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
216
- */
217
- requestHandler?: __HttpHandler;
218
-
219
- /**
220
- * A constructor for a class implementing the {@link __Hash} interface
221
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
222
- * @internal
223
- */
224
- sha256?: __HashConstructor;
225
-
226
- /**
227
- * The function that will be used to convert strings into HTTP endpoints.
228
- * @internal
229
- */
230
- urlParser?: __UrlParser;
231
-
232
- /**
233
- * A function that can calculate the length of a request body.
234
- * @internal
235
- */
236
- bodyLengthChecker?: (body: any) => number | undefined;
237
-
238
- /**
239
- * A function that converts a stream into an array of bytes.
240
- * @internal
241
- */
242
- streamCollector?: __StreamCollector;
243
-
244
- /**
245
- * The function that will be used to convert a base64-encoded string to a byte array.
246
- * @internal
247
- */
248
- base64Decoder?: __Decoder;
249
-
250
- /**
251
- * The function that will be used to convert binary data to a base64-encoded string.
252
- * @internal
253
- */
254
- base64Encoder?: __Encoder;
255
-
256
- /**
257
- * The function that will be used to convert a UTF8-encoded string to a byte array.
258
- * @internal
259
- */
260
- utf8Decoder?: __Decoder;
261
-
262
- /**
263
- * The function that will be used to convert binary data to a UTF-8 encoded string.
264
- * @internal
265
- */
266
- utf8Encoder?: __Encoder;
267
-
268
- /**
269
- * The runtime environment.
270
- * @internal
271
- */
272
- runtime?: string;
273
-
274
- /**
275
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
276
- * trait of an operation.
277
- */
278
- disableHostPrefix?: boolean;
279
-
280
- /**
281
- * Value for how many times a request will be made at most in case of retry.
282
- */
283
- maxAttempts?: number | __Provider<number>;
284
-
285
- /**
286
- * Specifies which retry algorithm to use.
287
- */
288
- retryMode?: string | __Provider<string>;
289
-
290
- /**
291
- * Optional logger for logging debug/info/warn/error.
292
- */
293
- logger?: __Logger;
294
-
295
- /**
296
- * Unique service identifier.
297
- * @internal
298
- */
299
- serviceId?: string;
300
-
301
- /**
302
- * The AWS region to which this client will send requests
303
- */
304
- region?: string | __Provider<string>;
305
-
306
- /**
307
- * Default credentials provider; Not available in browser runtime.
308
- * @internal
309
- */
310
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
311
-
312
- /**
313
- * Fetch related hostname, signing name or signing region with given region.
314
- * @internal
315
- */
316
- regionInfoProvider?: RegionInfoProvider;
317
-
318
- /**
319
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
320
- * @internal
321
- */
322
- defaultUserAgentProvider?: Provider<__UserAgent>;
323
- }
324
-
325
- type CostExplorerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
326
- ClientDefaults &
327
- RegionInputConfig &
328
- EndpointsInputConfig &
329
- RetryInputConfig &
330
- HostHeaderInputConfig &
331
- AwsAuthInputConfig &
332
- UserAgentInputConfig;
333
- /**
334
- * The configuration interface of CostExplorerClient class constructor that set the region, credentials and other options.
335
- */
336
- export interface CostExplorerClientConfig extends CostExplorerClientConfigType {}
337
-
338
- type CostExplorerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
339
- Required<ClientDefaults> &
340
- RegionResolvedConfig &
341
- EndpointsResolvedConfig &
342
- RetryResolvedConfig &
343
- HostHeaderResolvedConfig &
344
- AwsAuthResolvedConfig &
345
- UserAgentResolvedConfig;
346
- /**
347
- * The resolved configuration interface of CostExplorerClient class. This is resolved and normalized from the {@link CostExplorerClientConfig | constructor configuration interface}.
348
- */
349
- export interface CostExplorerClientResolvedConfig extends CostExplorerClientResolvedConfigType {}
350
-
351
- /**
352
- * <p>You can use the Cost Explorer API to programmatically query your cost and usage data. You
353
- * can query for aggregated data such as total monthly costs or total daily usage. You can also
354
- * query for granular data. This might include the number of daily write operations for Amazon
355
- * DynamoDB database tables in your production environment. </p>
356
- * <p>Service Endpoint</p>
357
- * <p>The Cost Explorer API provides the following endpoint:</p>
358
- * <ul>
359
- * <li>
360
- * <p>
361
- * <code>https://ce.us-east-1.amazonaws.com</code>
362
- * </p>
363
- * </li>
364
- * </ul>
365
- * <p>For information about the costs that are associated with the Cost Explorer API, see
366
- * <a href="http://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost
367
- * Management Pricing</a>.</p>
368
- */
369
- export class CostExplorerClient extends __Client<
370
- __HttpHandlerOptions,
371
- ServiceInputTypes,
372
- ServiceOutputTypes,
373
- CostExplorerClientResolvedConfig
374
- > {
375
- /**
376
- * The resolved configuration of CostExplorerClient class. This is resolved and normalized from the {@link CostExplorerClientConfig | constructor configuration interface}.
377
- */
378
- readonly config: CostExplorerClientResolvedConfig;
379
-
380
- constructor(configuration: CostExplorerClientConfig) {
381
- let _config_0 = __getRuntimeConfig(configuration);
382
- let _config_1 = resolveRegionConfig(_config_0);
383
- let _config_2 = resolveEndpointsConfig(_config_1);
384
- let _config_3 = resolveRetryConfig(_config_2);
385
- let _config_4 = resolveHostHeaderConfig(_config_3);
386
- let _config_5 = resolveAwsAuthConfig(_config_4);
387
- let _config_6 = resolveUserAgentConfig(_config_5);
388
- super(_config_6);
389
- this.config = _config_6;
390
- this.middlewareStack.use(getRetryPlugin(this.config));
391
- this.middlewareStack.use(getContentLengthPlugin(this.config));
392
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
393
- this.middlewareStack.use(getLoggerPlugin(this.config));
394
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
395
- this.middlewareStack.use(getUserAgentPlugin(this.config));
396
- }
397
-
398
- /**
399
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
400
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
401
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
402
- */
403
- destroy(): void {
404
- super.destroy();
405
- }
406
- }
@@ -1,95 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { CreateAnomalyMonitorRequest, CreateAnomalyMonitorResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateAnomalyMonitorCommand,
5
- serializeAws_json1_1CreateAnomalyMonitorCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateAnomalyMonitorCommandInput extends CreateAnomalyMonitorRequest {}
21
- export interface CreateAnomalyMonitorCommandOutput extends CreateAnomalyMonitorResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a new cost anomaly detection monitor with the requested type and monitor
25
- * specification. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { CostExplorerClient, CreateAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
30
- * // const { CostExplorerClient, CreateAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
31
- * const client = new CostExplorerClient(config);
32
- * const command = new CreateAnomalyMonitorCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateAnomalyMonitorCommandInput} for command's `input` shape.
37
- * @see {@link CreateAnomalyMonitorCommandOutput} for command's `response` shape.
38
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateAnomalyMonitorCommand extends $Command<
42
- CreateAnomalyMonitorCommandInput,
43
- CreateAnomalyMonitorCommandOutput,
44
- CostExplorerClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateAnomalyMonitorCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: CostExplorerClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateAnomalyMonitorCommandInput, CreateAnomalyMonitorCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "CostExplorerClient";
69
- const commandName = "CreateAnomalyMonitorCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateAnomalyMonitorRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateAnomalyMonitorResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateAnomalyMonitorCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1CreateAnomalyMonitorCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAnomalyMonitorCommandOutput> {
90
- return deserializeAws_json1_1CreateAnomalyMonitorCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,99 +0,0 @@
1
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
2
- import { CreateAnomalySubscriptionRequest, CreateAnomalySubscriptionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateAnomalySubscriptionCommand,
5
- serializeAws_json1_1CreateAnomalySubscriptionCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateAnomalySubscriptionCommandInput extends CreateAnomalySubscriptionRequest {}
21
- export interface CreateAnomalySubscriptionCommandOutput extends CreateAnomalySubscriptionResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds a subscription to a cost anomaly detection monitor. You can use each subscription to
25
- * define subscribers with email or SNS notifications. Email subscribers can set a dollar
26
- * threshold and a time frequency for receiving notifications. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { CostExplorerClient, CreateAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
31
- * // const { CostExplorerClient, CreateAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
32
- * const client = new CostExplorerClient(config);
33
- * const command = new CreateAnomalySubscriptionCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link CreateAnomalySubscriptionCommandInput} for command's `input` shape.
38
- * @see {@link CreateAnomalySubscriptionCommandOutput} for command's `response` shape.
39
- * @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class CreateAnomalySubscriptionCommand extends $Command<
43
- CreateAnomalySubscriptionCommandInput,
44
- CreateAnomalySubscriptionCommandOutput,
45
- CostExplorerClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: CreateAnomalySubscriptionCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: CostExplorerClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<CreateAnomalySubscriptionCommandInput, CreateAnomalySubscriptionCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "CostExplorerClient";
70
- const commandName = "CreateAnomalySubscriptionCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: CreateAnomalySubscriptionRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: CreateAnomalySubscriptionResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: CreateAnomalySubscriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1CreateAnomalySubscriptionCommand(input, context);
88
- }
89
-
90
- private deserialize(
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ): Promise<CreateAnomalySubscriptionCommandOutput> {
94
- return deserializeAws_json1_1CreateAnomalySubscriptionCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }