That is exactly what I was shooting for. I just didn't have the words at the moment to explain it.
What I've seen AWS Lambda being used: One-off functions with manual output management. They aren't really being chained together.
You can also use AWS API Gateway for that.
Re:Architect – A Serverless Framework
by staticassertion on Monday June 11, 2018 @04:01PM
(#17287999)
Thanks for the more in depth explanation.
This neatly cleaves responsibility: your business logic team can just build+deploy+expose functions; and your frontend and ecosystem teams can build+deploy+expose the APIs they want on top, perhaps being maintained within their own codebases.
These can even be done on two entirely-separate platforms, rather than both being a part of the same “serverless” IaaS. You could use any combination of commodity FaaS providers (including your own hosted FaaS clusters) to deploy functions to; and then you could use some “smart” load-balancing system (e.g. Cloudflare Workers, or the routing component of an FaaS) to do the routing+aggregation on.