The United States has shared intelligence with European allies warning of a possible invasion of Ukraine.