President Rafael Correa has called Thursday's police uprising an attempted coup.