@aws-sdk/client-rds-data 3.987.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.RDSDataServiceException = 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 RDSDataServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, RDSDataServiceException.prototype);
10
+ }
11
+ }
12
+ exports.RDSDataServiceException = RDSDataServiceException;
@@ -0,0 +1,227 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnsupportedResultException = exports.NotFoundException = exports.TransactionNotFoundException = exports.StatementTimeoutException = exports.ServiceUnavailableError = exports.SecretsErrorException = exports.InvalidSecretException = exports.InvalidResourceStateException = exports.InternalServerErrorException = exports.HttpEndpointNotEnabledException = exports.ForbiddenException = exports.DatabaseUnavailableException = exports.DatabaseResumingException = exports.DatabaseNotFoundException = exports.DatabaseErrorException = exports.BadRequestException = exports.AccessDeniedException = void 0;
4
+ const RDSDataServiceException_1 = require("./RDSDataServiceException");
5
+ class AccessDeniedException extends RDSDataServiceException_1.RDSDataServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ }
16
+ }
17
+ exports.AccessDeniedException = AccessDeniedException;
18
+ class BadRequestException extends RDSDataServiceException_1.RDSDataServiceException {
19
+ name = "BadRequestException";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "BadRequestException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, BadRequestException.prototype);
28
+ }
29
+ }
30
+ exports.BadRequestException = BadRequestException;
31
+ class DatabaseErrorException extends RDSDataServiceException_1.RDSDataServiceException {
32
+ name = "DatabaseErrorException";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "DatabaseErrorException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, DatabaseErrorException.prototype);
41
+ }
42
+ }
43
+ exports.DatabaseErrorException = DatabaseErrorException;
44
+ class DatabaseNotFoundException extends RDSDataServiceException_1.RDSDataServiceException {
45
+ name = "DatabaseNotFoundException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "DatabaseNotFoundException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, DatabaseNotFoundException.prototype);
54
+ }
55
+ }
56
+ exports.DatabaseNotFoundException = DatabaseNotFoundException;
57
+ class DatabaseResumingException extends RDSDataServiceException_1.RDSDataServiceException {
58
+ name = "DatabaseResumingException";
59
+ $fault = "client";
60
+ constructor(opts) {
61
+ super({
62
+ name: "DatabaseResumingException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, DatabaseResumingException.prototype);
67
+ }
68
+ }
69
+ exports.DatabaseResumingException = DatabaseResumingException;
70
+ class DatabaseUnavailableException extends RDSDataServiceException_1.RDSDataServiceException {
71
+ name = "DatabaseUnavailableException";
72
+ $fault = "server";
73
+ constructor(opts) {
74
+ super({
75
+ name: "DatabaseUnavailableException",
76
+ $fault: "server",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, DatabaseUnavailableException.prototype);
80
+ }
81
+ }
82
+ exports.DatabaseUnavailableException = DatabaseUnavailableException;
83
+ class ForbiddenException extends RDSDataServiceException_1.RDSDataServiceException {
84
+ name = "ForbiddenException";
85
+ $fault = "client";
86
+ constructor(opts) {
87
+ super({
88
+ name: "ForbiddenException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
93
+ }
94
+ }
95
+ exports.ForbiddenException = ForbiddenException;
96
+ class HttpEndpointNotEnabledException extends RDSDataServiceException_1.RDSDataServiceException {
97
+ name = "HttpEndpointNotEnabledException";
98
+ $fault = "client";
99
+ constructor(opts) {
100
+ super({
101
+ name: "HttpEndpointNotEnabledException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, HttpEndpointNotEnabledException.prototype);
106
+ }
107
+ }
108
+ exports.HttpEndpointNotEnabledException = HttpEndpointNotEnabledException;
109
+ class InternalServerErrorException extends RDSDataServiceException_1.RDSDataServiceException {
110
+ name = "InternalServerErrorException";
111
+ $fault = "server";
112
+ constructor(opts) {
113
+ super({
114
+ name: "InternalServerErrorException",
115
+ $fault: "server",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
119
+ }
120
+ }
121
+ exports.InternalServerErrorException = InternalServerErrorException;
122
+ class InvalidResourceStateException extends RDSDataServiceException_1.RDSDataServiceException {
123
+ name = "InvalidResourceStateException";
124
+ $fault = "client";
125
+ constructor(opts) {
126
+ super({
127
+ name: "InvalidResourceStateException",
128
+ $fault: "client",
129
+ ...opts,
130
+ });
131
+ Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
132
+ }
133
+ }
134
+ exports.InvalidResourceStateException = InvalidResourceStateException;
135
+ class InvalidSecretException extends RDSDataServiceException_1.RDSDataServiceException {
136
+ name = "InvalidSecretException";
137
+ $fault = "client";
138
+ constructor(opts) {
139
+ super({
140
+ name: "InvalidSecretException",
141
+ $fault: "client",
142
+ ...opts,
143
+ });
144
+ Object.setPrototypeOf(this, InvalidSecretException.prototype);
145
+ }
146
+ }
147
+ exports.InvalidSecretException = InvalidSecretException;
148
+ class SecretsErrorException extends RDSDataServiceException_1.RDSDataServiceException {
149
+ name = "SecretsErrorException";
150
+ $fault = "client";
151
+ constructor(opts) {
152
+ super({
153
+ name: "SecretsErrorException",
154
+ $fault: "client",
155
+ ...opts,
156
+ });
157
+ Object.setPrototypeOf(this, SecretsErrorException.prototype);
158
+ }
159
+ }
160
+ exports.SecretsErrorException = SecretsErrorException;
161
+ class ServiceUnavailableError extends RDSDataServiceException_1.RDSDataServiceException {
162
+ name = "ServiceUnavailableError";
163
+ $fault = "server";
164
+ constructor(opts) {
165
+ super({
166
+ name: "ServiceUnavailableError",
167
+ $fault: "server",
168
+ ...opts,
169
+ });
170
+ Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
171
+ }
172
+ }
173
+ exports.ServiceUnavailableError = ServiceUnavailableError;
174
+ class StatementTimeoutException extends RDSDataServiceException_1.RDSDataServiceException {
175
+ name = "StatementTimeoutException";
176
+ $fault = "client";
177
+ dbConnectionId;
178
+ constructor(opts) {
179
+ super({
180
+ name: "StatementTimeoutException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, StatementTimeoutException.prototype);
185
+ this.dbConnectionId = opts.dbConnectionId;
186
+ }
187
+ }
188
+ exports.StatementTimeoutException = StatementTimeoutException;
189
+ class TransactionNotFoundException extends RDSDataServiceException_1.RDSDataServiceException {
190
+ name = "TransactionNotFoundException";
191
+ $fault = "client";
192
+ constructor(opts) {
193
+ super({
194
+ name: "TransactionNotFoundException",
195
+ $fault: "client",
196
+ ...opts,
197
+ });
198
+ Object.setPrototypeOf(this, TransactionNotFoundException.prototype);
199
+ }
200
+ }
201
+ exports.TransactionNotFoundException = TransactionNotFoundException;
202
+ class NotFoundException extends RDSDataServiceException_1.RDSDataServiceException {
203
+ name = "NotFoundException";
204
+ $fault = "client";
205
+ constructor(opts) {
206
+ super({
207
+ name: "NotFoundException",
208
+ $fault: "client",
209
+ ...opts,
210
+ });
211
+ Object.setPrototypeOf(this, NotFoundException.prototype);
212
+ }
213
+ }
214
+ exports.NotFoundException = NotFoundException;
215
+ class UnsupportedResultException extends RDSDataServiceException_1.RDSDataServiceException {
216
+ name = "UnsupportedResultException";
217
+ $fault = "client";
218
+ constructor(opts) {
219
+ super({
220
+ name: "UnsupportedResultException",
221
+ $fault: "client",
222
+ ...opts,
223
+ });
224
+ Object.setPrototypeOf(this, UnsupportedResultException.prototype);
225
+ }
226
+ }
227
+ exports.UnsupportedResultException = UnsupportedResultException;
@@ -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: "2018-08-01",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.rdsdata",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2018-08-01",
33
35
  serviceTarget: "RdsDataService",
34
36
  },
@@ -0,0 +1,421 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RollbackTransaction$ = exports.ExecuteStatement$ = exports.ExecuteSql$ = exports.CommitTransaction$ = exports.BeginTransaction$ = exports.BatchExecuteStatement$ = exports.Value$ = exports.Field$ = exports.ArrayValue$ = exports.UpdateResult$ = exports.StructValue$ = exports.SqlStatementResult$ = exports.SqlParameter$ = exports.RollbackTransactionResponse$ = exports.RollbackTransactionRequest$ = exports.ResultSetOptions$ = exports.ResultSetMetadata$ = exports.ResultFrame$ = exports._Record$ = exports.ExecuteStatementResponse$ = exports.ExecuteStatementRequest$ = exports.ExecuteSqlResponse$ = exports.ExecuteSqlRequest$ = exports.CommitTransactionResponse$ = exports.CommitTransactionRequest$ = exports.ColumnMetadata$ = exports.BeginTransactionResponse$ = exports.BeginTransactionRequest$ = exports.BatchExecuteStatementResponse$ = exports.BatchExecuteStatementRequest$ = exports.errorTypeRegistries = exports.UnsupportedResultException$ = exports.TransactionNotFoundException$ = exports.StatementTimeoutException$ = exports.ServiceUnavailableError$ = exports.SecretsErrorException$ = exports.NotFoundException$ = exports.InvalidSecretException$ = exports.InvalidResourceStateException$ = exports.InternalServerErrorException$ = exports.HttpEndpointNotEnabledException$ = exports.ForbiddenException$ = exports.DatabaseUnavailableException$ = exports.DatabaseResumingException$ = exports.DatabaseNotFoundException$ = exports.DatabaseErrorException$ = exports.BadRequestException$ = exports.AccessDeniedException$ = exports.RDSDataServiceException$ = void 0;
4
+ const _ADE = "AccessDeniedException";
5
+ const _AOA = "ArrayOfArray";
6
+ const _AV = "ArrayValue";
7
+ const _AVL = "ArrayValueList";
8
+ const _BES = "BatchExecuteStatement";
9
+ const _BESR = "BatchExecuteStatementRequest";
10
+ const _BESRa = "BatchExecuteStatementResponse";
11
+ const _BRE = "BadRequestException";
12
+ const _BT = "BeginTransaction";
13
+ const _BTR = "BeginTransactionRequest";
14
+ const _BTRe = "BeginTransactionResponse";
15
+ const _CM = "ColumnMetadata";
16
+ const _CT = "CommitTransaction";
17
+ const _CTR = "CommitTransactionRequest";
18
+ const _CTRo = "CommitTransactionResponse";
19
+ const _DEE = "DatabaseErrorException";
20
+ const _DNFE = "DatabaseNotFoundException";
21
+ const _DRE = "DatabaseResumingException";
22
+ const _DUE = "DatabaseUnavailableException";
23
+ const _ES = "ExecuteSql";
24
+ const _ESR = "ExecuteSqlRequest";
25
+ const _ESRx = "ExecuteSqlResponse";
26
+ const _ESRxe = "ExecuteStatementRequest";
27
+ const _ESRxec = "ExecuteStatementResponse";
28
+ const _ESx = "ExecuteStatement";
29
+ const _F = "Field";
30
+ const _FE = "ForbiddenException";
31
+ const _FL = "FieldList";
32
+ const _HENEE = "HttpEndpointNotEnabledException";
33
+ const _IRSE = "InvalidResourceStateException";
34
+ const _ISE = "InvalidSecretException";
35
+ const _ISEE = "InternalServerErrorException";
36
+ const _M = "Metadata";
37
+ const _NFE = "NotFoundException";
38
+ const _R = "Record";
39
+ const _RF = "ResultFrame";
40
+ const _RSM = "ResultSetMetadata";
41
+ const _RSO = "ResultSetOptions";
42
+ const _RT = "RollbackTransaction";
43
+ const _RTR = "RollbackTransactionRequest";
44
+ const _RTRo = "RollbackTransactionResponse";
45
+ const _Re = "Records";
46
+ const _Ro = "Row";
47
+ const _SEE = "SecretsErrorException";
48
+ const _SP = "SqlParameter";
49
+ const _SPL = "SqlParametersList";
50
+ const _SPS = "SqlParameterSets";
51
+ const _SR = "SqlRecords";
52
+ const _SSR = "SqlStatementResult";
53
+ const _SSRq = "SqlStatementResults";
54
+ const _STE = "StatementTimeoutException";
55
+ const _SUE = "ServiceUnavailableError";
56
+ const _SV = "StructValue";
57
+ const _TNFE = "TransactionNotFoundException";
58
+ const _UR = "UpdateResult";
59
+ const _URE = "UnsupportedResultException";
60
+ const _URp = "UpdateResults";
61
+ const _V = "Value";
62
+ const _a = "attributes";
63
+ const _aBCT = "arrayBaseColumnType";
64
+ const _aSSA = "awsSecretStoreArn";
65
+ const _aV = "arrayValues";
66
+ const _aVr = "arrayValue";
67
+ const _bIV = "bigIntValue";
68
+ const _bV = "booleanValues";
69
+ const _bVi = "bitValue";
70
+ const _bVl = "blobValue";
71
+ const _bVo = "booleanValue";
72
+ const _c = "client";
73
+ const _cAT = "continueAfterTimeout";
74
+ const _cC = "columnCount";
75
+ const _cM = "columnMetadata";
76
+ const _d = "database";
77
+ const _dCI = "dbConnectionId";
78
+ const _dCOIA = "dbClusterOrInstanceArn";
79
+ const _dRT = "decimalReturnType";
80
+ const _dV = "doubleValues";
81
+ const _dVo = "doubleValue";
82
+ const _e = "error";
83
+ const _fR = "formattedRecords";
84
+ const _fRA = "formatRecordsAs";
85
+ const _gF = "generatedFields";
86
+ const _h = "http";
87
+ const _hE = "httpError";
88
+ const _iAI = "isAutoIncrement";
89
+ const _iC = "isCurrency";
90
+ const _iCS = "isCaseSensitive";
91
+ const _iN = "isNull";
92
+ const _iRM = "includeResultMetadata";
93
+ const _iS = "isSigned";
94
+ const _iV = "intValue";
95
+ const _l = "label";
96
+ const _lRT = "longReturnType";
97
+ const _lV = "longValues";
98
+ const _lVo = "longValue";
99
+ const _m = "message";
100
+ const _n = "name";
101
+ const _nORU = "numberOfRecordsUpdated";
102
+ const _nu = "nullable";
103
+ const _p = "precision";
104
+ const _pS = "parameterSets";
105
+ const _pa = "parameters";
106
+ const _r = "records";
107
+ const _rA = "resourceArn";
108
+ const _rF = "resultFrame";
109
+ const _rSM = "resultSetMetadata";
110
+ const _rSO = "resultSetOptions";
111
+ const _rV = "realValue";
112
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.rdsdata";
113
+ const _sA = "secretArn";
114
+ const _sN = "schemaName";
115
+ const _sS = "sqlStatements";
116
+ const _sSR = "sqlStatementResults";
117
+ const _sV = "stringValues";
118
+ const _sVt = "stringValue";
119
+ const _sVtr = "structValue";
120
+ const _sc = "schema";
121
+ const _sca = "scale";
122
+ const _se = "server";
123
+ const _sq = "sql";
124
+ const _t = "type";
125
+ const _tH = "typeHint";
126
+ const _tI = "transactionId";
127
+ const _tN = "typeName";
128
+ const _tNa = "tableName";
129
+ const _tS = "transactionStatus";
130
+ const _uR = "updateResults";
131
+ const _v = "values";
132
+ const _va = "value";
133
+ const n0 = "com.amazonaws.rdsdata";
134
+ const schema_1 = require("@smithy/core/schema");
135
+ const errors_1 = require("../models/errors");
136
+ const RDSDataServiceException_1 = require("../models/RDSDataServiceException");
137
+ const _s_registry = schema_1.TypeRegistry.for(_s);
138
+ exports.RDSDataServiceException$ = [-3, _s, "RDSDataServiceException", 0, [], []];
139
+ _s_registry.registerError(exports.RDSDataServiceException$, RDSDataServiceException_1.RDSDataServiceException);
140
+ const n0_registry = schema_1.TypeRegistry.for(n0);
141
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
142
+ { [_e]: _c, [_hE]: 403 },
143
+ [_m],
144
+ [0]
145
+ ];
146
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
147
+ exports.BadRequestException$ = [-3, n0, _BRE,
148
+ { [_e]: _c, [_hE]: 400 },
149
+ [_m],
150
+ [0]
151
+ ];
152
+ n0_registry.registerError(exports.BadRequestException$, errors_1.BadRequestException);
153
+ exports.DatabaseErrorException$ = [-3, n0, _DEE,
154
+ { [_e]: _c, [_hE]: 400 },
155
+ [_m],
156
+ [0]
157
+ ];
158
+ n0_registry.registerError(exports.DatabaseErrorException$, errors_1.DatabaseErrorException);
159
+ exports.DatabaseNotFoundException$ = [-3, n0, _DNFE,
160
+ { [_e]: _c, [_hE]: 404 },
161
+ [_m],
162
+ [0]
163
+ ];
164
+ n0_registry.registerError(exports.DatabaseNotFoundException$, errors_1.DatabaseNotFoundException);
165
+ exports.DatabaseResumingException$ = [-3, n0, _DRE,
166
+ { [_e]: _c, [_hE]: 400 },
167
+ [_m],
168
+ [0]
169
+ ];
170
+ n0_registry.registerError(exports.DatabaseResumingException$, errors_1.DatabaseResumingException);
171
+ exports.DatabaseUnavailableException$ = [-3, n0, _DUE,
172
+ { [_e]: _se, [_hE]: 504 },
173
+ [],
174
+ []
175
+ ];
176
+ n0_registry.registerError(exports.DatabaseUnavailableException$, errors_1.DatabaseUnavailableException);
177
+ exports.ForbiddenException$ = [-3, n0, _FE,
178
+ { [_e]: _c, [_hE]: 403 },
179
+ [_m],
180
+ [0]
181
+ ];
182
+ n0_registry.registerError(exports.ForbiddenException$, errors_1.ForbiddenException);
183
+ exports.HttpEndpointNotEnabledException$ = [-3, n0, _HENEE,
184
+ { [_e]: _c, [_hE]: 400 },
185
+ [_m],
186
+ [0]
187
+ ];
188
+ n0_registry.registerError(exports.HttpEndpointNotEnabledException$, errors_1.HttpEndpointNotEnabledException);
189
+ exports.InternalServerErrorException$ = [-3, n0, _ISEE,
190
+ { [_e]: _se, [_hE]: 500 },
191
+ [],
192
+ []
193
+ ];
194
+ n0_registry.registerError(exports.InternalServerErrorException$, errors_1.InternalServerErrorException);
195
+ exports.InvalidResourceStateException$ = [-3, n0, _IRSE,
196
+ { [_e]: _c, [_hE]: 400 },
197
+ [_m],
198
+ [0]
199
+ ];
200
+ n0_registry.registerError(exports.InvalidResourceStateException$, errors_1.InvalidResourceStateException);
201
+ exports.InvalidSecretException$ = [-3, n0, _ISE,
202
+ { [_e]: _c, [_hE]: 400 },
203
+ [_m],
204
+ [0]
205
+ ];
206
+ n0_registry.registerError(exports.InvalidSecretException$, errors_1.InvalidSecretException);
207
+ exports.NotFoundException$ = [-3, n0, _NFE,
208
+ { [_e]: _c, [_hE]: 404 },
209
+ [_m],
210
+ [0]
211
+ ];
212
+ n0_registry.registerError(exports.NotFoundException$, errors_1.NotFoundException);
213
+ exports.SecretsErrorException$ = [-3, n0, _SEE,
214
+ { [_e]: _c, [_hE]: 400 },
215
+ [_m],
216
+ [0]
217
+ ];
218
+ n0_registry.registerError(exports.SecretsErrorException$, errors_1.SecretsErrorException);
219
+ exports.ServiceUnavailableError$ = [-3, n0, _SUE,
220
+ { [_e]: _se, [_hE]: 503 },
221
+ [],
222
+ []
223
+ ];
224
+ n0_registry.registerError(exports.ServiceUnavailableError$, errors_1.ServiceUnavailableError);
225
+ exports.StatementTimeoutException$ = [-3, n0, _STE,
226
+ { [_e]: _c, [_hE]: 400 },
227
+ [_m, _dCI],
228
+ [0, 1]
229
+ ];
230
+ n0_registry.registerError(exports.StatementTimeoutException$, errors_1.StatementTimeoutException);
231
+ exports.TransactionNotFoundException$ = [-3, n0, _TNFE,
232
+ { [_e]: _c, [_hE]: 404 },
233
+ [_m],
234
+ [0]
235
+ ];
236
+ n0_registry.registerError(exports.TransactionNotFoundException$, errors_1.TransactionNotFoundException);
237
+ exports.UnsupportedResultException$ = [-3, n0, _URE,
238
+ { [_e]: _c, [_hE]: 400 },
239
+ [_m],
240
+ [0]
241
+ ];
242
+ n0_registry.registerError(exports.UnsupportedResultException$, errors_1.UnsupportedResultException);
243
+ exports.errorTypeRegistries = [
244
+ _s_registry,
245
+ n0_registry,
246
+ ];
247
+ exports.BatchExecuteStatementRequest$ = [3, n0, _BESR,
248
+ 0,
249
+ [_rA, _sA, _sq, _d, _sc, _pS, _tI],
250
+ [0, 0, 0, 0, 0, () => SqlParameterSets, 0], 3
251
+ ];
252
+ exports.BatchExecuteStatementResponse$ = [3, n0, _BESRa,
253
+ 0,
254
+ [_uR],
255
+ [() => UpdateResults]
256
+ ];
257
+ exports.BeginTransactionRequest$ = [3, n0, _BTR,
258
+ 0,
259
+ [_rA, _sA, _d, _sc],
260
+ [0, 0, 0, 0], 2
261
+ ];
262
+ exports.BeginTransactionResponse$ = [3, n0, _BTRe,
263
+ 0,
264
+ [_tI],
265
+ [0]
266
+ ];
267
+ exports.ColumnMetadata$ = [3, n0, _CM,
268
+ 0,
269
+ [_n, _t, _tN, _l, _sN, _tNa, _iAI, _iS, _iC, _iCS, _nu, _p, _sca, _aBCT],
270
+ [0, 1, 0, 0, 0, 0, 2, 2, 2, 2, 1, 1, 1, 1]
271
+ ];
272
+ exports.CommitTransactionRequest$ = [3, n0, _CTR,
273
+ 0,
274
+ [_rA, _sA, _tI],
275
+ [0, 0, 0], 3
276
+ ];
277
+ exports.CommitTransactionResponse$ = [3, n0, _CTRo,
278
+ 0,
279
+ [_tS],
280
+ [0]
281
+ ];
282
+ exports.ExecuteSqlRequest$ = [3, n0, _ESR,
283
+ 0,
284
+ [_dCOIA, _aSSA, _sS, _d, _sc],
285
+ [0, 0, 0, 0, 0], 3
286
+ ];
287
+ exports.ExecuteSqlResponse$ = [3, n0, _ESRx,
288
+ 0,
289
+ [_sSR],
290
+ [() => SqlStatementResults]
291
+ ];
292
+ exports.ExecuteStatementRequest$ = [3, n0, _ESRxe,
293
+ 0,
294
+ [_rA, _sA, _sq, _d, _sc, _pa, _tI, _iRM, _cAT, _rSO, _fRA],
295
+ [0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => exports.ResultSetOptions$, 0], 3
296
+ ];
297
+ exports.ExecuteStatementResponse$ = [3, n0, _ESRxec,
298
+ 0,
299
+ [_r, _cM, _nORU, _gF, _fR],
300
+ [() => SqlRecords, () => Metadata, 1, () => FieldList, 0]
301
+ ];
302
+ exports._Record$ = [3, n0, _R,
303
+ 0,
304
+ [_v],
305
+ [() => Row]
306
+ ];
307
+ exports.ResultFrame$ = [3, n0, _RF,
308
+ 0,
309
+ [_rSM, _r],
310
+ [() => exports.ResultSetMetadata$, () => Records]
311
+ ];
312
+ exports.ResultSetMetadata$ = [3, n0, _RSM,
313
+ 0,
314
+ [_cC, _cM],
315
+ [1, () => Metadata]
316
+ ];
317
+ exports.ResultSetOptions$ = [3, n0, _RSO,
318
+ 0,
319
+ [_dRT, _lRT],
320
+ [0, 0]
321
+ ];
322
+ exports.RollbackTransactionRequest$ = [3, n0, _RTR,
323
+ 0,
324
+ [_rA, _sA, _tI],
325
+ [0, 0, 0], 3
326
+ ];
327
+ exports.RollbackTransactionResponse$ = [3, n0, _RTRo,
328
+ 0,
329
+ [_tS],
330
+ [0]
331
+ ];
332
+ exports.SqlParameter$ = [3, n0, _SP,
333
+ 0,
334
+ [_n, _va, _tH],
335
+ [0, () => exports.Field$, 0]
336
+ ];
337
+ exports.SqlStatementResult$ = [3, n0, _SSR,
338
+ 0,
339
+ [_rF, _nORU],
340
+ [() => exports.ResultFrame$, 1]
341
+ ];
342
+ exports.StructValue$ = [3, n0, _SV,
343
+ 0,
344
+ [_a],
345
+ [() => ArrayValueList]
346
+ ];
347
+ exports.UpdateResult$ = [3, n0, _UR,
348
+ 0,
349
+ [_gF],
350
+ [() => FieldList]
351
+ ];
352
+ var ArrayOfArray = [1, n0, _AOA,
353
+ 0, () => exports.ArrayValue$
354
+ ];
355
+ var ArrayValueList = [1, n0, _AVL,
356
+ 0, () => exports.Value$
357
+ ];
358
+ var BooleanArray = 64 | 2;
359
+ var DoubleArray = 64 | 1;
360
+ var FieldList = [1, n0, _FL,
361
+ 0, () => exports.Field$
362
+ ];
363
+ var LongArray = 64 | 1;
364
+ var Metadata = [1, n0, _M,
365
+ 0, () => exports.ColumnMetadata$
366
+ ];
367
+ var Records = [1, n0, _Re,
368
+ 0, () => exports._Record$
369
+ ];
370
+ var Row = [1, n0, _Ro,
371
+ 0, () => exports.Value$
372
+ ];
373
+ var SqlParameterSets = [1, n0, _SPS,
374
+ 0, () => SqlParametersList
375
+ ];
376
+ var SqlParametersList = [1, n0, _SPL,
377
+ 0, () => exports.SqlParameter$
378
+ ];
379
+ var SqlRecords = [1, n0, _SR,
380
+ 0, () => FieldList
381
+ ];
382
+ var SqlStatementResults = [1, n0, _SSRq,
383
+ 0, () => exports.SqlStatementResult$
384
+ ];
385
+ var StringArray = 64 | 0;
386
+ var UpdateResults = [1, n0, _URp,
387
+ 0, () => exports.UpdateResult$
388
+ ];
389
+ exports.ArrayValue$ = [4, n0, _AV,
390
+ 0,
391
+ [_bV, _lV, _dV, _sV, _aV],
392
+ [64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray]
393
+ ];
394
+ exports.Field$ = [4, n0, _F,
395
+ 0,
396
+ [_iN, _bVo, _lVo, _dVo, _sVt, _bVl, _aVr],
397
+ [2, 2, 1, 1, 0, 21, () => exports.ArrayValue$]
398
+ ];
399
+ exports.Value$ = [4, n0, _V,
400
+ 0,
401
+ [_iN, _bVi, _bIV, _iV, _dVo, _rV, _sVt, _bVl, _aV, _sVtr],
402
+ [2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => exports.StructValue$]
403
+ ];
404
+ exports.BatchExecuteStatement$ = [9, n0, _BES,
405
+ { [_h]: ["POST", "/BatchExecute", 200] }, () => exports.BatchExecuteStatementRequest$, () => exports.BatchExecuteStatementResponse$
406
+ ];
407
+ exports.BeginTransaction$ = [9, n0, _BT,
408
+ { [_h]: ["POST", "/BeginTransaction", 200] }, () => exports.BeginTransactionRequest$, () => exports.BeginTransactionResponse$
409
+ ];
410
+ exports.CommitTransaction$ = [9, n0, _CT,
411
+ { [_h]: ["POST", "/CommitTransaction", 200] }, () => exports.CommitTransactionRequest$, () => exports.CommitTransactionResponse$
412
+ ];
413
+ exports.ExecuteSql$ = [9, n0, _ES,
414
+ { [_h]: ["POST", "/ExecuteSql", 200] }, () => exports.ExecuteSqlRequest$, () => exports.ExecuteSqlResponse$
415
+ ];
416
+ exports.ExecuteStatement$ = [9, n0, _ESx,
417
+ { [_h]: ["POST", "/Execute", 200] }, () => exports.ExecuteStatementRequest$, () => exports.ExecuteStatementResponse$
418
+ ];
419
+ exports.RollbackTransaction$ = [9, n0, _RT,
420
+ { [_h]: ["POST", "/RollbackTransaction", 200] }, () => exports.RollbackTransactionRequest$, () => exports.RollbackTransactionResponse$
421
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultRDSDataHttpAuthSchemeProvider } 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: "2018-08-01",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.rdsdata",
30
+ errorTypeRegistries,
29
31
  version: "2018-08-01",
30
32
  serviceTarget: "RdsDataService",
31
33
  },