@@ -313,10 +313,10 @@ def __init__(
313
313
middlewares : list [Callable [..., Response ]] | None = None ,
314
314
):
315
315
"""
316
+ Internally used Route Configuration
316
317
317
318
Parameters
318
319
----------
319
-
320
320
method: str
321
321
The HTTP method, example "GET"
322
322
path: str
@@ -908,6 +908,8 @@ def build(self, event: ResponseEventT, cors: CORSConfig | None = None) -> dict[s
908
908
909
909
910
910
class BaseRouter (ABC ):
911
+ """Base class for Routing"""
912
+
911
913
current_event : BaseProxyEvent
912
914
lambda_context : LambdaContext
913
915
context : dict
@@ -1459,7 +1461,7 @@ def _registered_api_adapter(app: ApiGatewayResolver, next_middleware: Callable[.
1459
1461
1460
1462
1461
1463
class ApiGatewayResolver (BaseRouter ):
1462
- """API Gateway and ALB proxy resolver
1464
+ """API Gateway, VPC Laticce, Bedrock and ALB proxy resolver
1463
1465
1464
1466
Examples
1465
1467
--------
@@ -2570,6 +2572,8 @@ def register_exception_handler(func: Callable):
2570
2572
2571
2573
2572
2574
class APIGatewayRestResolver (ApiGatewayResolver ):
2575
+ """Amazon API Gateway REST and HTTP API v1 payload resolver"""
2576
+
2573
2577
current_event : APIGatewayProxyEvent
2574
2578
2575
2579
def __init__ (
@@ -2650,6 +2654,8 @@ def _compile_regex(rule: str, base_regex: str = _ROUTE_REGEX):
2650
2654
2651
2655
2652
2656
class APIGatewayHttpResolver (ApiGatewayResolver ):
2657
+ """Amazon API Gateway HTTP API v2 payload resolver"""
2658
+
2653
2659
current_event : APIGatewayProxyEventV2
2654
2660
2655
2661
def __init__ (
@@ -2685,6 +2691,8 @@ def _get_base_path(self) -> str:
2685
2691
2686
2692
2687
2693
class ALBResolver (ApiGatewayResolver ):
2694
+ """Amazon Application Load Balancer (ALB) resolver"""
2695
+
2688
2696
current_event : ALBEvent
2689
2697
2690
2698
def __init__ (
0 commit comments