@devries-cameron20 / t3code Mirror · read-only
Fork 0

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, 04:45 UTC

main
ts 14 lines 515 Bytes
Raw
1 import * as aa from "@distilled.cloud/aws/accessanalyzer";
2 import * as Layer from "effect/Layer";
3 import { makeAnalyzerScopedHttpBinding } from "./BindingHttp.ts";
4 import { GetFindingV2 } from "./GetFindingV2.ts";
5
6 export const GetFindingV2Http = Layer.effect(
7 GetFindingV2,
8 makeAnalyzerScopedHttpBinding({
9 tag: "AWS.AccessAnalyzer.GetFindingV2",
10 operation: aa.getFindingV2,
11 // GetFinding and GetFindingV2 both use `access-analyzer:GetFinding`.
12 actions: ["access-analyzer:GetFinding"],
13 }),
14 );