(self, json_dict)
Creates a new Record object that represent a single record in Kinesis.  Construction for the provided
        dictionary requires that the following fields are present:
            * sequenceNumber
            * subSequenceNumber
            * approximateArrivalTimestamp
            * partitionKey
            * data

        :param dict json_dict:
Creates a new Record object that represent a single record in Kinesis.  Construction for the provided
        dictionary requires that the following fields are present:
            * sequenceNumber
            * subSequenceNumber
            * approximateArrivalTimestamp
            * partitionKey
            * data
Creates a new Record object that represent a single record in Kinesis . Construction for the provided dictionary requires that the following fields are present : * sequenceNumber * subSequenceNumber * approximateArrivalTimestamp * partitionKey * data
def __init__(self, json_dict):
        """
        Creates a new Record object that represent a single record in Kinesis.  Construction for the provided
        dictionary requires that the following fields are present:
            * sequenceNumber
            * subSequenceNumber
            * approximateArrivalTimestamp
            * partitionKey
            * data

        :param dict json_dict:
        """
        self._sequence_number = json_dict["sequenceNumber"]
        self._sub_sequence_number = json_dict["subSequenceNumber"]

        self._timestamp_millis = int(json_dict["approximateArrivalTimestamp"])
        self._approximate_arrival_timestamp = datetime.fromtimestamp(self._timestamp_millis / 1000.0)

        self._partition_key = json_dict["partitionKey"]
        self._data = json_dict["data"]
        self._json_dict = json_dict
def __init__ ( self , json_dict ) : self . _sequence_number = json_dict [ "sequenceNumber" ] self . _sub_sequence_number = json_dict [ "subSequenceNumber" ] self . _timestamp_millis = int ( json_dict [ "approximateArrivalTimestamp" ] ) self . _approximate_arrival_timestamp = datetime . fromtimestamp ( self . _timestamp_millis / 1000.0 ) self . _partition_key = json_dict [ "partitionKey" ] self . _data = json_dict [ "data" ] self . _json_dict = json_dict