@Override
  public void handleRequest(InputStream input, OutputStream output, Context context)
      throws IOException {
    IN request = reader.readValue(input);
    log.debug("Request: {}", request);

    OUT response = innerHandler.handleRequest(request, context);
    log.debug("Response: {}", response);

    writer.writeValue(output, response);
  }
Lambda RequestStreamHandler that allows for custom Jackson serialization of input/output types.

<p>The default Lambda sandbox does not allow customization of the way that the function's inputs
and outputs are serialized. This class provides a way to inject a Jackson {@link ObjectMapper}
instance that can be configured as needed.
scheduling-manager/src/main/java/com/amazonaws/blox/lambda/JacksonRequestStreamHandler.java