File tree 2 files changed +33
-15
lines changed
aws-lambda-java-events/src
main/java/com/amazonaws/services/lambda/runtime/events/apigateway
test/resources/event_models
2 files changed +33
-15
lines changed Original file line number Diff line number Diff line change @@ -72,23 +72,35 @@ public static class ProxyRequestContext implements Serializable {
72
72
73
73
private String accountId ;
74
74
75
- private String stage ;
75
+ private String apiId ;
76
76
77
- private String resourceId ;
77
+ private Map < String , Object > authorizer ;
78
78
79
- private String requestId ;
79
+ private String domainName ;
80
80
81
- private RequestIdentity identity ;
81
+ private String domainPrefix ;
82
82
83
- private String resourcePath ;
83
+ private String extendedRequestId ;
84
84
85
85
private String httpMethod ;
86
86
87
- private String apiId ;
87
+ private RequestIdentity identity ;
88
88
89
89
private String path ;
90
90
91
- private Map <String , Object > authorizer ;
91
+ private String protocol ;
92
+
93
+ private String requestId ;
94
+
95
+ private String requestTime ;
96
+
97
+ private Long requestTimeEpoch ;
98
+
99
+ private String resourceId ;
100
+
101
+ private String resourcePath ;
102
+
103
+ private String stage ;
92
104
}
93
105
94
106
@ Data
Original file line number Diff line number Diff line change 23
23
"proxy" : " hello"
24
24
},
25
25
"requestContext" : {
26
- "path" : " /{proxy+}" ,
27
26
"accountId" : " 123456789012" ,
28
- "resourceId" : " nl9h80" ,
29
- "stage" : " test-invoke-stage" ,
30
- "requestId" : " test-invoke-request" ,
27
+ "apiId" : " id" ,
28
+ "domainName" : " id.execute-api.us-east-1.amazonaws.com" ,
29
+ "domainPrefix" : " id" ,
30
+ "extendedRequestId" : " request-id" ,
31
+ "httpMethod" : " GET" ,
31
32
"identity" : {
32
33
"cognitoIdentityPoolId" : " " ,
33
34
"accountId" : " 123456789012" ,
42
43
"userAgent" : " Apache-HttpClient/4.5.x (Java/1.8.0_131)" ,
43
44
"user" : " AIDAJTIRKKKER4HCKVJZG"
44
45
},
45
- "resourcePath" : " /{proxy+}" ,
46
- "httpMethod" : " POST" ,
47
- "apiId" : " r275xc9bmd"
46
+ "path" : " /my/path" ,
47
+ "protocol" : " HTTP/1.1" ,
48
+ "requestId" : " id=" ,
49
+ "requestTime" : " 04/Mar/2020:19:15:17 +0000" ,
50
+ "requestTimeEpoch" : 1583349317135 ,
51
+ "resourceId" : " 123456" ,
52
+ "resourcePath" : " /my/path" ,
53
+ "stage" : " $default"
48
54
},
49
55
"resource" : " /{proxy+}" ,
50
56
"httpMethod" : " GET" ,
56
62
"stageVariables" : {
57
63
"stageVarName" : " stageVarValue"
58
64
}
59
- }
65
+ }
You can’t perform that action at this time.
0 commit comments