12v pwm speed control
Almost certainly your the red wire is the positive supply and the black one is negative. If you have the pump running at the moment, use a test meter (very inexpensive at DIY stores if you don't have one) to check that is the case.
Looking at the photographs, the white and yellow output wires could be either way around. The only way to tell is again to use the test meter. Connecting a DC motor backwards for a short length of time doesn't usually damage it, but it will run in reverse which is usually obvious. (sucks instead of blows!)
Other than the un-labelled wiring, from the specification shown, it looks like it should do the job.
Brian.