An Easton like theorem in the presence of Shelah cardinals