ListTagsForResource
Source:
src/AWS/AIOps/ListTagsForResource.ts
Runtime binding for aiops:ListTagsForResource.
Reads the tags on the bound InvestigationGroup — useful for
ownership/audit reporting from an ops function. The group’s ARN is
injected from the binding. Provide the implementation with
Effect.provide(AWS.AIOps.ListTagsForResourceHttp).
Reading Tags
Section titled “Reading Tags”// init — grants aiops:ListTagsForResource on the groupconst listTagsForResource = yield* AWS.AIOps.ListTagsForResource(group);
// runtimeconst { tags } = yield* listTagsForResource();yield* Effect.log(`owned by team ${tags?.Team}`);