Internal rewrite to use a simpler aws library with more reliability.