much to my surprise,这里的surprise视作名词,还是动词?

问题描述:

much to my surprise,这里的surprise视作名词,还是动词?

应该是名词,因为它前面是my.