Your code looks correct. I would expect something closer to 50ms in the warm path (300ms in the cold path seems about right).<p>I&#x27;ll take a look tomorrow and see if I can reproduce what you are seeing. I&#x27;m not super familiar with API gateway, so there could be some config issues over there.<p>If you want to discuss this more offline, feel free to contact me at &quot;scottwis AT amazon&quot;.