GetDimensionValues
Source:
src/AWS/CostExplorer/GetDimensionValues.ts
Runtime binding for ce:GetDimensionValues.
Retrieve the available values for a Cost Explorer dimension
(services, linked accounts, regions, usage types, …) — the building
blocks of query filter expressions. Provide the implementation with
Effect.provide(AWS.CostExplorer.GetDimensionValuesHttp).
Exploring Dimensions and Tags
Section titled “Exploring Dimensions and Tags”// init — account-level binding takes no resourceconst getDimensionValues = yield* AWS.CostExplorer.GetDimensionValues();
// runtimeconst result = yield* getDimensionValues({ TimePeriod: { Start: "2026-06-01", End: "2026-07-01" }, Dimension: "SERVICE",});const services = (result.DimensionValues ?? []).map((v) => v.Value);