I'm specifically wondering about the spells Armor of Agathys, Fire Shield, and Shield, but a general answer would be helpful. For example, if a level 9 Abjuration Wizard/level 2 Warlock multiclass with an Arcane Ward with 20 hit points active, Fire Shield cast at 4th level, and Armor of Agathys cast at 5th level is hit by a melee attack that deals 15 damage, would the attacker take 25 points of cold damage from Armor of Agathys and 2d8 points of fire damage from Fire Shield, even though the attack did damage to your Arcane Ward, and not you?
Could you cast Shield in response to the attack in the example above to try and make it miss, or would that not work because Shield must be cast as a reaction to you being hit by an attack and the attack hit the Arcane Ward, instead of you?