It says, "You are hit by an attack." It doesn't say, "You are attacked." This is a metapower. If you have an AC of 18, and the DM gets a 20, he says, "I hit you." You then say, "I use Shield, so I have an AC of 22." The DM says, "I didn't hit you." You then describe the scene accordingly.
The DM...