A class of enzymes that catalyzes the ATP-dependent formation of a thioester bond between itself and UBIQUITIN. It then transfers the activated ubiquitin to one of the ubiquitin-protein ligases.