In mainland China, 爱人 typically means 'spouse' (husband or wife), commonly used by older generations. In Taiwan and Hong Kong, 爱人 means 'lover' or 'sweetheart' and does NOT mean spouse.
mistakes
Be careful with regional differences! Calling someone your 爱人 in Taiwan implies a romantic relationship, not necessarily marriage.