The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 499 Bytes
Raw
1 import * as aa from "@distilled.cloud/aws/accessanalyzer";
2 import * as Layer from "effect/Layer";
3 import { makeAccessAnalyzerAccountHttpBinding } from "./BindingHttp.ts";
4 import { GetGeneratedPolicy } from "./GetGeneratedPolicy.ts";
5
6 export const GetGeneratedPolicyHttp = Layer.effect(
7 GetGeneratedPolicy,
8 makeAccessAnalyzerAccountHttpBinding({
9 tag: "AWS.AccessAnalyzer.GetGeneratedPolicy",
10 operation: aa.getGeneratedPolicy,
11 actions: ["access-analyzer:GetGeneratedPolicy"],
12 }),
13 );