Description of changes: Makes the DDB event StreamRecord more robust, b/c it appears that ApproximateCreationDateTime can be absent. The DDB docs are ambiguous in this matter as they suggest it is not required but also say:
In the following list, the required parameters are described first.
Maybe we can get more guidance from DDB team?
By submitting this pull request
[x] I confirm that my contribution is made under the terms of the Apache 2.0 license.
[x] I confirm that I've made a best effort attempt to update all relevant documentation.
[x] I confirm that I've run the tests locally using cargo test
[x] I confirm that I've run the lint locally using cargo fmt
Issue #, if available: closes https://github.com/awslabs/aws-lambda-rust-runtime/issues/889
Description of changes: Makes the DDB event StreamRecord more robust, b/c it appears that
ApproximateCreationDateTime
can be absent. The DDB docs are ambiguous in this matter as they suggest it is not required but also say:Maybe we can get more guidance from DDB team?
By submitting this pull request
cargo test
cargo fmt