UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

9 lines (8 loc) 509 B
import { ExtendedAPIGatewayEvent } from './extended-api-gateway-event'; import { RouterConfig } from './router-config'; import { APIGatewayEvent, Context } from 'aws-lambda'; export declare class BuiltInHandlers { static handleNotImplemented(evt: ExtendedAPIGatewayEvent, flag?: string): Promise<any>; static sample(evt: ExtendedAPIGatewayEvent, flag?: string, context?: Context): Promise<any>; static defaultErrorProcessor(event: APIGatewayEvent, err: Error, cfg: RouterConfig): Promise<void>; }