The authority, the county and the other municipalities, 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.
N.Y. Pub. Auth. Law § 1126