so many developers here believe [...] their code is extremely valuable, and should never be found in the hands of another person
Usually they are fine with other people reading or using the code, so long as proper attribution is given or derivative works have similar terms. Which is not happening in this case.
The Amazon solution is newer and less widely used or advertised. Presumably all of the arguments about Copilot refer to the Amazon version.
How does one opt-out, aside from not making the source available at all?
I'm also late to this article, so maybe this was a bug that was fixed.
I am absolutely fine with other people using my code.
I am not fine with my code being used by AIs whose only ultimate goal is to make me unemployable while simultaneously generate a bunch of money for some corporations and introduce a bunch of labor and inequality issues in an already shit society.
Those same people put their code in public repos on GitHub, with permissive license(s), and don't opt-out of Github's use of their code for things like copilot.
Those same people are now mad at Microsoft because of copilot, and not mad at Amazon for their competing service which does the same things.