Is hymenoplasty a safe surgery, and what are the potential risks or complications?

How safe is hymenoplasty as a surgical procedure, and what kinds of complications or side effects should someone be aware of ? Are issues like infection, pain, or scarring common?