UNPKG

simple-lambda-client

Version:

A simple, convenient way to invoke aws lambda functions with best practices.

15 lines (14 loc) 472 B
/** * the shape of log method which can be used to report lambda invocations */ export type LogMethod = (message: string, metadata: any) => void; /** * a method to execute a lambda invocation via the aws api with best practices */ export declare const executeLambdaInvocation: ({ serviceName, functionName, stage, event, logDebug, }: { serviceName: string; functionName: string; stage: string; event: any; logDebug?: LogMethod; }) => Promise<any>;