trap May 25, 2016 got 500 error as generating API Gateway SDK The issue has been confirmed by AWS support team, you may work around if you encounter the same symptom api gateway