@aws-sdk/client-storage-gateway 3.54.0 → 3.56.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/StorageGatewayClient.js +13 -13
- package/dist-cjs/commands/ActivateGatewayCommand.js +3 -3
- package/dist-cjs/commands/AddCacheCommand.js +3 -3
- package/dist-cjs/commands/AddTagsToResourceCommand.js +3 -3
- package/dist-cjs/commands/AddUploadBufferCommand.js +3 -3
- package/dist-cjs/commands/AddWorkingStorageCommand.js +3 -3
- package/dist-cjs/commands/AssignTapePoolCommand.js +3 -3
- package/dist-cjs/commands/AssociateFileSystemCommand.js +3 -3
- package/dist-cjs/commands/AttachVolumeCommand.js +3 -3
- package/dist-cjs/commands/CancelArchivalCommand.js +3 -3
- package/dist-cjs/commands/CancelRetrievalCommand.js +3 -3
- package/dist-cjs/commands/CreateCachediSCSIVolumeCommand.js +3 -3
- package/dist-cjs/commands/CreateNFSFileShareCommand.js +3 -3
- package/dist-cjs/commands/CreateSMBFileShareCommand.js +3 -3
- package/dist-cjs/commands/CreateSnapshotCommand.js +3 -3
- package/dist-cjs/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js +3 -3
- package/dist-cjs/commands/CreateStorediSCSIVolumeCommand.js +3 -3
- package/dist-cjs/commands/CreateTapePoolCommand.js +3 -3
- package/dist-cjs/commands/CreateTapeWithBarcodeCommand.js +3 -3
- package/dist-cjs/commands/CreateTapesCommand.js +3 -3
- package/dist-cjs/commands/DeleteAutomaticTapeCreationPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteBandwidthRateLimitCommand.js +3 -3
- package/dist-cjs/commands/DeleteChapCredentialsCommand.js +3 -3
- package/dist-cjs/commands/DeleteFileShareCommand.js +3 -3
- package/dist-cjs/commands/DeleteGatewayCommand.js +3 -3
- package/dist-cjs/commands/DeleteSnapshotScheduleCommand.js +3 -3
- package/dist-cjs/commands/DeleteTapeArchiveCommand.js +3 -3
- package/dist-cjs/commands/DeleteTapeCommand.js +3 -3
- package/dist-cjs/commands/DeleteTapePoolCommand.js +3 -3
- package/dist-cjs/commands/DeleteVolumeCommand.js +3 -3
- package/dist-cjs/commands/DescribeAvailabilityMonitorTestCommand.js +3 -3
- package/dist-cjs/commands/DescribeBandwidthRateLimitCommand.js +3 -3
- package/dist-cjs/commands/DescribeBandwidthRateLimitScheduleCommand.js +3 -3
- package/dist-cjs/commands/DescribeCacheCommand.js +3 -3
- package/dist-cjs/commands/DescribeCachediSCSIVolumesCommand.js +3 -3
- package/dist-cjs/commands/DescribeChapCredentialsCommand.js +3 -3
- package/dist-cjs/commands/DescribeFileSystemAssociationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeGatewayInformationCommand.js +3 -3
- package/dist-cjs/commands/DescribeMaintenanceStartTimeCommand.js +3 -3
- package/dist-cjs/commands/DescribeNFSFileSharesCommand.js +3 -3
- package/dist-cjs/commands/DescribeSMBFileSharesCommand.js +3 -3
- package/dist-cjs/commands/DescribeSMBSettingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeSnapshotScheduleCommand.js +3 -3
- package/dist-cjs/commands/DescribeStorediSCSIVolumesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTapeArchivesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTapeRecoveryPointsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTapesCommand.js +3 -3
- package/dist-cjs/commands/DescribeUploadBufferCommand.js +3 -3
- package/dist-cjs/commands/DescribeVTLDevicesCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkingStorageCommand.js +3 -3
- package/dist-cjs/commands/DetachVolumeCommand.js +3 -3
- package/dist-cjs/commands/DisableGatewayCommand.js +3 -3
- package/dist-cjs/commands/DisassociateFileSystemCommand.js +3 -3
- package/dist-cjs/commands/JoinDomainCommand.js +3 -3
- package/dist-cjs/commands/ListAutomaticTapeCreationPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListFileSharesCommand.js +3 -3
- package/dist-cjs/commands/ListFileSystemAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListGatewaysCommand.js +3 -3
- package/dist-cjs/commands/ListLocalDisksCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTapePoolsCommand.js +3 -3
- package/dist-cjs/commands/ListTapesCommand.js +3 -3
- package/dist-cjs/commands/ListVolumeInitiatorsCommand.js +3 -3
- package/dist-cjs/commands/ListVolumeRecoveryPointsCommand.js +3 -3
- package/dist-cjs/commands/ListVolumesCommand.js +3 -3
- package/dist-cjs/commands/NotifyWhenUploadedCommand.js +3 -3
- package/dist-cjs/commands/RefreshCacheCommand.js +3 -3
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +3 -3
- package/dist-cjs/commands/ResetCacheCommand.js +3 -3
- package/dist-cjs/commands/RetrieveTapeArchiveCommand.js +3 -3
- package/dist-cjs/commands/RetrieveTapeRecoveryPointCommand.js +3 -3
- package/dist-cjs/commands/SetLocalConsolePasswordCommand.js +3 -3
- package/dist-cjs/commands/SetSMBGuestPasswordCommand.js +3 -3
- package/dist-cjs/commands/ShutdownGatewayCommand.js +3 -3
- package/dist-cjs/commands/StartAvailabilityMonitorTestCommand.js +3 -3
- package/dist-cjs/commands/StartGatewayCommand.js +3 -3
- package/dist-cjs/commands/UpdateAutomaticTapeCreationPolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateBandwidthRateLimitCommand.js +3 -3
- package/dist-cjs/commands/UpdateBandwidthRateLimitScheduleCommand.js +3 -3
- package/dist-cjs/commands/UpdateChapCredentialsCommand.js +3 -3
- package/dist-cjs/commands/UpdateFileSystemAssociationCommand.js +3 -3
- package/dist-cjs/commands/UpdateGatewayInformationCommand.js +3 -3
- package/dist-cjs/commands/UpdateGatewaySoftwareNowCommand.js +3 -3
- package/dist-cjs/commands/UpdateMaintenanceStartTimeCommand.js +3 -3
- package/dist-cjs/commands/UpdateNFSFileShareCommand.js +3 -3
- package/dist-cjs/commands/UpdateSMBFileShareCommand.js +3 -3
- package/dist-cjs/commands/UpdateSMBFileShareVisibilityCommand.js +3 -3
- package/dist-cjs/commands/UpdateSMBLocalGroupsCommand.js +3 -3
- package/dist-cjs/commands/UpdateSMBSecurityStrategyCommand.js +3 -3
- package/dist-cjs/commands/UpdateSnapshotScheduleCommand.js +3 -3
- package/dist-cjs/commands/UpdateVTLDeviceTypeCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +446 -446
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/StorageGateway.js +90 -90
- package/dist-es/pagination/DescribeTapeArchivesPaginator.js +4 -4
- package/dist-es/pagination/DescribeTapeRecoveryPointsPaginator.js +4 -4
- package/dist-es/pagination/DescribeTapesPaginator.js +4 -4
- package/dist-es/pagination/DescribeVTLDevicesPaginator.js +4 -4
- package/dist-es/pagination/ListFileSharesPaginator.js +4 -4
- package/dist-es/pagination/ListFileSystemAssociationsPaginator.js +4 -4
- package/dist-es/pagination/ListGatewaysPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-es/pagination/ListTapePoolsPaginator.js +4 -4
- package/dist-es/pagination/ListTapesPaginator.js +4 -4
- package/dist-es/pagination/ListVolumesPaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -102,7 +102,7 @@ var StorageGateway = (function (_super) {
|
|
|
102
102
|
}
|
|
103
103
|
else if (typeof cb === "function") {
|
|
104
104
|
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error("Expect http options but get "
|
|
105
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
106
106
|
this.send(command, optionsOrCb || {}, cb);
|
|
107
107
|
}
|
|
108
108
|
else {
|
|
@@ -116,7 +116,7 @@ var StorageGateway = (function (_super) {
|
|
|
116
116
|
}
|
|
117
117
|
else if (typeof cb === "function") {
|
|
118
118
|
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error("Expect http options but get "
|
|
119
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
120
120
|
this.send(command, optionsOrCb || {}, cb);
|
|
121
121
|
}
|
|
122
122
|
else {
|
|
@@ -130,7 +130,7 @@ var StorageGateway = (function (_super) {
|
|
|
130
130
|
}
|
|
131
131
|
else if (typeof cb === "function") {
|
|
132
132
|
if (typeof optionsOrCb !== "object")
|
|
133
|
-
throw new Error("Expect http options but get "
|
|
133
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
134
134
|
this.send(command, optionsOrCb || {}, cb);
|
|
135
135
|
}
|
|
136
136
|
else {
|
|
@@ -144,7 +144,7 @@ var StorageGateway = (function (_super) {
|
|
|
144
144
|
}
|
|
145
145
|
else if (typeof cb === "function") {
|
|
146
146
|
if (typeof optionsOrCb !== "object")
|
|
147
|
-
throw new Error("Expect http options but get "
|
|
147
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
148
148
|
this.send(command, optionsOrCb || {}, cb);
|
|
149
149
|
}
|
|
150
150
|
else {
|
|
@@ -158,7 +158,7 @@ var StorageGateway = (function (_super) {
|
|
|
158
158
|
}
|
|
159
159
|
else if (typeof cb === "function") {
|
|
160
160
|
if (typeof optionsOrCb !== "object")
|
|
161
|
-
throw new Error("Expect http options but get "
|
|
161
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
162
162
|
this.send(command, optionsOrCb || {}, cb);
|
|
163
163
|
}
|
|
164
164
|
else {
|
|
@@ -172,7 +172,7 @@ var StorageGateway = (function (_super) {
|
|
|
172
172
|
}
|
|
173
173
|
else if (typeof cb === "function") {
|
|
174
174
|
if (typeof optionsOrCb !== "object")
|
|
175
|
-
throw new Error("Expect http options but get "
|
|
175
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
176
176
|
this.send(command, optionsOrCb || {}, cb);
|
|
177
177
|
}
|
|
178
178
|
else {
|
|
@@ -186,7 +186,7 @@ var StorageGateway = (function (_super) {
|
|
|
186
186
|
}
|
|
187
187
|
else if (typeof cb === "function") {
|
|
188
188
|
if (typeof optionsOrCb !== "object")
|
|
189
|
-
throw new Error("Expect http options but get "
|
|
189
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
190
190
|
this.send(command, optionsOrCb || {}, cb);
|
|
191
191
|
}
|
|
192
192
|
else {
|
|
@@ -200,7 +200,7 @@ var StorageGateway = (function (_super) {
|
|
|
200
200
|
}
|
|
201
201
|
else if (typeof cb === "function") {
|
|
202
202
|
if (typeof optionsOrCb !== "object")
|
|
203
|
-
throw new Error("Expect http options but get "
|
|
203
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
204
204
|
this.send(command, optionsOrCb || {}, cb);
|
|
205
205
|
}
|
|
206
206
|
else {
|
|
@@ -214,7 +214,7 @@ var StorageGateway = (function (_super) {
|
|
|
214
214
|
}
|
|
215
215
|
else if (typeof cb === "function") {
|
|
216
216
|
if (typeof optionsOrCb !== "object")
|
|
217
|
-
throw new Error("Expect http options but get "
|
|
217
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
218
218
|
this.send(command, optionsOrCb || {}, cb);
|
|
219
219
|
}
|
|
220
220
|
else {
|
|
@@ -228,7 +228,7 @@ var StorageGateway = (function (_super) {
|
|
|
228
228
|
}
|
|
229
229
|
else if (typeof cb === "function") {
|
|
230
230
|
if (typeof optionsOrCb !== "object")
|
|
231
|
-
throw new Error("Expect http options but get "
|
|
231
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
232
232
|
this.send(command, optionsOrCb || {}, cb);
|
|
233
233
|
}
|
|
234
234
|
else {
|
|
@@ -242,7 +242,7 @@ var StorageGateway = (function (_super) {
|
|
|
242
242
|
}
|
|
243
243
|
else if (typeof cb === "function") {
|
|
244
244
|
if (typeof optionsOrCb !== "object")
|
|
245
|
-
throw new Error("Expect http options but get "
|
|
245
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
246
246
|
this.send(command, optionsOrCb || {}, cb);
|
|
247
247
|
}
|
|
248
248
|
else {
|
|
@@ -256,7 +256,7 @@ var StorageGateway = (function (_super) {
|
|
|
256
256
|
}
|
|
257
257
|
else if (typeof cb === "function") {
|
|
258
258
|
if (typeof optionsOrCb !== "object")
|
|
259
|
-
throw new Error("Expect http options but get "
|
|
259
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
260
260
|
this.send(command, optionsOrCb || {}, cb);
|
|
261
261
|
}
|
|
262
262
|
else {
|
|
@@ -270,7 +270,7 @@ var StorageGateway = (function (_super) {
|
|
|
270
270
|
}
|
|
271
271
|
else if (typeof cb === "function") {
|
|
272
272
|
if (typeof optionsOrCb !== "object")
|
|
273
|
-
throw new Error("Expect http options but get "
|
|
273
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
274
274
|
this.send(command, optionsOrCb || {}, cb);
|
|
275
275
|
}
|
|
276
276
|
else {
|
|
@@ -284,7 +284,7 @@ var StorageGateway = (function (_super) {
|
|
|
284
284
|
}
|
|
285
285
|
else if (typeof cb === "function") {
|
|
286
286
|
if (typeof optionsOrCb !== "object")
|
|
287
|
-
throw new Error("Expect http options but get "
|
|
287
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
288
288
|
this.send(command, optionsOrCb || {}, cb);
|
|
289
289
|
}
|
|
290
290
|
else {
|
|
@@ -298,7 +298,7 @@ var StorageGateway = (function (_super) {
|
|
|
298
298
|
}
|
|
299
299
|
else if (typeof cb === "function") {
|
|
300
300
|
if (typeof optionsOrCb !== "object")
|
|
301
|
-
throw new Error("Expect http options but get "
|
|
301
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
302
302
|
this.send(command, optionsOrCb || {}, cb);
|
|
303
303
|
}
|
|
304
304
|
else {
|
|
@@ -312,7 +312,7 @@ var StorageGateway = (function (_super) {
|
|
|
312
312
|
}
|
|
313
313
|
else if (typeof cb === "function") {
|
|
314
314
|
if (typeof optionsOrCb !== "object")
|
|
315
|
-
throw new Error("Expect http options but get "
|
|
315
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
316
316
|
this.send(command, optionsOrCb || {}, cb);
|
|
317
317
|
}
|
|
318
318
|
else {
|
|
@@ -326,7 +326,7 @@ var StorageGateway = (function (_super) {
|
|
|
326
326
|
}
|
|
327
327
|
else if (typeof cb === "function") {
|
|
328
328
|
if (typeof optionsOrCb !== "object")
|
|
329
|
-
throw new Error("Expect http options but get "
|
|
329
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
330
330
|
this.send(command, optionsOrCb || {}, cb);
|
|
331
331
|
}
|
|
332
332
|
else {
|
|
@@ -340,7 +340,7 @@ var StorageGateway = (function (_super) {
|
|
|
340
340
|
}
|
|
341
341
|
else if (typeof cb === "function") {
|
|
342
342
|
if (typeof optionsOrCb !== "object")
|
|
343
|
-
throw new Error("Expect http options but get "
|
|
343
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
344
344
|
this.send(command, optionsOrCb || {}, cb);
|
|
345
345
|
}
|
|
346
346
|
else {
|
|
@@ -354,7 +354,7 @@ var StorageGateway = (function (_super) {
|
|
|
354
354
|
}
|
|
355
355
|
else if (typeof cb === "function") {
|
|
356
356
|
if (typeof optionsOrCb !== "object")
|
|
357
|
-
throw new Error("Expect http options but get "
|
|
357
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
358
358
|
this.send(command, optionsOrCb || {}, cb);
|
|
359
359
|
}
|
|
360
360
|
else {
|
|
@@ -368,7 +368,7 @@ var StorageGateway = (function (_super) {
|
|
|
368
368
|
}
|
|
369
369
|
else if (typeof cb === "function") {
|
|
370
370
|
if (typeof optionsOrCb !== "object")
|
|
371
|
-
throw new Error("Expect http options but get "
|
|
371
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
372
372
|
this.send(command, optionsOrCb || {}, cb);
|
|
373
373
|
}
|
|
374
374
|
else {
|
|
@@ -382,7 +382,7 @@ var StorageGateway = (function (_super) {
|
|
|
382
382
|
}
|
|
383
383
|
else if (typeof cb === "function") {
|
|
384
384
|
if (typeof optionsOrCb !== "object")
|
|
385
|
-
throw new Error("Expect http options but get "
|
|
385
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
386
386
|
this.send(command, optionsOrCb || {}, cb);
|
|
387
387
|
}
|
|
388
388
|
else {
|
|
@@ -396,7 +396,7 @@ var StorageGateway = (function (_super) {
|
|
|
396
396
|
}
|
|
397
397
|
else if (typeof cb === "function") {
|
|
398
398
|
if (typeof optionsOrCb !== "object")
|
|
399
|
-
throw new Error("Expect http options but get "
|
|
399
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
400
400
|
this.send(command, optionsOrCb || {}, cb);
|
|
401
401
|
}
|
|
402
402
|
else {
|
|
@@ -410,7 +410,7 @@ var StorageGateway = (function (_super) {
|
|
|
410
410
|
}
|
|
411
411
|
else if (typeof cb === "function") {
|
|
412
412
|
if (typeof optionsOrCb !== "object")
|
|
413
|
-
throw new Error("Expect http options but get "
|
|
413
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
414
414
|
this.send(command, optionsOrCb || {}, cb);
|
|
415
415
|
}
|
|
416
416
|
else {
|
|
@@ -424,7 +424,7 @@ var StorageGateway = (function (_super) {
|
|
|
424
424
|
}
|
|
425
425
|
else if (typeof cb === "function") {
|
|
426
426
|
if (typeof optionsOrCb !== "object")
|
|
427
|
-
throw new Error("Expect http options but get "
|
|
427
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
428
428
|
this.send(command, optionsOrCb || {}, cb);
|
|
429
429
|
}
|
|
430
430
|
else {
|
|
@@ -438,7 +438,7 @@ var StorageGateway = (function (_super) {
|
|
|
438
438
|
}
|
|
439
439
|
else if (typeof cb === "function") {
|
|
440
440
|
if (typeof optionsOrCb !== "object")
|
|
441
|
-
throw new Error("Expect http options but get "
|
|
441
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
442
442
|
this.send(command, optionsOrCb || {}, cb);
|
|
443
443
|
}
|
|
444
444
|
else {
|
|
@@ -452,7 +452,7 @@ var StorageGateway = (function (_super) {
|
|
|
452
452
|
}
|
|
453
453
|
else if (typeof cb === "function") {
|
|
454
454
|
if (typeof optionsOrCb !== "object")
|
|
455
|
-
throw new Error("Expect http options but get "
|
|
455
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
456
456
|
this.send(command, optionsOrCb || {}, cb);
|
|
457
457
|
}
|
|
458
458
|
else {
|
|
@@ -466,7 +466,7 @@ var StorageGateway = (function (_super) {
|
|
|
466
466
|
}
|
|
467
467
|
else if (typeof cb === "function") {
|
|
468
468
|
if (typeof optionsOrCb !== "object")
|
|
469
|
-
throw new Error("Expect http options but get "
|
|
469
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
470
470
|
this.send(command, optionsOrCb || {}, cb);
|
|
471
471
|
}
|
|
472
472
|
else {
|
|
@@ -480,7 +480,7 @@ var StorageGateway = (function (_super) {
|
|
|
480
480
|
}
|
|
481
481
|
else if (typeof cb === "function") {
|
|
482
482
|
if (typeof optionsOrCb !== "object")
|
|
483
|
-
throw new Error("Expect http options but get "
|
|
483
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
484
484
|
this.send(command, optionsOrCb || {}, cb);
|
|
485
485
|
}
|
|
486
486
|
else {
|
|
@@ -494,7 +494,7 @@ var StorageGateway = (function (_super) {
|
|
|
494
494
|
}
|
|
495
495
|
else if (typeof cb === "function") {
|
|
496
496
|
if (typeof optionsOrCb !== "object")
|
|
497
|
-
throw new Error("Expect http options but get "
|
|
497
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
498
498
|
this.send(command, optionsOrCb || {}, cb);
|
|
499
499
|
}
|
|
500
500
|
else {
|
|
@@ -508,7 +508,7 @@ var StorageGateway = (function (_super) {
|
|
|
508
508
|
}
|
|
509
509
|
else if (typeof cb === "function") {
|
|
510
510
|
if (typeof optionsOrCb !== "object")
|
|
511
|
-
throw new Error("Expect http options but get "
|
|
511
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
512
512
|
this.send(command, optionsOrCb || {}, cb);
|
|
513
513
|
}
|
|
514
514
|
else {
|
|
@@ -522,7 +522,7 @@ var StorageGateway = (function (_super) {
|
|
|
522
522
|
}
|
|
523
523
|
else if (typeof cb === "function") {
|
|
524
524
|
if (typeof optionsOrCb !== "object")
|
|
525
|
-
throw new Error("Expect http options but get "
|
|
525
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
526
526
|
this.send(command, optionsOrCb || {}, cb);
|
|
527
527
|
}
|
|
528
528
|
else {
|
|
@@ -536,7 +536,7 @@ var StorageGateway = (function (_super) {
|
|
|
536
536
|
}
|
|
537
537
|
else if (typeof cb === "function") {
|
|
538
538
|
if (typeof optionsOrCb !== "object")
|
|
539
|
-
throw new Error("Expect http options but get "
|
|
539
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
540
540
|
this.send(command, optionsOrCb || {}, cb);
|
|
541
541
|
}
|
|
542
542
|
else {
|
|
@@ -550,7 +550,7 @@ var StorageGateway = (function (_super) {
|
|
|
550
550
|
}
|
|
551
551
|
else if (typeof cb === "function") {
|
|
552
552
|
if (typeof optionsOrCb !== "object")
|
|
553
|
-
throw new Error("Expect http options but get "
|
|
553
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
554
554
|
this.send(command, optionsOrCb || {}, cb);
|
|
555
555
|
}
|
|
556
556
|
else {
|
|
@@ -564,7 +564,7 @@ var StorageGateway = (function (_super) {
|
|
|
564
564
|
}
|
|
565
565
|
else if (typeof cb === "function") {
|
|
566
566
|
if (typeof optionsOrCb !== "object")
|
|
567
|
-
throw new Error("Expect http options but get "
|
|
567
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
568
568
|
this.send(command, optionsOrCb || {}, cb);
|
|
569
569
|
}
|
|
570
570
|
else {
|
|
@@ -578,7 +578,7 @@ var StorageGateway = (function (_super) {
|
|
|
578
578
|
}
|
|
579
579
|
else if (typeof cb === "function") {
|
|
580
580
|
if (typeof optionsOrCb !== "object")
|
|
581
|
-
throw new Error("Expect http options but get "
|
|
581
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
582
582
|
this.send(command, optionsOrCb || {}, cb);
|
|
583
583
|
}
|
|
584
584
|
else {
|
|
@@ -592,7 +592,7 @@ var StorageGateway = (function (_super) {
|
|
|
592
592
|
}
|
|
593
593
|
else if (typeof cb === "function") {
|
|
594
594
|
if (typeof optionsOrCb !== "object")
|
|
595
|
-
throw new Error("Expect http options but get "
|
|
595
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
596
596
|
this.send(command, optionsOrCb || {}, cb);
|
|
597
597
|
}
|
|
598
598
|
else {
|
|
@@ -606,7 +606,7 @@ var StorageGateway = (function (_super) {
|
|
|
606
606
|
}
|
|
607
607
|
else if (typeof cb === "function") {
|
|
608
608
|
if (typeof optionsOrCb !== "object")
|
|
609
|
-
throw new Error("Expect http options but get "
|
|
609
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
610
610
|
this.send(command, optionsOrCb || {}, cb);
|
|
611
611
|
}
|
|
612
612
|
else {
|
|
@@ -620,7 +620,7 @@ var StorageGateway = (function (_super) {
|
|
|
620
620
|
}
|
|
621
621
|
else if (typeof cb === "function") {
|
|
622
622
|
if (typeof optionsOrCb !== "object")
|
|
623
|
-
throw new Error("Expect http options but get "
|
|
623
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
624
624
|
this.send(command, optionsOrCb || {}, cb);
|
|
625
625
|
}
|
|
626
626
|
else {
|
|
@@ -634,7 +634,7 @@ var StorageGateway = (function (_super) {
|
|
|
634
634
|
}
|
|
635
635
|
else if (typeof cb === "function") {
|
|
636
636
|
if (typeof optionsOrCb !== "object")
|
|
637
|
-
throw new Error("Expect http options but get "
|
|
637
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
638
638
|
this.send(command, optionsOrCb || {}, cb);
|
|
639
639
|
}
|
|
640
640
|
else {
|
|
@@ -648,7 +648,7 @@ var StorageGateway = (function (_super) {
|
|
|
648
648
|
}
|
|
649
649
|
else if (typeof cb === "function") {
|
|
650
650
|
if (typeof optionsOrCb !== "object")
|
|
651
|
-
throw new Error("Expect http options but get "
|
|
651
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
652
652
|
this.send(command, optionsOrCb || {}, cb);
|
|
653
653
|
}
|
|
654
654
|
else {
|
|
@@ -662,7 +662,7 @@ var StorageGateway = (function (_super) {
|
|
|
662
662
|
}
|
|
663
663
|
else if (typeof cb === "function") {
|
|
664
664
|
if (typeof optionsOrCb !== "object")
|
|
665
|
-
throw new Error("Expect http options but get "
|
|
665
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
666
666
|
this.send(command, optionsOrCb || {}, cb);
|
|
667
667
|
}
|
|
668
668
|
else {
|
|
@@ -676,7 +676,7 @@ var StorageGateway = (function (_super) {
|
|
|
676
676
|
}
|
|
677
677
|
else if (typeof cb === "function") {
|
|
678
678
|
if (typeof optionsOrCb !== "object")
|
|
679
|
-
throw new Error("Expect http options but get "
|
|
679
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
680
680
|
this.send(command, optionsOrCb || {}, cb);
|
|
681
681
|
}
|
|
682
682
|
else {
|
|
@@ -690,7 +690,7 @@ var StorageGateway = (function (_super) {
|
|
|
690
690
|
}
|
|
691
691
|
else if (typeof cb === "function") {
|
|
692
692
|
if (typeof optionsOrCb !== "object")
|
|
693
|
-
throw new Error("Expect http options but get "
|
|
693
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
694
694
|
this.send(command, optionsOrCb || {}, cb);
|
|
695
695
|
}
|
|
696
696
|
else {
|
|
@@ -704,7 +704,7 @@ var StorageGateway = (function (_super) {
|
|
|
704
704
|
}
|
|
705
705
|
else if (typeof cb === "function") {
|
|
706
706
|
if (typeof optionsOrCb !== "object")
|
|
707
|
-
throw new Error("Expect http options but get "
|
|
707
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
708
708
|
this.send(command, optionsOrCb || {}, cb);
|
|
709
709
|
}
|
|
710
710
|
else {
|
|
@@ -718,7 +718,7 @@ var StorageGateway = (function (_super) {
|
|
|
718
718
|
}
|
|
719
719
|
else if (typeof cb === "function") {
|
|
720
720
|
if (typeof optionsOrCb !== "object")
|
|
721
|
-
throw new Error("Expect http options but get "
|
|
721
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
722
722
|
this.send(command, optionsOrCb || {}, cb);
|
|
723
723
|
}
|
|
724
724
|
else {
|
|
@@ -732,7 +732,7 @@ var StorageGateway = (function (_super) {
|
|
|
732
732
|
}
|
|
733
733
|
else if (typeof cb === "function") {
|
|
734
734
|
if (typeof optionsOrCb !== "object")
|
|
735
|
-
throw new Error("Expect http options but get "
|
|
735
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
736
736
|
this.send(command, optionsOrCb || {}, cb);
|
|
737
737
|
}
|
|
738
738
|
else {
|
|
@@ -746,7 +746,7 @@ var StorageGateway = (function (_super) {
|
|
|
746
746
|
}
|
|
747
747
|
else if (typeof cb === "function") {
|
|
748
748
|
if (typeof optionsOrCb !== "object")
|
|
749
|
-
throw new Error("Expect http options but get "
|
|
749
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
750
750
|
this.send(command, optionsOrCb || {}, cb);
|
|
751
751
|
}
|
|
752
752
|
else {
|
|
@@ -760,7 +760,7 @@ var StorageGateway = (function (_super) {
|
|
|
760
760
|
}
|
|
761
761
|
else if (typeof cb === "function") {
|
|
762
762
|
if (typeof optionsOrCb !== "object")
|
|
763
|
-
throw new Error("Expect http options but get "
|
|
763
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
764
764
|
this.send(command, optionsOrCb || {}, cb);
|
|
765
765
|
}
|
|
766
766
|
else {
|
|
@@ -774,7 +774,7 @@ var StorageGateway = (function (_super) {
|
|
|
774
774
|
}
|
|
775
775
|
else if (typeof cb === "function") {
|
|
776
776
|
if (typeof optionsOrCb !== "object")
|
|
777
|
-
throw new Error("Expect http options but get "
|
|
777
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
778
778
|
this.send(command, optionsOrCb || {}, cb);
|
|
779
779
|
}
|
|
780
780
|
else {
|
|
@@ -788,7 +788,7 @@ var StorageGateway = (function (_super) {
|
|
|
788
788
|
}
|
|
789
789
|
else if (typeof cb === "function") {
|
|
790
790
|
if (typeof optionsOrCb !== "object")
|
|
791
|
-
throw new Error("Expect http options but get "
|
|
791
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
792
792
|
this.send(command, optionsOrCb || {}, cb);
|
|
793
793
|
}
|
|
794
794
|
else {
|
|
@@ -802,7 +802,7 @@ var StorageGateway = (function (_super) {
|
|
|
802
802
|
}
|
|
803
803
|
else if (typeof cb === "function") {
|
|
804
804
|
if (typeof optionsOrCb !== "object")
|
|
805
|
-
throw new Error("Expect http options but get "
|
|
805
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
806
806
|
this.send(command, optionsOrCb || {}, cb);
|
|
807
807
|
}
|
|
808
808
|
else {
|
|
@@ -816,7 +816,7 @@ var StorageGateway = (function (_super) {
|
|
|
816
816
|
}
|
|
817
817
|
else if (typeof cb === "function") {
|
|
818
818
|
if (typeof optionsOrCb !== "object")
|
|
819
|
-
throw new Error("Expect http options but get "
|
|
819
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
820
820
|
this.send(command, optionsOrCb || {}, cb);
|
|
821
821
|
}
|
|
822
822
|
else {
|
|
@@ -830,7 +830,7 @@ var StorageGateway = (function (_super) {
|
|
|
830
830
|
}
|
|
831
831
|
else if (typeof cb === "function") {
|
|
832
832
|
if (typeof optionsOrCb !== "object")
|
|
833
|
-
throw new Error("Expect http options but get "
|
|
833
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
834
834
|
this.send(command, optionsOrCb || {}, cb);
|
|
835
835
|
}
|
|
836
836
|
else {
|
|
@@ -844,7 +844,7 @@ var StorageGateway = (function (_super) {
|
|
|
844
844
|
}
|
|
845
845
|
else if (typeof cb === "function") {
|
|
846
846
|
if (typeof optionsOrCb !== "object")
|
|
847
|
-
throw new Error("Expect http options but get "
|
|
847
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
848
848
|
this.send(command, optionsOrCb || {}, cb);
|
|
849
849
|
}
|
|
850
850
|
else {
|
|
@@ -858,7 +858,7 @@ var StorageGateway = (function (_super) {
|
|
|
858
858
|
}
|
|
859
859
|
else if (typeof cb === "function") {
|
|
860
860
|
if (typeof optionsOrCb !== "object")
|
|
861
|
-
throw new Error("Expect http options but get "
|
|
861
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
862
862
|
this.send(command, optionsOrCb || {}, cb);
|
|
863
863
|
}
|
|
864
864
|
else {
|
|
@@ -872,7 +872,7 @@ var StorageGateway = (function (_super) {
|
|
|
872
872
|
}
|
|
873
873
|
else if (typeof cb === "function") {
|
|
874
874
|
if (typeof optionsOrCb !== "object")
|
|
875
|
-
throw new Error("Expect http options but get "
|
|
875
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
876
876
|
this.send(command, optionsOrCb || {}, cb);
|
|
877
877
|
}
|
|
878
878
|
else {
|
|
@@ -886,7 +886,7 @@ var StorageGateway = (function (_super) {
|
|
|
886
886
|
}
|
|
887
887
|
else if (typeof cb === "function") {
|
|
888
888
|
if (typeof optionsOrCb !== "object")
|
|
889
|
-
throw new Error("Expect http options but get "
|
|
889
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
890
890
|
this.send(command, optionsOrCb || {}, cb);
|
|
891
891
|
}
|
|
892
892
|
else {
|
|
@@ -900,7 +900,7 @@ var StorageGateway = (function (_super) {
|
|
|
900
900
|
}
|
|
901
901
|
else if (typeof cb === "function") {
|
|
902
902
|
if (typeof optionsOrCb !== "object")
|
|
903
|
-
throw new Error("Expect http options but get "
|
|
903
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
904
904
|
this.send(command, optionsOrCb || {}, cb);
|
|
905
905
|
}
|
|
906
906
|
else {
|
|
@@ -914,7 +914,7 @@ var StorageGateway = (function (_super) {
|
|
|
914
914
|
}
|
|
915
915
|
else if (typeof cb === "function") {
|
|
916
916
|
if (typeof optionsOrCb !== "object")
|
|
917
|
-
throw new Error("Expect http options but get "
|
|
917
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
918
918
|
this.send(command, optionsOrCb || {}, cb);
|
|
919
919
|
}
|
|
920
920
|
else {
|
|
@@ -928,7 +928,7 @@ var StorageGateway = (function (_super) {
|
|
|
928
928
|
}
|
|
929
929
|
else if (typeof cb === "function") {
|
|
930
930
|
if (typeof optionsOrCb !== "object")
|
|
931
|
-
throw new Error("Expect http options but get "
|
|
931
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
932
932
|
this.send(command, optionsOrCb || {}, cb);
|
|
933
933
|
}
|
|
934
934
|
else {
|
|
@@ -942,7 +942,7 @@ var StorageGateway = (function (_super) {
|
|
|
942
942
|
}
|
|
943
943
|
else if (typeof cb === "function") {
|
|
944
944
|
if (typeof optionsOrCb !== "object")
|
|
945
|
-
throw new Error("Expect http options but get "
|
|
945
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
946
946
|
this.send(command, optionsOrCb || {}, cb);
|
|
947
947
|
}
|
|
948
948
|
else {
|
|
@@ -956,7 +956,7 @@ var StorageGateway = (function (_super) {
|
|
|
956
956
|
}
|
|
957
957
|
else if (typeof cb === "function") {
|
|
958
958
|
if (typeof optionsOrCb !== "object")
|
|
959
|
-
throw new Error("Expect http options but get "
|
|
959
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
960
960
|
this.send(command, optionsOrCb || {}, cb);
|
|
961
961
|
}
|
|
962
962
|
else {
|
|
@@ -970,7 +970,7 @@ var StorageGateway = (function (_super) {
|
|
|
970
970
|
}
|
|
971
971
|
else if (typeof cb === "function") {
|
|
972
972
|
if (typeof optionsOrCb !== "object")
|
|
973
|
-
throw new Error("Expect http options but get "
|
|
973
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
974
974
|
this.send(command, optionsOrCb || {}, cb);
|
|
975
975
|
}
|
|
976
976
|
else {
|
|
@@ -984,7 +984,7 @@ var StorageGateway = (function (_super) {
|
|
|
984
984
|
}
|
|
985
985
|
else if (typeof cb === "function") {
|
|
986
986
|
if (typeof optionsOrCb !== "object")
|
|
987
|
-
throw new Error("Expect http options but get "
|
|
987
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
988
988
|
this.send(command, optionsOrCb || {}, cb);
|
|
989
989
|
}
|
|
990
990
|
else {
|
|
@@ -998,7 +998,7 @@ var StorageGateway = (function (_super) {
|
|
|
998
998
|
}
|
|
999
999
|
else if (typeof cb === "function") {
|
|
1000
1000
|
if (typeof optionsOrCb !== "object")
|
|
1001
|
-
throw new Error("Expect http options but get "
|
|
1001
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1002
1002
|
this.send(command, optionsOrCb || {}, cb);
|
|
1003
1003
|
}
|
|
1004
1004
|
else {
|
|
@@ -1012,7 +1012,7 @@ var StorageGateway = (function (_super) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
else if (typeof cb === "function") {
|
|
1014
1014
|
if (typeof optionsOrCb !== "object")
|
|
1015
|
-
throw new Error("Expect http options but get "
|
|
1015
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1016
1016
|
this.send(command, optionsOrCb || {}, cb);
|
|
1017
1017
|
}
|
|
1018
1018
|
else {
|
|
@@ -1026,7 +1026,7 @@ var StorageGateway = (function (_super) {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
else if (typeof cb === "function") {
|
|
1028
1028
|
if (typeof optionsOrCb !== "object")
|
|
1029
|
-
throw new Error("Expect http options but get "
|
|
1029
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1030
1030
|
this.send(command, optionsOrCb || {}, cb);
|
|
1031
1031
|
}
|
|
1032
1032
|
else {
|
|
@@ -1040,7 +1040,7 @@ var StorageGateway = (function (_super) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
else if (typeof cb === "function") {
|
|
1042
1042
|
if (typeof optionsOrCb !== "object")
|
|
1043
|
-
throw new Error("Expect http options but get "
|
|
1043
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1044
1044
|
this.send(command, optionsOrCb || {}, cb);
|
|
1045
1045
|
}
|
|
1046
1046
|
else {
|
|
@@ -1054,7 +1054,7 @@ var StorageGateway = (function (_super) {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
else if (typeof cb === "function") {
|
|
1056
1056
|
if (typeof optionsOrCb !== "object")
|
|
1057
|
-
throw new Error("Expect http options but get "
|
|
1057
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1058
1058
|
this.send(command, optionsOrCb || {}, cb);
|
|
1059
1059
|
}
|
|
1060
1060
|
else {
|
|
@@ -1068,7 +1068,7 @@ var StorageGateway = (function (_super) {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
else if (typeof cb === "function") {
|
|
1070
1070
|
if (typeof optionsOrCb !== "object")
|
|
1071
|
-
throw new Error("Expect http options but get "
|
|
1071
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1072
1072
|
this.send(command, optionsOrCb || {}, cb);
|
|
1073
1073
|
}
|
|
1074
1074
|
else {
|
|
@@ -1082,7 +1082,7 @@ var StorageGateway = (function (_super) {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
else if (typeof cb === "function") {
|
|
1084
1084
|
if (typeof optionsOrCb !== "object")
|
|
1085
|
-
throw new Error("Expect http options but get "
|
|
1085
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1086
1086
|
this.send(command, optionsOrCb || {}, cb);
|
|
1087
1087
|
}
|
|
1088
1088
|
else {
|
|
@@ -1096,7 +1096,7 @@ var StorageGateway = (function (_super) {
|
|
|
1096
1096
|
}
|
|
1097
1097
|
else if (typeof cb === "function") {
|
|
1098
1098
|
if (typeof optionsOrCb !== "object")
|
|
1099
|
-
throw new Error("Expect http options but get "
|
|
1099
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1100
1100
|
this.send(command, optionsOrCb || {}, cb);
|
|
1101
1101
|
}
|
|
1102
1102
|
else {
|
|
@@ -1110,7 +1110,7 @@ var StorageGateway = (function (_super) {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
else if (typeof cb === "function") {
|
|
1112
1112
|
if (typeof optionsOrCb !== "object")
|
|
1113
|
-
throw new Error("Expect http options but get "
|
|
1113
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1114
1114
|
this.send(command, optionsOrCb || {}, cb);
|
|
1115
1115
|
}
|
|
1116
1116
|
else {
|
|
@@ -1124,7 +1124,7 @@ var StorageGateway = (function (_super) {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
else if (typeof cb === "function") {
|
|
1126
1126
|
if (typeof optionsOrCb !== "object")
|
|
1127
|
-
throw new Error("Expect http options but get "
|
|
1127
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1128
1128
|
this.send(command, optionsOrCb || {}, cb);
|
|
1129
1129
|
}
|
|
1130
1130
|
else {
|
|
@@ -1138,7 +1138,7 @@ var StorageGateway = (function (_super) {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
else if (typeof cb === "function") {
|
|
1140
1140
|
if (typeof optionsOrCb !== "object")
|
|
1141
|
-
throw new Error("Expect http options but get "
|
|
1141
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1142
1142
|
this.send(command, optionsOrCb || {}, cb);
|
|
1143
1143
|
}
|
|
1144
1144
|
else {
|
|
@@ -1152,7 +1152,7 @@ var StorageGateway = (function (_super) {
|
|
|
1152
1152
|
}
|
|
1153
1153
|
else if (typeof cb === "function") {
|
|
1154
1154
|
if (typeof optionsOrCb !== "object")
|
|
1155
|
-
throw new Error("Expect http options but get "
|
|
1155
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1156
1156
|
this.send(command, optionsOrCb || {}, cb);
|
|
1157
1157
|
}
|
|
1158
1158
|
else {
|
|
@@ -1166,7 +1166,7 @@ var StorageGateway = (function (_super) {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
else if (typeof cb === "function") {
|
|
1168
1168
|
if (typeof optionsOrCb !== "object")
|
|
1169
|
-
throw new Error("Expect http options but get "
|
|
1169
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1170
1170
|
this.send(command, optionsOrCb || {}, cb);
|
|
1171
1171
|
}
|
|
1172
1172
|
else {
|
|
@@ -1180,7 +1180,7 @@ var StorageGateway = (function (_super) {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
else if (typeof cb === "function") {
|
|
1182
1182
|
if (typeof optionsOrCb !== "object")
|
|
1183
|
-
throw new Error("Expect http options but get "
|
|
1183
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1184
1184
|
this.send(command, optionsOrCb || {}, cb);
|
|
1185
1185
|
}
|
|
1186
1186
|
else {
|
|
@@ -1194,7 +1194,7 @@ var StorageGateway = (function (_super) {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
else if (typeof cb === "function") {
|
|
1196
1196
|
if (typeof optionsOrCb !== "object")
|
|
1197
|
-
throw new Error("Expect http options but get "
|
|
1197
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1198
1198
|
this.send(command, optionsOrCb || {}, cb);
|
|
1199
1199
|
}
|
|
1200
1200
|
else {
|
|
@@ -1208,7 +1208,7 @@ var StorageGateway = (function (_super) {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
else if (typeof cb === "function") {
|
|
1210
1210
|
if (typeof optionsOrCb !== "object")
|
|
1211
|
-
throw new Error("Expect http options but get "
|
|
1211
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1212
1212
|
this.send(command, optionsOrCb || {}, cb);
|
|
1213
1213
|
}
|
|
1214
1214
|
else {
|
|
@@ -1222,7 +1222,7 @@ var StorageGateway = (function (_super) {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
else if (typeof cb === "function") {
|
|
1224
1224
|
if (typeof optionsOrCb !== "object")
|
|
1225
|
-
throw new Error("Expect http options but get "
|
|
1225
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1226
1226
|
this.send(command, optionsOrCb || {}, cb);
|
|
1227
1227
|
}
|
|
1228
1228
|
else {
|
|
@@ -1236,7 +1236,7 @@ var StorageGateway = (function (_super) {
|
|
|
1236
1236
|
}
|
|
1237
1237
|
else if (typeof cb === "function") {
|
|
1238
1238
|
if (typeof optionsOrCb !== "object")
|
|
1239
|
-
throw new Error("Expect http options but get "
|
|
1239
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1240
1240
|
this.send(command, optionsOrCb || {}, cb);
|
|
1241
1241
|
}
|
|
1242
1242
|
else {
|
|
@@ -1250,7 +1250,7 @@ var StorageGateway = (function (_super) {
|
|
|
1250
1250
|
}
|
|
1251
1251
|
else if (typeof cb === "function") {
|
|
1252
1252
|
if (typeof optionsOrCb !== "object")
|
|
1253
|
-
throw new Error("Expect http options but get "
|
|
1253
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1254
1254
|
this.send(command, optionsOrCb || {}, cb);
|
|
1255
1255
|
}
|
|
1256
1256
|
else {
|
|
@@ -1264,7 +1264,7 @@ var StorageGateway = (function (_super) {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
else if (typeof cb === "function") {
|
|
1266
1266
|
if (typeof optionsOrCb !== "object")
|
|
1267
|
-
throw new Error("Expect http options but get "
|
|
1267
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1268
1268
|
this.send(command, optionsOrCb || {}, cb);
|
|
1269
1269
|
}
|
|
1270
1270
|
else {
|
|
@@ -1278,7 +1278,7 @@ var StorageGateway = (function (_super) {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
else if (typeof cb === "function") {
|
|
1280
1280
|
if (typeof optionsOrCb !== "object")
|
|
1281
|
-
throw new Error("Expect http options but get "
|
|
1281
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1282
1282
|
this.send(command, optionsOrCb || {}, cb);
|
|
1283
1283
|
}
|
|
1284
1284
|
else {
|
|
@@ -1292,7 +1292,7 @@ var StorageGateway = (function (_super) {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
else if (typeof cb === "function") {
|
|
1294
1294
|
if (typeof optionsOrCb !== "object")
|
|
1295
|
-
throw new Error("Expect http options but get "
|
|
1295
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1296
1296
|
this.send(command, optionsOrCb || {}, cb);
|
|
1297
1297
|
}
|
|
1298
1298
|
else {
|
|
@@ -1306,7 +1306,7 @@ var StorageGateway = (function (_super) {
|
|
|
1306
1306
|
}
|
|
1307
1307
|
else if (typeof cb === "function") {
|
|
1308
1308
|
if (typeof optionsOrCb !== "object")
|
|
1309
|
-
throw new Error("Expect http options but get "
|
|
1309
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1310
1310
|
this.send(command, optionsOrCb || {}, cb);
|
|
1311
1311
|
}
|
|
1312
1312
|
else {
|
|
@@ -1320,7 +1320,7 @@ var StorageGateway = (function (_super) {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
else if (typeof cb === "function") {
|
|
1322
1322
|
if (typeof optionsOrCb !== "object")
|
|
1323
|
-
throw new Error("Expect http options but get "
|
|
1323
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1324
1324
|
this.send(command, optionsOrCb || {}, cb);
|
|
1325
1325
|
}
|
|
1326
1326
|
else {
|
|
@@ -1334,7 +1334,7 @@ var StorageGateway = (function (_super) {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
else if (typeof cb === "function") {
|
|
1336
1336
|
if (typeof optionsOrCb !== "object")
|
|
1337
|
-
throw new Error("Expect http options but get "
|
|
1337
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1338
1338
|
this.send(command, optionsOrCb || {}, cb);
|
|
1339
1339
|
}
|
|
1340
1340
|
else {
|
|
@@ -1348,7 +1348,7 @@ var StorageGateway = (function (_super) {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
else if (typeof cb === "function") {
|
|
1350
1350
|
if (typeof optionsOrCb !== "object")
|
|
1351
|
-
throw new Error("Expect http options but get "
|
|
1351
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1352
1352
|
this.send(command, optionsOrCb || {}, cb);
|
|
1353
1353
|
}
|
|
1354
1354
|
else {
|