ASW and I Spread- Difference and Similarity

Is the difference between ASW and I spread just the rate we use to calculate the spread?
I Spread= YTM of the bond- swap rate
ASW= Coupon of the bond- swap rate

What exactly are we trying to measure with the ASW?