I am using AWS Javascript SDK to get the list of S3 Batch jobs list. I am using below function to list the same.
processBatch() { //CORS error on wrong