I wrote a lambda function in python to return a pre-signed URL. I am getting correct response while testing the method.
Python lambda function:
import