code: def get_client_profile(self, client_id):
          
          try:
              response = self._table.get_item(Key={'client_id': client_id})
              compressed_bytes = response['Item']['json_payload'].value
              json_byte_data = zlib.decompress(compressed_bytes)
              json_str_data = json_byte_data.decode('utf8')
              return json.loads(json_str_data)
          except KeyError:
              # No client ID found - not really an error
              return None
          except Exception as e:
              # Return None on error.  The caller in ProfileFetcher will
              # handle error logging
              msg = "Error loading client data for {}.  Error: {}"
              self.logger.debug(msg.format(client_id, str(e)))
              return None
docs: This fetches a single client record out of DynamoDB