While you have a weapon or a shield equipped, when a creature within reach takes the Attack action and hits, you can take a reaction to reduce the damage taken by the target equal to your proficiency bonus.