Definition: Ampere's law just states that a current generates a magnetic field and provides one method for computing it.
Whenever a guy swims across the current-carrying wire keeping his face constantly facing the magnetic needle even as the current enters, as well as exits his feet, this same north pole of such magnetic needle, has always been deflected towards his left hand.
Therefore, this principle solely describes the magnetic field created by current, not the entire magnetic field available.