Name for phrase where you just state a noun
This is the accusative of exclamation (google). Similar examples include "Good morning!" "Poor thing!" or "That man and his tricks!"
It is a noun phrase: that's all.
In this context, it is serving as a complete utterance, as is quite common in ordinary speech. Whether you regard it as a "sentence" or not is a matter of definition.