September 2018
Intermediate to advanced
386 pages
11h 17m
English
The handler is the entry point to the Lambda function. It encapsulates the outermost boundary of the code that is to be executed. Think of it as the main function of your Lambda. It is the first frame that gets pushed into the execution stack, and the last one that gets popped during unwinding.
The handler gets passed the event data that triggers the execution and the context as parameters. The handler can call other functions as it sees fit.
A typical definition of a handler would look as follows, in a hypothetical programming language:
ReturnType FunctionName (InputType input ,Context ctx);
Lets have a look at the different components of the function signature -
Read now
Unlock full access