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