@bitblit/epsilon
Version:
Tiny adapter to simplify building API gateway Lambda APIS
10 lines (9 loc) • 638 B
TypeScript
import { APIGatewayEvent, Context } from 'aws-lambda';
import { ExtendedAPIGatewayEvent } from '../../config/http/extended-api-gateway-event';
import { EpsilonRouter } from '../../http/route/epsilon-router';
export declare class BuiltInHandlers {
static expectedHandledByFilter(evt: ExtendedAPIGatewayEvent, flag?: string): Promise<any>;
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: EpsilonRouter): Promise<void>;
}