Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Amazon AWS / API + Lambda / Python / built-in vars and any general advice?

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


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Python] by NavTechSep 13, 2022 07:23 AM 9 291 Sep 13, 2022 07:23 AM
Last Post: еlixir
[Python] by Too FarJul 14, 2022 09:00 AM 2 159 Jul 14, 2022 09:00 AM
Last Post: Too Far