From 641ec7397a0754245adc8f91e55d02e67c9f3fe5 Mon Sep 17 00:00:00 2001 From: Michael Brewer Date: Thu, 6 May 2021 11:36:46 -0700 Subject: [PATCH] fix(docs): Use updated names for ProxyEventType --- docs/core/event_handler/api_gateway.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/event_handler/api_gateway.md b/docs/core/event_handler/api_gateway.md index c3c449338b5..43d056f3abd 100644 --- a/docs/core/event_handler/api_gateway.md +++ b/docs/core/event_handler/api_gateway.md @@ -208,7 +208,7 @@ When using API Gateway HTTP API to front your Lambda functions, you can instruct tracer = Tracer() logger = Logger() - app = ApiGatewayResolver(proxy_type=ProxyEventType.http_api_v2) + app = ApiGatewayResolver(proxy_type=ProxyEventType.APIGatewayProxyEventV2) @app.get("/hello") @tracer.capture_method @@ -235,7 +235,7 @@ When using ALB to front your Lambda functions, you can instruct `ApiGatewayResol tracer = Tracer() logger = Logger() - app = ApiGatewayResolver(proxy_type=ProxyEventType.alb_event) + app = ApiGatewayResolver(proxy_type=ProxyEventType.ALBEvent) @app.get("/hello") @tracer.capture_method