Motor control

I’m looking to make a security camera mount that I can swing 180° with the use of a momentary rotary switch control and I’m unable to find the rotary switch and what kind of motor should I use and how would I wire it up