I am going through a basic AWS on how to create a lambda function:
In this example we are creating an image re-sizing service, one way to trigger it is to listen for some image to be pushed to an S3 bucket and then lambda function will be executed.
But I am trying to understand how to invoke this Lambda function from my nodejs app when the user sends an image to my node server, I send this image to aws lambda via REST API to be re-sized and then receive the new image location as a response.
Is there any kind of example I can follow? I am more interested in the actual invocation part since I already have my lambda service up and running.