I don't think you can easily get away from this one, because if villain will play bottom and midpair aggressively, then your top pair does very well against his range. On the other hand, top pair-top kicker is a little too vulnerable to stack off with for 200bb. He could have {88, QQ+, KQ, K8} that beats you. What hands do you beat that he would call a turn shove with? Maybe KJ and KT? Would he call with less than top pair? An A-high flush draw?

Look at it this way: it is not a mistake to lose to AA. It happens. If you thought he would call this shove with any K, Q, or flush draw, then you didn't make a mistake (because you'd be coming out ahead money in the long run, even if you took a tough beat now). However, if you thought he would only call this shove with hands that beat you (overpairs, 2-pairs, sets), then you're making a mistake.