millipz / nc-de-deliverance-project

Project Repo for Deliverance Team 2024
3 stars 2 forks source link

Extraction Lambda get_table_data function #19

Closed millipz closed 5 months ago

millipz commented 6 months ago
        Returns all data from a table newer than most recent timestamp

        Args:
            table_name (string)
            timestamp (timestamp)

        Raises:
            KeyError: table_name does not exist
            ConnectionError : connection issue to parameter store

        Returns:
            table_data (list) : list of dictionaries all data in table, one dictionary per row keys will be column headings