code: def predict(self) -> dict:
      data_processor = self.data_processor
      x = self.app.current_request.raw_body
      logger.debug(f"raw body type={type(x)}")
      if data_processor.preprocess_fn:
          x = data_processor.preprocess(x, **self.preprocess_conf)
      x = self.model(x)
      if data_processor.postprocess_fn:
          x = data_processor.postprocess(x, **self.postprocess_conf)
      return x
  
file_path: chitra/chitra/serve/cloud/aws_serverless.py
imports: from typing import Callable, List, Optional
  from chalice import Chalice, Rate
  from chitra.logging import logger
  from chitra.serve.cloud.base import CloudServer
label_desc: Use image node_id 3 for calling the ChaliceServer obj's underlying member method code with example usage: obj.predict() and returns: x