What was NATOs role in the Bay of Pigs?

to provide early warning of Soviet response in aid of Cuba.