In Java, we can implement RequestHandler and override method handleRequest(paremeters).This way, you can pass the input to the Lambda handle request.
For Python, you can take a look at below examples from AWS Docs: https://docs.aws.amazon.com/lambda/latest/dg/python-handler.html
In short(as per AWS Docs), The Lambda function handler is the method in your function code that processes events. When your function is invoked, Lambda runs the handler method. When the handler exits or returns a response, it becomes available to handle another event.
Hope this helps.
Answer from Avinash Akella on Stack OverflowI'm relatively new to AWS and computing in general, so can someone explain in very basic terms what a lambda handler is/does?
I read the definition from AWS documentation, but it is still a little bit confusing. What does it mean to be a "method of entry point" for you code?
You can change your lambda handler name.
Configuration -> Basic setting -> Handler info
You can find below Tags
See this screenshot :

For latest update remove basic setting of lambda so follow this :
- Click on layer as show below in image
- Check Run time setting and edit it.

They have changed the AWS Lambda UI again since the last answer. Now the setting is in:
Code --> Runtime settings --> Handler info (click Edit)
