class_docstr: StreamAlert payload object for incoming records
  
  Attributes:
      resource (str): The name of the resource from which this log originated.
          Can be a kinesis stream name, SNS topic, or S3 bucket name.
      raw_record: The record from the AWS Lambda Records dictionary.
      fully_classified (bool): Whether the payload has been successfully
          and completely classified.
class_docstr_tok: ["StreamAlert","payload","object","for","incoming","records","Attributes",":","resource","(","str",")",":","The","name","of","the","resource","from","which","this","log","originated",".","Can","be","a","kinesis","stream","name",",","SNS","topic",",","or","S3","bucket","name",".","raw_record",":","The","record","from","the","AWS","Lambda","Records","dictionary",".","fully_classified","(","bool",")",":","Whether","the","payload","has","been","successfully","and","completely","classified","."]
code: def __repr__(self):
      if self:
          return "<{} valid:{}; resource:{};>".format(
              self.__class__.__name__, bool(self), self.resource
          )
      try:
          raw_record = json.dumps(self.raw_record)
      except (TypeError, ValueError):
          raw_record = self.raw_record
          LOGGER.debug(
              "A StreamPayload has data that is not serializable as JSON"
          )
  
      return "<{} valid:{}; resource:{}; raw record:{};>".format(
          self.__class__.__name__, bool(self), self.resource, raw_record
      )
  
imports: from abc import ABCMeta, abstractmethod, abstractproperty
  import json
  import logging
  import os
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 3 for calling the StreamPayload obj's underlying member method code with example usage: obj.__repr__() and returns: str, str