title: Runtime.MarshalError in python
body: <p>I am Getting this error. I am executing code of aws lambda function using python 3.7 to know quicksight dashboard version. Thanks in advance!</p>
  <blockquote>
  <p>errorMessage: &quot;Unable to marshal response: Object of type datetime is not JSON serializable&quot;,</p>
  </blockquote>
  <blockquote>
  <p>errorType   : &quot;Runtime.MarshalError&quot;</p>
  </blockquote>
  <p>Code-</p>
  <pre><code>import boto3
  import time
  import sys
  client = boto3.client('quicksight')
  def lambda_handler(event, context):
      response = client.list_dashboard_versions(AwsAccountId='11111', DashboardId='2222',MaxResults=10)
      return response
  </code></pre>