File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
src/typescript/src/handlers Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 33 APIGatewayProxyEventV2 ,
44 APIGatewayProxyResult ,
55 APIGatewayProxyResultV2 ,
6+ APIGatewayEventIdentity ,
67 Context ,
78} from "aws-lambda" ;
89import {
@@ -108,22 +109,9 @@ function createMockAPIGatewayProxyEvent(
108109 requestTimeEpoch : 1672531200 ,
109110 authorizer : { } ,
110111 identity : {
111- cognitoIdentityPoolId : null ,
112- accountId : null ,
113- cognitoIdentityId : null ,
114- caller : null ,
115112 sourceIp : "127.0.0.1" ,
116- principalOrgId : null ,
117- accessKey : null ,
118- cognitoAuthenticationType : null ,
119- cognitoAuthenticationProvider : null ,
120- userArn : null ,
121113 userAgent : "test-agent" ,
122- user : null ,
123- apiKey : null ,
124- apiKeyId : null ,
125- clientCert : null ,
126- } ,
114+ } as APIGatewayEventIdentity ,
127115 resourceId : "test-resource" ,
128116 resourcePath : "/test" ,
129117 } ,
You can’t perform that action at this time.
0 commit comments