- rawHandler<D, Configuration, Service, Profile, Payload, Result>(definition: D & RawHandler<Configuration, Service, Profile, Payload, Result>, __namedParameters?: { _kernel?: <Configuration, Service, Profile, Payload, Result>(handler: RawHandler<Configuration, Service, Profile, Payload, Result>, event: unknown, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<Result>> }): D & EventHandlerFn<Configuration, Service, Profile, Result>
Type parameters
- D
- Configuration = undefined
- Service: undefined | DefaultServices = undefined
- Profile: MaybeGenericParser = undefined
- Payload: MaybeGenericParser = undefined
- Result: MaybeGenericParser = undefined
Parameters
definition: D & RawHandler<Configuration, Service, Profile, Payload, Result>
__namedParameters: { _kernel?: <Configuration, Service, Profile, Payload, Result>(handler: RawHandler<Configuration, Service, Profile, Payload, Result>, event: unknown, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<Result>> } = {}
optional_kernel: <Configuration, Service, Profile, Payload, Result>(handler: RawHandler<Configuration, Service, Profile, Payload, Result>, event: unknown, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<Result>> = handleRawEvent
Returns D & EventHandlerFn<Configuration, Service, Profile, Result>