title: Syntax error in module 'lambda_function': invalid syntax
body: <p>I am new to lambda, and I am trying to run this code. However, in CloudWatch, I keep on getting this error message.</p>
  
  <p>Here is my code ---> </p>
  
  <pre><code>import boto3
  import print_function
  
  def lambda_handler(event, context):
  print ('Init 1Push_Care_DATAprint')
  Device_ID_var = event['serialNumber']
  print (event)
  response = 1Push_Care_USERinfo.query(KeyConditionExpression=Key('Device_ID').eq('Device_ID_var'))
  items = response['Items']
  print(items)
  </code></pre>
  
  <p>And here is the error message I keep getting:</p>
  
  <blockquote>
    <p>Syntax error in module 'lambda_function': invalid syntax<br>
    (lambda_function.py, line 9)</p>
  </blockquote>
  
  <p>The line the error is pertaining to is ---></p>
  
  <pre><code>response = 1Push_Care_USERinfo.query(KeyConditionExpression=Key('Device_ID').eq('Device_ID_var'))
  </code></pre>