title: AWS S3 Event notification using Lambda function in Java
body: <p>I am trying to use Lambda function for S3 Put event notification. My Lambda function should be called once I put/add any new JSON file in my S3 bucket. 
  The challenge I have is there are not enough documents for this to implement such Lambda function in Java. Most of doc I found are for Node.js</p>
  
  <p>I want, my Lambda function should be called and then inside that Lambda function, I want to consume that added json and then send that JSON to AWS ES Service.</p>
  
  <p>But what all classes I should use for this? Anyone has any idea about this? S3 abd ES are all setup and running. The auto generated code for lambda is
   `</p>
  
  <pre><code>@Override
  public Object handleRequest(S3Event input, Context context) {
      context.getLogger().log("Input: " + input);
  
      // TODO: implement your handler
      return null;
  }
  </code></pre>
  
  <p>What next?? </p>