AWS Lambda – name ‘Key’ is not defined

When going through the example from I ran into the following error message: The error come from this line The issue was that I was only importing boto3, this is not enough. Guess I have to read the whole tutorial. You’ll have to add the following import.