We found conflicting docs on AWS that show usage of *URL as well as *Url. To support both, the rename change I made in the last commit has been changed to an alias. So this will now default to Url, but also deserialize from URL with this change. I've also added a test to validate this works as expected.
We found conflicting docs on AWS that show usage of
*URL
as well as*Url
. To support both, therename
change I made in the last commit has been changed to analias
. So this will now default toUrl
, but also deserialize fromURL
with this change. I've also added a test to validate this works as expected.Thanks to @yotamofek for bringing this up in https://github.com/calavera/aws-lambda-events/pull/141#issuecomment-1484148166