Chysalis Identification

Hi there, I found this chrysalis attached to the underside of my child's paddling pool the other day (which was turned upside down) and I had to remove it as we were going to be using it. I did it very gently, and it wiggled at me in annoyance. It has since stopped moving altogether and has darkened a bit, I hope it's OK? I was wondering if anyone could tell me what it is? It has gold dots on it.