STDs die pretty quickly once exposed to air, so had this been a toy that was not new, and sealed in a package, you'd have to have used it immediately after someone else did during a sexual encounter.
You used a brand new toy that was in it's original packaging that you bought from Amazon. You're fine.
No that would be zero risk for any std.