Commit 3d5565d
authored
Replace custom http events with aws_lambda_events (aws#426)
* Replace custom http events with aws_lambda_events
The Alb and ApiGw events in aws_lambda_events are thoroughly tested
with multiple payloads that those services generate.
Signed-off-by: David Calavera <[email protected]>
* Add support for WebSocket requests
Signed-off-by: David Calavera <[email protected]>
* Don't add the default stage to the request URI
ApiGw use $default as an identifier, but it doesn't add it
to the URI.
Signed-off-by: David Calavera <[email protected]>
* Fix formatting
Signed-off-by: David Calavera <[email protected]>
* Fix examples
Signed-off-by: David Calavera <[email protected]>
* Replace custom response structs with aws_lambda_events
Signed-off-by: David Calavera <[email protected]>
* Fix example
Signed-off-by: David Calavera <[email protected]>1 parent e1797cc commit 3d5565d
File tree
12 files changed
+357
-1321
lines changed- lambda-http
- examples
- src
- tests/data
- lambda-integration-tests/src/bin
12 files changed
+357
-1321
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
This file was deleted.
0 commit comments