ListTagsForResource
Source:
src/AWS/Kinesis/ListTagsForResource.ts
Runtime binding for kinesis:ListTagsForResource.
Bind this operation to a Stream or StreamConsumer to read its tags —
the resource ARN is injected automatically. Provide the implementation
with Effect.provide(AWS.Kinesis.ListTagsForResourceHttp).
Inspecting Streams
Section titled “Inspecting Streams”// init — works for a Stream or a StreamConsumerconst listTagsForResource = yield* AWS.Kinesis.ListTagsForResource(stream);
// runtimeconst result = yield* listTagsForResource();const tags = Object.fromEntries( (result.Tags ?? []).map((tag) => [tag.Key, tag.Value]),);