serverless-aws-lambda
Version:
AWS Application Load Balancer and API Gateway - Lambda dev tool for Serverless. Allows Express synthax in handlers. Supports packaging, local invoking and offline ALB, APG, S3, SNS, SQS, DynamoDB Stream server mocking.
13 lines (12 loc) • 502 B
TypeScript
import type { IDestination } from "../parseEvents/index";
interface ICallDestination {
destination: IDestination;
LOCAL_PORT: string;
event: any;
payload: any;
requestId: string;
lambdaName: string;
}
export declare const callErrorDest: ({ destination, LOCAL_PORT, event, payload, requestId, lambdaName }: ICallDestination) => void;
export declare const callSuccessDest: ({ destination, LOCAL_PORT, event, payload, requestId, lambdaName }: ICallDestination) => void;
export {};