You seemed to change your
The name of the function that is called is still “handler”, yet in the
serverless.yml file you are calling “getData” (corresponding to the file name)
If you are using ts-node or if you are compiling your
.ts files manually, you can always check the generated output source code, that will be executed.
CLICK HERE to find out more related problems solutions.