title: how to get return response from AWS Lambda function
body: <p>I have a simple lambda function that returns a dict response and another lambda function invokes that function and prints the response.</p>
  
  <p><strong>lambda function A</strong></p>
  
  <pre><code>def handler(event,context):
      params = event['list']
      return {"params" : params + ["abc"]}
  </code></pre>
  
  <p><strong>lambda function B invoking A</strong></p>
  
  <pre><code>a=[1,2,3]
  x = {"list" : a}
  invoke_response = lambda_client.invoke(FunctionName="monitor-workspaces-status",
                                         InvocationType='Event',
                                         Payload=json.dumps(x))
  print (invoke_response)
  </code></pre>
  
  <p><strong>invoke_response</strong></p>
  
  <pre><code>{u'Payload': &lt;botocore.response.StreamingBody object at 0x7f47c58a1e90&gt;, 'ResponseMetadata': {'HTTPStatusCode': 202, 'RequestId': '9a6a6820-0841-11e6-ba22-ad11a929daea'}, u'StatusCode': 202}
  </code></pre>
  
  <p>Why is the response status 202? Also, how can I get the response data from invoke_response? I could not find a clear documentation of how to do it.</p>