umegaya / lua-aws

pure-lua implementation of aws REST APIs
122 stars 35 forks source link

Add support for images in `CreateFunction` #78

Closed styfle closed 3 years ago

styfle commented 3 years ago

AWS Lambda just updated the CreateFunction request payload as seen in this commit:

https://github.com/awsdocs/aws-lambda-developer-guide/commit/682401cbe5222517ce2789c69a2248cf0362ff41

In particular, I'm interested in Code.ImageUri, ImageConfig, and PackageType.

image

umegaya commented 3 years ago

@styfle thank you for suggestion! I will update API definition and test imageUrl is work

umegaya commented 3 years ago

@styfle sorry for late, I have updated API definition at #79 and can create/invoke function with ImageUrl with payload like this can you test the branch with your usage?

regards,

styfle commented 3 years ago

@umegaya Thanks for the quick implementation!

I probably won't have time to test this feature for a week or so.

Feel free to merge and I'll report any outstanding problems in a new issue, thanks! 👍

umegaya commented 3 years ago

ok, I will merge related PR