You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/event_handler/api_gateway.md
+50-1
Original file line number
Diff line number
Diff line change
@@ -173,11 +173,60 @@ Here's an example where we have two separate functions to resolve two paths: `/h
173
173
}
174
174
```
175
175
176
-
#### API Gateway HTTP API
176
+
#### HTTP API
177
177
178
+
When using API Gateway HTTP API to front your Lambda functions, you can instruct `ApiGatewayResolver` to conform with their contract via `proxy_type` param:
179
+
180
+
=== "app.py"
181
+
182
+
```python hl_lines="3 7"
183
+
from aws_lambda_powertools import Logger, Tracer
184
+
from aws_lambda_powertools.logging import correlation_paths
185
+
from aws_lambda_powertools.event_handler.api_gateway import ApiGatewayResolver, ProxyEventType
0 commit comments