UNPKG

simple-lambda-client

Version:

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

14 lines (13 loc) 468 B
import { SimpleCache } from 'with-simple-caching'; import { LogMethod } from './executeLambdaInvocation'; /** * a method to invoke a lambda function with best practices */ export declare const invokeLambdaFunction: <O = any, I = any>({ service: serviceName, function: functionName, stage, event, logDebug, cache, }: { service: string; function: string; stage: string; event: I; logDebug?: LogMethod; cache?: SimpleCache<O>; }) => Promise<O>;