You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a means of specifying tags for s3.upload that applies to both single part and multipart uploads (#1425)
* Add a means of specifying tags for s3.upload that applies to both single part and multipart uploads
* Add an managed upload example with tags
* Fix test sporadic test failure for s3.createPresignedPost
* Throw an error when invalid tags are passed in rather than validating when generating header
* A map of parameters to pass to the upload requests.
64
64
* The "Body" parameter is required to be specified either on the service or in the params option.
65
65
*/
66
-
params?: S3.Types.PutObjectRequest
66
+
params?: S3.Types.PutObjectRequest;
67
67
/**
68
68
* The size of the concurrent queue manager to upload parts in parallel. Set to 1 for synchronous uploading of parts. Note that the uploader will buffer at most queueSize * partSize bytes into memory at any given time.
69
69
* default: 4
70
70
*/
71
-
queueSize?: number
71
+
queueSize?: number;
72
72
/**
73
73
* Default: 5 mb
74
74
* The size in bytes for each individual part to be uploaded. Adjust the part size to ensure the number of parts does not exceed maxTotalParts. See minPartSize for the minimum allowed part size.
75
75
*/
76
-
partSize?: number
76
+
partSize?: number;
77
77
/**
78
78
* Default: false
79
79
* Whether to abort the multipart upload if an error occurs. Set to true if you want to handle failures manually.
80
80
*/
81
-
leavePartsOnError?: boolean
81
+
leavePartsOnError?: boolean;
82
82
/**
83
83
* An optional S3 service object to use for requests.
84
84
* This object might have bound parameters used by the uploader.
0 commit comments