The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import * as Lambda from "@distilled.cloud/aws/lambda"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import * as Effect from "effect/Effect"; |
| 4 | import type { Function } from "./Function.ts"; |
| 5 | |
| 6 | export interface InvokeFunctionRequest extends Omit<Lambda.InvocationRequest, "FunctionName"> {} |
| 7 | |
| 8 | /** @binding */ |
| 9 | export interface InvokeFunction extends Binding.Service< |
| 10 | InvokeFunction, |
| 11 | "AWS.Lambda.InvokeFunction", |
| 12 | ( |
| 13 | func: Function, |
| 14 | ) => Effect.Effect< |
| 15 | (request: InvokeFunctionRequest) => Effect.Effect<Lambda.InvocationResponse, Lambda.InvokeError> |
| 16 | > |
| 17 | > {} |
| 18 | export const InvokeFunction = Binding.Service<InvokeFunction>("AWS.Lambda.InvokeFunction"); |