Getting amniocentesis and flu shot same day

Will I have any issues with this?

Planning on getting flu shot and whooping cough vaccine prior to my amniocentesis?