U.S. Ambassador to the United Nations Nikki Haley issued an ominous warning to fellow members of the United Nations General Assembly before an emergency session set for Thursday in which the international body will vote on a resolution calling on the Trump administration to withdraw its recent and controversial decision to officially recognize Jerusalem as the capital of Israel and move the U.S. embassy from Tel Aviv to Jerusalem.

"The US will be taking names," Haley tweeted on Tuesday.

With the impending vote, after Haley killed a Security Council resolution on Monday, she expounded on the U.S.'s outsize role in the U.N. and argued that it is the U.S.'s decision alone to decide where it places its embassies.

“At the UN we're always asked to do more & give more,” she tweeted Tuesday evening. “So, when we make a decision, at the will of the American ppl, abt where to locate OUR embassy, we don't expect those we've helped to target us. On Thurs there'll be a vote criticizing our choice. The US will be taking names.”

Haley exercised the U.S.’s veto power for the first time in over six years against when she vetoed a U.N Security Council resolution on Monday that would have blocked recognizing Jerusalem as Israel’s capital.

"The fact that this veto is being done in defense of American sovereignty and in defense of America's role in the Middle East peace process is not a source of embarrassment for us," Haley said after the vote Monday. "It should be an embarrassment to the remainder of the Security Council."

She also condemned other members of the security council and said the proceedings were an “insult” that would not be “forgotten.”

When the new vote comes to the General Assembly on Thursday, the U.S. can vote against but cannot kill the resolution with a veto.

If the General Assembly resolution passes, the U.S. would not be required to follow the measure if passed, but it would place political pressure on the U.S.

The status of Jerusalem is a sensitive issue, as both Israelis and Palestinians have claimed it as their capital. Bucking decades of U.S. policy, President Trump announced earlier this month that Jerusalem would be recognized by the U.S. as the capital of Israel. Trump also announced that he ordered the State Department to make preparations to move the U.S. embassy from Tel Aviv to Jerusalem.

The U.S., along with many other nations, previously had not identified Jerusalem as Israel’s capital, noting the decision is incumbent upon the result of peace talks between Israelis and Palestinians.