@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.
package/dist-cjs/index.js CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var RDSDataServiceException = require('./models/RDSDataServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,626 +113,6 @@ class RDSDataClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class RDSDataServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, RDSDataServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends RDSDataServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "AccessDeniedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
- }
131
- }
132
- class BadRequestException extends RDSDataServiceException {
133
- name = "BadRequestException";
134
- $fault = "client";
135
- constructor(opts) {
136
- super({
137
- name: "BadRequestException",
138
- $fault: "client",
139
- ...opts,
140
- });
141
- Object.setPrototypeOf(this, BadRequestException.prototype);
142
- }
143
- }
144
- class DatabaseErrorException extends RDSDataServiceException {
145
- name = "DatabaseErrorException";
146
- $fault = "client";
147
- constructor(opts) {
148
- super({
149
- name: "DatabaseErrorException",
150
- $fault: "client",
151
- ...opts,
152
- });
153
- Object.setPrototypeOf(this, DatabaseErrorException.prototype);
154
- }
155
- }
156
- class DatabaseNotFoundException extends RDSDataServiceException {
157
- name = "DatabaseNotFoundException";
158
- $fault = "client";
159
- constructor(opts) {
160
- super({
161
- name: "DatabaseNotFoundException",
162
- $fault: "client",
163
- ...opts,
164
- });
165
- Object.setPrototypeOf(this, DatabaseNotFoundException.prototype);
166
- }
167
- }
168
- class DatabaseResumingException extends RDSDataServiceException {
169
- name = "DatabaseResumingException";
170
- $fault = "client";
171
- constructor(opts) {
172
- super({
173
- name: "DatabaseResumingException",
174
- $fault: "client",
175
- ...opts,
176
- });
177
- Object.setPrototypeOf(this, DatabaseResumingException.prototype);
178
- }
179
- }
180
- class DatabaseUnavailableException extends RDSDataServiceException {
181
- name = "DatabaseUnavailableException";
182
- $fault = "server";
183
- constructor(opts) {
184
- super({
185
- name: "DatabaseUnavailableException",
186
- $fault: "server",
187
- ...opts,
188
- });
189
- Object.setPrototypeOf(this, DatabaseUnavailableException.prototype);
190
- }
191
- }
192
- class ForbiddenException extends RDSDataServiceException {
193
- name = "ForbiddenException";
194
- $fault = "client";
195
- constructor(opts) {
196
- super({
197
- name: "ForbiddenException",
198
- $fault: "client",
199
- ...opts,
200
- });
201
- Object.setPrototypeOf(this, ForbiddenException.prototype);
202
- }
203
- }
204
- class HttpEndpointNotEnabledException extends RDSDataServiceException {
205
- name = "HttpEndpointNotEnabledException";
206
- $fault = "client";
207
- constructor(opts) {
208
- super({
209
- name: "HttpEndpointNotEnabledException",
210
- $fault: "client",
211
- ...opts,
212
- });
213
- Object.setPrototypeOf(this, HttpEndpointNotEnabledException.prototype);
214
- }
215
- }
216
- class InternalServerErrorException extends RDSDataServiceException {
217
- name = "InternalServerErrorException";
218
- $fault = "server";
219
- constructor(opts) {
220
- super({
221
- name: "InternalServerErrorException",
222
- $fault: "server",
223
- ...opts,
224
- });
225
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
226
- }
227
- }
228
- class InvalidResourceStateException extends RDSDataServiceException {
229
- name = "InvalidResourceStateException";
230
- $fault = "client";
231
- constructor(opts) {
232
- super({
233
- name: "InvalidResourceStateException",
234
- $fault: "client",
235
- ...opts,
236
- });
237
- Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
238
- }
239
- }
240
- class InvalidSecretException extends RDSDataServiceException {
241
- name = "InvalidSecretException";
242
- $fault = "client";
243
- constructor(opts) {
244
- super({
245
- name: "InvalidSecretException",
246
- $fault: "client",
247
- ...opts,
248
- });
249
- Object.setPrototypeOf(this, InvalidSecretException.prototype);
250
- }
251
- }
252
- class SecretsErrorException extends RDSDataServiceException {
253
- name = "SecretsErrorException";
254
- $fault = "client";
255
- constructor(opts) {
256
- super({
257
- name: "SecretsErrorException",
258
- $fault: "client",
259
- ...opts,
260
- });
261
- Object.setPrototypeOf(this, SecretsErrorException.prototype);
262
- }
263
- }
264
- class ServiceUnavailableError extends RDSDataServiceException {
265
- name = "ServiceUnavailableError";
266
- $fault = "server";
267
- constructor(opts) {
268
- super({
269
- name: "ServiceUnavailableError",
270
- $fault: "server",
271
- ...opts,
272
- });
273
- Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
274
- }
275
- }
276
- class StatementTimeoutException extends RDSDataServiceException {
277
- name = "StatementTimeoutException";
278
- $fault = "client";
279
- dbConnectionId;
280
- constructor(opts) {
281
- super({
282
- name: "StatementTimeoutException",
283
- $fault: "client",
284
- ...opts,
285
- });
286
- Object.setPrototypeOf(this, StatementTimeoutException.prototype);
287
- this.dbConnectionId = opts.dbConnectionId;
288
- }
289
- }
290
- class TransactionNotFoundException extends RDSDataServiceException {
291
- name = "TransactionNotFoundException";
292
- $fault = "client";
293
- constructor(opts) {
294
- super({
295
- name: "TransactionNotFoundException",
296
- $fault: "client",
297
- ...opts,
298
- });
299
- Object.setPrototypeOf(this, TransactionNotFoundException.prototype);
300
- }
301
- }
302
- class NotFoundException extends RDSDataServiceException {
303
- name = "NotFoundException";
304
- $fault = "client";
305
- constructor(opts) {
306
- super({
307
- name: "NotFoundException",
308
- $fault: "client",
309
- ...opts,
310
- });
311
- Object.setPrototypeOf(this, NotFoundException.prototype);
312
- }
313
- }
314
- class UnsupportedResultException extends RDSDataServiceException {
315
- name = "UnsupportedResultException";
316
- $fault = "client";
317
- constructor(opts) {
318
- super({
319
- name: "UnsupportedResultException",
320
- $fault: "client",
321
- ...opts,
322
- });
323
- Object.setPrototypeOf(this, UnsupportedResultException.prototype);
324
- }
325
- }
326
-
327
- const _ADE = "AccessDeniedException";
328
- const _AOA = "ArrayOfArray";
329
- const _AV = "ArrayValue";
330
- const _AVL = "ArrayValueList";
331
- const _BES = "BatchExecuteStatement";
332
- const _BESR = "BatchExecuteStatementRequest";
333
- const _BESRa = "BatchExecuteStatementResponse";
334
- const _BRE = "BadRequestException";
335
- const _BT = "BeginTransaction";
336
- const _BTR = "BeginTransactionRequest";
337
- const _BTRe = "BeginTransactionResponse";
338
- const _CM = "ColumnMetadata";
339
- const _CT = "CommitTransaction";
340
- const _CTR = "CommitTransactionRequest";
341
- const _CTRo = "CommitTransactionResponse";
342
- const _DEE = "DatabaseErrorException";
343
- const _DNFE = "DatabaseNotFoundException";
344
- const _DRE = "DatabaseResumingException";
345
- const _DUE = "DatabaseUnavailableException";
346
- const _ES = "ExecuteSql";
347
- const _ESR = "ExecuteSqlRequest";
348
- const _ESRx = "ExecuteSqlResponse";
349
- const _ESRxe = "ExecuteStatementRequest";
350
- const _ESRxec = "ExecuteStatementResponse";
351
- const _ESx = "ExecuteStatement";
352
- const _F = "Field";
353
- const _FE = "ForbiddenException";
354
- const _FL = "FieldList";
355
- const _HENEE = "HttpEndpointNotEnabledException";
356
- const _IRSE = "InvalidResourceStateException";
357
- const _ISE = "InvalidSecretException";
358
- const _ISEE = "InternalServerErrorException";
359
- const _M = "Metadata";
360
- const _NFE = "NotFoundException";
361
- const _R = "Record";
362
- const _RF = "ResultFrame";
363
- const _RSM = "ResultSetMetadata";
364
- const _RSO = "ResultSetOptions";
365
- const _RT = "RollbackTransaction";
366
- const _RTR = "RollbackTransactionRequest";
367
- const _RTRo = "RollbackTransactionResponse";
368
- const _Re = "Records";
369
- const _Ro = "Row";
370
- const _SEE = "SecretsErrorException";
371
- const _SP = "SqlParameter";
372
- const _SPL = "SqlParametersList";
373
- const _SPS = "SqlParameterSets";
374
- const _SR = "SqlRecords";
375
- const _SSR = "SqlStatementResult";
376
- const _SSRq = "SqlStatementResults";
377
- const _STE = "StatementTimeoutException";
378
- const _SUE = "ServiceUnavailableError";
379
- const _SV = "StructValue";
380
- const _TNFE = "TransactionNotFoundException";
381
- const _UR = "UpdateResult";
382
- const _URE = "UnsupportedResultException";
383
- const _URp = "UpdateResults";
384
- const _V = "Value";
385
- const _a = "attributes";
386
- const _aBCT = "arrayBaseColumnType";
387
- const _aSSA = "awsSecretStoreArn";
388
- const _aV = "arrayValues";
389
- const _aVr = "arrayValue";
390
- const _bIV = "bigIntValue";
391
- const _bV = "booleanValues";
392
- const _bVi = "bitValue";
393
- const _bVl = "blobValue";
394
- const _bVo = "booleanValue";
395
- const _c = "client";
396
- const _cAT = "continueAfterTimeout";
397
- const _cC = "columnCount";
398
- const _cM = "columnMetadata";
399
- const _d = "database";
400
- const _dCI = "dbConnectionId";
401
- const _dCOIA = "dbClusterOrInstanceArn";
402
- const _dRT = "decimalReturnType";
403
- const _dV = "doubleValues";
404
- const _dVo = "doubleValue";
405
- const _e = "error";
406
- const _fR = "formattedRecords";
407
- const _fRA = "formatRecordsAs";
408
- const _gF = "generatedFields";
409
- const _h = "http";
410
- const _hE = "httpError";
411
- const _iAI = "isAutoIncrement";
412
- const _iC = "isCurrency";
413
- const _iCS = "isCaseSensitive";
414
- const _iN = "isNull";
415
- const _iRM = "includeResultMetadata";
416
- const _iS = "isSigned";
417
- const _iV = "intValue";
418
- const _l = "label";
419
- const _lRT = "longReturnType";
420
- const _lV = "longValues";
421
- const _lVo = "longValue";
422
- const _m = "message";
423
- const _n = "name";
424
- const _nORU = "numberOfRecordsUpdated";
425
- const _nu = "nullable";
426
- const _p = "precision";
427
- const _pS = "parameterSets";
428
- const _pa = "parameters";
429
- const _r = "records";
430
- const _rA = "resourceArn";
431
- const _rF = "resultFrame";
432
- const _rSM = "resultSetMetadata";
433
- const _rSO = "resultSetOptions";
434
- const _rV = "realValue";
435
- const _s = "sql";
436
- const _sA = "secretArn";
437
- const _sN = "schemaName";
438
- const _sS = "sqlStatements";
439
- const _sSR = "sqlStatementResults";
440
- const _sV = "stringValues";
441
- const _sVt = "stringValue";
442
- const _sVtr = "structValue";
443
- const _sc = "schema";
444
- const _sca = "scale";
445
- const _se = "server";
446
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rdsdata";
447
- const _t = "type";
448
- const _tH = "typeHint";
449
- const _tI = "transactionId";
450
- const _tN = "typeName";
451
- const _tNa = "tableName";
452
- const _tS = "transactionStatus";
453
- const _uR = "updateResults";
454
- const _v = "values";
455
- const _va = "value";
456
- const n0 = "com.amazonaws.rdsdata";
457
- var AccessDeniedException$ = [-3, n0, _ADE,
458
- { [_e]: _c, [_hE]: 403 },
459
- [_m],
460
- [0]
461
- ];
462
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
463
- var BadRequestException$ = [-3, n0, _BRE,
464
- { [_e]: _c, [_hE]: 400 },
465
- [_m],
466
- [0]
467
- ];
468
- schema.TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
469
- var BatchExecuteStatementRequest$ = [3, n0, _BESR,
470
- 0,
471
- [_rA, _sA, _s, _d, _sc, _pS, _tI],
472
- [0, 0, 0, 0, 0, () => SqlParameterSets, 0], 3
473
- ];
474
- var BatchExecuteStatementResponse$ = [3, n0, _BESRa,
475
- 0,
476
- [_uR],
477
- [() => UpdateResults]
478
- ];
479
- var BeginTransactionRequest$ = [3, n0, _BTR,
480
- 0,
481
- [_rA, _sA, _d, _sc],
482
- [0, 0, 0, 0], 2
483
- ];
484
- var BeginTransactionResponse$ = [3, n0, _BTRe,
485
- 0,
486
- [_tI],
487
- [0]
488
- ];
489
- var ColumnMetadata$ = [3, n0, _CM,
490
- 0,
491
- [_n, _t, _tN, _l, _sN, _tNa, _iAI, _iS, _iC, _iCS, _nu, _p, _sca, _aBCT],
492
- [0, 1, 0, 0, 0, 0, 2, 2, 2, 2, 1, 1, 1, 1]
493
- ];
494
- var CommitTransactionRequest$ = [3, n0, _CTR,
495
- 0,
496
- [_rA, _sA, _tI],
497
- [0, 0, 0], 3
498
- ];
499
- var CommitTransactionResponse$ = [3, n0, _CTRo,
500
- 0,
501
- [_tS],
502
- [0]
503
- ];
504
- var DatabaseErrorException$ = [-3, n0, _DEE,
505
- { [_e]: _c, [_hE]: 400 },
506
- [_m],
507
- [0]
508
- ];
509
- schema.TypeRegistry.for(n0).registerError(DatabaseErrorException$, DatabaseErrorException);
510
- var DatabaseNotFoundException$ = [-3, n0, _DNFE,
511
- { [_e]: _c, [_hE]: 404 },
512
- [_m],
513
- [0]
514
- ];
515
- schema.TypeRegistry.for(n0).registerError(DatabaseNotFoundException$, DatabaseNotFoundException);
516
- var DatabaseResumingException$ = [-3, n0, _DRE,
517
- { [_e]: _c, [_hE]: 400 },
518
- [_m],
519
- [0]
520
- ];
521
- schema.TypeRegistry.for(n0).registerError(DatabaseResumingException$, DatabaseResumingException);
522
- var DatabaseUnavailableException$ = [-3, n0, _DUE,
523
- { [_e]: _se, [_hE]: 504 },
524
- [],
525
- []
526
- ];
527
- schema.TypeRegistry.for(n0).registerError(DatabaseUnavailableException$, DatabaseUnavailableException);
528
- var ExecuteSqlRequest$ = [3, n0, _ESR,
529
- 0,
530
- [_dCOIA, _aSSA, _sS, _d, _sc],
531
- [0, 0, 0, 0, 0], 3
532
- ];
533
- var ExecuteSqlResponse$ = [3, n0, _ESRx,
534
- 0,
535
- [_sSR],
536
- [() => SqlStatementResults]
537
- ];
538
- var ExecuteStatementRequest$ = [3, n0, _ESRxe,
539
- 0,
540
- [_rA, _sA, _s, _d, _sc, _pa, _tI, _iRM, _cAT, _rSO, _fRA],
541
- [0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions$, 0], 3
542
- ];
543
- var ExecuteStatementResponse$ = [3, n0, _ESRxec,
544
- 0,
545
- [_r, _cM, _nORU, _gF, _fR],
546
- [() => SqlRecords, () => Metadata, 1, () => FieldList, 0]
547
- ];
548
- var ForbiddenException$ = [-3, n0, _FE,
549
- { [_e]: _c, [_hE]: 403 },
550
- [_m],
551
- [0]
552
- ];
553
- schema.TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
554
- var HttpEndpointNotEnabledException$ = [-3, n0, _HENEE,
555
- { [_e]: _c, [_hE]: 400 },
556
- [_m],
557
- [0]
558
- ];
559
- schema.TypeRegistry.for(n0).registerError(HttpEndpointNotEnabledException$, HttpEndpointNotEnabledException);
560
- var InternalServerErrorException$ = [-3, n0, _ISEE,
561
- { [_e]: _se, [_hE]: 500 },
562
- [],
563
- []
564
- ];
565
- schema.TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
566
- var InvalidResourceStateException$ = [-3, n0, _IRSE,
567
- { [_e]: _c, [_hE]: 400 },
568
- [_m],
569
- [0]
570
- ];
571
- schema.TypeRegistry.for(n0).registerError(InvalidResourceStateException$, InvalidResourceStateException);
572
- var InvalidSecretException$ = [-3, n0, _ISE,
573
- { [_e]: _c, [_hE]: 400 },
574
- [_m],
575
- [0]
576
- ];
577
- schema.TypeRegistry.for(n0).registerError(InvalidSecretException$, InvalidSecretException);
578
- var NotFoundException$ = [-3, n0, _NFE,
579
- { [_e]: _c, [_hE]: 404 },
580
- [_m],
581
- [0]
582
- ];
583
- schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
584
- var _Record$ = [3, n0, _R,
585
- 0,
586
- [_v],
587
- [() => Row]
588
- ];
589
- var ResultFrame$ = [3, n0, _RF,
590
- 0,
591
- [_rSM, _r],
592
- [() => ResultSetMetadata$, () => Records]
593
- ];
594
- var ResultSetMetadata$ = [3, n0, _RSM,
595
- 0,
596
- [_cC, _cM],
597
- [1, () => Metadata]
598
- ];
599
- var ResultSetOptions$ = [3, n0, _RSO,
600
- 0,
601
- [_dRT, _lRT],
602
- [0, 0]
603
- ];
604
- var RollbackTransactionRequest$ = [3, n0, _RTR,
605
- 0,
606
- [_rA, _sA, _tI],
607
- [0, 0, 0], 3
608
- ];
609
- var RollbackTransactionResponse$ = [3, n0, _RTRo,
610
- 0,
611
- [_tS],
612
- [0]
613
- ];
614
- var SecretsErrorException$ = [-3, n0, _SEE,
615
- { [_e]: _c, [_hE]: 400 },
616
- [_m],
617
- [0]
618
- ];
619
- schema.TypeRegistry.for(n0).registerError(SecretsErrorException$, SecretsErrorException);
620
- var ServiceUnavailableError$ = [-3, n0, _SUE,
621
- { [_e]: _se, [_hE]: 503 },
622
- [],
623
- []
624
- ];
625
- schema.TypeRegistry.for(n0).registerError(ServiceUnavailableError$, ServiceUnavailableError);
626
- var SqlParameter$ = [3, n0, _SP,
627
- 0,
628
- [_n, _va, _tH],
629
- [0, () => Field$, 0]
630
- ];
631
- var SqlStatementResult$ = [3, n0, _SSR,
632
- 0,
633
- [_rF, _nORU],
634
- [() => ResultFrame$, 1]
635
- ];
636
- var StatementTimeoutException$ = [-3, n0, _STE,
637
- { [_e]: _c, [_hE]: 400 },
638
- [_m, _dCI],
639
- [0, 1]
640
- ];
641
- schema.TypeRegistry.for(n0).registerError(StatementTimeoutException$, StatementTimeoutException);
642
- var StructValue$ = [3, n0, _SV,
643
- 0,
644
- [_a],
645
- [() => ArrayValueList]
646
- ];
647
- var TransactionNotFoundException$ = [-3, n0, _TNFE,
648
- { [_e]: _c, [_hE]: 404 },
649
- [_m],
650
- [0]
651
- ];
652
- schema.TypeRegistry.for(n0).registerError(TransactionNotFoundException$, TransactionNotFoundException);
653
- var UnsupportedResultException$ = [-3, n0, _URE,
654
- { [_e]: _c, [_hE]: 400 },
655
- [_m],
656
- [0]
657
- ];
658
- schema.TypeRegistry.for(n0).registerError(UnsupportedResultException$, UnsupportedResultException);
659
- var UpdateResult$ = [3, n0, _UR,
660
- 0,
661
- [_gF],
662
- [() => FieldList]
663
- ];
664
- var RDSDataServiceException$ = [-3, _sm, "RDSDataServiceException", 0, [], []];
665
- schema.TypeRegistry.for(_sm).registerError(RDSDataServiceException$, RDSDataServiceException);
666
- var ArrayOfArray = [1, n0, _AOA,
667
- 0, () => ArrayValue$
668
- ];
669
- var ArrayValueList = [1, n0, _AVL,
670
- 0, () => Value$
671
- ];
672
- var FieldList = [1, n0, _FL,
673
- 0, () => Field$
674
- ];
675
- var Metadata = [1, n0, _M,
676
- 0, () => ColumnMetadata$
677
- ];
678
- var Records = [1, n0, _Re,
679
- 0, () => _Record$
680
- ];
681
- var Row = [1, n0, _Ro,
682
- 0, () => Value$
683
- ];
684
- var SqlParameterSets = [1, n0, _SPS,
685
- 0, () => SqlParametersList
686
- ];
687
- var SqlParametersList = [1, n0, _SPL,
688
- 0, () => SqlParameter$
689
- ];
690
- var SqlRecords = [1, n0, _SR,
691
- 0, () => FieldList
692
- ];
693
- var SqlStatementResults = [1, n0, _SSRq,
694
- 0, () => SqlStatementResult$
695
- ];
696
- var UpdateResults = [1, n0, _URp,
697
- 0, () => UpdateResult$
698
- ];
699
- var ArrayValue$ = [4, n0, _AV,
700
- 0,
701
- [_bV, _lV, _dV, _sV, _aV],
702
- [64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray]
703
- ];
704
- var Field$ = [4, n0, _F,
705
- 0,
706
- [_iN, _bVo, _lVo, _dVo, _sVt, _bVl, _aVr],
707
- [2, 2, 1, 1, 0, 21, () => ArrayValue$]
708
- ];
709
- var Value$ = [4, n0, _V,
710
- 0,
711
- [_iN, _bVi, _bIV, _iV, _dVo, _rV, _sVt, _bVl, _aV, _sVtr],
712
- [2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue$]
713
- ];
714
- var BatchExecuteStatement$ = [9, n0, _BES,
715
- { [_h]: ["POST", "/BatchExecute", 200] }, () => BatchExecuteStatementRequest$, () => BatchExecuteStatementResponse$
716
- ];
717
- var BeginTransaction$ = [9, n0, _BT,
718
- { [_h]: ["POST", "/BeginTransaction", 200] }, () => BeginTransactionRequest$, () => BeginTransactionResponse$
719
- ];
720
- var CommitTransaction$ = [9, n0, _CT,
721
- { [_h]: ["POST", "/CommitTransaction", 200] }, () => CommitTransactionRequest$, () => CommitTransactionResponse$
722
- ];
723
- var ExecuteSql$ = [9, n0, _ES,
724
- { [_h]: ["POST", "/ExecuteSql", 200] }, () => ExecuteSqlRequest$, () => ExecuteSqlResponse$
725
- ];
726
- var ExecuteStatement$ = [9, n0, _ESx,
727
- { [_h]: ["POST", "/Execute", 200] }, () => ExecuteStatementRequest$, () => ExecuteStatementResponse$
728
- ];
729
- var RollbackTransaction$ = [9, n0, _RT,
730
- { [_h]: ["POST", "/RollbackTransaction", 200] }, () => RollbackTransactionRequest$, () => RollbackTransactionResponse$
731
- ];
732
-
733
116
  class BatchExecuteStatementCommand extends smithyClient.Command
734
117
  .classBuilder()
735
118
  .ep(commonParams)
@@ -738,7 +121,7 @@ class BatchExecuteStatementCommand extends smithyClient.Command
738
121
  })
739
122
  .s("RdsDataService", "BatchExecuteStatement", {})
740
123
  .n("RDSDataClient", "BatchExecuteStatementCommand")
741
- .sc(BatchExecuteStatement$)
124
+ .sc(schemas_0.BatchExecuteStatement$)
742
125
  .build() {
743
126
  }
744
127
 
@@ -750,7 +133,7 @@ class BeginTransactionCommand extends smithyClient.Command
750
133
  })
751
134
  .s("RdsDataService", "BeginTransaction", {})
752
135
  .n("RDSDataClient", "BeginTransactionCommand")
753
- .sc(BeginTransaction$)
136
+ .sc(schemas_0.BeginTransaction$)
754
137
  .build() {
755
138
  }
756
139
 
@@ -762,7 +145,7 @@ class CommitTransactionCommand extends smithyClient.Command
762
145
  })
763
146
  .s("RdsDataService", "CommitTransaction", {})
764
147
  .n("RDSDataClient", "CommitTransactionCommand")
765
- .sc(CommitTransaction$)
148
+ .sc(schemas_0.CommitTransaction$)
766
149
  .build() {
767
150
  }
768
151
 
@@ -774,7 +157,7 @@ class ExecuteSqlCommand extends smithyClient.Command
774
157
  })
775
158
  .s("RdsDataService", "ExecuteSql", {})
776
159
  .n("RDSDataClient", "ExecuteSqlCommand")
777
- .sc(ExecuteSql$)
160
+ .sc(schemas_0.ExecuteSql$)
778
161
  .build() {
779
162
  }
780
163
 
@@ -786,7 +169,7 @@ class ExecuteStatementCommand extends smithyClient.Command
786
169
  })
787
170
  .s("RdsDataService", "ExecuteStatement", {})
788
171
  .n("RDSDataClient", "ExecuteStatementCommand")
789
- .sc(ExecuteStatement$)
172
+ .sc(schemas_0.ExecuteStatement$)
790
173
  .build() {
791
174
  }
792
175
 
@@ -798,7 +181,7 @@ class RollbackTransactionCommand extends smithyClient.Command
798
181
  })
799
182
  .s("RdsDataService", "RollbackTransaction", {})
800
183
  .n("RDSDataClient", "RollbackTransactionCommand")
801
- .sc(RollbackTransaction$)
184
+ .sc(schemas_0.RollbackTransaction$)
802
185
  .build() {
803
186
  }
804
187
 
@@ -843,81 +226,31 @@ Object.defineProperty(exports, "__Client", {
843
226
  enumerable: true,
844
227
  get: function () { return smithyClient.Client; }
845
228
  });
846
- exports.AccessDeniedException = AccessDeniedException;
847
- exports.AccessDeniedException$ = AccessDeniedException$;
848
- exports.ArrayValue$ = ArrayValue$;
849
- exports.BadRequestException = BadRequestException;
850
- exports.BadRequestException$ = BadRequestException$;
851
- exports.BatchExecuteStatement$ = BatchExecuteStatement$;
229
+ Object.defineProperty(exports, "RDSDataServiceException", {
230
+ enumerable: true,
231
+ get: function () { return RDSDataServiceException.RDSDataServiceException; }
232
+ });
852
233
  exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;
853
- exports.BatchExecuteStatementRequest$ = BatchExecuteStatementRequest$;
854
- exports.BatchExecuteStatementResponse$ = BatchExecuteStatementResponse$;
855
- exports.BeginTransaction$ = BeginTransaction$;
856
234
  exports.BeginTransactionCommand = BeginTransactionCommand;
857
- exports.BeginTransactionRequest$ = BeginTransactionRequest$;
858
- exports.BeginTransactionResponse$ = BeginTransactionResponse$;
859
- exports.ColumnMetadata$ = ColumnMetadata$;
860
- exports.CommitTransaction$ = CommitTransaction$;
861
235
  exports.CommitTransactionCommand = CommitTransactionCommand;
862
- exports.CommitTransactionRequest$ = CommitTransactionRequest$;
863
- exports.CommitTransactionResponse$ = CommitTransactionResponse$;
864
- exports.DatabaseErrorException = DatabaseErrorException;
865
- exports.DatabaseErrorException$ = DatabaseErrorException$;
866
- exports.DatabaseNotFoundException = DatabaseNotFoundException;
867
- exports.DatabaseNotFoundException$ = DatabaseNotFoundException$;
868
- exports.DatabaseResumingException = DatabaseResumingException;
869
- exports.DatabaseResumingException$ = DatabaseResumingException$;
870
- exports.DatabaseUnavailableException = DatabaseUnavailableException;
871
- exports.DatabaseUnavailableException$ = DatabaseUnavailableException$;
872
236
  exports.DecimalReturnType = DecimalReturnType;
873
- exports.ExecuteSql$ = ExecuteSql$;
874
237
  exports.ExecuteSqlCommand = ExecuteSqlCommand;
875
- exports.ExecuteSqlRequest$ = ExecuteSqlRequest$;
876
- exports.ExecuteSqlResponse$ = ExecuteSqlResponse$;
877
- exports.ExecuteStatement$ = ExecuteStatement$;
878
238
  exports.ExecuteStatementCommand = ExecuteStatementCommand;
879
- exports.ExecuteStatementRequest$ = ExecuteStatementRequest$;
880
- exports.ExecuteStatementResponse$ = ExecuteStatementResponse$;
881
- exports.Field$ = Field$;
882
- exports.ForbiddenException = ForbiddenException;
883
- exports.ForbiddenException$ = ForbiddenException$;
884
- exports.HttpEndpointNotEnabledException = HttpEndpointNotEnabledException;
885
- exports.HttpEndpointNotEnabledException$ = HttpEndpointNotEnabledException$;
886
- exports.InternalServerErrorException = InternalServerErrorException;
887
- exports.InternalServerErrorException$ = InternalServerErrorException$;
888
- exports.InvalidResourceStateException = InvalidResourceStateException;
889
- exports.InvalidResourceStateException$ = InvalidResourceStateException$;
890
- exports.InvalidSecretException = InvalidSecretException;
891
- exports.InvalidSecretException$ = InvalidSecretException$;
892
239
  exports.LongReturnType = LongReturnType;
893
- exports.NotFoundException = NotFoundException;
894
- exports.NotFoundException$ = NotFoundException$;
895
240
  exports.RDSData = RDSData;
896
241
  exports.RDSDataClient = RDSDataClient;
897
- exports.RDSDataServiceException = RDSDataServiceException;
898
- exports.RDSDataServiceException$ = RDSDataServiceException$;
899
242
  exports.RecordsFormatType = RecordsFormatType;
900
- exports.ResultFrame$ = ResultFrame$;
901
- exports.ResultSetMetadata$ = ResultSetMetadata$;
902
- exports.ResultSetOptions$ = ResultSetOptions$;
903
- exports.RollbackTransaction$ = RollbackTransaction$;
904
243
  exports.RollbackTransactionCommand = RollbackTransactionCommand;
905
- exports.RollbackTransactionRequest$ = RollbackTransactionRequest$;
906
- exports.RollbackTransactionResponse$ = RollbackTransactionResponse$;
907
- exports.SecretsErrorException = SecretsErrorException;
908
- exports.SecretsErrorException$ = SecretsErrorException$;
909
- exports.ServiceUnavailableError = ServiceUnavailableError;
910
- exports.ServiceUnavailableError$ = ServiceUnavailableError$;
911
- exports.SqlParameter$ = SqlParameter$;
912
- exports.SqlStatementResult$ = SqlStatementResult$;
913
- exports.StatementTimeoutException = StatementTimeoutException;
914
- exports.StatementTimeoutException$ = StatementTimeoutException$;
915
- exports.StructValue$ = StructValue$;
916
- exports.TransactionNotFoundException = TransactionNotFoundException;
917
- exports.TransactionNotFoundException$ = TransactionNotFoundException$;
918
244
  exports.TypeHint = TypeHint;
919
- exports.UnsupportedResultException = UnsupportedResultException;
920
- exports.UnsupportedResultException$ = UnsupportedResultException$;
921
- exports.UpdateResult$ = UpdateResult$;
922
- exports.Value$ = Value$;
923
- exports._Record$ = _Record$;
245
+ Object.keys(schemas_0).forEach(function (k) {
246
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
247
+ enumerable: true,
248
+ get: function () { return schemas_0[k]; }
249
+ });
250
+ });
251
+ Object.keys(errors).forEach(function (k) {
252
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
253
+ enumerable: true,
254
+ get: function () { return errors[k]; }
255
+ });
256
+ });