Static Private defaultUploadOptions
defaultUploadOptions: object
allowedMemoryUsage
allowedMemoryUsage: number = 5 * 20 * 1024 * 1024
disableBufferingForFiles
disableBufferingForFiles: true = true
enforceMD5
enforceMD5: false = false
isDisableAutoAbort
isDisableAutoAbort: false = false
maxConcurrentUploads
maxConcurrentUploads: number = 5
partSize
partSize: number = 20 * 1024 * 1024
Initiates a new upload request. The upload manager will decide whether to use a single PutObject call or multi-part uploads depending on the UploadOptions specified.
Note, if a multi-part upload attempt fails, the UploadManager will attempt to abort the upload to avoid leaving partially complete uploads and parts (unless explicitly disabled via uploadOptions).