I have recently started to use AWS Lambda to use triggers against some python code I have written. I currently have 2 lambda functions, both of which have been created with
So this is what resolved in my case
Handler :: "yfinance_lamdba.lambda_handler"
In the above line
**yfinance_lamdba** is filename 'yfinance_script.py' **lambda_handler** is function 'def lambda_handler' which has actual code