UNPKG

@bitblit/ratchet-epsilon-common

Version:

Tiny adapter to simplify building API gateway Lambda APIS

10 lines (9 loc) 646 B
import { APIGatewayEvent, Context } from 'aws-lambda'; import { ExtendedAPIGatewayEvent } from '../../config/http/extended-api-gateway-event.js'; import { EpsilonRouter } from '../../http/route/epsilon-router.js'; 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>; }