Lambda Function To Call Rest Api