UNPKG

@studyportals/sp-r2d2

Version:

A framework that contains various components used when developing projects that will be deployed via AWS λ.

14 lines (13 loc) 380 B
import { IRequest } from '../../../application'; /** * Offers the necessary functionality to translate a * Lambda event to a request. */ export interface IEventTranslator<TEvent> { /** * Translates the specified Lambda event to a request. * * @param event The Lambda event that is to be translated. */ translate(event: TEvent): Promise<IRequest>; }