@aws-sdk/client-redshift 3.53.0 → 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/RedshiftClient.js +13 -13
- package/dist-cjs/commands/AcceptReservedNodeExchangeCommand.js +3 -3
- package/dist-cjs/commands/AddPartnerCommand.js +3 -3
- package/dist-cjs/commands/AssociateDataShareConsumerCommand.js +3 -3
- package/dist-cjs/commands/AuthorizeClusterSecurityGroupIngressCommand.js +3 -3
- package/dist-cjs/commands/AuthorizeDataShareCommand.js +3 -3
- package/dist-cjs/commands/AuthorizeEndpointAccessCommand.js +3 -3
- package/dist-cjs/commands/AuthorizeSnapshotAccessCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteClusterSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/BatchModifyClusterSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/CancelResizeCommand.js +3 -3
- package/dist-cjs/commands/CopyClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/CreateAuthenticationProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterSubnetGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateEndpointAccessCommand.js +3 -3
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/CreateHsmClientCertificateCommand.js +3 -3
- package/dist-cjs/commands/CreateHsmConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateScheduledActionCommand.js +3 -3
- package/dist-cjs/commands/CreateSnapshotCopyGrantCommand.js +3 -3
- package/dist-cjs/commands/CreateSnapshotScheduleCommand.js +3 -3
- package/dist-cjs/commands/CreateTagsCommand.js +3 -3
- package/dist-cjs/commands/CreateUsageLimitCommand.js +3 -3
- package/dist-cjs/commands/DeauthorizeDataShareCommand.js +3 -3
- package/dist-cjs/commands/DeleteAuthenticationProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterSubnetGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteEndpointAccessCommand.js +3 -3
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/DeleteHsmClientCertificateCommand.js +3 -3
- package/dist-cjs/commands/DeleteHsmConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeletePartnerCommand.js +3 -3
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +3 -3
- package/dist-cjs/commands/DeleteSnapshotCopyGrantCommand.js +3 -3
- package/dist-cjs/commands/DeleteSnapshotScheduleCommand.js +3 -3
- package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteUsageLimitCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccountAttributesCommand.js +3 -3
- package/dist-cjs/commands/DescribeAuthenticationProfilesCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterDbRevisionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterParameterGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterParametersCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterSecurityGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterSubnetGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterTracksCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterVersionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeClustersCommand.js +3 -3
- package/dist-cjs/commands/DescribeDataSharesCommand.js +3 -3
- package/dist-cjs/commands/DescribeDataSharesForConsumerCommand.js +3 -3
- package/dist-cjs/commands/DescribeDataSharesForProducerCommand.js +3 -3
- package/dist-cjs/commands/DescribeDefaultClusterParametersCommand.js +3 -3
- package/dist-cjs/commands/DescribeEndpointAccessCommand.js +3 -3
- package/dist-cjs/commands/DescribeEndpointAuthorizationCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventsCommand.js +3 -3
- package/dist-cjs/commands/DescribeHsmClientCertificatesCommand.js +3 -3
- package/dist-cjs/commands/DescribeHsmConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeLoggingStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeNodeConfigurationOptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrderableClusterOptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribePartnersCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedNodeExchangeStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedNodeOfferingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedNodesCommand.js +3 -3
- package/dist-cjs/commands/DescribeResizeCommand.js +3 -3
- package/dist-cjs/commands/DescribeScheduledActionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeSnapshotCopyGrantsCommand.js +3 -3
- package/dist-cjs/commands/DescribeSnapshotSchedulesCommand.js +3 -3
- package/dist-cjs/commands/DescribeStorageCommand.js +3 -3
- package/dist-cjs/commands/DescribeTableRestoreStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
- package/dist-cjs/commands/DescribeUsageLimitsCommand.js +3 -3
- package/dist-cjs/commands/DisableLoggingCommand.js +3 -3
- package/dist-cjs/commands/DisableSnapshotCopyCommand.js +3 -3
- package/dist-cjs/commands/DisassociateDataShareConsumerCommand.js +3 -3
- package/dist-cjs/commands/EnableLoggingCommand.js +3 -3
- package/dist-cjs/commands/EnableSnapshotCopyCommand.js +3 -3
- package/dist-cjs/commands/GetClusterCredentialsCommand.js +3 -3
- package/dist-cjs/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +3 -3
- package/dist-cjs/commands/GetReservedNodeExchangeOfferingsCommand.js +3 -3
- package/dist-cjs/commands/ModifyAquaConfigurationCommand.js +3 -3
- package/dist-cjs/commands/ModifyAuthenticationProfileCommand.js +3 -3
- package/dist-cjs/commands/ModifyClusterCommand.js +3 -3
- package/dist-cjs/commands/ModifyClusterDbRevisionCommand.js +3 -3
- package/dist-cjs/commands/ModifyClusterIamRolesCommand.js +3 -3
- package/dist-cjs/commands/ModifyClusterMaintenanceCommand.js +3 -3
- package/dist-cjs/commands/ModifyClusterParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/ModifyClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/ModifyClusterSnapshotScheduleCommand.js +3 -3
- package/dist-cjs/commands/ModifyClusterSubnetGroupCommand.js +3 -3
- package/dist-cjs/commands/ModifyEndpointAccessCommand.js +3 -3
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/ModifyScheduledActionCommand.js +3 -3
- package/dist-cjs/commands/ModifySnapshotCopyRetentionPeriodCommand.js +3 -3
- package/dist-cjs/commands/ModifySnapshotScheduleCommand.js +3 -3
- package/dist-cjs/commands/ModifyUsageLimitCommand.js +3 -3
- package/dist-cjs/commands/PauseClusterCommand.js +3 -3
- package/dist-cjs/commands/PurchaseReservedNodeOfferingCommand.js +3 -3
- package/dist-cjs/commands/RebootClusterCommand.js +3 -3
- package/dist-cjs/commands/RejectDataShareCommand.js +3 -3
- package/dist-cjs/commands/ResetClusterParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/ResizeClusterCommand.js +3 -3
- package/dist-cjs/commands/RestoreFromClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/RestoreTableFromClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/ResumeClusterCommand.js +3 -3
- package/dist-cjs/commands/RevokeClusterSecurityGroupIngressCommand.js +3 -3
- package/dist-cjs/commands/RevokeEndpointAccessCommand.js +3 -3
- package/dist-cjs/commands/RevokeSnapshotAccessCommand.js +3 -3
- package/dist-cjs/commands/RotateEncryptionKeyCommand.js +3 -3
- package/dist-cjs/commands/UpdatePartnerStatusCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +862 -862
- 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-cjs/waiters/waitForClusterAvailable.js +3 -3
- package/dist-cjs/waiters/waitForClusterDeleted.js +3 -3
- package/dist-cjs/waiters/waitForClusterRestored.js +3 -3
- package/dist-cjs/waiters/waitForSnapshotAvailable.js +3 -3
- package/dist-es/Redshift.js +118 -118
- package/dist-es/pagination/DescribeClusterDbRevisionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeClusterParameterGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeClusterParametersPaginator.js +4 -4
- package/dist-es/pagination/DescribeClusterSecurityGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeClusterSnapshotsPaginator.js +4 -4
- package/dist-es/pagination/DescribeClusterSubnetGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeClusterTracksPaginator.js +4 -4
- package/dist-es/pagination/DescribeClusterVersionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeClustersPaginator.js +4 -4
- package/dist-es/pagination/DescribeDataSharesForConsumerPaginator.js +4 -4
- package/dist-es/pagination/DescribeDataSharesForProducerPaginator.js +4 -4
- package/dist-es/pagination/DescribeDataSharesPaginator.js +4 -4
- package/dist-es/pagination/DescribeDefaultClusterParametersPaginator.js +4 -4
- package/dist-es/pagination/DescribeEndpointAccessPaginator.js +4 -4
- package/dist-es/pagination/DescribeEndpointAuthorizationPaginator.js +4 -4
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeEventsPaginator.js +4 -4
- package/dist-es/pagination/DescribeHsmClientCertificatesPaginator.js +4 -4
- package/dist-es/pagination/DescribeHsmConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/DescribeNodeConfigurationOptionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrderableClusterOptionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeReservedNodeExchangeStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeReservedNodeOfferingsPaginator.js +4 -4
- package/dist-es/pagination/DescribeReservedNodesPaginator.js +4 -4
- package/dist-es/pagination/DescribeScheduledActionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeSnapshotCopyGrantsPaginator.js +4 -4
- package/dist-es/pagination/DescribeSnapshotSchedulesPaginator.js +4 -4
- package/dist-es/pagination/DescribeTableRestoreStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeTagsPaginator.js +4 -4
- package/dist-es/pagination/DescribeUsageLimitsPaginator.js +4 -4
- package/dist-es/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +4 -4
- package/dist-es/pagination/GetReservedNodeExchangeOfferingsPaginator.js +4 -4
- package/dist-es/protocols/Aws_query.js +95 -95
- package/dist-es/waiters/waitForClusterAvailable.js +2 -2
- package/dist-es/waiters/waitForClusterDeleted.js +2 -2
- package/dist-es/waiters/waitForClusterRestored.js +2 -2
- package/dist-es/waiters/waitForSnapshotAvailable.js +3 -3
- package/dist-types/RedshiftClient.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/RedshiftClient.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 +35 -35
package/dist-es/Redshift.js
CHANGED
|
@@ -130,7 +130,7 @@ var Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 Redshift = (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 {
|
|
@@ -1362,7 +1362,7 @@ var Redshift = (function (_super) {
|
|
|
1362
1362
|
}
|
|
1363
1363
|
else if (typeof cb === "function") {
|
|
1364
1364
|
if (typeof optionsOrCb !== "object")
|
|
1365
|
-
throw new Error("Expect http options but get "
|
|
1365
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1366
1366
|
this.send(command, optionsOrCb || {}, cb);
|
|
1367
1367
|
}
|
|
1368
1368
|
else {
|
|
@@ -1376,7 +1376,7 @@ var Redshift = (function (_super) {
|
|
|
1376
1376
|
}
|
|
1377
1377
|
else if (typeof cb === "function") {
|
|
1378
1378
|
if (typeof optionsOrCb !== "object")
|
|
1379
|
-
throw new Error("Expect http options but get "
|
|
1379
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1380
1380
|
this.send(command, optionsOrCb || {}, cb);
|
|
1381
1381
|
}
|
|
1382
1382
|
else {
|
|
@@ -1390,7 +1390,7 @@ var Redshift = (function (_super) {
|
|
|
1390
1390
|
}
|
|
1391
1391
|
else if (typeof cb === "function") {
|
|
1392
1392
|
if (typeof optionsOrCb !== "object")
|
|
1393
|
-
throw new Error("Expect http options but get "
|
|
1393
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1394
1394
|
this.send(command, optionsOrCb || {}, cb);
|
|
1395
1395
|
}
|
|
1396
1396
|
else {
|
|
@@ -1404,7 +1404,7 @@ var Redshift = (function (_super) {
|
|
|
1404
1404
|
}
|
|
1405
1405
|
else if (typeof cb === "function") {
|
|
1406
1406
|
if (typeof optionsOrCb !== "object")
|
|
1407
|
-
throw new Error("Expect http options but get "
|
|
1407
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1408
1408
|
this.send(command, optionsOrCb || {}, cb);
|
|
1409
1409
|
}
|
|
1410
1410
|
else {
|
|
@@ -1418,7 +1418,7 @@ var Redshift = (function (_super) {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
else if (typeof cb === "function") {
|
|
1420
1420
|
if (typeof optionsOrCb !== "object")
|
|
1421
|
-
throw new Error("Expect http options but get "
|
|
1421
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1422
1422
|
this.send(command, optionsOrCb || {}, cb);
|
|
1423
1423
|
}
|
|
1424
1424
|
else {
|
|
@@ -1432,7 +1432,7 @@ var Redshift = (function (_super) {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
else if (typeof cb === "function") {
|
|
1434
1434
|
if (typeof optionsOrCb !== "object")
|
|
1435
|
-
throw new Error("Expect http options but get "
|
|
1435
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1436
1436
|
this.send(command, optionsOrCb || {}, cb);
|
|
1437
1437
|
}
|
|
1438
1438
|
else {
|
|
@@ -1446,7 +1446,7 @@ var Redshift = (function (_super) {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
else if (typeof cb === "function") {
|
|
1448
1448
|
if (typeof optionsOrCb !== "object")
|
|
1449
|
-
throw new Error("Expect http options but get "
|
|
1449
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1450
1450
|
this.send(command, optionsOrCb || {}, cb);
|
|
1451
1451
|
}
|
|
1452
1452
|
else {
|
|
@@ -1460,7 +1460,7 @@ var Redshift = (function (_super) {
|
|
|
1460
1460
|
}
|
|
1461
1461
|
else if (typeof cb === "function") {
|
|
1462
1462
|
if (typeof optionsOrCb !== "object")
|
|
1463
|
-
throw new Error("Expect http options but get "
|
|
1463
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1464
1464
|
this.send(command, optionsOrCb || {}, cb);
|
|
1465
1465
|
}
|
|
1466
1466
|
else {
|
|
@@ -1474,7 +1474,7 @@ var Redshift = (function (_super) {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
else if (typeof cb === "function") {
|
|
1476
1476
|
if (typeof optionsOrCb !== "object")
|
|
1477
|
-
throw new Error("Expect http options but get "
|
|
1477
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1478
1478
|
this.send(command, optionsOrCb || {}, cb);
|
|
1479
1479
|
}
|
|
1480
1480
|
else {
|
|
@@ -1488,7 +1488,7 @@ var Redshift = (function (_super) {
|
|
|
1488
1488
|
}
|
|
1489
1489
|
else if (typeof cb === "function") {
|
|
1490
1490
|
if (typeof optionsOrCb !== "object")
|
|
1491
|
-
throw new Error("Expect http options but get "
|
|
1491
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1492
1492
|
this.send(command, optionsOrCb || {}, cb);
|
|
1493
1493
|
}
|
|
1494
1494
|
else {
|
|
@@ -1502,7 +1502,7 @@ var Redshift = (function (_super) {
|
|
|
1502
1502
|
}
|
|
1503
1503
|
else if (typeof cb === "function") {
|
|
1504
1504
|
if (typeof optionsOrCb !== "object")
|
|
1505
|
-
throw new Error("Expect http options but get "
|
|
1505
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1506
1506
|
this.send(command, optionsOrCb || {}, cb);
|
|
1507
1507
|
}
|
|
1508
1508
|
else {
|
|
@@ -1516,7 +1516,7 @@ var Redshift = (function (_super) {
|
|
|
1516
1516
|
}
|
|
1517
1517
|
else if (typeof cb === "function") {
|
|
1518
1518
|
if (typeof optionsOrCb !== "object")
|
|
1519
|
-
throw new Error("Expect http options but get "
|
|
1519
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1520
1520
|
this.send(command, optionsOrCb || {}, cb);
|
|
1521
1521
|
}
|
|
1522
1522
|
else {
|
|
@@ -1530,7 +1530,7 @@ var Redshift = (function (_super) {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
else if (typeof cb === "function") {
|
|
1532
1532
|
if (typeof optionsOrCb !== "object")
|
|
1533
|
-
throw new Error("Expect http options but get "
|
|
1533
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1534
1534
|
this.send(command, optionsOrCb || {}, cb);
|
|
1535
1535
|
}
|
|
1536
1536
|
else {
|
|
@@ -1544,7 +1544,7 @@ var Redshift = (function (_super) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
else if (typeof cb === "function") {
|
|
1546
1546
|
if (typeof optionsOrCb !== "object")
|
|
1547
|
-
throw new Error("Expect http options but get "
|
|
1547
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1548
1548
|
this.send(command, optionsOrCb || {}, cb);
|
|
1549
1549
|
}
|
|
1550
1550
|
else {
|
|
@@ -1558,7 +1558,7 @@ var Redshift = (function (_super) {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
else if (typeof cb === "function") {
|
|
1560
1560
|
if (typeof optionsOrCb !== "object")
|
|
1561
|
-
throw new Error("Expect http options but get "
|
|
1561
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1562
1562
|
this.send(command, optionsOrCb || {}, cb);
|
|
1563
1563
|
}
|
|
1564
1564
|
else {
|
|
@@ -1572,7 +1572,7 @@ var Redshift = (function (_super) {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
else if (typeof cb === "function") {
|
|
1574
1574
|
if (typeof optionsOrCb !== "object")
|
|
1575
|
-
throw new Error("Expect http options but get "
|
|
1575
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1576
1576
|
this.send(command, optionsOrCb || {}, cb);
|
|
1577
1577
|
}
|
|
1578
1578
|
else {
|
|
@@ -1586,7 +1586,7 @@ var Redshift = (function (_super) {
|
|
|
1586
1586
|
}
|
|
1587
1587
|
else if (typeof cb === "function") {
|
|
1588
1588
|
if (typeof optionsOrCb !== "object")
|
|
1589
|
-
throw new Error("Expect http options but get "
|
|
1589
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1590
1590
|
this.send(command, optionsOrCb || {}, cb);
|
|
1591
1591
|
}
|
|
1592
1592
|
else {
|
|
@@ -1600,7 +1600,7 @@ var Redshift = (function (_super) {
|
|
|
1600
1600
|
}
|
|
1601
1601
|
else if (typeof cb === "function") {
|
|
1602
1602
|
if (typeof optionsOrCb !== "object")
|
|
1603
|
-
throw new Error("Expect http options but get "
|
|
1603
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1604
1604
|
this.send(command, optionsOrCb || {}, cb);
|
|
1605
1605
|
}
|
|
1606
1606
|
else {
|
|
@@ -1614,7 +1614,7 @@ var Redshift = (function (_super) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
else if (typeof cb === "function") {
|
|
1616
1616
|
if (typeof optionsOrCb !== "object")
|
|
1617
|
-
throw new Error("Expect http options but get "
|
|
1617
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1618
1618
|
this.send(command, optionsOrCb || {}, cb);
|
|
1619
1619
|
}
|
|
1620
1620
|
else {
|
|
@@ -1628,7 +1628,7 @@ var Redshift = (function (_super) {
|
|
|
1628
1628
|
}
|
|
1629
1629
|
else if (typeof cb === "function") {
|
|
1630
1630
|
if (typeof optionsOrCb !== "object")
|
|
1631
|
-
throw new Error("Expect http options but get "
|
|
1631
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1632
1632
|
this.send(command, optionsOrCb || {}, cb);
|
|
1633
1633
|
}
|
|
1634
1634
|
else {
|
|
@@ -1642,7 +1642,7 @@ var Redshift = (function (_super) {
|
|
|
1642
1642
|
}
|
|
1643
1643
|
else if (typeof cb === "function") {
|
|
1644
1644
|
if (typeof optionsOrCb !== "object")
|
|
1645
|
-
throw new Error("Expect http options but get "
|
|
1645
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1646
1646
|
this.send(command, optionsOrCb || {}, cb);
|
|
1647
1647
|
}
|
|
1648
1648
|
else {
|
|
@@ -1656,7 +1656,7 @@ var Redshift = (function (_super) {
|
|
|
1656
1656
|
}
|
|
1657
1657
|
else if (typeof cb === "function") {
|
|
1658
1658
|
if (typeof optionsOrCb !== "object")
|
|
1659
|
-
throw new Error("Expect http options but get "
|
|
1659
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1660
1660
|
this.send(command, optionsOrCb || {}, cb);
|
|
1661
1661
|
}
|
|
1662
1662
|
else {
|
|
@@ -1670,7 +1670,7 @@ var Redshift = (function (_super) {
|
|
|
1670
1670
|
}
|
|
1671
1671
|
else if (typeof cb === "function") {
|
|
1672
1672
|
if (typeof optionsOrCb !== "object")
|
|
1673
|
-
throw new Error("Expect http options but get "
|
|
1673
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1674
1674
|
this.send(command, optionsOrCb || {}, cb);
|
|
1675
1675
|
}
|
|
1676
1676
|
else {
|
|
@@ -1684,7 +1684,7 @@ var Redshift = (function (_super) {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
else if (typeof cb === "function") {
|
|
1686
1686
|
if (typeof optionsOrCb !== "object")
|
|
1687
|
-
throw new Error("Expect http options but get "
|
|
1687
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1688
1688
|
this.send(command, optionsOrCb || {}, cb);
|
|
1689
1689
|
}
|
|
1690
1690
|
else {
|
|
@@ -1698,7 +1698,7 @@ var Redshift = (function (_super) {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
else if (typeof cb === "function") {
|
|
1700
1700
|
if (typeof optionsOrCb !== "object")
|
|
1701
|
-
throw new Error("Expect http options but get "
|
|
1701
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1702
1702
|
this.send(command, optionsOrCb || {}, cb);
|
|
1703
1703
|
}
|
|
1704
1704
|
else {
|
|
@@ -1712,7 +1712,7 @@ var Redshift = (function (_super) {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
else if (typeof cb === "function") {
|
|
1714
1714
|
if (typeof optionsOrCb !== "object")
|
|
1715
|
-
throw new Error("Expect http options but get "
|
|
1715
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1716
1716
|
this.send(command, optionsOrCb || {}, cb);
|
|
1717
1717
|
}
|
|
1718
1718
|
else {
|
|
@@ -1726,7 +1726,7 @@ var Redshift = (function (_super) {
|
|
|
1726
1726
|
}
|
|
1727
1727
|
else if (typeof cb === "function") {
|
|
1728
1728
|
if (typeof optionsOrCb !== "object")
|
|
1729
|
-
throw new Error("Expect http options but get "
|
|
1729
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1730
1730
|
this.send(command, optionsOrCb || {}, cb);
|
|
1731
1731
|
}
|
|
1732
1732
|
else {
|
|
@@ -1740,7 +1740,7 @@ var Redshift = (function (_super) {
|
|
|
1740
1740
|
}
|
|
1741
1741
|
else if (typeof cb === "function") {
|
|
1742
1742
|
if (typeof optionsOrCb !== "object")
|
|
1743
|
-
throw new Error("Expect http options but get "
|
|
1743
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1744
1744
|
this.send(command, optionsOrCb || {}, cb);
|
|
1745
1745
|
}
|
|
1746
1746
|
else {
|
|
@@ -1754,7 +1754,7 @@ var Redshift = (function (_super) {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
else if (typeof cb === "function") {
|
|
1756
1756
|
if (typeof optionsOrCb !== "object")
|
|
1757
|
-
throw new Error("Expect http options but get "
|
|
1757
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1758
1758
|
this.send(command, optionsOrCb || {}, cb);
|
|
1759
1759
|
}
|
|
1760
1760
|
else {
|
|
@@ -1768,7 +1768,7 @@ var Redshift = (function (_super) {
|
|
|
1768
1768
|
}
|
|
1769
1769
|
else if (typeof cb === "function") {
|
|
1770
1770
|
if (typeof optionsOrCb !== "object")
|
|
1771
|
-
throw new Error("Expect http options but get "
|
|
1771
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1772
1772
|
this.send(command, optionsOrCb || {}, cb);
|
|
1773
1773
|
}
|
|
1774
1774
|
else {
|