title: AWS: Publish SNS message for Lambda function via boto3 (Python2)
body: <p>I am trying to publish to an SNS topic which will then notify a Lambda function, as well as an SQS queue. My Lambda function does get called, but the CloudWatch logs state that my "event" object is None. The boto3 docs states to use the kwarg MessageStructure='json' but that throws a ClientError.</p>
  
  <p>Hopefully I've supplied enough information.</p>
  
  <p>Example Code:</p>
  
  <pre><code>import json
  import boto3
  
  message = {"foo": "bar"}
  client = boto3.client('sns')
  response = client.publish(
      TargetArn=arn,
      Message=json.dumps(message)
  )
  </code></pre>