{Midway} wasn't so much an invasion as it was a bombing raid to cripple the facilities
Midway was indeed a planned invasion, not a hit-and-run strike like Pearl. The Japanese Second Fleet (2 BB, 4 CA, 8 screens), plus the carrier Zuiho and its escorts, accompanied accompanied an invasion force of 5000 troops aboard a dozen transports (half again the size of the Japanese forces on Tulagi and Guadalcanal, and around five times the size of the American defenders), another dozen escorts, and seaplane tenders. Their assigned goal was capture and occupation of the island, which (if successful) they fully intended to turn into a base as part of their barrier in the Pacific.
The main Japanese combat force, and the one tasked with bombing, was the First Fleet. That's also the fleet that was discovered by the American forces, not least because it was their job to screen the invasion force, and so mainly the one that was attacked -- thus also being the one you mostly hear about in recounts of the battle. That's "the battle", not "the operation".
After the disaster befalling the First Fleet, the Second turned back (along with other fleets), as continuing would have been obviously a bad idea. But the fact that the invasion didn't take place thanks to the Japanese defeat doesn't mean the operation wasn't an invasion.
There was also the Northern Force, with a couple of thousand troops, which took the islands of Attu and Kiska (holding them for about a year). That prong of the attack was successful.