AWS Lambda Invoke and Path
We can put the path parameters in the event. Lambda which provide service can use this path as router to route to different methods.
For example
const response = await lambdaInvoke(get_group_settings_lambda, { "body": { "uuid": groupUUID }, path: "group/getsettingsinfo" });
Finally the path will be in the target event.
References:
http://sillycat.iteye.com/blog/2421922
We can put the path parameters in the event. Lambda which provide service can use this path as router to route to different methods.
For example
const response = await lambdaInvoke(get_group_settings_lambda, { "body": { "uuid": groupUUID }, path: "group/getsettingsinfo" });
Finally the path will be in the target event.
References:
http://sillycat.iteye.com/blog/2421922