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

main
ts 14 lines 486 Bytes
Raw
1 import * as amplify from "@distilled.cloud/aws/amplify";
2 import * as Layer from "effect/Layer";
3 import { makeAmplifyHttpBinding } from "./BindingHttp.ts";
4 import { GenerateAccessLogs } from "./GenerateAccessLogs.ts";
5
6 export const GenerateAccessLogsHttp = Layer.effect(
7 GenerateAccessLogs,
8 makeAmplifyHttpBinding({
9 name: "GenerateAccessLogs",
10 operation: amplify.generateAccessLogs,
11 actions: ["amplify:GenerateAccessLogs"],
12 resources: (app) => [app.appArn],
13 }),
14 );