You're using functions that doesn't even exist. Look into this. The way actions work is; you go to the Input Map under Project Settings and assign a button to a certain action, then you can test if such action is pressed or not. So, you would use:
if event.is_action_pressed("action"):
So, assuming you want to turn the player right when you press "E". You then go to the Project Settings, create a new action and assign the "E" key to it, let's call this action "move right". Then you just need to go to the script and check if that action is pressed and turn the camera:
if event.is_action_pressed("move right"):
#turn player right