GetCostCategories
Source:
src/AWS/CostExplorer/GetCostCategories.ts
Runtime binding for ce:GetCostCategories.
Retrieve the cost category names (or the values of one category)
present in your cost data — usable in query filter expressions. Provide the implementation with
Effect.provide(AWS.CostExplorer.GetCostCategoriesHttp).
Exploring Dimensions and Tags
Section titled “Exploring Dimensions and Tags”// init — account-level binding takes no resourceconst getCostCategories = yield* AWS.CostExplorer.GetCostCategories();
// runtimeconst result = yield* getCostCategories({ TimePeriod: { Start: "2026-06-01", End: "2026-07-01" },});const names = result.CostCategoryNames;