Exclamation

a sentence showing that the speaker is surprised, impressed, or aroused by something.

Exclamations are often not a complete sentence: they may be simply one word or short phrase (minor sentence).

Crystal, David. Rediscover Grammar, pages 54.