API Gateway — Patterns and PitfallsAPI Gateway is the front door to your backend on AWS. It handles routing…