| 1 | import * as Lambda from "@distilled.cloud/aws/lambda"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeFunctionHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetFunction } from "./GetFunction.ts"; |
| 5 | |
| 6 | export const GetFunctionHttp = Layer.effect( |
| 7 | GetFunction, |
| 8 | makeFunctionHttpBinding({ |
| 9 | tag: "AWS.Lambda.GetFunction", |
| 10 | operation: Lambda.getFunction, |
| 11 | actions: ["lambda:GetFunction"], |
| 12 | }), |
| 13 | ); |