From my google search, drive shaft is to transmit the power from gearbox or differential to wheel. So for latio, it has 2 drive shafts. The CV joint is part of the drive shaft. Often there is no separate CV joint alone to replace. I haven't checked with the workshop to see if it is possible to change the CV joint alone. I agree it is usually the outer CV joint nearer to the wheel need to be replaced rather than the whole drive shaft.