Consular nonreviewability specifically applies to decisions made by consular officers representing the United States in other countries, who are employees of the United States Department of State.
For many immigrant and non-immigrant visas, the approval of a petition or application from the USCIS is a prerequisite for obtaining the visa.