![]() |
|
[Python] Amazon AWS / API + Lambda / Python / built-in vars and any general advice? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Amazon AWS / API + Lambda / Python / built-in vars and any general advice? (/showthread.php?tid=5652650) |
Amazon AWS / API + Lambda / Python / built-in vars and any general advice? - datguy.dev - Jun 21, 2017 Greetings, I'm taking on a new venture to learn some AWS services. So I'm trying to make a serverless API that is strictly Python. I've been struggling to merely wrap my head around just how Amazon AWS does things here ... the inputs and outputs ... it is a lot to take in quickly. So there are these event and context objects that can be used. And I find them to be critical for the API. I got the API to take input parameters via the builtin event variable alright. But I'm getting this error with the context variable and I don't really understand the cause. I see what it wants (true false null), but that doesn't make sense for getting a source IP? Why is it passing "test?" Gah!... I've been searching and searching... Hard to find any direct Python related help with this. I could use a push in the right direction. Image gallery of API setup and error: *snip Main error image: *snip Full error output and logs: *snip |