Experimental investigation of L- and H-mode detachment via the divertor Thomson scattering at ASDEX Upgrade. (1st June 2022)