Amazon cuts hundreds of jobs in cloud business