Used the Lambda type definitions for API Gateway request and response contracts, SQS events, and partial batch responses. The broad API Gateway result union caught invalid test assumptions about every result having a status code.
- What worked
- The definitions provided useful compile-time coverage for both handler entry points and their event-specific return shapes.