Amazon did what they were required to do, which is give her 12 weeks before giving away her job. Obviously that was not good enough so I ask again what should the company have done? No one has answered that question
And then instead of re-instating her insurance once the 'glitch' was discovered, offering her COBRA (ha, you're kidding, right? "Hey, -we- fucked up. But you can keep the insurance you are entitled to... if -you pay $1,000+ a month").