Reputation: 431
This is the link of information about of API AWS-sdk.
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3/ManagedUpload.html#constructor-property
Upvotes: 10
Views: 6415
Reputation: 9847
They are basically the same thing. s3.upload()
is a shortcut function that will use a AWS.S3.ManagedUpload()
object to handle the file upload. You can achieve the same result as s3.upload()
by building your own instance of AWS.S3.ManagedUpload()
and calling the send()
method on it.
Upvotes: 12