I am using AWS SDK and I am running this code using Lambda. I noticed that when I used upload function with callback inside an async function, it does not execute the functi