You have created a Lambda function (Python or Node.js etc) in AWS and uploaded the code in zip format. Now you want to make changes to this Lambda function but lost your local copy of the function. You can download the copy of function which is already uploaded.

There are different ways and one of them is to use aws console to download a copy-

>>Login to AWS console and Go to Lambda service

>>Search your function and open it and click on “Actions” on top right.

>>Click on “Export Function”

>>On the new pop-up click on “Download deployment package”

>>  This will download the function code in zip format.