Skip to content
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
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
import {
2
+ ALBEvent ,
3
+ ALBEventRequestContext ,
2
4
APIGatewayEventRequestContext ,
3
5
APIGatewayProxyEvent ,
4
6
APIGatewayProxyEventV2 ,
@@ -163,7 +165,7 @@ export declare class Request {
163
165
body : any ;
164
166
rawBody : string ;
165
167
route : '' ;
166
- requestContext : APIGatewayEventRequestContext ;
168
+ requestContext : APIGatewayEventRequestContext | ALBEventRequestContext ;
167
169
isBase64Encoded : boolean ;
168
170
pathParameters : { [ name : string ] : string } | null ;
169
171
stageVariables : { [ name : string ] : string } | null ;
@@ -343,12 +345,12 @@ export declare class API {
343
345
finally ( callback : FinallyFunction ) : void ;
344
346
345
347
run (
346
- event : APIGatewayProxyEvent | APIGatewayProxyEventV2 ,
348
+ event : APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBEvent ,
347
349
context : Context ,
348
350
cb : ( err : Error , result : any ) => void
349
351
) : void ;
350
352
run (
351
- event : APIGatewayProxyEvent | APIGatewayProxyEventV2 ,
353
+ event : APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBEvent ,
352
354
context : Context
353
355
) : Promise < any > ;
354
356
}
You can’t perform that action at this time.
0 commit comments