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

main
ts 13 lines 492 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 { CreateAccessPreview } from "./CreateAccessPreview.ts";
5
6 export const CreateAccessPreviewHttp = Layer.effect(
7 CreateAccessPreview,
8 makeAnalyzerScopedHttpBinding({
9 tag: "AWS.AccessAnalyzer.CreateAccessPreview",
10 operation: aa.createAccessPreview,
11 actions: ["access-analyzer:CreateAccessPreview"],
12 }),
13 );