1
+ {
2
+ "version" : " 1.0" ,
3
+ "resource" : " /my/path" ,
4
+ "path" : " /my/path" ,
5
+ "httpMethod" : " GET" ,
6
+ "headers" : {
7
+ "Header1" : " value1" ,
8
+ "Header2" : " value2"
9
+ },
10
+ "multiValueHeaders" : {
11
+ "Header1" : [
12
+ " value1"
13
+ ],
14
+ "Header2" : [
15
+ " value1" ,
16
+ " value2"
17
+ ]
18
+ },
19
+ "queryStringParameters" : {
20
+ "parameter1" : " value1" ,
21
+ "parameter2" : " value"
22
+ },
23
+ "multiValueQueryStringParameters" : {
24
+ "parameter1" : [
25
+ " value1" ,
26
+ " value2"
27
+ ],
28
+ "parameter2" : [
29
+ " value"
30
+ ]
31
+ },
32
+ "requestContext" : {
33
+ "accountId" : " 123456789012" ,
34
+ "apiId" : " id" ,
35
+ "authorizer" : {
36
+ "claims" : null ,
37
+ "scopes" : null
38
+ },
39
+ "domainName" : " id.execute-api.us-east-1.amazonaws.com" ,
40
+ "domainPrefix" : " id" ,
41
+ "extendedRequestId" : " request-id" ,
42
+ "httpMethod" : " GET" ,
43
+ "identity" : {
44
+ "accessKey" : null ,
45
+ "accountId" : null ,
46
+ "caller" : null ,
47
+ "cognitoAuthenticationProvider" : null ,
48
+ "cognitoAuthenticationType" : null ,
49
+ "cognitoIdentityId" : null ,
50
+ "cognitoIdentityPoolId" : null ,
51
+ "principalOrgId" : null ,
52
+ "sourceIp" : " 192.168.0.1/32" ,
53
+ "user" : null ,
54
+ "userAgent" : " user-agent" ,
55
+ "userArn" : null ,
56
+ "clientCert" : {
57
+ "clientCertPem" : " CERT_CONTENT" ,
58
+ "subjectDN" : " www.example.com" ,
59
+ "issuerDN" : " Example issuer" ,
60
+ "serialNumber" : " a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1" ,
61
+ "validity" : {
62
+ "notBefore" : " May 28 12:30:02 2019 GMT" ,
63
+ "notAfter" : " Aug 5 09:36:04 2021 GMT"
64
+ }
65
+ }
66
+ },
67
+ "path" : " /my/path" ,
68
+ "protocol" : " HTTP/1.1" ,
69
+ "requestId" : " id=" ,
70
+ "requestTime" : " 04/Mar/2020:19:15:17 +0000" ,
71
+ "requestTimeEpoch" : 1583349317135 ,
72
+ "resourceId" : null ,
73
+ "resourcePath" : " /my/path" ,
74
+ "stage" : " $default"
75
+ },
76
+ "pathParameters" : null ,
77
+ "stageVariables" : null ,
78
+ "body" : " Hello from Lambda!" ,
79
+ "isBase64Encoded" : false
80
+ }
0 commit comments