@aws-sdk/client-redshift-data 3.1075.0 → 3.1077.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/dist-cjs/index.js +785 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/RedshiftDataServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -133
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -450
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
|
+
|
|
18
|
+
const defaultRedshiftDataHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
|
+
return {
|
|
20
|
+
operation: getSmithyContext(context).operation,
|
|
21
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
22
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
23
|
+
})(),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
27
|
+
return {
|
|
28
|
+
schemeId: "aws.auth#sigv4",
|
|
29
|
+
signingProperties: {
|
|
30
|
+
name: "redshift-data",
|
|
31
|
+
region: authParameters.region,
|
|
32
|
+
},
|
|
33
|
+
propertiesExtractor: (config, context) => ({
|
|
34
|
+
signingProperties: {
|
|
35
|
+
config,
|
|
36
|
+
context,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const defaultRedshiftDataHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
default: {
|
|
45
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return options;
|
|
49
|
+
};
|
|
50
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
51
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
52
|
+
return Object.assign(config_0, {
|
|
53
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
55
|
+
};
|
|
19
56
|
|
|
20
57
|
const resolveClientEndpointParameters = (options) => {
|
|
21
58
|
return Object.assign(options, {
|
|
@@ -31,6 +68,678 @@ const commonParams = {
|
|
|
31
68
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
69
|
};
|
|
33
70
|
|
|
71
|
+
var version = "3.1076.0";
|
|
72
|
+
var packageInfo = {
|
|
73
|
+
version: version};
|
|
74
|
+
|
|
75
|
+
const k = "ref";
|
|
76
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
77
|
+
const _data = {
|
|
78
|
+
conditions: [
|
|
79
|
+
[c, [g]],
|
|
80
|
+
[c, j],
|
|
81
|
+
["aws.partition", j, d],
|
|
82
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
83
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
85
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://redshift-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://redshift-data-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
95
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
96
|
+
["https://redshift-data.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
97
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
98
|
+
["https://redshift-data.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
99
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
100
|
+
]
|
|
101
|
+
};
|
|
102
|
+
const root = 2;
|
|
103
|
+
const r = 100_000_000;
|
|
104
|
+
const nodes = new Int32Array([
|
|
105
|
+
-1, 1, -1,
|
|
106
|
+
0, 12, 3,
|
|
107
|
+
1, 4, r + 11,
|
|
108
|
+
2, 5, r + 11,
|
|
109
|
+
3, 8, 6,
|
|
110
|
+
4, 7, r + 10,
|
|
111
|
+
5, r + 8, r + 9,
|
|
112
|
+
4, 10, 9,
|
|
113
|
+
6, r + 6, r + 7,
|
|
114
|
+
5, 11, r + 5,
|
|
115
|
+
6, r + 4, r + 5,
|
|
116
|
+
3, r + 1, 13,
|
|
117
|
+
4, r + 2, r + 3,
|
|
118
|
+
]);
|
|
119
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
120
|
+
|
|
121
|
+
const cache = new EndpointCache({
|
|
122
|
+
size: 50,
|
|
123
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
124
|
+
});
|
|
125
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
126
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
127
|
+
endpointParams: endpointParams,
|
|
128
|
+
logger: context.logger,
|
|
129
|
+
}));
|
|
130
|
+
};
|
|
131
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
132
|
+
|
|
133
|
+
class RedshiftDataServiceException extends ServiceException {
|
|
134
|
+
constructor(options) {
|
|
135
|
+
super(options);
|
|
136
|
+
Object.setPrototypeOf(this, RedshiftDataServiceException.prototype);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
class ActiveSessionsExceededException extends RedshiftDataServiceException {
|
|
141
|
+
name = "ActiveSessionsExceededException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
Message;
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "ActiveSessionsExceededException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, ActiveSessionsExceededException.prototype);
|
|
151
|
+
this.Message = opts.Message;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
class ActiveStatementsExceededException extends RedshiftDataServiceException {
|
|
155
|
+
name = "ActiveStatementsExceededException";
|
|
156
|
+
$fault = "client";
|
|
157
|
+
Message;
|
|
158
|
+
constructor(opts) {
|
|
159
|
+
super({
|
|
160
|
+
name: "ActiveStatementsExceededException",
|
|
161
|
+
$fault: "client",
|
|
162
|
+
...opts,
|
|
163
|
+
});
|
|
164
|
+
Object.setPrototypeOf(this, ActiveStatementsExceededException.prototype);
|
|
165
|
+
this.Message = opts.Message;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
class BatchExecuteStatementException extends RedshiftDataServiceException {
|
|
169
|
+
name = "BatchExecuteStatementException";
|
|
170
|
+
$fault = "server";
|
|
171
|
+
Message;
|
|
172
|
+
StatementId;
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "BatchExecuteStatementException",
|
|
176
|
+
$fault: "server",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, BatchExecuteStatementException.prototype);
|
|
180
|
+
this.Message = opts.Message;
|
|
181
|
+
this.StatementId = opts.StatementId;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
class InternalServerException extends RedshiftDataServiceException {
|
|
185
|
+
name = "InternalServerException";
|
|
186
|
+
$fault = "server";
|
|
187
|
+
Message;
|
|
188
|
+
constructor(opts) {
|
|
189
|
+
super({
|
|
190
|
+
name: "InternalServerException",
|
|
191
|
+
$fault: "server",
|
|
192
|
+
...opts,
|
|
193
|
+
});
|
|
194
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
195
|
+
this.Message = opts.Message;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
class ResourceNotFoundException extends RedshiftDataServiceException {
|
|
199
|
+
name = "ResourceNotFoundException";
|
|
200
|
+
$fault = "client";
|
|
201
|
+
Message;
|
|
202
|
+
ResourceId;
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "ResourceNotFoundException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts,
|
|
208
|
+
});
|
|
209
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
210
|
+
this.Message = opts.Message;
|
|
211
|
+
this.ResourceId = opts.ResourceId;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
class ValidationException extends RedshiftDataServiceException {
|
|
215
|
+
name = "ValidationException";
|
|
216
|
+
$fault = "client";
|
|
217
|
+
Message;
|
|
218
|
+
constructor(opts) {
|
|
219
|
+
super({
|
|
220
|
+
name: "ValidationException",
|
|
221
|
+
$fault: "client",
|
|
222
|
+
...opts,
|
|
223
|
+
});
|
|
224
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
225
|
+
this.Message = opts.Message;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
class DatabaseConnectionException extends RedshiftDataServiceException {
|
|
229
|
+
name = "DatabaseConnectionException";
|
|
230
|
+
$fault = "server";
|
|
231
|
+
Message;
|
|
232
|
+
constructor(opts) {
|
|
233
|
+
super({
|
|
234
|
+
name: "DatabaseConnectionException",
|
|
235
|
+
$fault: "server",
|
|
236
|
+
...opts,
|
|
237
|
+
});
|
|
238
|
+
Object.setPrototypeOf(this, DatabaseConnectionException.prototype);
|
|
239
|
+
this.Message = opts.Message;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
class QueryTimeoutException extends RedshiftDataServiceException {
|
|
243
|
+
name = "QueryTimeoutException";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
Message;
|
|
246
|
+
constructor(opts) {
|
|
247
|
+
super({
|
|
248
|
+
name: "QueryTimeoutException",
|
|
249
|
+
$fault: "client",
|
|
250
|
+
...opts,
|
|
251
|
+
});
|
|
252
|
+
Object.setPrototypeOf(this, QueryTimeoutException.prototype);
|
|
253
|
+
this.Message = opts.Message;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
class ExecuteStatementException extends RedshiftDataServiceException {
|
|
257
|
+
name = "ExecuteStatementException";
|
|
258
|
+
$fault = "server";
|
|
259
|
+
Message;
|
|
260
|
+
StatementId;
|
|
261
|
+
constructor(opts) {
|
|
262
|
+
super({
|
|
263
|
+
name: "ExecuteStatementException",
|
|
264
|
+
$fault: "server",
|
|
265
|
+
...opts,
|
|
266
|
+
});
|
|
267
|
+
Object.setPrototypeOf(this, ExecuteStatementException.prototype);
|
|
268
|
+
this.Message = opts.Message;
|
|
269
|
+
this.StatementId = opts.StatementId;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
const _ASEE = "ActiveSessionsExceededException";
|
|
274
|
+
const _ASEEc = "ActiveStatementsExceededException";
|
|
275
|
+
const _BES = "BatchExecuteStatement";
|
|
276
|
+
const _BESE = "BatchExecuteStatementException";
|
|
277
|
+
const _BESI = "BatchExecuteStatementInput";
|
|
278
|
+
const _BESO = "BatchExecuteStatementOutput";
|
|
279
|
+
const _CA = "CreatedAt";
|
|
280
|
+
const _CD = "ConnectedDatabase";
|
|
281
|
+
const _CI = "ClusterIdentifier";
|
|
282
|
+
const _CL = "ColumnList";
|
|
283
|
+
const _CM = "ColumnMetadata";
|
|
284
|
+
const _CML = "ColumnMetadataList";
|
|
285
|
+
const _CS = "CancelStatement";
|
|
286
|
+
const _CSR = "CancelStatementRequest";
|
|
287
|
+
const _CSRa = "CancelStatementResponse";
|
|
288
|
+
const _CSVR = "CSVRecords";
|
|
289
|
+
const _CT = "ClientToken";
|
|
290
|
+
const _D = "Database";
|
|
291
|
+
const _DCE = "DatabaseConnectionException";
|
|
292
|
+
const _DG = "DbGroups";
|
|
293
|
+
const _DS = "DescribeStatement";
|
|
294
|
+
const _DSR = "DescribeStatementRequest";
|
|
295
|
+
const _DSRe = "DescribeStatementResponse";
|
|
296
|
+
const _DT = "DescribeTable";
|
|
297
|
+
const _DTR = "DescribeTableRequest";
|
|
298
|
+
const _DTRe = "DescribeTableResponse";
|
|
299
|
+
const _DU = "DbUser";
|
|
300
|
+
const _Da = "Databases";
|
|
301
|
+
const _Du = "Duration";
|
|
302
|
+
const _E = "Error";
|
|
303
|
+
const _ES = "ExecuteStatement";
|
|
304
|
+
const _ESE = "ExecuteStatementException";
|
|
305
|
+
const _ESI = "ExecuteStatementInput";
|
|
306
|
+
const _ESO = "ExecuteStatementOutput";
|
|
307
|
+
const _F = "Field";
|
|
308
|
+
const _FL = "FieldList";
|
|
309
|
+
const _FSR = "FormattedSqlRecords";
|
|
310
|
+
const _GSR = "GetStatementResult";
|
|
311
|
+
const _GSRR = "GetStatementResultRequest";
|
|
312
|
+
const _GSRRe = "GetStatementResultResponse";
|
|
313
|
+
const _GSRV = "GetStatementResultV2";
|
|
314
|
+
const _GSRVR = "GetStatementResultV2Request";
|
|
315
|
+
const _GSRVRe = "GetStatementResultV2Response";
|
|
316
|
+
const _HRS = "HasResultSet";
|
|
317
|
+
const _I = "Id";
|
|
318
|
+
const _IBS = "IsBatchStatement";
|
|
319
|
+
const _ISE = "InternalServerException";
|
|
320
|
+
const _LD = "ListDatabases";
|
|
321
|
+
const _LDR = "ListDatabasesRequest";
|
|
322
|
+
const _LDRi = "ListDatabasesResponse";
|
|
323
|
+
const _LS = "ListSchemas";
|
|
324
|
+
const _LSR = "ListSchemasRequest";
|
|
325
|
+
const _LSRi = "ListSchemasResponse";
|
|
326
|
+
const _LSRis = "ListStatementsRequest";
|
|
327
|
+
const _LSRist = "ListStatementsResponse";
|
|
328
|
+
const _LSi = "ListStatements";
|
|
329
|
+
const _LT = "ListTables";
|
|
330
|
+
const _LTR = "ListTablesRequest";
|
|
331
|
+
const _LTRi = "ListTablesResponse";
|
|
332
|
+
const _M = "Message";
|
|
333
|
+
const _MR = "MaxResults";
|
|
334
|
+
const _NT = "NextToken";
|
|
335
|
+
const _P = "Parameters";
|
|
336
|
+
const _QP = "QueryParameters";
|
|
337
|
+
const _QR = "QueryRecords";
|
|
338
|
+
const _QS = "QueryString";
|
|
339
|
+
const _QSu = "QueryStrings";
|
|
340
|
+
const _QTE = "QueryTimeoutException";
|
|
341
|
+
const _R = "Records";
|
|
342
|
+
const _RF = "ResultFormat";
|
|
343
|
+
const _RI = "ResourceId";
|
|
344
|
+
const _RL = "RoleLevel";
|
|
345
|
+
const _RNFE = "ResourceNotFoundException";
|
|
346
|
+
const _RP = "RedshiftPid";
|
|
347
|
+
const _RQI = "RedshiftQueryId";
|
|
348
|
+
const _RR = "ResultRows";
|
|
349
|
+
const _RS = "ResultSize";
|
|
350
|
+
const _S = "Sqls";
|
|
351
|
+
const _SA = "SecretArn";
|
|
352
|
+
const _SD = "StatementData";
|
|
353
|
+
const _SI = "StatementId";
|
|
354
|
+
const _SIe = "SessionId";
|
|
355
|
+
const _SKAS = "SessionKeepAliveSeconds";
|
|
356
|
+
const _SL = "StatementList";
|
|
357
|
+
const _SN = "StatementName";
|
|
358
|
+
const _SP = "SchemaPattern";
|
|
359
|
+
const _SPL = "SqlParametersList";
|
|
360
|
+
const _SPq = "SqlParameter";
|
|
361
|
+
const _SR = "SqlRecords";
|
|
362
|
+
const _SS = "SubStatements";
|
|
363
|
+
const _SSD = "SubStatementData";
|
|
364
|
+
const _SSL = "SubStatementList";
|
|
365
|
+
const _Sc = "Schema";
|
|
366
|
+
const _Sch = "Schemas";
|
|
367
|
+
const _Sq = "Sql";
|
|
368
|
+
const _St = "Status";
|
|
369
|
+
const _Sta = "Statements";
|
|
370
|
+
const _T = "Table";
|
|
371
|
+
const _TL = "TableList";
|
|
372
|
+
const _TM = "TableMember";
|
|
373
|
+
const _TN = "TableName";
|
|
374
|
+
const _TNR = "TotalNumRows";
|
|
375
|
+
const _TP = "TablePattern";
|
|
376
|
+
const _Ta = "Tables";
|
|
377
|
+
const _UA = "UpdatedAt";
|
|
378
|
+
const _VE = "ValidationException";
|
|
379
|
+
const _WE = "WithEvent";
|
|
380
|
+
const _WN = "WorkgroupName";
|
|
381
|
+
const _bV = "booleanValue";
|
|
382
|
+
const _bVl = "blobValue";
|
|
383
|
+
const _c = "client";
|
|
384
|
+
const _cD = "columnDefault";
|
|
385
|
+
const _dV = "doubleValue";
|
|
386
|
+
const _e = "error";
|
|
387
|
+
const _hE = "httpError";
|
|
388
|
+
const _iC = "isCurrency";
|
|
389
|
+
const _iCS = "isCaseSensitive";
|
|
390
|
+
const _iN = "isNull";
|
|
391
|
+
const _iS = "isSigned";
|
|
392
|
+
const _l = "label";
|
|
393
|
+
const _lV = "longValue";
|
|
394
|
+
const _le = "length";
|
|
395
|
+
const _n = "name";
|
|
396
|
+
const _nu = "nullable";
|
|
397
|
+
const _p = "precision";
|
|
398
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.redshiftdata";
|
|
399
|
+
const _sN = "schemaName";
|
|
400
|
+
const _sV = "stringValue";
|
|
401
|
+
const _sc = "scale";
|
|
402
|
+
const _sch = "schema";
|
|
403
|
+
const _se = "server";
|
|
404
|
+
const _t = "type";
|
|
405
|
+
const _tN = "tableName";
|
|
406
|
+
const _tNy = "typeName";
|
|
407
|
+
const _v = "value";
|
|
408
|
+
const n0 = "com.amazonaws.redshiftdata";
|
|
409
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
410
|
+
var RedshiftDataServiceException$ = [-3, _s, "RedshiftDataServiceException", 0, [], []];
|
|
411
|
+
_s_registry.registerError(RedshiftDataServiceException$, RedshiftDataServiceException);
|
|
412
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
413
|
+
var ActiveSessionsExceededException$ = [-3, n0, _ASEE,
|
|
414
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
415
|
+
[_M],
|
|
416
|
+
[0]
|
|
417
|
+
];
|
|
418
|
+
n0_registry.registerError(ActiveSessionsExceededException$, ActiveSessionsExceededException);
|
|
419
|
+
var ActiveStatementsExceededException$ = [-3, n0, _ASEEc,
|
|
420
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
421
|
+
[_M],
|
|
422
|
+
[0]
|
|
423
|
+
];
|
|
424
|
+
n0_registry.registerError(ActiveStatementsExceededException$, ActiveStatementsExceededException);
|
|
425
|
+
var BatchExecuteStatementException$ = [-3, n0, _BESE,
|
|
426
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
427
|
+
[_M, _SI],
|
|
428
|
+
[0, 0], 2
|
|
429
|
+
];
|
|
430
|
+
n0_registry.registerError(BatchExecuteStatementException$, BatchExecuteStatementException);
|
|
431
|
+
var DatabaseConnectionException$ = [-3, n0, _DCE,
|
|
432
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
433
|
+
[_M],
|
|
434
|
+
[0], 1
|
|
435
|
+
];
|
|
436
|
+
n0_registry.registerError(DatabaseConnectionException$, DatabaseConnectionException);
|
|
437
|
+
var ExecuteStatementException$ = [-3, n0, _ESE,
|
|
438
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
439
|
+
[_M, _SI],
|
|
440
|
+
[0, 0], 2
|
|
441
|
+
];
|
|
442
|
+
n0_registry.registerError(ExecuteStatementException$, ExecuteStatementException);
|
|
443
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
444
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
445
|
+
[_M],
|
|
446
|
+
[0], 1
|
|
447
|
+
];
|
|
448
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
449
|
+
var QueryTimeoutException$ = [-3, n0, _QTE,
|
|
450
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
451
|
+
[_M],
|
|
452
|
+
[0]
|
|
453
|
+
];
|
|
454
|
+
n0_registry.registerError(QueryTimeoutException$, QueryTimeoutException);
|
|
455
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
456
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
457
|
+
[_M, _RI],
|
|
458
|
+
[0, 0], 2
|
|
459
|
+
];
|
|
460
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
461
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
462
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
463
|
+
[_M],
|
|
464
|
+
[0]
|
|
465
|
+
];
|
|
466
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
467
|
+
const errorTypeRegistries = [
|
|
468
|
+
_s_registry,
|
|
469
|
+
n0_registry,
|
|
470
|
+
];
|
|
471
|
+
var BatchExecuteStatementInput$ = [3, n0, _BESI,
|
|
472
|
+
0,
|
|
473
|
+
[_S, _CI, _SA, _DU, _D, _WE, _SN, _P, _WN, _CT, _RF, _SKAS, _SIe],
|
|
474
|
+
[64 | 0, 0, 0, 0, 0, 2, 0, () => SqlParametersList, 0, [0, 4], 0, 1, 0], 1
|
|
475
|
+
];
|
|
476
|
+
var BatchExecuteStatementOutput$ = [3, n0, _BESO,
|
|
477
|
+
0,
|
|
478
|
+
[_I, _CA, _CI, _DU, _DG, _D, _SA, _WN, _SIe],
|
|
479
|
+
[0, 4, 0, 0, 64 | 0, 0, 0, 0, 0]
|
|
480
|
+
];
|
|
481
|
+
var CancelStatementRequest$ = [3, n0, _CSR,
|
|
482
|
+
0,
|
|
483
|
+
[_I],
|
|
484
|
+
[0], 1
|
|
485
|
+
];
|
|
486
|
+
var CancelStatementResponse$ = [3, n0, _CSRa,
|
|
487
|
+
0,
|
|
488
|
+
[_St],
|
|
489
|
+
[2]
|
|
490
|
+
];
|
|
491
|
+
var ColumnMetadata$ = [3, n0, _CM,
|
|
492
|
+
0,
|
|
493
|
+
[_iCS, _iC, _iS, _l, _n, _nu, _p, _sc, _sN, _tN, _tNy, _le, _cD],
|
|
494
|
+
[2, 2, 2, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0]
|
|
495
|
+
];
|
|
496
|
+
var DescribeStatementRequest$ = [3, n0, _DSR,
|
|
497
|
+
0,
|
|
498
|
+
[_I],
|
|
499
|
+
[0], 1
|
|
500
|
+
];
|
|
501
|
+
var DescribeStatementResponse$ = [3, n0, _DSRe,
|
|
502
|
+
0,
|
|
503
|
+
[_I, _SA, _DU, _D, _CI, _Du, _E, _St, _CA, _UA, _RP, _HRS, _QS, _RR, _RS, _RQI, _QP, _SS, _WN, _RF, _SIe],
|
|
504
|
+
[0, 0, 0, 0, 0, 1, 0, 0, 4, 4, 1, 2, 0, 1, 1, 1, () => SqlParametersList, () => SubStatementList, 0, 0, 0], 1
|
|
505
|
+
];
|
|
506
|
+
var DescribeTableRequest$ = [3, n0, _DTR,
|
|
507
|
+
0,
|
|
508
|
+
[_D, _CI, _SA, _DU, _CD, _Sc, _T, _NT, _MR, _WN],
|
|
509
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 1, 0], 1
|
|
510
|
+
];
|
|
511
|
+
var DescribeTableResponse$ = [3, n0, _DTRe,
|
|
512
|
+
0,
|
|
513
|
+
[_TN, _CL, _NT],
|
|
514
|
+
[0, () => ColumnList, 0]
|
|
515
|
+
];
|
|
516
|
+
var ExecuteStatementInput$ = [3, n0, _ESI,
|
|
517
|
+
0,
|
|
518
|
+
[_Sq, _CI, _SA, _DU, _D, _WE, _SN, _P, _WN, _CT, _RF, _SKAS, _SIe],
|
|
519
|
+
[0, 0, 0, 0, 0, 2, 0, () => SqlParametersList, 0, [0, 4], 0, 1, 0], 1
|
|
520
|
+
];
|
|
521
|
+
var ExecuteStatementOutput$ = [3, n0, _ESO,
|
|
522
|
+
0,
|
|
523
|
+
[_I, _CA, _CI, _DU, _DG, _D, _SA, _WN, _SIe],
|
|
524
|
+
[0, 4, 0, 0, 64 | 0, 0, 0, 0, 0]
|
|
525
|
+
];
|
|
526
|
+
var GetStatementResultRequest$ = [3, n0, _GSRR,
|
|
527
|
+
0,
|
|
528
|
+
[_I, _NT],
|
|
529
|
+
[0, 0], 1
|
|
530
|
+
];
|
|
531
|
+
var GetStatementResultResponse$ = [3, n0, _GSRRe,
|
|
532
|
+
0,
|
|
533
|
+
[_R, _CM, _TNR, _NT],
|
|
534
|
+
[() => SqlRecords, () => ColumnMetadataList, 1, 0], 1
|
|
535
|
+
];
|
|
536
|
+
var GetStatementResultV2Request$ = [3, n0, _GSRVR,
|
|
537
|
+
0,
|
|
538
|
+
[_I, _NT],
|
|
539
|
+
[0, 0], 1
|
|
540
|
+
];
|
|
541
|
+
var GetStatementResultV2Response$ = [3, n0, _GSRVRe,
|
|
542
|
+
0,
|
|
543
|
+
[_R, _CM, _TNR, _RF, _NT],
|
|
544
|
+
[() => FormattedSqlRecords, () => ColumnMetadataList, 1, 0, 0], 1
|
|
545
|
+
];
|
|
546
|
+
var ListDatabasesRequest$ = [3, n0, _LDR,
|
|
547
|
+
0,
|
|
548
|
+
[_D, _CI, _SA, _DU, _NT, _MR, _WN],
|
|
549
|
+
[0, 0, 0, 0, 0, 1, 0], 1
|
|
550
|
+
];
|
|
551
|
+
var ListDatabasesResponse$ = [3, n0, _LDRi,
|
|
552
|
+
0,
|
|
553
|
+
[_Da, _NT],
|
|
554
|
+
[64 | 0, 0]
|
|
555
|
+
];
|
|
556
|
+
var ListSchemasRequest$ = [3, n0, _LSR,
|
|
557
|
+
0,
|
|
558
|
+
[_D, _CI, _SA, _DU, _CD, _SP, _NT, _MR, _WN],
|
|
559
|
+
[0, 0, 0, 0, 0, 0, 0, 1, 0], 1
|
|
560
|
+
];
|
|
561
|
+
var ListSchemasResponse$ = [3, n0, _LSRi,
|
|
562
|
+
0,
|
|
563
|
+
[_Sch, _NT],
|
|
564
|
+
[64 | 0, 0]
|
|
565
|
+
];
|
|
566
|
+
var ListStatementsRequest$ = [3, n0, _LSRis,
|
|
567
|
+
0,
|
|
568
|
+
[_NT, _MR, _SN, _St, _RL, _D, _CI, _WN],
|
|
569
|
+
[0, 1, 0, 0, 2, 0, 0, 0]
|
|
570
|
+
];
|
|
571
|
+
var ListStatementsResponse$ = [3, n0, _LSRist,
|
|
572
|
+
0,
|
|
573
|
+
[_Sta, _NT],
|
|
574
|
+
[() => StatementList, 0], 1
|
|
575
|
+
];
|
|
576
|
+
var ListTablesRequest$ = [3, n0, _LTR,
|
|
577
|
+
0,
|
|
578
|
+
[_D, _CI, _SA, _DU, _CD, _SP, _TP, _NT, _MR, _WN],
|
|
579
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 1, 0], 1
|
|
580
|
+
];
|
|
581
|
+
var ListTablesResponse$ = [3, n0, _LTRi,
|
|
582
|
+
0,
|
|
583
|
+
[_Ta, _NT],
|
|
584
|
+
[() => TableList, 0]
|
|
585
|
+
];
|
|
586
|
+
var SqlParameter$ = [3, n0, _SPq,
|
|
587
|
+
0,
|
|
588
|
+
[_n, _v],
|
|
589
|
+
[0, 0], 2
|
|
590
|
+
];
|
|
591
|
+
var StatementData$ = [3, n0, _SD,
|
|
592
|
+
0,
|
|
593
|
+
[_I, _QS, _QSu, _SA, _St, _SN, _CA, _UA, _QP, _IBS, _RF, _SIe],
|
|
594
|
+
[0, 0, 64 | 0, 0, 0, 0, 4, 4, () => SqlParametersList, 2, 0, 0], 1
|
|
595
|
+
];
|
|
596
|
+
var SubStatementData$ = [3, n0, _SSD,
|
|
597
|
+
0,
|
|
598
|
+
[_I, _Du, _E, _St, _CA, _UA, _QS, _RR, _RS, _RQI, _HRS],
|
|
599
|
+
[0, 1, 0, 0, 4, 4, 0, 1, 1, 1, 2], 1
|
|
600
|
+
];
|
|
601
|
+
var TableMember$ = [3, n0, _TM,
|
|
602
|
+
0,
|
|
603
|
+
[_n, _t, _sch],
|
|
604
|
+
[0, 0, 0]
|
|
605
|
+
];
|
|
606
|
+
var ColumnList = [1, n0, _CL,
|
|
607
|
+
0, () => ColumnMetadata$
|
|
608
|
+
];
|
|
609
|
+
var ColumnMetadataList = [1, n0, _CML,
|
|
610
|
+
0, () => ColumnMetadata$
|
|
611
|
+
];
|
|
612
|
+
var FieldList = [1, n0, _FL,
|
|
613
|
+
0, () => Field$
|
|
614
|
+
];
|
|
615
|
+
var FormattedSqlRecords = [1, n0, _FSR,
|
|
616
|
+
0, () => QueryRecords$
|
|
617
|
+
];
|
|
618
|
+
var SqlParametersList = [1, n0, _SPL,
|
|
619
|
+
0, () => SqlParameter$
|
|
620
|
+
];
|
|
621
|
+
var SqlRecords = [1, n0, _SR,
|
|
622
|
+
0, () => FieldList
|
|
623
|
+
];
|
|
624
|
+
var StatementList = [1, n0, _SL,
|
|
625
|
+
0, () => StatementData$
|
|
626
|
+
];
|
|
627
|
+
var SubStatementList = [1, n0, _SSL,
|
|
628
|
+
0, () => SubStatementData$
|
|
629
|
+
];
|
|
630
|
+
var TableList = [1, n0, _TL,
|
|
631
|
+
0, () => TableMember$
|
|
632
|
+
];
|
|
633
|
+
var Field$ = [4, n0, _F,
|
|
634
|
+
0,
|
|
635
|
+
[_iN, _bV, _lV, _dV, _sV, _bVl],
|
|
636
|
+
[2, 2, 1, 1, 0, 21]
|
|
637
|
+
];
|
|
638
|
+
var QueryRecords$ = [4, n0, _QR,
|
|
639
|
+
0,
|
|
640
|
+
[_CSVR],
|
|
641
|
+
[0]
|
|
642
|
+
];
|
|
643
|
+
var BatchExecuteStatement$ = [9, n0, _BES,
|
|
644
|
+
0, () => BatchExecuteStatementInput$, () => BatchExecuteStatementOutput$
|
|
645
|
+
];
|
|
646
|
+
var CancelStatement$ = [9, n0, _CS,
|
|
647
|
+
0, () => CancelStatementRequest$, () => CancelStatementResponse$
|
|
648
|
+
];
|
|
649
|
+
var DescribeStatement$ = [9, n0, _DS,
|
|
650
|
+
0, () => DescribeStatementRequest$, () => DescribeStatementResponse$
|
|
651
|
+
];
|
|
652
|
+
var DescribeTable$ = [9, n0, _DT,
|
|
653
|
+
0, () => DescribeTableRequest$, () => DescribeTableResponse$
|
|
654
|
+
];
|
|
655
|
+
var ExecuteStatement$ = [9, n0, _ES,
|
|
656
|
+
0, () => ExecuteStatementInput$, () => ExecuteStatementOutput$
|
|
657
|
+
];
|
|
658
|
+
var GetStatementResult$ = [9, n0, _GSR,
|
|
659
|
+
0, () => GetStatementResultRequest$, () => GetStatementResultResponse$
|
|
660
|
+
];
|
|
661
|
+
var GetStatementResultV2$ = [9, n0, _GSRV,
|
|
662
|
+
0, () => GetStatementResultV2Request$, () => GetStatementResultV2Response$
|
|
663
|
+
];
|
|
664
|
+
var ListDatabases$ = [9, n0, _LD,
|
|
665
|
+
0, () => ListDatabasesRequest$, () => ListDatabasesResponse$
|
|
666
|
+
];
|
|
667
|
+
var ListSchemas$ = [9, n0, _LS,
|
|
668
|
+
0, () => ListSchemasRequest$, () => ListSchemasResponse$
|
|
669
|
+
];
|
|
670
|
+
var ListStatements$ = [9, n0, _LSi,
|
|
671
|
+
0, () => ListStatementsRequest$, () => ListStatementsResponse$
|
|
672
|
+
];
|
|
673
|
+
var ListTables$ = [9, n0, _LT,
|
|
674
|
+
0, () => ListTablesRequest$, () => ListTablesResponse$
|
|
675
|
+
];
|
|
676
|
+
|
|
677
|
+
const getRuntimeConfig$1 = (config) => {
|
|
678
|
+
return {
|
|
679
|
+
apiVersion: "2019-12-20",
|
|
680
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
681
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
682
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
683
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
684
|
+
extensions: config?.extensions ?? [],
|
|
685
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultRedshiftDataHttpAuthSchemeProvider,
|
|
686
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
687
|
+
{
|
|
688
|
+
schemeId: "aws.auth#sigv4",
|
|
689
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
690
|
+
signer: new AwsSdkSigV4Signer(),
|
|
691
|
+
},
|
|
692
|
+
],
|
|
693
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
694
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
695
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
696
|
+
defaultNamespace: "com.amazonaws.redshiftdata",
|
|
697
|
+
errorTypeRegistries,
|
|
698
|
+
version: "2019-12-20",
|
|
699
|
+
serviceTarget: "RedshiftData",
|
|
700
|
+
},
|
|
701
|
+
serviceId: config?.serviceId ?? "Redshift Data",
|
|
702
|
+
sha256: config?.sha256 ?? Sha256,
|
|
703
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
704
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
705
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
const getRuntimeConfig = (config) => {
|
|
710
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
711
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
712
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
713
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
714
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
715
|
+
const loaderConfig = {
|
|
716
|
+
profile: config?.profile,
|
|
717
|
+
logger: clientSharedValues.logger,
|
|
718
|
+
};
|
|
719
|
+
return {
|
|
720
|
+
...clientSharedValues,
|
|
721
|
+
...config,
|
|
722
|
+
runtime: "node",
|
|
723
|
+
defaultsMode,
|
|
724
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
725
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
726
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
727
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
728
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
729
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
730
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
731
|
+
retryMode: config?.retryMode ??
|
|
732
|
+
loadConfig({
|
|
733
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
734
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
735
|
+
}, config),
|
|
736
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
737
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
738
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
739
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
|
|
34
743
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
744
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
745
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -305,22 +1014,83 @@ const StatementStatusString = {
|
|
|
305
1014
|
SUBMITTED: "SUBMITTED",
|
|
306
1015
|
};
|
|
307
1016
|
|
|
1017
|
+
exports.ActiveSessionsExceededException = ActiveSessionsExceededException;
|
|
1018
|
+
exports.ActiveSessionsExceededException$ = ActiveSessionsExceededException$;
|
|
1019
|
+
exports.ActiveStatementsExceededException = ActiveStatementsExceededException;
|
|
1020
|
+
exports.ActiveStatementsExceededException$ = ActiveStatementsExceededException$;
|
|
1021
|
+
exports.BatchExecuteStatement$ = BatchExecuteStatement$;
|
|
308
1022
|
exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;
|
|
1023
|
+
exports.BatchExecuteStatementException = BatchExecuteStatementException;
|
|
1024
|
+
exports.BatchExecuteStatementException$ = BatchExecuteStatementException$;
|
|
1025
|
+
exports.BatchExecuteStatementInput$ = BatchExecuteStatementInput$;
|
|
1026
|
+
exports.BatchExecuteStatementOutput$ = BatchExecuteStatementOutput$;
|
|
1027
|
+
exports.CancelStatement$ = CancelStatement$;
|
|
309
1028
|
exports.CancelStatementCommand = CancelStatementCommand;
|
|
1029
|
+
exports.CancelStatementRequest$ = CancelStatementRequest$;
|
|
1030
|
+
exports.CancelStatementResponse$ = CancelStatementResponse$;
|
|
1031
|
+
exports.ColumnMetadata$ = ColumnMetadata$;
|
|
1032
|
+
exports.DatabaseConnectionException = DatabaseConnectionException;
|
|
1033
|
+
exports.DatabaseConnectionException$ = DatabaseConnectionException$;
|
|
1034
|
+
exports.DescribeStatement$ = DescribeStatement$;
|
|
310
1035
|
exports.DescribeStatementCommand = DescribeStatementCommand;
|
|
1036
|
+
exports.DescribeStatementRequest$ = DescribeStatementRequest$;
|
|
1037
|
+
exports.DescribeStatementResponse$ = DescribeStatementResponse$;
|
|
1038
|
+
exports.DescribeTable$ = DescribeTable$;
|
|
311
1039
|
exports.DescribeTableCommand = DescribeTableCommand;
|
|
1040
|
+
exports.DescribeTableRequest$ = DescribeTableRequest$;
|
|
1041
|
+
exports.DescribeTableResponse$ = DescribeTableResponse$;
|
|
1042
|
+
exports.ExecuteStatement$ = ExecuteStatement$;
|
|
312
1043
|
exports.ExecuteStatementCommand = ExecuteStatementCommand;
|
|
1044
|
+
exports.ExecuteStatementException = ExecuteStatementException;
|
|
1045
|
+
exports.ExecuteStatementException$ = ExecuteStatementException$;
|
|
1046
|
+
exports.ExecuteStatementInput$ = ExecuteStatementInput$;
|
|
1047
|
+
exports.ExecuteStatementOutput$ = ExecuteStatementOutput$;
|
|
1048
|
+
exports.Field$ = Field$;
|
|
1049
|
+
exports.GetStatementResult$ = GetStatementResult$;
|
|
313
1050
|
exports.GetStatementResultCommand = GetStatementResultCommand;
|
|
1051
|
+
exports.GetStatementResultRequest$ = GetStatementResultRequest$;
|
|
1052
|
+
exports.GetStatementResultResponse$ = GetStatementResultResponse$;
|
|
1053
|
+
exports.GetStatementResultV2$ = GetStatementResultV2$;
|
|
314
1054
|
exports.GetStatementResultV2Command = GetStatementResultV2Command;
|
|
1055
|
+
exports.GetStatementResultV2Request$ = GetStatementResultV2Request$;
|
|
1056
|
+
exports.GetStatementResultV2Response$ = GetStatementResultV2Response$;
|
|
1057
|
+
exports.InternalServerException = InternalServerException;
|
|
1058
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1059
|
+
exports.ListDatabases$ = ListDatabases$;
|
|
315
1060
|
exports.ListDatabasesCommand = ListDatabasesCommand;
|
|
1061
|
+
exports.ListDatabasesRequest$ = ListDatabasesRequest$;
|
|
1062
|
+
exports.ListDatabasesResponse$ = ListDatabasesResponse$;
|
|
1063
|
+
exports.ListSchemas$ = ListSchemas$;
|
|
316
1064
|
exports.ListSchemasCommand = ListSchemasCommand;
|
|
1065
|
+
exports.ListSchemasRequest$ = ListSchemasRequest$;
|
|
1066
|
+
exports.ListSchemasResponse$ = ListSchemasResponse$;
|
|
1067
|
+
exports.ListStatements$ = ListStatements$;
|
|
317
1068
|
exports.ListStatementsCommand = ListStatementsCommand;
|
|
1069
|
+
exports.ListStatementsRequest$ = ListStatementsRequest$;
|
|
1070
|
+
exports.ListStatementsResponse$ = ListStatementsResponse$;
|
|
1071
|
+
exports.ListTables$ = ListTables$;
|
|
318
1072
|
exports.ListTablesCommand = ListTablesCommand;
|
|
1073
|
+
exports.ListTablesRequest$ = ListTablesRequest$;
|
|
1074
|
+
exports.ListTablesResponse$ = ListTablesResponse$;
|
|
1075
|
+
exports.QueryRecords$ = QueryRecords$;
|
|
1076
|
+
exports.QueryTimeoutException = QueryTimeoutException;
|
|
1077
|
+
exports.QueryTimeoutException$ = QueryTimeoutException$;
|
|
319
1078
|
exports.RedshiftData = RedshiftData;
|
|
320
1079
|
exports.RedshiftDataClient = RedshiftDataClient;
|
|
1080
|
+
exports.RedshiftDataServiceException = RedshiftDataServiceException;
|
|
1081
|
+
exports.RedshiftDataServiceException$ = RedshiftDataServiceException$;
|
|
1082
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1083
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
321
1084
|
exports.ResultFormatString = ResultFormatString;
|
|
1085
|
+
exports.SqlParameter$ = SqlParameter$;
|
|
1086
|
+
exports.StatementData$ = StatementData$;
|
|
322
1087
|
exports.StatementStatusString = StatementStatusString;
|
|
323
1088
|
exports.StatusString = StatusString;
|
|
1089
|
+
exports.SubStatementData$ = SubStatementData$;
|
|
1090
|
+
exports.TableMember$ = TableMember$;
|
|
1091
|
+
exports.ValidationException = ValidationException;
|
|
1092
|
+
exports.ValidationException$ = ValidationException$;
|
|
1093
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
324
1094
|
exports.paginateDescribeTable = paginateDescribeTable;
|
|
325
1095
|
exports.paginateGetStatementResult = paginateGetStatementResult;
|
|
326
1096
|
exports.paginateGetStatementResultV2 = paginateGetStatementResultV2;
|