import type * as Lambda from "@distilled.cloud/aws/lambda"; import * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Function } from "./Function.ts"; export interface GetFunctionRequest extends Omit { } /** * Runtime binding for `lambda:GetFunction`. * * Reads the bound {@link Function}'s configuration, code location, and tags — * useful for introspection and operational tooling at runtime. Provide the * `GetFunctionHttp` layer on the Function to satisfy the binding. * ### Function Metadata * **Example:** Read a function's configuration * ```typescript * const getFunction = yield* AWS.Lambda.GetFunction(target); * * const response = yield* getFunction(); * const memory = response.Configuration?.MemorySize; * ``` * * @binding */ export interface GetFunction extends Binding.Service Effect.Effect<(request?: GetFunctionRequest) => Effect.Effect>> { } export declare const GetFunction: GetFunction; //# sourceMappingURL=GetFunction.d.ts.map