@aws-sdk/client-s3 3.53.1 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/S3Client.js +18 -18
- package/dist-cjs/commands/AbortMultipartUploadCommand.js +4 -4
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +6 -6
- package/dist-cjs/commands/CopyObjectCommand.js +6 -6
- package/dist-cjs/commands/CreateBucketCommand.js +4 -4
- package/dist-cjs/commands/CreateMultipartUploadCommand.js +5 -5
- package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketCommand.js +3 -3
- package/dist-cjs/commands/DeleteBucketCorsCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +4 -4
- package/dist-cjs/commands/DeleteObjectCommand.js +4 -4
- package/dist-cjs/commands/DeleteObjectTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteObjectsCommand.js +5 -5
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketAclCommand.js +4 -4
- package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketCorsCommand.js +4 -4
- package/dist-cjs/commands/GetBucketEncryptionCommand.js +4 -4
- package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLocationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLoggingCommand.js +4 -4
- package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +4 -4
- package/dist-cjs/commands/GetBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +4 -4
- package/dist-cjs/commands/GetBucketReplicationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +4 -4
- package/dist-cjs/commands/GetBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetBucketVersioningCommand.js +4 -4
- package/dist-cjs/commands/GetBucketWebsiteCommand.js +4 -4
- package/dist-cjs/commands/GetObjectAclCommand.js +4 -4
- package/dist-cjs/commands/GetObjectAttributesCommand.js +5 -5
- package/dist-cjs/commands/GetObjectCommand.js +6 -6
- package/dist-cjs/commands/GetObjectLegalHoldCommand.js +4 -4
- package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetObjectRetentionCommand.js +4 -4
- package/dist-cjs/commands/GetObjectTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetObjectTorrentCommand.js +4 -4
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/HeadBucketCommand.js +4 -4
- package/dist-cjs/commands/HeadObjectCommand.js +5 -5
- package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketsCommand.js +3 -3
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +4 -4
- package/dist-cjs/commands/ListObjectVersionsCommand.js +4 -4
- package/dist-cjs/commands/ListObjectsCommand.js +4 -4
- package/dist-cjs/commands/ListObjectsV2Command.js +4 -4
- package/dist-cjs/commands/ListPartsCommand.js +5 -5
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutBucketAclCommand.js +5 -5
- package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketCorsCommand.js +5 -5
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +5 -5
- package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutBucketLoggingCommand.js +5 -5
- package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +5 -5
- package/dist-cjs/commands/PutBucketPolicyCommand.js +5 -5
- package/dist-cjs/commands/PutBucketReplicationCommand.js +5 -5
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +5 -5
- package/dist-cjs/commands/PutBucketTaggingCommand.js +5 -5
- package/dist-cjs/commands/PutBucketVersioningCommand.js +5 -5
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +5 -5
- package/dist-cjs/commands/PutObjectAclCommand.js +5 -5
- package/dist-cjs/commands/PutObjectCommand.js +6 -6
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +5 -5
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutObjectRetentionCommand.js +5 -5
- package/dist-cjs/commands/PutObjectTaggingCommand.js +5 -5
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +5 -5
- package/dist-cjs/commands/RestoreObjectCommand.js +5 -5
- package/dist-cjs/commands/SelectObjectContentCommand.js +5 -5
- package/dist-cjs/commands/UploadPartCommand.js +6 -6
- package/dist-cjs/commands/UploadPartCopyCommand.js +6 -6
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restXml.js +641 -641
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForBucketExists.js +3 -3
- package/dist-cjs/waiters/waitForBucketNotExists.js +3 -3
- package/dist-cjs/waiters/waitForObjectExists.js +3 -3
- package/dist-cjs/waiters/waitForObjectNotExists.js +3 -3
- package/dist-es/S3.js +93 -93
- package/dist-es/pagination/ListObjectsV2Paginator.js +4 -4
- package/dist-es/pagination/ListPartsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restXml.js +97 -97
- package/dist-types/S3Client.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/S3Client.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +50 -50
package/dist-es/S3.js
CHANGED
|
@@ -105,7 +105,7 @@ var S3 = (function (_super) {
|
|
|
105
105
|
}
|
|
106
106
|
else if (typeof cb === "function") {
|
|
107
107
|
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error("Expect http options but get "
|
|
108
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
109
109
|
this.send(command, optionsOrCb || {}, cb);
|
|
110
110
|
}
|
|
111
111
|
else {
|
|
@@ -119,7 +119,7 @@ var S3 = (function (_super) {
|
|
|
119
119
|
}
|
|
120
120
|
else if (typeof cb === "function") {
|
|
121
121
|
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error("Expect http options but get "
|
|
122
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
123
123
|
this.send(command, optionsOrCb || {}, cb);
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
@@ -133,7 +133,7 @@ var S3 = (function (_super) {
|
|
|
133
133
|
}
|
|
134
134
|
else if (typeof cb === "function") {
|
|
135
135
|
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error("Expect http options but get "
|
|
136
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
137
137
|
this.send(command, optionsOrCb || {}, cb);
|
|
138
138
|
}
|
|
139
139
|
else {
|
|
@@ -147,7 +147,7 @@ var S3 = (function (_super) {
|
|
|
147
147
|
}
|
|
148
148
|
else if (typeof cb === "function") {
|
|
149
149
|
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error("Expect http options but get "
|
|
150
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
151
151
|
this.send(command, optionsOrCb || {}, cb);
|
|
152
152
|
}
|
|
153
153
|
else {
|
|
@@ -161,7 +161,7 @@ var S3 = (function (_super) {
|
|
|
161
161
|
}
|
|
162
162
|
else if (typeof cb === "function") {
|
|
163
163
|
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error("Expect http options but get "
|
|
164
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
165
165
|
this.send(command, optionsOrCb || {}, cb);
|
|
166
166
|
}
|
|
167
167
|
else {
|
|
@@ -175,7 +175,7 @@ var S3 = (function (_super) {
|
|
|
175
175
|
}
|
|
176
176
|
else if (typeof cb === "function") {
|
|
177
177
|
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error("Expect http options but get "
|
|
178
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
179
179
|
this.send(command, optionsOrCb || {}, cb);
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
@@ -189,7 +189,7 @@ var S3 = (function (_super) {
|
|
|
189
189
|
}
|
|
190
190
|
else if (typeof cb === "function") {
|
|
191
191
|
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error("Expect http options but get "
|
|
192
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
193
193
|
this.send(command, optionsOrCb || {}, cb);
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
@@ -203,7 +203,7 @@ var S3 = (function (_super) {
|
|
|
203
203
|
}
|
|
204
204
|
else if (typeof cb === "function") {
|
|
205
205
|
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error("Expect http options but get "
|
|
206
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
207
207
|
this.send(command, optionsOrCb || {}, cb);
|
|
208
208
|
}
|
|
209
209
|
else {
|
|
@@ -217,7 +217,7 @@ var S3 = (function (_super) {
|
|
|
217
217
|
}
|
|
218
218
|
else if (typeof cb === "function") {
|
|
219
219
|
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error("Expect http options but get "
|
|
220
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
221
221
|
this.send(command, optionsOrCb || {}, cb);
|
|
222
222
|
}
|
|
223
223
|
else {
|
|
@@ -231,7 +231,7 @@ var S3 = (function (_super) {
|
|
|
231
231
|
}
|
|
232
232
|
else if (typeof cb === "function") {
|
|
233
233
|
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error("Expect http options but get "
|
|
234
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
235
235
|
this.send(command, optionsOrCb || {}, cb);
|
|
236
236
|
}
|
|
237
237
|
else {
|
|
@@ -245,7 +245,7 @@ var S3 = (function (_super) {
|
|
|
245
245
|
}
|
|
246
246
|
else if (typeof cb === "function") {
|
|
247
247
|
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error("Expect http options but get "
|
|
248
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
249
249
|
this.send(command, optionsOrCb || {}, cb);
|
|
250
250
|
}
|
|
251
251
|
else {
|
|
@@ -259,7 +259,7 @@ var S3 = (function (_super) {
|
|
|
259
259
|
}
|
|
260
260
|
else if (typeof cb === "function") {
|
|
261
261
|
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error("Expect http options but get "
|
|
262
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
263
263
|
this.send(command, optionsOrCb || {}, cb);
|
|
264
264
|
}
|
|
265
265
|
else {
|
|
@@ -273,7 +273,7 @@ var S3 = (function (_super) {
|
|
|
273
273
|
}
|
|
274
274
|
else if (typeof cb === "function") {
|
|
275
275
|
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error("Expect http options but get "
|
|
276
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
277
277
|
this.send(command, optionsOrCb || {}, cb);
|
|
278
278
|
}
|
|
279
279
|
else {
|
|
@@ -287,7 +287,7 @@ var S3 = (function (_super) {
|
|
|
287
287
|
}
|
|
288
288
|
else if (typeof cb === "function") {
|
|
289
289
|
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error("Expect http options but get "
|
|
290
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
291
291
|
this.send(command, optionsOrCb || {}, cb);
|
|
292
292
|
}
|
|
293
293
|
else {
|
|
@@ -301,7 +301,7 @@ var S3 = (function (_super) {
|
|
|
301
301
|
}
|
|
302
302
|
else if (typeof cb === "function") {
|
|
303
303
|
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error("Expect http options but get "
|
|
304
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
305
305
|
this.send(command, optionsOrCb || {}, cb);
|
|
306
306
|
}
|
|
307
307
|
else {
|
|
@@ -315,7 +315,7 @@ var S3 = (function (_super) {
|
|
|
315
315
|
}
|
|
316
316
|
else if (typeof cb === "function") {
|
|
317
317
|
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error("Expect http options but get "
|
|
318
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
319
319
|
this.send(command, optionsOrCb || {}, cb);
|
|
320
320
|
}
|
|
321
321
|
else {
|
|
@@ -329,7 +329,7 @@ var S3 = (function (_super) {
|
|
|
329
329
|
}
|
|
330
330
|
else if (typeof cb === "function") {
|
|
331
331
|
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error("Expect http options but get "
|
|
332
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
333
333
|
this.send(command, optionsOrCb || {}, cb);
|
|
334
334
|
}
|
|
335
335
|
else {
|
|
@@ -343,7 +343,7 @@ var S3 = (function (_super) {
|
|
|
343
343
|
}
|
|
344
344
|
else if (typeof cb === "function") {
|
|
345
345
|
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error("Expect http options but get "
|
|
346
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
347
347
|
this.send(command, optionsOrCb || {}, cb);
|
|
348
348
|
}
|
|
349
349
|
else {
|
|
@@ -357,7 +357,7 @@ var S3 = (function (_super) {
|
|
|
357
357
|
}
|
|
358
358
|
else if (typeof cb === "function") {
|
|
359
359
|
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error("Expect http options but get "
|
|
360
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
361
361
|
this.send(command, optionsOrCb || {}, cb);
|
|
362
362
|
}
|
|
363
363
|
else {
|
|
@@ -371,7 +371,7 @@ var S3 = (function (_super) {
|
|
|
371
371
|
}
|
|
372
372
|
else if (typeof cb === "function") {
|
|
373
373
|
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error("Expect http options but get "
|
|
374
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
375
375
|
this.send(command, optionsOrCb || {}, cb);
|
|
376
376
|
}
|
|
377
377
|
else {
|
|
@@ -385,7 +385,7 @@ var S3 = (function (_super) {
|
|
|
385
385
|
}
|
|
386
386
|
else if (typeof cb === "function") {
|
|
387
387
|
if (typeof optionsOrCb !== "object")
|
|
388
|
-
throw new Error("Expect http options but get "
|
|
388
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
389
389
|
this.send(command, optionsOrCb || {}, cb);
|
|
390
390
|
}
|
|
391
391
|
else {
|
|
@@ -399,7 +399,7 @@ var S3 = (function (_super) {
|
|
|
399
399
|
}
|
|
400
400
|
else if (typeof cb === "function") {
|
|
401
401
|
if (typeof optionsOrCb !== "object")
|
|
402
|
-
throw new Error("Expect http options but get "
|
|
402
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
403
403
|
this.send(command, optionsOrCb || {}, cb);
|
|
404
404
|
}
|
|
405
405
|
else {
|
|
@@ -413,7 +413,7 @@ var S3 = (function (_super) {
|
|
|
413
413
|
}
|
|
414
414
|
else if (typeof cb === "function") {
|
|
415
415
|
if (typeof optionsOrCb !== "object")
|
|
416
|
-
throw new Error("Expect http options but get "
|
|
416
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
417
417
|
this.send(command, optionsOrCb || {}, cb);
|
|
418
418
|
}
|
|
419
419
|
else {
|
|
@@ -427,7 +427,7 @@ var S3 = (function (_super) {
|
|
|
427
427
|
}
|
|
428
428
|
else if (typeof cb === "function") {
|
|
429
429
|
if (typeof optionsOrCb !== "object")
|
|
430
|
-
throw new Error("Expect http options but get "
|
|
430
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
431
431
|
this.send(command, optionsOrCb || {}, cb);
|
|
432
432
|
}
|
|
433
433
|
else {
|
|
@@ -441,7 +441,7 @@ var S3 = (function (_super) {
|
|
|
441
441
|
}
|
|
442
442
|
else if (typeof cb === "function") {
|
|
443
443
|
if (typeof optionsOrCb !== "object")
|
|
444
|
-
throw new Error("Expect http options but get "
|
|
444
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
445
445
|
this.send(command, optionsOrCb || {}, cb);
|
|
446
446
|
}
|
|
447
447
|
else {
|
|
@@ -455,7 +455,7 @@ var S3 = (function (_super) {
|
|
|
455
455
|
}
|
|
456
456
|
else if (typeof cb === "function") {
|
|
457
457
|
if (typeof optionsOrCb !== "object")
|
|
458
|
-
throw new Error("Expect http options but get "
|
|
458
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
459
459
|
this.send(command, optionsOrCb || {}, cb);
|
|
460
460
|
}
|
|
461
461
|
else {
|
|
@@ -469,7 +469,7 @@ var S3 = (function (_super) {
|
|
|
469
469
|
}
|
|
470
470
|
else if (typeof cb === "function") {
|
|
471
471
|
if (typeof optionsOrCb !== "object")
|
|
472
|
-
throw new Error("Expect http options but get "
|
|
472
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
473
473
|
this.send(command, optionsOrCb || {}, cb);
|
|
474
474
|
}
|
|
475
475
|
else {
|
|
@@ -483,7 +483,7 @@ var S3 = (function (_super) {
|
|
|
483
483
|
}
|
|
484
484
|
else if (typeof cb === "function") {
|
|
485
485
|
if (typeof optionsOrCb !== "object")
|
|
486
|
-
throw new Error("Expect http options but get "
|
|
486
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
487
487
|
this.send(command, optionsOrCb || {}, cb);
|
|
488
488
|
}
|
|
489
489
|
else {
|
|
@@ -497,7 +497,7 @@ var S3 = (function (_super) {
|
|
|
497
497
|
}
|
|
498
498
|
else if (typeof cb === "function") {
|
|
499
499
|
if (typeof optionsOrCb !== "object")
|
|
500
|
-
throw new Error("Expect http options but get "
|
|
500
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
501
501
|
this.send(command, optionsOrCb || {}, cb);
|
|
502
502
|
}
|
|
503
503
|
else {
|
|
@@ -511,7 +511,7 @@ var S3 = (function (_super) {
|
|
|
511
511
|
}
|
|
512
512
|
else if (typeof cb === "function") {
|
|
513
513
|
if (typeof optionsOrCb !== "object")
|
|
514
|
-
throw new Error("Expect http options but get "
|
|
514
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
515
515
|
this.send(command, optionsOrCb || {}, cb);
|
|
516
516
|
}
|
|
517
517
|
else {
|
|
@@ -525,7 +525,7 @@ var S3 = (function (_super) {
|
|
|
525
525
|
}
|
|
526
526
|
else if (typeof cb === "function") {
|
|
527
527
|
if (typeof optionsOrCb !== "object")
|
|
528
|
-
throw new Error("Expect http options but get "
|
|
528
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
529
529
|
this.send(command, optionsOrCb || {}, cb);
|
|
530
530
|
}
|
|
531
531
|
else {
|
|
@@ -539,7 +539,7 @@ var S3 = (function (_super) {
|
|
|
539
539
|
}
|
|
540
540
|
else if (typeof cb === "function") {
|
|
541
541
|
if (typeof optionsOrCb !== "object")
|
|
542
|
-
throw new Error("Expect http options but get "
|
|
542
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
543
543
|
this.send(command, optionsOrCb || {}, cb);
|
|
544
544
|
}
|
|
545
545
|
else {
|
|
@@ -553,7 +553,7 @@ var S3 = (function (_super) {
|
|
|
553
553
|
}
|
|
554
554
|
else if (typeof cb === "function") {
|
|
555
555
|
if (typeof optionsOrCb !== "object")
|
|
556
|
-
throw new Error("Expect http options but get "
|
|
556
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
557
557
|
this.send(command, optionsOrCb || {}, cb);
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
@@ -567,7 +567,7 @@ var S3 = (function (_super) {
|
|
|
567
567
|
}
|
|
568
568
|
else if (typeof cb === "function") {
|
|
569
569
|
if (typeof optionsOrCb !== "object")
|
|
570
|
-
throw new Error("Expect http options but get "
|
|
570
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
571
571
|
this.send(command, optionsOrCb || {}, cb);
|
|
572
572
|
}
|
|
573
573
|
else {
|
|
@@ -581,7 +581,7 @@ var S3 = (function (_super) {
|
|
|
581
581
|
}
|
|
582
582
|
else if (typeof cb === "function") {
|
|
583
583
|
if (typeof optionsOrCb !== "object")
|
|
584
|
-
throw new Error("Expect http options but get "
|
|
584
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
585
585
|
this.send(command, optionsOrCb || {}, cb);
|
|
586
586
|
}
|
|
587
587
|
else {
|
|
@@ -595,7 +595,7 @@ var S3 = (function (_super) {
|
|
|
595
595
|
}
|
|
596
596
|
else if (typeof cb === "function") {
|
|
597
597
|
if (typeof optionsOrCb !== "object")
|
|
598
|
-
throw new Error("Expect http options but get "
|
|
598
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
599
599
|
this.send(command, optionsOrCb || {}, cb);
|
|
600
600
|
}
|
|
601
601
|
else {
|
|
@@ -609,7 +609,7 @@ var S3 = (function (_super) {
|
|
|
609
609
|
}
|
|
610
610
|
else if (typeof cb === "function") {
|
|
611
611
|
if (typeof optionsOrCb !== "object")
|
|
612
|
-
throw new Error("Expect http options but get "
|
|
612
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
613
613
|
this.send(command, optionsOrCb || {}, cb);
|
|
614
614
|
}
|
|
615
615
|
else {
|
|
@@ -623,7 +623,7 @@ var S3 = (function (_super) {
|
|
|
623
623
|
}
|
|
624
624
|
else if (typeof cb === "function") {
|
|
625
625
|
if (typeof optionsOrCb !== "object")
|
|
626
|
-
throw new Error("Expect http options but get "
|
|
626
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
627
627
|
this.send(command, optionsOrCb || {}, cb);
|
|
628
628
|
}
|
|
629
629
|
else {
|
|
@@ -637,7 +637,7 @@ var S3 = (function (_super) {
|
|
|
637
637
|
}
|
|
638
638
|
else if (typeof cb === "function") {
|
|
639
639
|
if (typeof optionsOrCb !== "object")
|
|
640
|
-
throw new Error("Expect http options but get "
|
|
640
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
641
641
|
this.send(command, optionsOrCb || {}, cb);
|
|
642
642
|
}
|
|
643
643
|
else {
|
|
@@ -651,7 +651,7 @@ var S3 = (function (_super) {
|
|
|
651
651
|
}
|
|
652
652
|
else if (typeof cb === "function") {
|
|
653
653
|
if (typeof optionsOrCb !== "object")
|
|
654
|
-
throw new Error("Expect http options but get "
|
|
654
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
655
655
|
this.send(command, optionsOrCb || {}, cb);
|
|
656
656
|
}
|
|
657
657
|
else {
|
|
@@ -665,7 +665,7 @@ var S3 = (function (_super) {
|
|
|
665
665
|
}
|
|
666
666
|
else if (typeof cb === "function") {
|
|
667
667
|
if (typeof optionsOrCb !== "object")
|
|
668
|
-
throw new Error("Expect http options but get "
|
|
668
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
669
669
|
this.send(command, optionsOrCb || {}, cb);
|
|
670
670
|
}
|
|
671
671
|
else {
|
|
@@ -679,7 +679,7 @@ var S3 = (function (_super) {
|
|
|
679
679
|
}
|
|
680
680
|
else if (typeof cb === "function") {
|
|
681
681
|
if (typeof optionsOrCb !== "object")
|
|
682
|
-
throw new Error("Expect http options but get "
|
|
682
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
683
683
|
this.send(command, optionsOrCb || {}, cb);
|
|
684
684
|
}
|
|
685
685
|
else {
|
|
@@ -693,7 +693,7 @@ var S3 = (function (_super) {
|
|
|
693
693
|
}
|
|
694
694
|
else if (typeof cb === "function") {
|
|
695
695
|
if (typeof optionsOrCb !== "object")
|
|
696
|
-
throw new Error("Expect http options but get "
|
|
696
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
697
697
|
this.send(command, optionsOrCb || {}, cb);
|
|
698
698
|
}
|
|
699
699
|
else {
|
|
@@ -707,7 +707,7 @@ var S3 = (function (_super) {
|
|
|
707
707
|
}
|
|
708
708
|
else if (typeof cb === "function") {
|
|
709
709
|
if (typeof optionsOrCb !== "object")
|
|
710
|
-
throw new Error("Expect http options but get "
|
|
710
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
711
711
|
this.send(command, optionsOrCb || {}, cb);
|
|
712
712
|
}
|
|
713
713
|
else {
|
|
@@ -721,7 +721,7 @@ var S3 = (function (_super) {
|
|
|
721
721
|
}
|
|
722
722
|
else if (typeof cb === "function") {
|
|
723
723
|
if (typeof optionsOrCb !== "object")
|
|
724
|
-
throw new Error("Expect http options but get "
|
|
724
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
725
725
|
this.send(command, optionsOrCb || {}, cb);
|
|
726
726
|
}
|
|
727
727
|
else {
|
|
@@ -735,7 +735,7 @@ var S3 = (function (_super) {
|
|
|
735
735
|
}
|
|
736
736
|
else if (typeof cb === "function") {
|
|
737
737
|
if (typeof optionsOrCb !== "object")
|
|
738
|
-
throw new Error("Expect http options but get "
|
|
738
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
739
739
|
this.send(command, optionsOrCb || {}, cb);
|
|
740
740
|
}
|
|
741
741
|
else {
|
|
@@ -749,7 +749,7 @@ var S3 = (function (_super) {
|
|
|
749
749
|
}
|
|
750
750
|
else if (typeof cb === "function") {
|
|
751
751
|
if (typeof optionsOrCb !== "object")
|
|
752
|
-
throw new Error("Expect http options but get "
|
|
752
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
753
753
|
this.send(command, optionsOrCb || {}, cb);
|
|
754
754
|
}
|
|
755
755
|
else {
|
|
@@ -763,7 +763,7 @@ var S3 = (function (_super) {
|
|
|
763
763
|
}
|
|
764
764
|
else if (typeof cb === "function") {
|
|
765
765
|
if (typeof optionsOrCb !== "object")
|
|
766
|
-
throw new Error("Expect http options but get "
|
|
766
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
767
767
|
this.send(command, optionsOrCb || {}, cb);
|
|
768
768
|
}
|
|
769
769
|
else {
|
|
@@ -777,7 +777,7 @@ var S3 = (function (_super) {
|
|
|
777
777
|
}
|
|
778
778
|
else if (typeof cb === "function") {
|
|
779
779
|
if (typeof optionsOrCb !== "object")
|
|
780
|
-
throw new Error("Expect http options but get "
|
|
780
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
781
781
|
this.send(command, optionsOrCb || {}, cb);
|
|
782
782
|
}
|
|
783
783
|
else {
|
|
@@ -791,7 +791,7 @@ var S3 = (function (_super) {
|
|
|
791
791
|
}
|
|
792
792
|
else if (typeof cb === "function") {
|
|
793
793
|
if (typeof optionsOrCb !== "object")
|
|
794
|
-
throw new Error("Expect http options but get "
|
|
794
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
795
795
|
this.send(command, optionsOrCb || {}, cb);
|
|
796
796
|
}
|
|
797
797
|
else {
|
|
@@ -805,7 +805,7 @@ var S3 = (function (_super) {
|
|
|
805
805
|
}
|
|
806
806
|
else if (typeof cb === "function") {
|
|
807
807
|
if (typeof optionsOrCb !== "object")
|
|
808
|
-
throw new Error("Expect http options but get "
|
|
808
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
809
809
|
this.send(command, optionsOrCb || {}, cb);
|
|
810
810
|
}
|
|
811
811
|
else {
|
|
@@ -819,7 +819,7 @@ var S3 = (function (_super) {
|
|
|
819
819
|
}
|
|
820
820
|
else if (typeof cb === "function") {
|
|
821
821
|
if (typeof optionsOrCb !== "object")
|
|
822
|
-
throw new Error("Expect http options but get "
|
|
822
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
823
823
|
this.send(command, optionsOrCb || {}, cb);
|
|
824
824
|
}
|
|
825
825
|
else {
|
|
@@ -833,7 +833,7 @@ var S3 = (function (_super) {
|
|
|
833
833
|
}
|
|
834
834
|
else if (typeof cb === "function") {
|
|
835
835
|
if (typeof optionsOrCb !== "object")
|
|
836
|
-
throw new Error("Expect http options but get "
|
|
836
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
837
837
|
this.send(command, optionsOrCb || {}, cb);
|
|
838
838
|
}
|
|
839
839
|
else {
|
|
@@ -847,7 +847,7 @@ var S3 = (function (_super) {
|
|
|
847
847
|
}
|
|
848
848
|
else if (typeof cb === "function") {
|
|
849
849
|
if (typeof optionsOrCb !== "object")
|
|
850
|
-
throw new Error("Expect http options but get "
|
|
850
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
851
851
|
this.send(command, optionsOrCb || {}, cb);
|
|
852
852
|
}
|
|
853
853
|
else {
|
|
@@ -861,7 +861,7 @@ var S3 = (function (_super) {
|
|
|
861
861
|
}
|
|
862
862
|
else if (typeof cb === "function") {
|
|
863
863
|
if (typeof optionsOrCb !== "object")
|
|
864
|
-
throw new Error("Expect http options but get "
|
|
864
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
865
865
|
this.send(command, optionsOrCb || {}, cb);
|
|
866
866
|
}
|
|
867
867
|
else {
|
|
@@ -875,7 +875,7 @@ var S3 = (function (_super) {
|
|
|
875
875
|
}
|
|
876
876
|
else if (typeof cb === "function") {
|
|
877
877
|
if (typeof optionsOrCb !== "object")
|
|
878
|
-
throw new Error("Expect http options but get "
|
|
878
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
879
879
|
this.send(command, optionsOrCb || {}, cb);
|
|
880
880
|
}
|
|
881
881
|
else {
|
|
@@ -889,7 +889,7 @@ var S3 = (function (_super) {
|
|
|
889
889
|
}
|
|
890
890
|
else if (typeof cb === "function") {
|
|
891
891
|
if (typeof optionsOrCb !== "object")
|
|
892
|
-
throw new Error("Expect http options but get "
|
|
892
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
893
893
|
this.send(command, optionsOrCb || {}, cb);
|
|
894
894
|
}
|
|
895
895
|
else {
|
|
@@ -903,7 +903,7 @@ var S3 = (function (_super) {
|
|
|
903
903
|
}
|
|
904
904
|
else if (typeof cb === "function") {
|
|
905
905
|
if (typeof optionsOrCb !== "object")
|
|
906
|
-
throw new Error("Expect http options but get "
|
|
906
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
907
907
|
this.send(command, optionsOrCb || {}, cb);
|
|
908
908
|
}
|
|
909
909
|
else {
|
|
@@ -917,7 +917,7 @@ var S3 = (function (_super) {
|
|
|
917
917
|
}
|
|
918
918
|
else if (typeof cb === "function") {
|
|
919
919
|
if (typeof optionsOrCb !== "object")
|
|
920
|
-
throw new Error("Expect http options but get "
|
|
920
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
921
921
|
this.send(command, optionsOrCb || {}, cb);
|
|
922
922
|
}
|
|
923
923
|
else {
|
|
@@ -931,7 +931,7 @@ var S3 = (function (_super) {
|
|
|
931
931
|
}
|
|
932
932
|
else if (typeof cb === "function") {
|
|
933
933
|
if (typeof optionsOrCb !== "object")
|
|
934
|
-
throw new Error("Expect http options but get "
|
|
934
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
935
935
|
this.send(command, optionsOrCb || {}, cb);
|
|
936
936
|
}
|
|
937
937
|
else {
|
|
@@ -945,7 +945,7 @@ var S3 = (function (_super) {
|
|
|
945
945
|
}
|
|
946
946
|
else if (typeof cb === "function") {
|
|
947
947
|
if (typeof optionsOrCb !== "object")
|
|
948
|
-
throw new Error("Expect http options but get "
|
|
948
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
949
949
|
this.send(command, optionsOrCb || {}, cb);
|
|
950
950
|
}
|
|
951
951
|
else {
|
|
@@ -959,7 +959,7 @@ var S3 = (function (_super) {
|
|
|
959
959
|
}
|
|
960
960
|
else if (typeof cb === "function") {
|
|
961
961
|
if (typeof optionsOrCb !== "object")
|
|
962
|
-
throw new Error("Expect http options but get "
|
|
962
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
963
963
|
this.send(command, optionsOrCb || {}, cb);
|
|
964
964
|
}
|
|
965
965
|
else {
|
|
@@ -973,7 +973,7 @@ var S3 = (function (_super) {
|
|
|
973
973
|
}
|
|
974
974
|
else if (typeof cb === "function") {
|
|
975
975
|
if (typeof optionsOrCb !== "object")
|
|
976
|
-
throw new Error("Expect http options but get "
|
|
976
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
977
977
|
this.send(command, optionsOrCb || {}, cb);
|
|
978
978
|
}
|
|
979
979
|
else {
|
|
@@ -987,7 +987,7 @@ var S3 = (function (_super) {
|
|
|
987
987
|
}
|
|
988
988
|
else if (typeof cb === "function") {
|
|
989
989
|
if (typeof optionsOrCb !== "object")
|
|
990
|
-
throw new Error("Expect http options but get "
|
|
990
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
991
991
|
this.send(command, optionsOrCb || {}, cb);
|
|
992
992
|
}
|
|
993
993
|
else {
|
|
@@ -1001,7 +1001,7 @@ var S3 = (function (_super) {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
else if (typeof cb === "function") {
|
|
1003
1003
|
if (typeof optionsOrCb !== "object")
|
|
1004
|
-
throw new Error("Expect http options but get "
|
|
1004
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1005
1005
|
this.send(command, optionsOrCb || {}, cb);
|
|
1006
1006
|
}
|
|
1007
1007
|
else {
|
|
@@ -1015,7 +1015,7 @@ var S3 = (function (_super) {
|
|
|
1015
1015
|
}
|
|
1016
1016
|
else if (typeof cb === "function") {
|
|
1017
1017
|
if (typeof optionsOrCb !== "object")
|
|
1018
|
-
throw new Error("Expect http options but get "
|
|
1018
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1019
1019
|
this.send(command, optionsOrCb || {}, cb);
|
|
1020
1020
|
}
|
|
1021
1021
|
else {
|
|
@@ -1029,7 +1029,7 @@ var S3 = (function (_super) {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
else if (typeof cb === "function") {
|
|
1031
1031
|
if (typeof optionsOrCb !== "object")
|
|
1032
|
-
throw new Error("Expect http options but get "
|
|
1032
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1033
1033
|
this.send(command, optionsOrCb || {}, cb);
|
|
1034
1034
|
}
|
|
1035
1035
|
else {
|
|
@@ -1043,7 +1043,7 @@ var S3 = (function (_super) {
|
|
|
1043
1043
|
}
|
|
1044
1044
|
else if (typeof cb === "function") {
|
|
1045
1045
|
if (typeof optionsOrCb !== "object")
|
|
1046
|
-
throw new Error("Expect http options but get "
|
|
1046
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1047
1047
|
this.send(command, optionsOrCb || {}, cb);
|
|
1048
1048
|
}
|
|
1049
1049
|
else {
|
|
@@ -1057,7 +1057,7 @@ var S3 = (function (_super) {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
else if (typeof cb === "function") {
|
|
1059
1059
|
if (typeof optionsOrCb !== "object")
|
|
1060
|
-
throw new Error("Expect http options but get "
|
|
1060
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1061
1061
|
this.send(command, optionsOrCb || {}, cb);
|
|
1062
1062
|
}
|
|
1063
1063
|
else {
|
|
@@ -1071,7 +1071,7 @@ var S3 = (function (_super) {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
else if (typeof cb === "function") {
|
|
1073
1073
|
if (typeof optionsOrCb !== "object")
|
|
1074
|
-
throw new Error("Expect http options but get "
|
|
1074
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1075
1075
|
this.send(command, optionsOrCb || {}, cb);
|
|
1076
1076
|
}
|
|
1077
1077
|
else {
|
|
@@ -1085,7 +1085,7 @@ var S3 = (function (_super) {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
else if (typeof cb === "function") {
|
|
1087
1087
|
if (typeof optionsOrCb !== "object")
|
|
1088
|
-
throw new Error("Expect http options but get "
|
|
1088
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1089
1089
|
this.send(command, optionsOrCb || {}, cb);
|
|
1090
1090
|
}
|
|
1091
1091
|
else {
|
|
@@ -1099,7 +1099,7 @@ var S3 = (function (_super) {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
else if (typeof cb === "function") {
|
|
1101
1101
|
if (typeof optionsOrCb !== "object")
|
|
1102
|
-
throw new Error("Expect http options but get "
|
|
1102
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1103
1103
|
this.send(command, optionsOrCb || {}, cb);
|
|
1104
1104
|
}
|
|
1105
1105
|
else {
|
|
@@ -1113,7 +1113,7 @@ var S3 = (function (_super) {
|
|
|
1113
1113
|
}
|
|
1114
1114
|
else if (typeof cb === "function") {
|
|
1115
1115
|
if (typeof optionsOrCb !== "object")
|
|
1116
|
-
throw new Error("Expect http options but get "
|
|
1116
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1117
1117
|
this.send(command, optionsOrCb || {}, cb);
|
|
1118
1118
|
}
|
|
1119
1119
|
else {
|
|
@@ -1127,7 +1127,7 @@ var S3 = (function (_super) {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
else if (typeof cb === "function") {
|
|
1129
1129
|
if (typeof optionsOrCb !== "object")
|
|
1130
|
-
throw new Error("Expect http options but get "
|
|
1130
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1131
1131
|
this.send(command, optionsOrCb || {}, cb);
|
|
1132
1132
|
}
|
|
1133
1133
|
else {
|
|
@@ -1141,7 +1141,7 @@ var S3 = (function (_super) {
|
|
|
1141
1141
|
}
|
|
1142
1142
|
else if (typeof cb === "function") {
|
|
1143
1143
|
if (typeof optionsOrCb !== "object")
|
|
1144
|
-
throw new Error("Expect http options but get "
|
|
1144
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1145
1145
|
this.send(command, optionsOrCb || {}, cb);
|
|
1146
1146
|
}
|
|
1147
1147
|
else {
|
|
@@ -1155,7 +1155,7 @@ var S3 = (function (_super) {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
else if (typeof cb === "function") {
|
|
1157
1157
|
if (typeof optionsOrCb !== "object")
|
|
1158
|
-
throw new Error("Expect http options but get "
|
|
1158
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1159
1159
|
this.send(command, optionsOrCb || {}, cb);
|
|
1160
1160
|
}
|
|
1161
1161
|
else {
|
|
@@ -1169,7 +1169,7 @@ var S3 = (function (_super) {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
else if (typeof cb === "function") {
|
|
1171
1171
|
if (typeof optionsOrCb !== "object")
|
|
1172
|
-
throw new Error("Expect http options but get "
|
|
1172
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1173
1173
|
this.send(command, optionsOrCb || {}, cb);
|
|
1174
1174
|
}
|
|
1175
1175
|
else {
|
|
@@ -1183,7 +1183,7 @@ var S3 = (function (_super) {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
else if (typeof cb === "function") {
|
|
1185
1185
|
if (typeof optionsOrCb !== "object")
|
|
1186
|
-
throw new Error("Expect http options but get "
|
|
1186
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1187
1187
|
this.send(command, optionsOrCb || {}, cb);
|
|
1188
1188
|
}
|
|
1189
1189
|
else {
|
|
@@ -1197,7 +1197,7 @@ var S3 = (function (_super) {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
else if (typeof cb === "function") {
|
|
1199
1199
|
if (typeof optionsOrCb !== "object")
|
|
1200
|
-
throw new Error("Expect http options but get "
|
|
1200
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1201
1201
|
this.send(command, optionsOrCb || {}, cb);
|
|
1202
1202
|
}
|
|
1203
1203
|
else {
|
|
@@ -1211,7 +1211,7 @@ var S3 = (function (_super) {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
else if (typeof cb === "function") {
|
|
1213
1213
|
if (typeof optionsOrCb !== "object")
|
|
1214
|
-
throw new Error("Expect http options but get "
|
|
1214
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1215
1215
|
this.send(command, optionsOrCb || {}, cb);
|
|
1216
1216
|
}
|
|
1217
1217
|
else {
|
|
@@ -1225,7 +1225,7 @@ var S3 = (function (_super) {
|
|
|
1225
1225
|
}
|
|
1226
1226
|
else if (typeof cb === "function") {
|
|
1227
1227
|
if (typeof optionsOrCb !== "object")
|
|
1228
|
-
throw new Error("Expect http options but get "
|
|
1228
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1229
1229
|
this.send(command, optionsOrCb || {}, cb);
|
|
1230
1230
|
}
|
|
1231
1231
|
else {
|
|
@@ -1239,7 +1239,7 @@ var S3 = (function (_super) {
|
|
|
1239
1239
|
}
|
|
1240
1240
|
else if (typeof cb === "function") {
|
|
1241
1241
|
if (typeof optionsOrCb !== "object")
|
|
1242
|
-
throw new Error("Expect http options but get "
|
|
1242
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1243
1243
|
this.send(command, optionsOrCb || {}, cb);
|
|
1244
1244
|
}
|
|
1245
1245
|
else {
|
|
@@ -1253,7 +1253,7 @@ var S3 = (function (_super) {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
else if (typeof cb === "function") {
|
|
1255
1255
|
if (typeof optionsOrCb !== "object")
|
|
1256
|
-
throw new Error("Expect http options but get "
|
|
1256
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1257
1257
|
this.send(command, optionsOrCb || {}, cb);
|
|
1258
1258
|
}
|
|
1259
1259
|
else {
|
|
@@ -1267,7 +1267,7 @@ var S3 = (function (_super) {
|
|
|
1267
1267
|
}
|
|
1268
1268
|
else if (typeof cb === "function") {
|
|
1269
1269
|
if (typeof optionsOrCb !== "object")
|
|
1270
|
-
throw new Error("Expect http options but get "
|
|
1270
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1271
1271
|
this.send(command, optionsOrCb || {}, cb);
|
|
1272
1272
|
}
|
|
1273
1273
|
else {
|
|
@@ -1281,7 +1281,7 @@ var S3 = (function (_super) {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
else if (typeof cb === "function") {
|
|
1283
1283
|
if (typeof optionsOrCb !== "object")
|
|
1284
|
-
throw new Error("Expect http options but get "
|
|
1284
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1285
1285
|
this.send(command, optionsOrCb || {}, cb);
|
|
1286
1286
|
}
|
|
1287
1287
|
else {
|
|
@@ -1295,7 +1295,7 @@ var S3 = (function (_super) {
|
|
|
1295
1295
|
}
|
|
1296
1296
|
else if (typeof cb === "function") {
|
|
1297
1297
|
if (typeof optionsOrCb !== "object")
|
|
1298
|
-
throw new Error("Expect http options but get "
|
|
1298
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1299
1299
|
this.send(command, optionsOrCb || {}, cb);
|
|
1300
1300
|
}
|
|
1301
1301
|
else {
|
|
@@ -1309,7 +1309,7 @@ var S3 = (function (_super) {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
else if (typeof cb === "function") {
|
|
1311
1311
|
if (typeof optionsOrCb !== "object")
|
|
1312
|
-
throw new Error("Expect http options but get "
|
|
1312
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1313
1313
|
this.send(command, optionsOrCb || {}, cb);
|
|
1314
1314
|
}
|
|
1315
1315
|
else {
|
|
@@ -1323,7 +1323,7 @@ var S3 = (function (_super) {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
else if (typeof cb === "function") {
|
|
1325
1325
|
if (typeof optionsOrCb !== "object")
|
|
1326
|
-
throw new Error("Expect http options but get "
|
|
1326
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1327
1327
|
this.send(command, optionsOrCb || {}, cb);
|
|
1328
1328
|
}
|
|
1329
1329
|
else {
|
|
@@ -1337,7 +1337,7 @@ var S3 = (function (_super) {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
else if (typeof cb === "function") {
|
|
1339
1339
|
if (typeof optionsOrCb !== "object")
|
|
1340
|
-
throw new Error("Expect http options but get "
|
|
1340
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1341
1341
|
this.send(command, optionsOrCb || {}, cb);
|
|
1342
1342
|
}
|
|
1343
1343
|
else {
|
|
@@ -1351,7 +1351,7 @@ var S3 = (function (_super) {
|
|
|
1351
1351
|
}
|
|
1352
1352
|
else if (typeof cb === "function") {
|
|
1353
1353
|
if (typeof optionsOrCb !== "object")
|
|
1354
|
-
throw new Error("Expect http options but get "
|
|
1354
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1355
1355
|
this.send(command, optionsOrCb || {}, cb);
|
|
1356
1356
|
}
|
|
1357
1357
|
else {
|
|
@@ -1365,7 +1365,7 @@ var S3 = (function (_super) {
|
|
|
1365
1365
|
}
|
|
1366
1366
|
else if (typeof cb === "function") {
|
|
1367
1367
|
if (typeof optionsOrCb !== "object")
|
|
1368
|
-
throw new Error("Expect http options but get "
|
|
1368
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1369
1369
|
this.send(command, optionsOrCb || {}, cb);
|
|
1370
1370
|
}
|
|
1371
1371
|
else {
|
|
@@ -1379,7 +1379,7 @@ var S3 = (function (_super) {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
else if (typeof cb === "function") {
|
|
1381
1381
|
if (typeof optionsOrCb !== "object")
|
|
1382
|
-
throw new Error("Expect http options but get "
|
|
1382
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1383
1383
|
this.send(command, optionsOrCb || {}, cb);
|
|
1384
1384
|
}
|
|
1385
1385
|
else {
|
|
@@ -1393,7 +1393,7 @@ var S3 = (function (_super) {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
else if (typeof cb === "function") {
|
|
1395
1395
|
if (typeof optionsOrCb !== "object")
|
|
1396
|
-
throw new Error("Expect http options but get "
|
|
1396
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1397
1397
|
this.send(command, optionsOrCb || {}, cb);
|
|
1398
1398
|
}
|
|
1399
1399
|
else {
|