What was the main idea of the Monroe Doctrine?

It was a proclamation of war between the U.S. and Mexico.

It was a warning for European countries to stop colonization in the western hemisphere.

It was an agreement to give territories to the Native Americans.

It was a list of complaints from the U.S. to European countries.