The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 06:00 UTC
| 1 | import * as elbv2 from "@distilled.cloud/aws/elastic-load-balancing-v2"; |
| 2 | import * as Effect from "effect/Effect"; |
| 3 | import { tagListRecord } from "../internal/Observe.ts"; |
| 4 | |
| 5 | /** The tags on one ELBv2 resource, as a record. */ |
| 6 | export const readElbTags = Effect.fn(function* (resourceArn: string) { |
| 7 | const described = yield* elbv2.describeTags({ ResourceArns: [resourceArn] }); |
| 8 | return tagListRecord(described.TagDescriptions?.[0]?.Tags); |
| 9 | }); |