Skip to content

Commit 495461e

Browse files
sdangolsvozza
andauthored
Update docs/features/event-handler/rest.md
Co-authored-by: Stefano Vozza <svozza@amazon.com>
1 parent 9ceae0e commit 495461e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/event-handler/rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ For your convenience, when you return a JavaScript object from your route handle
9393
```
9494

9595
!!! tip "Automatic response format transformation"
96-
The event handler automatically ensures the correct response format is returned based on the event type received. For example, if your handler returns an API Gateway v1 proxy response but processes an ALB event, we'll automatically transform it into an ALB-compatible response. This allows you to swap integrations (e.g., from API Gateway to ALB) with little to no code changes.
96+
The event handler automatically ensures the correct response format is returned based on the event type received. For example, if your handler returns an API Gateway v1 proxy response but processes an ALB event, we'll automatically transform it into an ALB-compatible response. This allows you to swap integrations with little to no code changes.
9797

9898
### Dynamic routes
9999

0 commit comments

Comments
 (0)