I am attempting to update Redshift from a Lambda function using python. To do this, I am attempting to combine 2 code fragments. Both fragments are functional when I run the
Another way to use psycopg2 on lambda (if you are programing on windows and using python 3.6 on lambda)