I created a simple lambda function with API Gateway from "λ+" button on left side panel in Cloud9. The function code is below.
def lambda_handler(ev