Kamala is part south Indian (Tamil) and part Jamaican.
she isn’t African-American i.e. descended from slaves in what became or was the USA.
Her Jamaican side would have ancestry from slaves sent to Jamaica and no doubt also some European and perhaps some native American blood.
Obama is not a descendent of American slaves either.