Define client_id and client_secret in config.py The easiest way to get these is to go to https://developer.spotify.com/dashboard/applications
Name colab_playlist.py lambda_function.py in AWS Create requests layer as per below guide https://www.gcptutorials.com/article/how-to-use-requests-module-in-aws-lambda