Ref: https://github.com/aws/aws-lambda-rust-runtime#custom-event-objects
Currently we show how to define a custom event object. But, our usage is not realistic, it just deserializes it in main().
Instead we should show the pattern of actually passing the type to a handler, and printing the payload inside or something.
Ref: https://github.com/aws/aws-lambda-rust-runtime#custom-event-objects
Currently we show how to define a custom event object. But, our usage is not realistic, it just deserializes it in
main().Instead we should show the pattern of actually passing the type to a handler, and printing the payload inside or something.