404.4 Damp or Wet Locations.
A surface-mounted switch or circuit breaker in a damp or wet location shall be enclosed in a weatherproof enclosure or cabinet that shall comply with 312.2. A flush-mounted switch or circuit breaker in a damp or wet location shall be equipped with a weatherproof cover. Switches shall not be installed within wet locations in tub or shower spaces unless installed as part of a listed tub or shower assembly.