Stuck when upload in file on AWS-S3

I am getting AWS.S3 is not a constructor while using aws-sdk npm package

var awsS3Client = new AWS.S3();