The standard signature of a Go AWS Lambda handler which is invoked by API Gateway is as follows:
func Handler(e events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) {
//your code
}
func main() {
lambda.Start(Handler)
}
Now, this lambda needs to invoke another lambda using lambda.Invoke, and I am not sure what the signature of my invoked lambda needs to be.
I would appreciate some usage examples(samples) along with the signature.