Possible stupid question, humor me

Kayla

If I got the whooping cough vaccine, and got slightly sick, would I be contagious to my partner? Idk if vaccines even work that way lol. But if anyone has any insight I’d appreciate it. When I got it I was just extremely tired, not really sick. But not my partner has a cold. So I’m wondering if that’s a possibility lol. Thanks!