I'm new to AWS IoT Cloud Services, I've created a lambda function that is triggered whenever any image is uploaded in the bucket associated with it and its working fine on AWS, After deploying it using IoT GreenGrass as component on my Core Device Jetson Nano, I'm little confused that how the deployed component will be triggered on jetson device to achieve the same functionality as AWS lambda function. The actual working of lambda function is to get the newly uploaded data from bucket and send it to the streamlit API running on EC2 instance.
I have tried to deploy the lambda function and its depedencies along with it but I am not getting any response in the log file on jetson. The log file also contained the errors in the first try, like no module name requests than i deployed it along with its depedencies that solved this Module Error but didn't get the response like any image is being saved or sent to API.