def put_item()

in codes/sample-backend-fastapi/app/ddb_handler.py [0:0]


    def put_item(self, item: dict):
        try:
            response = self.table.put_item(Item=item)
            print('[SUCCESS] put_item: response', response)
        except ClientError as e:
            print('[ERROR] put_item', e)
            return False
        return True