on the AWS response, `res` is null if there was an error of any kind. the status code hangles off of `err`