Check to see if the error object has a Body propery before treating it a...

...s an AWS API error.