tetnus shot during pregancy

I'm 27 weeks pregnant and yesterday I cut my finger on a piece of metal that was a little rusty. I called my regular doctor and the last time I had my tetnus shot was July 2008 so its be exactly 10 years. has anyone gotten the tetnus shot while pregnant?