The structure of amenable systems