I have the below code in js and i need to use it in ts.
var AWS = require('aws-sdk');
AWS.config.region = 'ap-south-1';
var s3Client = new AWS.S3();
var params = { Bucket: 'angular-upload-files', Key: 'test/', ACL: 'public-read',
Body:'body does not matter'
};