title: One Lambda Function OR Multiple Lambda Functions
body: <p>Can I write one Lambda Function to Handle Multiple REST API Requests. 
  I have my data in Dynamo DB</p>
  
  <p>Flow: API Gateway-->Lambda Function-->Dynamo DB
  Example: </p>
  
  <pre><code>Request1:GET Method-Need to pull data from Table1
  /device/{device_id}/start/{start_date}/end/{end_date}/events
  
  
  Request2:GET Method-Need to pull data from Table2
  /device/{device_id}/start/{start_date}/end/{end_date}/event_count
  
  Request3:POST Method-Need to put data from Table3
  /device/{device_id}/start/{start_date}/end/{end_date}/fault_events
  </code></pre>
  
  <p>What is the best solution should I write 3 different lambda functions to handle 3 different requests or can I handle all the 3 requests in one BIG Lambda Function. </p>