Skip to content

GetTags

Source: src/AWS/CostExplorer/GetTags.ts

Runtime binding for ce:GetTags.

Retrieve the cost allocation tag keys (or the values of one key) present in your cost data over a time period. Provide the implementation with Effect.provide(AWS.CostExplorer.GetTagsHttp).

// init — account-level binding takes no resource
const getTags = yield* AWS.CostExplorer.GetTags();
// runtime
const result = yield* getTags({
TimePeriod: { Start: "2026-06-01", End: "2026-07-01" },
});
const keys = result.Tags;