title: boto3 dynamodb put_item() error only accepts keyword arguments
body: <p>I'm using boto3 in a lambda function to write information into a dynamodb table.</p>
  <p>I get the error <code>put_item() only accepts keyword arguments</code>.</p>
  <p>Searching on the web, i found that this error may mean that I am not matching dynamodb partition key, but it seems to me that I am doing everything correctly.</p>
  <p>Can anyone help me find the error? Excuse me but this is my first time using aws.</p>
  <p>This is my lambda function</p>
  <pre><code>import json, boto3
  
  def updateDynamo(Item):
      dynamodb = boto3.resource('dynamodb', region_name = 'eu-central-1')
      table = dynamodb.Table('userInformations')
      response = table.put_item(Item)
      return response
  
  def lambda_handler(event, context):
  
      userAttributes = event[&quot;request&quot;][&quot;userAttributes&quot;]
      email = userAttributes[&quot;email&quot;]
      name = userAttributes[&quot;name&quot;]
      Item = {
          &quot;email&quot;: email,
          &quot;name&quot; : name
      }
  
      response = updateDynamo(Item)
  
  
      print(email, name)
      
      return {
          'statusCode': 200,
          'body': json.dumps('Hello from Lambda!')
      }
  </code></pre>
  <p>This is the test event i'm using:</p>
  <pre><code>{
    &quot;version&quot;: &quot;string&quot;,
    &quot;triggerSource&quot;: &quot;string&quot;,
    &quot;region&quot;: &quot;AWSRegion&quot;,
    &quot;userPoolId&quot;: &quot;string&quot;,
    &quot;userName&quot;: &quot;string&quot;,
    &quot;callerContext&quot;: {
      &quot;awsSdkVersion&quot;: &quot;string&quot;,
      &quot;clientId&quot;: &quot;string&quot;
   },
    &quot;request&quot;: {
      &quot;userAttributes&quot;: {
        &quot;email&quot;: &quot;testemail@gmail.com&quot;,
        &quot;name&quot;: &quot;test user&quot;
      }
    },
    &quot;response&quot;: {}
  }
  </code></pre>
  <p>My table has <code>email</code> (all char are lowercase) as partition key.</p>