xhr into aws for amazon's costs