serverless/ivs_moderation/lambdas/lambda_api/lib/api_handler.py [47:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        )
    
    def update_db_table(self, data, table):
        """ Function to update the ddb table """

        db_client = boto3.resource('dynamodb')
        db_table = db_client.Table(table)

        return db_table.put_item(
            Item=data
        )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



serverless/ivs_moderation/lambdas/lfuncprocessimage/lib/rekognition_service.py [152:162]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                  )

    def update_db_table(self, data, table):
        """ Function to update the ddb table """

        db_client = boto3.resource('dynamodb')
        db_table = db_client.Table(table)

        return db_table.put_item(
            Item=data
        )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



