1 Answer
- Newest
- Most votes
- Most comments
0
You could look at using a mapping template to override an API's request and response parameters and status codes.
The advantage to doing this header manipulation in the API Gateway is that by doing it there over the Lambda Function it keeps your lambda runtime quicker. Since Lambda is billed by runtime, this can also be more cost effective.
answered a year ago
Relevant content
- Accepted Answerasked 5 months ago
- asked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago