Explaining Haley's New Job

What are the responsibilities of the US Ambassador to the United Nations.