title: How send multiple request to AWS Sagemaker Endpoint on single invoke?
body: <p>I've deployed a Deep learning model on SageMaker endpoint and can request/get answer using <code>sagemaker_client.invoke_endpoint</code>. But each <code>invoke_endpoint</code> accepts single body. How can I send multiple body to get multiple result on single request?</p>
  
  <p>I've tried setting <code>body='{"instances": [myData1, myData2]}'</code> but It recognizes as single string.</p>
  
  <pre><code>def sagemaker_handler(doc):
      data = doc.encode("UTF-8")
      response = sagemaker_client.invoke_endpoint(EndpointName='myEndpoint',
                                                  ContentType='application/json',
                                                  Accept='application/json', Body=data)
  return response
  </code></pre>