Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Amazon API Update – New Features Simplify API Development (amazon.com)
6 points by jeffbarr on Sept 20, 2016 | hide | past | favorite | 1 comment


this is a significant update mostly because it finally allows a lambda function to return arbitrary headers and response codes. previously, you had to enumerate all headers upfront, and enumerate all response codes, mapping them to individual regexes for error patterns (too much magic). Now, the new proxy lambda integration allows a function to just return the http code, body and headers as a simple JSON object. no more velocity templates for data coming in or out.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: