A general class of integral membrane proteins that transport ions across a membrane against an electrochemical gradient.