'AWS Lambda function access control

I am trying to restrict access to my Lambda function so that only the API server can make calls to it and no other application , how would I go about doing this ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source