Claudia has a good point.
And I'm pretty sure the contraceptives had nothing to do with your AS.
I never went on contraceptives while I was breastfeeding and I still have an AS child.
Personally, I like to wonder about how all that fire retardant my son must have digested (chewing on his approved sleepwear) might have affected things, but I am actually convinced that at least 90% of his condition is simple genetics; maybe 10% worsened or added by environmental factors, and that is pure speculation on my part, simply because logic seems to point in the direction of all that stuff entering into things somewhere, we just don't yet know exactly where.
I am also getting much more interested in the dietary side of things, since so many with AS are realizing they have digestive issues, and I'm wondering how that might have come about. A recent article about how antibiotics may be permanently changing all those mini-microbes that are supposed to live in our bodies has had me wondering ...
But, point being: there is nothing useful to be gained by overly fretting on one particular potential factor. If there are environmental factors, they are likely to be much more subtle than, "I went on contraceptives while breast feeding." While that sort of thing is convenient for a parent to latch onto, there is no scientific evidence to support it, that I've heard. If there were any simple single environmental factors, I do think there would be big red flags out there by now.
_________________
Mom to an amazing young adult AS son, plus an also amazing non-AS daughter. Most likely part of the "Broader Autism Phenotype" (some traits).