N.Y. Public Authorities Law § 1115-L
The authority, the water board and the city in carrying out their respective powers and duties under this title, shall be deemed to be acting in a governmental capacity and in the performance of an essential governmental function.