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

main
ts 14 lines 509 Bytes
Raw
1 import * as Lambda from "@distilled.cloud/aws/lambda";
2 import * as Layer from "effect/Layer";
3 import { makeFunctionHttpBinding } from "./BindingHttp.ts";
4 import { InvokeWithResponseStream } from "./InvokeWithResponseStream.ts";
5
6 export const InvokeWithResponseStreamHttp = Layer.effect(
7 InvokeWithResponseStream,
8 makeFunctionHttpBinding({
9 tag: "AWS.Lambda.InvokeWithResponseStream",
10 operation: Lambda.invokeWithResponseStream,
11 actions: ["lambda:InvokeFunction"],
12 qualified: true,
13 }),
14 );