Remove debug code as the issue was confirmed to be caused by an older version of AWS SDK