ListTagsForResource
Source:
src/AWS/CostAndUsageReport/ListTagsForResource.ts
Runtime binding for cur:ListTagsForResource — read the tags on the bound
ReportDefinition. The report’s name is injected automatically, so
the runtime callable takes no arguments.
Provide the implementation with
Effect.provide(AWS.CostAndUsageReport.ListTagsForResourceHttp).
Reading Report Tags
Section titled “Reading Report Tags”// init — grants cur:ListTagsForResource on the report's ARNconst listReportTags = yield* AWS.CostAndUsageReport.ListTagsForResource(report);
// runtimeconst { Tags } = yield* listReportTags();for (const tag of Tags ?? []) { yield* Effect.log(`${tag.Key}=${tag.Value}`);}