@aws-sdk/client-redshift-data 3.986.0 → 3.988.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RedshiftDataServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class RedshiftDataServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, RedshiftDataServiceException.prototype);
10
+ }
11
+ }
12
+ exports.RedshiftDataServiceException = RedshiftDataServiceException;
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExecuteStatementException = exports.QueryTimeoutException = exports.DatabaseConnectionException = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.BatchExecuteStatementException = exports.ActiveStatementsExceededException = exports.ActiveSessionsExceededException = void 0;
4
+ const RedshiftDataServiceException_1 = require("./RedshiftDataServiceException");
5
+ class ActiveSessionsExceededException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
6
+ name = "ActiveSessionsExceededException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "ActiveSessionsExceededException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, ActiveSessionsExceededException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.ActiveSessionsExceededException = ActiveSessionsExceededException;
20
+ class ActiveStatementsExceededException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
21
+ name = "ActiveStatementsExceededException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "ActiveStatementsExceededException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, ActiveStatementsExceededException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.ActiveStatementsExceededException = ActiveStatementsExceededException;
35
+ class BatchExecuteStatementException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
36
+ name = "BatchExecuteStatementException";
37
+ $fault = "server";
38
+ Message;
39
+ StatementId;
40
+ constructor(opts) {
41
+ super({
42
+ name: "BatchExecuteStatementException",
43
+ $fault: "server",
44
+ ...opts,
45
+ });
46
+ Object.setPrototypeOf(this, BatchExecuteStatementException.prototype);
47
+ this.Message = opts.Message;
48
+ this.StatementId = opts.StatementId;
49
+ }
50
+ }
51
+ exports.BatchExecuteStatementException = BatchExecuteStatementException;
52
+ class InternalServerException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
53
+ name = "InternalServerException";
54
+ $fault = "server";
55
+ Message;
56
+ constructor(opts) {
57
+ super({
58
+ name: "InternalServerException",
59
+ $fault: "server",
60
+ ...opts,
61
+ });
62
+ Object.setPrototypeOf(this, InternalServerException.prototype);
63
+ this.Message = opts.Message;
64
+ }
65
+ }
66
+ exports.InternalServerException = InternalServerException;
67
+ class ResourceNotFoundException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
68
+ name = "ResourceNotFoundException";
69
+ $fault = "client";
70
+ Message;
71
+ ResourceId;
72
+ constructor(opts) {
73
+ super({
74
+ name: "ResourceNotFoundException",
75
+ $fault: "client",
76
+ ...opts,
77
+ });
78
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
79
+ this.Message = opts.Message;
80
+ this.ResourceId = opts.ResourceId;
81
+ }
82
+ }
83
+ exports.ResourceNotFoundException = ResourceNotFoundException;
84
+ class ValidationException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
85
+ name = "ValidationException";
86
+ $fault = "client";
87
+ Message;
88
+ constructor(opts) {
89
+ super({
90
+ name: "ValidationException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ Object.setPrototypeOf(this, ValidationException.prototype);
95
+ this.Message = opts.Message;
96
+ }
97
+ }
98
+ exports.ValidationException = ValidationException;
99
+ class DatabaseConnectionException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
100
+ name = "DatabaseConnectionException";
101
+ $fault = "server";
102
+ Message;
103
+ constructor(opts) {
104
+ super({
105
+ name: "DatabaseConnectionException",
106
+ $fault: "server",
107
+ ...opts,
108
+ });
109
+ Object.setPrototypeOf(this, DatabaseConnectionException.prototype);
110
+ this.Message = opts.Message;
111
+ }
112
+ }
113
+ exports.DatabaseConnectionException = DatabaseConnectionException;
114
+ class QueryTimeoutException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
115
+ name = "QueryTimeoutException";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "QueryTimeoutException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, QueryTimeoutException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ exports.QueryTimeoutException = QueryTimeoutException;
129
+ class ExecuteStatementException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
130
+ name = "ExecuteStatementException";
131
+ $fault = "server";
132
+ Message;
133
+ StatementId;
134
+ constructor(opts) {
135
+ super({
136
+ name: "ExecuteStatementException",
137
+ $fault: "server",
138
+ ...opts,
139
+ });
140
+ Object.setPrototypeOf(this, ExecuteStatementException.prototype);
141
+ this.Message = opts.Message;
142
+ this.StatementId = opts.StatementId;
143
+ }
144
+ }
145
+ exports.ExecuteStatementException = ExecuteStatementException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2019-12-20",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.redshiftdata",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2019-12-20",
33
35
  serviceTarget: "RedshiftData",
34
36
  },
@@ -0,0 +1,415 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListStatements$ = exports.ListSchemas$ = exports.ListDatabases$ = exports.GetStatementResultV2$ = exports.GetStatementResult$ = exports.ExecuteStatement$ = exports.DescribeTable$ = exports.DescribeStatement$ = exports.CancelStatement$ = exports.BatchExecuteStatement$ = exports.QueryRecords$ = exports.Field$ = exports.TableMember$ = exports.SubStatementData$ = exports.StatementData$ = exports.SqlParameter$ = exports.ListTablesResponse$ = exports.ListTablesRequest$ = exports.ListStatementsResponse$ = exports.ListStatementsRequest$ = exports.ListSchemasResponse$ = exports.ListSchemasRequest$ = exports.ListDatabasesResponse$ = exports.ListDatabasesRequest$ = exports.GetStatementResultV2Response$ = exports.GetStatementResultV2Request$ = exports.GetStatementResultResponse$ = exports.GetStatementResultRequest$ = exports.ExecuteStatementOutput$ = exports.ExecuteStatementInput$ = exports.DescribeTableResponse$ = exports.DescribeTableRequest$ = exports.DescribeStatementResponse$ = exports.DescribeStatementRequest$ = exports.ColumnMetadata$ = exports.CancelStatementResponse$ = exports.CancelStatementRequest$ = exports.BatchExecuteStatementOutput$ = exports.BatchExecuteStatementInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ResourceNotFoundException$ = exports.QueryTimeoutException$ = exports.InternalServerException$ = exports.ExecuteStatementException$ = exports.DatabaseConnectionException$ = exports.BatchExecuteStatementException$ = exports.ActiveStatementsExceededException$ = exports.ActiveSessionsExceededException$ = exports.RedshiftDataServiceException$ = void 0;
4
+ exports.ListTables$ = void 0;
5
+ const _ASEE = "ActiveSessionsExceededException";
6
+ const _ASEEc = "ActiveStatementsExceededException";
7
+ const _BES = "BatchExecuteStatement";
8
+ const _BESE = "BatchExecuteStatementException";
9
+ const _BESI = "BatchExecuteStatementInput";
10
+ const _BESO = "BatchExecuteStatementOutput";
11
+ const _CA = "CreatedAt";
12
+ const _CD = "ConnectedDatabase";
13
+ const _CI = "ClusterIdentifier";
14
+ const _CL = "ColumnList";
15
+ const _CM = "ColumnMetadata";
16
+ const _CML = "ColumnMetadataList";
17
+ const _CS = "CancelStatement";
18
+ const _CSR = "CancelStatementRequest";
19
+ const _CSRa = "CancelStatementResponse";
20
+ const _CSVR = "CSVRecords";
21
+ const _CT = "ClientToken";
22
+ const _D = "Database";
23
+ const _DCE = "DatabaseConnectionException";
24
+ const _DG = "DbGroups";
25
+ const _DS = "DescribeStatement";
26
+ const _DSR = "DescribeStatementRequest";
27
+ const _DSRe = "DescribeStatementResponse";
28
+ const _DT = "DescribeTable";
29
+ const _DTR = "DescribeTableRequest";
30
+ const _DTRe = "DescribeTableResponse";
31
+ const _DU = "DbUser";
32
+ const _Da = "Databases";
33
+ const _Du = "Duration";
34
+ const _E = "Error";
35
+ const _ES = "ExecuteStatement";
36
+ const _ESE = "ExecuteStatementException";
37
+ const _ESI = "ExecuteStatementInput";
38
+ const _ESO = "ExecuteStatementOutput";
39
+ const _F = "Field";
40
+ const _FL = "FieldList";
41
+ const _FSR = "FormattedSqlRecords";
42
+ const _GSR = "GetStatementResult";
43
+ const _GSRR = "GetStatementResultRequest";
44
+ const _GSRRe = "GetStatementResultResponse";
45
+ const _GSRV = "GetStatementResultV2";
46
+ const _GSRVR = "GetStatementResultV2Request";
47
+ const _GSRVRe = "GetStatementResultV2Response";
48
+ const _HRS = "HasResultSet";
49
+ const _I = "Id";
50
+ const _IBS = "IsBatchStatement";
51
+ const _ISE = "InternalServerException";
52
+ const _LD = "ListDatabases";
53
+ const _LDR = "ListDatabasesRequest";
54
+ const _LDRi = "ListDatabasesResponse";
55
+ const _LS = "ListSchemas";
56
+ const _LSR = "ListSchemasRequest";
57
+ const _LSRi = "ListSchemasResponse";
58
+ const _LSRis = "ListStatementsRequest";
59
+ const _LSRist = "ListStatementsResponse";
60
+ const _LSi = "ListStatements";
61
+ const _LT = "ListTables";
62
+ const _LTR = "ListTablesRequest";
63
+ const _LTRi = "ListTablesResponse";
64
+ const _M = "Message";
65
+ const _MR = "MaxResults";
66
+ const _NT = "NextToken";
67
+ const _P = "Parameters";
68
+ const _QP = "QueryParameters";
69
+ const _QR = "QueryRecords";
70
+ const _QS = "QueryString";
71
+ const _QSu = "QueryStrings";
72
+ const _QTE = "QueryTimeoutException";
73
+ const _R = "Records";
74
+ const _RF = "ResultFormat";
75
+ const _RI = "ResourceId";
76
+ const _RL = "RoleLevel";
77
+ const _RNFE = "ResourceNotFoundException";
78
+ const _RP = "RedshiftPid";
79
+ const _RQI = "RedshiftQueryId";
80
+ const _RR = "ResultRows";
81
+ const _RS = "ResultSize";
82
+ const _S = "Sqls";
83
+ const _SA = "SecretArn";
84
+ const _SD = "StatementData";
85
+ const _SI = "StatementId";
86
+ const _SIe = "SessionId";
87
+ const _SKAS = "SessionKeepAliveSeconds";
88
+ const _SL = "StatementList";
89
+ const _SN = "StatementName";
90
+ const _SP = "SchemaPattern";
91
+ const _SPL = "SqlParametersList";
92
+ const _SPq = "SqlParameter";
93
+ const _SR = "SqlRecords";
94
+ const _SS = "SubStatements";
95
+ const _SSD = "SubStatementData";
96
+ const _SSL = "SubStatementList";
97
+ const _Sc = "Schema";
98
+ const _Sch = "Schemas";
99
+ const _Sq = "Sql";
100
+ const _St = "Status";
101
+ const _Sta = "Statements";
102
+ const _T = "Table";
103
+ const _TL = "TableList";
104
+ const _TM = "TableMember";
105
+ const _TN = "TableName";
106
+ const _TNR = "TotalNumRows";
107
+ const _TP = "TablePattern";
108
+ const _Ta = "Tables";
109
+ const _UA = "UpdatedAt";
110
+ const _VE = "ValidationException";
111
+ const _WE = "WithEvent";
112
+ const _WN = "WorkgroupName";
113
+ const _bV = "booleanValue";
114
+ const _bVl = "blobValue";
115
+ const _c = "client";
116
+ const _cD = "columnDefault";
117
+ const _dV = "doubleValue";
118
+ const _e = "error";
119
+ const _hE = "httpError";
120
+ const _iC = "isCurrency";
121
+ const _iCS = "isCaseSensitive";
122
+ const _iN = "isNull";
123
+ const _iS = "isSigned";
124
+ const _l = "label";
125
+ const _lV = "longValue";
126
+ const _le = "length";
127
+ const _n = "name";
128
+ const _nu = "nullable";
129
+ const _p = "precision";
130
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.redshiftdata";
131
+ const _sN = "schemaName";
132
+ const _sV = "stringValue";
133
+ const _sc = "scale";
134
+ const _sch = "schema";
135
+ const _se = "server";
136
+ const _t = "type";
137
+ const _tN = "tableName";
138
+ const _tNy = "typeName";
139
+ const _v = "value";
140
+ const n0 = "com.amazonaws.redshiftdata";
141
+ const schema_1 = require("@smithy/core/schema");
142
+ const errors_1 = require("../models/errors");
143
+ const RedshiftDataServiceException_1 = require("../models/RedshiftDataServiceException");
144
+ const _s_registry = schema_1.TypeRegistry.for(_s);
145
+ exports.RedshiftDataServiceException$ = [-3, _s, "RedshiftDataServiceException", 0, [], []];
146
+ _s_registry.registerError(exports.RedshiftDataServiceException$, RedshiftDataServiceException_1.RedshiftDataServiceException);
147
+ const n0_registry = schema_1.TypeRegistry.for(n0);
148
+ exports.ActiveSessionsExceededException$ = [-3, n0, _ASEE,
149
+ { [_e]: _c, [_hE]: 400 },
150
+ [_M],
151
+ [0]
152
+ ];
153
+ n0_registry.registerError(exports.ActiveSessionsExceededException$, errors_1.ActiveSessionsExceededException);
154
+ exports.ActiveStatementsExceededException$ = [-3, n0, _ASEEc,
155
+ { [_e]: _c, [_hE]: 400 },
156
+ [_M],
157
+ [0]
158
+ ];
159
+ n0_registry.registerError(exports.ActiveStatementsExceededException$, errors_1.ActiveStatementsExceededException);
160
+ exports.BatchExecuteStatementException$ = [-3, n0, _BESE,
161
+ { [_e]: _se, [_hE]: 500 },
162
+ [_M, _SI],
163
+ [0, 0], 2
164
+ ];
165
+ n0_registry.registerError(exports.BatchExecuteStatementException$, errors_1.BatchExecuteStatementException);
166
+ exports.DatabaseConnectionException$ = [-3, n0, _DCE,
167
+ { [_e]: _se, [_hE]: 500 },
168
+ [_M],
169
+ [0], 1
170
+ ];
171
+ n0_registry.registerError(exports.DatabaseConnectionException$, errors_1.DatabaseConnectionException);
172
+ exports.ExecuteStatementException$ = [-3, n0, _ESE,
173
+ { [_e]: _se, [_hE]: 500 },
174
+ [_M, _SI],
175
+ [0, 0], 2
176
+ ];
177
+ n0_registry.registerError(exports.ExecuteStatementException$, errors_1.ExecuteStatementException);
178
+ exports.InternalServerException$ = [-3, n0, _ISE,
179
+ { [_e]: _se, [_hE]: 500 },
180
+ [_M],
181
+ [0], 1
182
+ ];
183
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
184
+ exports.QueryTimeoutException$ = [-3, n0, _QTE,
185
+ { [_e]: _c, [_hE]: 400 },
186
+ [_M],
187
+ [0]
188
+ ];
189
+ n0_registry.registerError(exports.QueryTimeoutException$, errors_1.QueryTimeoutException);
190
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
191
+ { [_e]: _c, [_hE]: 404 },
192
+ [_M, _RI],
193
+ [0, 0], 2
194
+ ];
195
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
196
+ exports.ValidationException$ = [-3, n0, _VE,
197
+ { [_e]: _c, [_hE]: 400 },
198
+ [_M],
199
+ [0]
200
+ ];
201
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
202
+ exports.errorTypeRegistries = [
203
+ _s_registry,
204
+ n0_registry,
205
+ ];
206
+ exports.BatchExecuteStatementInput$ = [3, n0, _BESI,
207
+ 0,
208
+ [_S, _CI, _SA, _DU, _D, _WE, _SN, _WN, _CT, _RF, _SKAS, _SIe],
209
+ [64 | 0, 0, 0, 0, 0, 2, 0, 0, [0, 4], 0, 1, 0], 1
210
+ ];
211
+ exports.BatchExecuteStatementOutput$ = [3, n0, _BESO,
212
+ 0,
213
+ [_I, _CA, _CI, _DU, _DG, _D, _SA, _WN, _SIe],
214
+ [0, 4, 0, 0, 64 | 0, 0, 0, 0, 0]
215
+ ];
216
+ exports.CancelStatementRequest$ = [3, n0, _CSR,
217
+ 0,
218
+ [_I],
219
+ [0], 1
220
+ ];
221
+ exports.CancelStatementResponse$ = [3, n0, _CSRa,
222
+ 0,
223
+ [_St],
224
+ [2]
225
+ ];
226
+ exports.ColumnMetadata$ = [3, n0, _CM,
227
+ 0,
228
+ [_iCS, _iC, _iS, _l, _n, _nu, _p, _sc, _sN, _tN, _tNy, _le, _cD],
229
+ [2, 2, 2, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0]
230
+ ];
231
+ exports.DescribeStatementRequest$ = [3, n0, _DSR,
232
+ 0,
233
+ [_I],
234
+ [0], 1
235
+ ];
236
+ exports.DescribeStatementResponse$ = [3, n0, _DSRe,
237
+ 0,
238
+ [_I, _SA, _DU, _D, _CI, _Du, _E, _St, _CA, _UA, _RP, _HRS, _QS, _RR, _RS, _RQI, _QP, _SS, _WN, _RF, _SIe],
239
+ [0, 0, 0, 0, 0, 1, 0, 0, 4, 4, 1, 2, 0, 1, 1, 1, () => SqlParametersList, () => SubStatementList, 0, 0, 0], 1
240
+ ];
241
+ exports.DescribeTableRequest$ = [3, n0, _DTR,
242
+ 0,
243
+ [_D, _CI, _SA, _DU, _CD, _Sc, _T, _NT, _MR, _WN],
244
+ [0, 0, 0, 0, 0, 0, 0, 0, 1, 0], 1
245
+ ];
246
+ exports.DescribeTableResponse$ = [3, n0, _DTRe,
247
+ 0,
248
+ [_TN, _CL, _NT],
249
+ [0, () => ColumnList, 0]
250
+ ];
251
+ exports.ExecuteStatementInput$ = [3, n0, _ESI,
252
+ 0,
253
+ [_Sq, _CI, _SA, _DU, _D, _WE, _SN, _P, _WN, _CT, _RF, _SKAS, _SIe],
254
+ [0, 0, 0, 0, 0, 2, 0, () => SqlParametersList, 0, [0, 4], 0, 1, 0], 1
255
+ ];
256
+ exports.ExecuteStatementOutput$ = [3, n0, _ESO,
257
+ 0,
258
+ [_I, _CA, _CI, _DU, _DG, _D, _SA, _WN, _SIe],
259
+ [0, 4, 0, 0, 64 | 0, 0, 0, 0, 0]
260
+ ];
261
+ exports.GetStatementResultRequest$ = [3, n0, _GSRR,
262
+ 0,
263
+ [_I, _NT],
264
+ [0, 0], 1
265
+ ];
266
+ exports.GetStatementResultResponse$ = [3, n0, _GSRRe,
267
+ 0,
268
+ [_R, _CM, _TNR, _NT],
269
+ [() => SqlRecords, () => ColumnMetadataList, 1, 0], 1
270
+ ];
271
+ exports.GetStatementResultV2Request$ = [3, n0, _GSRVR,
272
+ 0,
273
+ [_I, _NT],
274
+ [0, 0], 1
275
+ ];
276
+ exports.GetStatementResultV2Response$ = [3, n0, _GSRVRe,
277
+ 0,
278
+ [_R, _CM, _TNR, _RF, _NT],
279
+ [() => FormattedSqlRecords, () => ColumnMetadataList, 1, 0, 0], 1
280
+ ];
281
+ exports.ListDatabasesRequest$ = [3, n0, _LDR,
282
+ 0,
283
+ [_D, _CI, _SA, _DU, _NT, _MR, _WN],
284
+ [0, 0, 0, 0, 0, 1, 0], 1
285
+ ];
286
+ exports.ListDatabasesResponse$ = [3, n0, _LDRi,
287
+ 0,
288
+ [_Da, _NT],
289
+ [64 | 0, 0]
290
+ ];
291
+ exports.ListSchemasRequest$ = [3, n0, _LSR,
292
+ 0,
293
+ [_D, _CI, _SA, _DU, _CD, _SP, _NT, _MR, _WN],
294
+ [0, 0, 0, 0, 0, 0, 0, 1, 0], 1
295
+ ];
296
+ exports.ListSchemasResponse$ = [3, n0, _LSRi,
297
+ 0,
298
+ [_Sch, _NT],
299
+ [64 | 0, 0]
300
+ ];
301
+ exports.ListStatementsRequest$ = [3, n0, _LSRis,
302
+ 0,
303
+ [_NT, _MR, _SN, _St, _RL, _D, _CI, _WN],
304
+ [0, 1, 0, 0, 2, 0, 0, 0]
305
+ ];
306
+ exports.ListStatementsResponse$ = [3, n0, _LSRist,
307
+ 0,
308
+ [_Sta, _NT],
309
+ [() => StatementList, 0], 1
310
+ ];
311
+ exports.ListTablesRequest$ = [3, n0, _LTR,
312
+ 0,
313
+ [_D, _CI, _SA, _DU, _CD, _SP, _TP, _NT, _MR, _WN],
314
+ [0, 0, 0, 0, 0, 0, 0, 0, 1, 0], 1
315
+ ];
316
+ exports.ListTablesResponse$ = [3, n0, _LTRi,
317
+ 0,
318
+ [_Ta, _NT],
319
+ [() => TableList, 0]
320
+ ];
321
+ exports.SqlParameter$ = [3, n0, _SPq,
322
+ 0,
323
+ [_n, _v],
324
+ [0, 0], 2
325
+ ];
326
+ exports.StatementData$ = [3, n0, _SD,
327
+ 0,
328
+ [_I, _QS, _QSu, _SA, _St, _SN, _CA, _UA, _QP, _IBS, _RF, _SIe],
329
+ [0, 0, 64 | 0, 0, 0, 0, 4, 4, () => SqlParametersList, 2, 0, 0], 1
330
+ ];
331
+ exports.SubStatementData$ = [3, n0, _SSD,
332
+ 0,
333
+ [_I, _Du, _E, _St, _CA, _UA, _QS, _RR, _RS, _RQI, _HRS],
334
+ [0, 1, 0, 0, 4, 4, 0, 1, 1, 1, 2], 1
335
+ ];
336
+ exports.TableMember$ = [3, n0, _TM,
337
+ 0,
338
+ [_n, _t, _sch],
339
+ [0, 0, 0]
340
+ ];
341
+ var ColumnList = [1, n0, _CL,
342
+ 0, () => exports.ColumnMetadata$
343
+ ];
344
+ var ColumnMetadataList = [1, n0, _CML,
345
+ 0, () => exports.ColumnMetadata$
346
+ ];
347
+ var DatabaseList = 64 | 0;
348
+ var DbGroupList = 64 | 0;
349
+ var FieldList = [1, n0, _FL,
350
+ 0, () => exports.Field$
351
+ ];
352
+ var FormattedSqlRecords = [1, n0, _FSR,
353
+ 0, () => exports.QueryRecords$
354
+ ];
355
+ var SchemaList = 64 | 0;
356
+ var SqlList = 64 | 0;
357
+ var SqlParametersList = [1, n0, _SPL,
358
+ 0, () => exports.SqlParameter$
359
+ ];
360
+ var SqlRecords = [1, n0, _SR,
361
+ 0, () => FieldList
362
+ ];
363
+ var StatementList = [1, n0, _SL,
364
+ 0, () => exports.StatementData$
365
+ ];
366
+ var StatementStringList = 64 | 0;
367
+ var SubStatementList = [1, n0, _SSL,
368
+ 0, () => exports.SubStatementData$
369
+ ];
370
+ var TableList = [1, n0, _TL,
371
+ 0, () => exports.TableMember$
372
+ ];
373
+ exports.Field$ = [4, n0, _F,
374
+ 0,
375
+ [_iN, _bV, _lV, _dV, _sV, _bVl],
376
+ [2, 2, 1, 1, 0, 21]
377
+ ];
378
+ exports.QueryRecords$ = [4, n0, _QR,
379
+ 0,
380
+ [_CSVR],
381
+ [0]
382
+ ];
383
+ exports.BatchExecuteStatement$ = [9, n0, _BES,
384
+ 0, () => exports.BatchExecuteStatementInput$, () => exports.BatchExecuteStatementOutput$
385
+ ];
386
+ exports.CancelStatement$ = [9, n0, _CS,
387
+ 0, () => exports.CancelStatementRequest$, () => exports.CancelStatementResponse$
388
+ ];
389
+ exports.DescribeStatement$ = [9, n0, _DS,
390
+ 0, () => exports.DescribeStatementRequest$, () => exports.DescribeStatementResponse$
391
+ ];
392
+ exports.DescribeTable$ = [9, n0, _DT,
393
+ 0, () => exports.DescribeTableRequest$, () => exports.DescribeTableResponse$
394
+ ];
395
+ exports.ExecuteStatement$ = [9, n0, _ES,
396
+ 0, () => exports.ExecuteStatementInput$, () => exports.ExecuteStatementOutput$
397
+ ];
398
+ exports.GetStatementResult$ = [9, n0, _GSR,
399
+ 0, () => exports.GetStatementResultRequest$, () => exports.GetStatementResultResponse$
400
+ ];
401
+ exports.GetStatementResultV2$ = [9, n0, _GSRV,
402
+ 0, () => exports.GetStatementResultV2Request$, () => exports.GetStatementResultV2Response$
403
+ ];
404
+ exports.ListDatabases$ = [9, n0, _LD,
405
+ 0, () => exports.ListDatabasesRequest$, () => exports.ListDatabasesResponse$
406
+ ];
407
+ exports.ListSchemas$ = [9, n0, _LS,
408
+ 0, () => exports.ListSchemasRequest$, () => exports.ListSchemasResponse$
409
+ ];
410
+ exports.ListStatements$ = [9, n0, _LSi,
411
+ 0, () => exports.ListStatementsRequest$, () => exports.ListStatementsResponse$
412
+ ];
413
+ exports.ListTables$ = [9, n0, _LT,
414
+ 0, () => exports.ListTablesRequest$, () => exports.ListTablesResponse$
415
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultRedshiftDataHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2019-12-20",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.redshiftdata",
30
+ errorTypeRegistries,
29
31
  version: "2019-12-20",
30
32
  serviceTarget: "RedshiftData",
31
33
  },