Class GenericControllerAbstract
Constructors
Properties
Protected
callback
callback: any
Methods
Protected
done
- done(error?, res?): void
Parameters
- error: any = null
Optional
res: any
Returns void
getLambdaLogLevel
- getLambdaLogLevel():
| "TRACE"
| "DEBUG"
| "INFO"
| "WARN"
| "ERROR"
| "FATAL" Returns
| "TRACE"
| "DEBUG"
| "INFO"
| "WARN"
| "ERROR"
| "FATAL"
Protected
handleControllerError
- handleControllerError(err, interceptedInContext, replaceWithMessage): UnhandledError | HandledError
Parameters
- err: any
- interceptedInContext: string
- replaceWithMessage: string
handleRequest
- handleRequest(): Promise<void>
Returns Promise<void>
setLambdaLogLevel
- setLambdaLogLevel(logLevel): void
Parameters
- logLevel:
| "TRACE"
| "DEBUG"
| "INFO"
| "WARN"
| "ERROR"
| "FATAL"
Returns void
silentLambdaLogs
- silentLambdaLogs(): void
Returns void
An abstract class to inherit to manage some resources with an AWS Lambda function.