Replace forEach with AWS.util.each