Can you sue prosecutors for framing you?

Today, Pottawattamie County, Iowa, asks the Supreme Court of the United States to reverse an 8th Circuit Court of Appeals ruling which states “immunity does not extend to the actions of a County Attorney who violates a person’s substantive due process rights by obtaining, manufacturing, coercing and fabricating evidence before filing formal charges, because this is not ‘a distinctly prosecutorial function.’”