@aws-sdk/client-rds-data 3.948.0 → 3.953.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
@@ -110,14 +110,14 @@ class RDSDataClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let RDSDataServiceException$1 = class RDSDataServiceException extends smithyClient.ServiceException {
113
+ class RDSDataServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, RDSDataServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends RDSDataServiceException$1 {
120
+ class AccessDeniedException extends RDSDataServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends RDSDataService
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- };
132
- let BadRequestException$1 = class BadRequestException extends RDSDataServiceException$1 {
131
+ }
132
+ class BadRequestException extends RDSDataServiceException {
133
133
  name = "BadRequestException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ let BadRequestException$1 = class BadRequestException extends RDSDataServiceExce
140
140
  });
141
141
  Object.setPrototypeOf(this, BadRequestException.prototype);
142
142
  }
143
- };
144
- let DatabaseErrorException$1 = class DatabaseErrorException extends RDSDataServiceException$1 {
143
+ }
144
+ class DatabaseErrorException extends RDSDataServiceException {
145
145
  name = "DatabaseErrorException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ let DatabaseErrorException$1 = class DatabaseErrorException extends RDSDataServi
152
152
  });
153
153
  Object.setPrototypeOf(this, DatabaseErrorException.prototype);
154
154
  }
155
- };
156
- let DatabaseNotFoundException$1 = class DatabaseNotFoundException extends RDSDataServiceException$1 {
155
+ }
156
+ class DatabaseNotFoundException extends RDSDataServiceException {
157
157
  name = "DatabaseNotFoundException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ let DatabaseNotFoundException$1 = class DatabaseNotFoundException extends RDSDat
164
164
  });
165
165
  Object.setPrototypeOf(this, DatabaseNotFoundException.prototype);
166
166
  }
167
- };
168
- let DatabaseResumingException$1 = class DatabaseResumingException extends RDSDataServiceException$1 {
167
+ }
168
+ class DatabaseResumingException extends RDSDataServiceException {
169
169
  name = "DatabaseResumingException";
170
170
  $fault = "client";
171
171
  constructor(opts) {
@@ -176,8 +176,8 @@ let DatabaseResumingException$1 = class DatabaseResumingException extends RDSDat
176
176
  });
177
177
  Object.setPrototypeOf(this, DatabaseResumingException.prototype);
178
178
  }
179
- };
180
- let DatabaseUnavailableException$1 = class DatabaseUnavailableException extends RDSDataServiceException$1 {
179
+ }
180
+ class DatabaseUnavailableException extends RDSDataServiceException {
181
181
  name = "DatabaseUnavailableException";
182
182
  $fault = "server";
183
183
  constructor(opts) {
@@ -188,8 +188,8 @@ let DatabaseUnavailableException$1 = class DatabaseUnavailableException extends
188
188
  });
189
189
  Object.setPrototypeOf(this, DatabaseUnavailableException.prototype);
190
190
  }
191
- };
192
- let ForbiddenException$1 = class ForbiddenException extends RDSDataServiceException$1 {
191
+ }
192
+ class ForbiddenException extends RDSDataServiceException {
193
193
  name = "ForbiddenException";
194
194
  $fault = "client";
195
195
  constructor(opts) {
@@ -200,8 +200,8 @@ let ForbiddenException$1 = class ForbiddenException extends RDSDataServiceExcept
200
200
  });
201
201
  Object.setPrototypeOf(this, ForbiddenException.prototype);
202
202
  }
203
- };
204
- let HttpEndpointNotEnabledException$1 = class HttpEndpointNotEnabledException extends RDSDataServiceException$1 {
203
+ }
204
+ class HttpEndpointNotEnabledException extends RDSDataServiceException {
205
205
  name = "HttpEndpointNotEnabledException";
206
206
  $fault = "client";
207
207
  constructor(opts) {
@@ -212,8 +212,8 @@ let HttpEndpointNotEnabledException$1 = class HttpEndpointNotEnabledException ex
212
212
  });
213
213
  Object.setPrototypeOf(this, HttpEndpointNotEnabledException.prototype);
214
214
  }
215
- };
216
- let InternalServerErrorException$1 = class InternalServerErrorException extends RDSDataServiceException$1 {
215
+ }
216
+ class InternalServerErrorException extends RDSDataServiceException {
217
217
  name = "InternalServerErrorException";
218
218
  $fault = "server";
219
219
  constructor(opts) {
@@ -224,8 +224,8 @@ let InternalServerErrorException$1 = class InternalServerErrorException extends
224
224
  });
225
225
  Object.setPrototypeOf(this, InternalServerErrorException.prototype);
226
226
  }
227
- };
228
- let InvalidResourceStateException$1 = class InvalidResourceStateException extends RDSDataServiceException$1 {
227
+ }
228
+ class InvalidResourceStateException extends RDSDataServiceException {
229
229
  name = "InvalidResourceStateException";
230
230
  $fault = "client";
231
231
  constructor(opts) {
@@ -236,8 +236,8 @@ let InvalidResourceStateException$1 = class InvalidResourceStateException extend
236
236
  });
237
237
  Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
238
238
  }
239
- };
240
- let InvalidSecretException$1 = class InvalidSecretException extends RDSDataServiceException$1 {
239
+ }
240
+ class InvalidSecretException extends RDSDataServiceException {
241
241
  name = "InvalidSecretException";
242
242
  $fault = "client";
243
243
  constructor(opts) {
@@ -248,8 +248,8 @@ let InvalidSecretException$1 = class InvalidSecretException extends RDSDataServi
248
248
  });
249
249
  Object.setPrototypeOf(this, InvalidSecretException.prototype);
250
250
  }
251
- };
252
- let SecretsErrorException$1 = class SecretsErrorException extends RDSDataServiceException$1 {
251
+ }
252
+ class SecretsErrorException extends RDSDataServiceException {
253
253
  name = "SecretsErrorException";
254
254
  $fault = "client";
255
255
  constructor(opts) {
@@ -260,8 +260,8 @@ let SecretsErrorException$1 = class SecretsErrorException extends RDSDataService
260
260
  });
261
261
  Object.setPrototypeOf(this, SecretsErrorException.prototype);
262
262
  }
263
- };
264
- let ServiceUnavailableError$1 = class ServiceUnavailableError extends RDSDataServiceException$1 {
263
+ }
264
+ class ServiceUnavailableError extends RDSDataServiceException {
265
265
  name = "ServiceUnavailableError";
266
266
  $fault = "server";
267
267
  constructor(opts) {
@@ -272,8 +272,8 @@ let ServiceUnavailableError$1 = class ServiceUnavailableError extends RDSDataSer
272
272
  });
273
273
  Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
274
274
  }
275
- };
276
- let StatementTimeoutException$1 = class StatementTimeoutException extends RDSDataServiceException$1 {
275
+ }
276
+ class StatementTimeoutException extends RDSDataServiceException {
277
277
  name = "StatementTimeoutException";
278
278
  $fault = "client";
279
279
  dbConnectionId;
@@ -286,8 +286,8 @@ let StatementTimeoutException$1 = class StatementTimeoutException extends RDSDat
286
286
  Object.setPrototypeOf(this, StatementTimeoutException.prototype);
287
287
  this.dbConnectionId = opts.dbConnectionId;
288
288
  }
289
- };
290
- let TransactionNotFoundException$1 = class TransactionNotFoundException extends RDSDataServiceException$1 {
289
+ }
290
+ class TransactionNotFoundException extends RDSDataServiceException {
291
291
  name = "TransactionNotFoundException";
292
292
  $fault = "client";
293
293
  constructor(opts) {
@@ -298,8 +298,8 @@ let TransactionNotFoundException$1 = class TransactionNotFoundException extends
298
298
  });
299
299
  Object.setPrototypeOf(this, TransactionNotFoundException.prototype);
300
300
  }
301
- };
302
- let NotFoundException$1 = class NotFoundException extends RDSDataServiceException$1 {
301
+ }
302
+ class NotFoundException extends RDSDataServiceException {
303
303
  name = "NotFoundException";
304
304
  $fault = "client";
305
305
  constructor(opts) {
@@ -310,8 +310,8 @@ let NotFoundException$1 = class NotFoundException extends RDSDataServiceExceptio
310
310
  });
311
311
  Object.setPrototypeOf(this, NotFoundException.prototype);
312
312
  }
313
- };
314
- let UnsupportedResultException$1 = class UnsupportedResultException extends RDSDataServiceException$1 {
313
+ }
314
+ class UnsupportedResultException extends RDSDataServiceException {
315
315
  name = "UnsupportedResultException";
316
316
  $fault = "client";
317
317
  constructor(opts) {
@@ -322,7 +322,7 @@ let UnsupportedResultException$1 = class UnsupportedResultException extends RDSD
322
322
  });
323
323
  Object.setPrototypeOf(this, UnsupportedResultException.prototype);
324
324
  }
325
- };
325
+ }
326
326
 
327
327
  const _ADE = "AccessDeniedException";
328
328
  const _AOA = "ArrayOfArray";
@@ -454,11 +454,11 @@ const _uR = "updateResults";
454
454
  const _v = "values";
455
455
  const _va = "value";
456
456
  const n0 = "com.amazonaws.rdsdata";
457
- var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
458
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
459
- var BadRequestException = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
460
- schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
461
- var BatchExecuteStatementRequest = [
457
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
458
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
459
+ var BadRequestException$ = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
460
+ schema.TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
461
+ var BatchExecuteStatementRequest$ = [
462
462
  3,
463
463
  n0,
464
464
  _BESR,
@@ -466,10 +466,10 @@ var BatchExecuteStatementRequest = [
466
466
  [_rA, _sA, _s, _d, _sc, _pS, _tI],
467
467
  [0, 0, 0, 0, 0, () => SqlParameterSets, 0],
468
468
  ];
469
- var BatchExecuteStatementResponse = [3, n0, _BESRa, 0, [_uR], [() => UpdateResults]];
470
- var BeginTransactionRequest = [3, n0, _BTR, 0, [_rA, _sA, _d, _sc], [0, 0, 0, 0]];
471
- var BeginTransactionResponse = [3, n0, _BTRe, 0, [_tI], [0]];
472
- var ColumnMetadata = [
469
+ var BatchExecuteStatementResponse$ = [3, n0, _BESRa, 0, [_uR], [() => UpdateResults]];
470
+ var BeginTransactionRequest$ = [3, n0, _BTR, 0, [_rA, _sA, _d, _sc], [0, 0, 0, 0]];
471
+ var BeginTransactionResponse$ = [3, n0, _BTRe, 0, [_tI], [0]];
472
+ var ColumnMetadata$ = [
473
473
  3,
474
474
  n0,
475
475
  _CM,
@@ -477,27 +477,27 @@ var ColumnMetadata = [
477
477
  [_n, _t, _tN, _l, _sN, _tNa, _iAI, _iS, _iC, _iCS, _nu, _p, _sca, _aBCT],
478
478
  [0, 1, 0, 0, 0, 0, 2, 2, 2, 2, 1, 1, 1, 1],
479
479
  ];
480
- var CommitTransactionRequest = [3, n0, _CTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
481
- var CommitTransactionResponse = [3, n0, _CTRo, 0, [_tS], [0]];
482
- var DatabaseErrorException = [-3, n0, _DEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
483
- schema.TypeRegistry.for(n0).registerError(DatabaseErrorException, DatabaseErrorException$1);
484
- var DatabaseNotFoundException = [-3, n0, _DNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
485
- schema.TypeRegistry.for(n0).registerError(DatabaseNotFoundException, DatabaseNotFoundException$1);
486
- var DatabaseResumingException = [-3, n0, _DRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
487
- schema.TypeRegistry.for(n0).registerError(DatabaseResumingException, DatabaseResumingException$1);
488
- var DatabaseUnavailableException = [-3, n0, _DUE, { [_e]: _se, [_hE]: 504 }, [], []];
489
- schema.TypeRegistry.for(n0).registerError(DatabaseUnavailableException, DatabaseUnavailableException$1);
490
- var ExecuteSqlRequest = [3, n0, _ESR, 0, [_dCOIA, _aSSA, _sS, _d, _sc], [0, 0, 0, 0, 0]];
491
- var ExecuteSqlResponse = [3, n0, _ESRx, 0, [_sSR], [() => SqlStatementResults]];
492
- var ExecuteStatementRequest = [
480
+ var CommitTransactionRequest$ = [3, n0, _CTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
481
+ var CommitTransactionResponse$ = [3, n0, _CTRo, 0, [_tS], [0]];
482
+ var DatabaseErrorException$ = [-3, n0, _DEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
483
+ schema.TypeRegistry.for(n0).registerError(DatabaseErrorException$, DatabaseErrorException);
484
+ var DatabaseNotFoundException$ = [-3, n0, _DNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
485
+ schema.TypeRegistry.for(n0).registerError(DatabaseNotFoundException$, DatabaseNotFoundException);
486
+ var DatabaseResumingException$ = [-3, n0, _DRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
487
+ schema.TypeRegistry.for(n0).registerError(DatabaseResumingException$, DatabaseResumingException);
488
+ var DatabaseUnavailableException$ = [-3, n0, _DUE, { [_e]: _se, [_hE]: 504 }, [], []];
489
+ schema.TypeRegistry.for(n0).registerError(DatabaseUnavailableException$, DatabaseUnavailableException);
490
+ var ExecuteSqlRequest$ = [3, n0, _ESR, 0, [_dCOIA, _aSSA, _sS, _d, _sc], [0, 0, 0, 0, 0]];
491
+ var ExecuteSqlResponse$ = [3, n0, _ESRx, 0, [_sSR], [() => SqlStatementResults]];
492
+ var ExecuteStatementRequest$ = [
493
493
  3,
494
494
  n0,
495
495
  _ESRxe,
496
496
  0,
497
497
  [_rA, _sA, _s, _d, _sc, _pa, _tI, _iRM, _cAT, _rSO, _fRA],
498
- [0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions, 0],
498
+ [0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions$, 0],
499
499
  ];
500
- var ExecuteStatementResponse = [
500
+ var ExecuteStatementResponse$ = [
501
501
  3,
502
502
  n0,
503
503
  _ESRxec,
@@ -505,52 +505,52 @@ var ExecuteStatementResponse = [
505
505
  [_r, _cM, _nORU, _gF, _fR],
506
506
  [() => SqlRecords, () => Metadata, 1, () => FieldList, 0],
507
507
  ];
508
- var ForbiddenException = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
509
- schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
510
- var HttpEndpointNotEnabledException = [-3, n0, _HENEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
511
- schema.TypeRegistry.for(n0).registerError(HttpEndpointNotEnabledException, HttpEndpointNotEnabledException$1);
512
- var InternalServerErrorException = [-3, n0, _ISEE, { [_e]: _se, [_hE]: 500 }, [], []];
513
- schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
514
- var InvalidResourceStateException = [-3, n0, _IRSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
515
- schema.TypeRegistry.for(n0).registerError(InvalidResourceStateException, InvalidResourceStateException$1);
516
- var InvalidSecretException = [-3, n0, _ISE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
517
- schema.TypeRegistry.for(n0).registerError(InvalidSecretException, InvalidSecretException$1);
518
- var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
519
- schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
520
- var _Record = [3, n0, _R, 0, [_v], [() => Row]];
521
- var ResultFrame = [3, n0, _RF, 0, [_rSM, _r], [() => ResultSetMetadata, () => Records]];
522
- var ResultSetMetadata = [3, n0, _RSM, 0, [_cC, _cM], [1, () => Metadata]];
523
- var ResultSetOptions = [3, n0, _RSO, 0, [_dRT, _lRT], [0, 0]];
524
- var RollbackTransactionRequest = [3, n0, _RTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
525
- var RollbackTransactionResponse = [3, n0, _RTRo, 0, [_tS], [0]];
526
- var SecretsErrorException = [-3, n0, _SEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
527
- schema.TypeRegistry.for(n0).registerError(SecretsErrorException, SecretsErrorException$1);
528
- var ServiceUnavailableError = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [], []];
529
- schema.TypeRegistry.for(n0).registerError(ServiceUnavailableError, ServiceUnavailableError$1);
530
- var SqlParameter = [3, n0, _SP, 0, [_n, _va, _tH], [0, () => Field, 0]];
531
- var SqlStatementResult = [3, n0, _SSR, 0, [_rF, _nORU], [() => ResultFrame, 1]];
532
- var StatementTimeoutException = [-3, n0, _STE, { [_e]: _c, [_hE]: 400 }, [_m, _dCI], [0, 1]];
533
- schema.TypeRegistry.for(n0).registerError(StatementTimeoutException, StatementTimeoutException$1);
534
- var StructValue = [3, n0, _SV, 0, [_a], [() => ArrayValueList]];
535
- var TransactionNotFoundException = [-3, n0, _TNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
536
- schema.TypeRegistry.for(n0).registerError(TransactionNotFoundException, TransactionNotFoundException$1);
537
- var UnsupportedResultException = [-3, n0, _URE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
538
- schema.TypeRegistry.for(n0).registerError(UnsupportedResultException, UnsupportedResultException$1);
539
- var UpdateResult = [3, n0, _UR, 0, [_gF], [() => FieldList]];
540
- var RDSDataServiceException = [-3, _sm, "RDSDataServiceException", 0, [], []];
541
- schema.TypeRegistry.for(_sm).registerError(RDSDataServiceException, RDSDataServiceException$1);
542
- var ArrayOfArray = [1, n0, _AOA, 0, () => ArrayValue];
543
- var ArrayValueList = [1, n0, _AVL, 0, () => Value];
544
- var FieldList = [1, n0, _FL, 0, () => Field];
545
- var Metadata = [1, n0, _M, 0, () => ColumnMetadata];
546
- var Records = [1, n0, _Re, 0, () => _Record];
547
- var Row = [1, n0, _Ro, 0, () => Value];
508
+ var ForbiddenException$ = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
509
+ schema.TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
510
+ var HttpEndpointNotEnabledException$ = [-3, n0, _HENEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
511
+ schema.TypeRegistry.for(n0).registerError(HttpEndpointNotEnabledException$, HttpEndpointNotEnabledException);
512
+ var InternalServerErrorException$ = [-3, n0, _ISEE, { [_e]: _se, [_hE]: 500 }, [], []];
513
+ schema.TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
514
+ var InvalidResourceStateException$ = [-3, n0, _IRSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
515
+ schema.TypeRegistry.for(n0).registerError(InvalidResourceStateException$, InvalidResourceStateException);
516
+ var InvalidSecretException$ = [-3, n0, _ISE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
517
+ schema.TypeRegistry.for(n0).registerError(InvalidSecretException$, InvalidSecretException);
518
+ var NotFoundException$ = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
519
+ schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
520
+ var _Record$ = [3, n0, _R, 0, [_v], [() => Row]];
521
+ var ResultFrame$ = [3, n0, _RF, 0, [_rSM, _r], [() => ResultSetMetadata$, () => Records]];
522
+ var ResultSetMetadata$ = [3, n0, _RSM, 0, [_cC, _cM], [1, () => Metadata]];
523
+ var ResultSetOptions$ = [3, n0, _RSO, 0, [_dRT, _lRT], [0, 0]];
524
+ var RollbackTransactionRequest$ = [3, n0, _RTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
525
+ var RollbackTransactionResponse$ = [3, n0, _RTRo, 0, [_tS], [0]];
526
+ var SecretsErrorException$ = [-3, n0, _SEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
527
+ schema.TypeRegistry.for(n0).registerError(SecretsErrorException$, SecretsErrorException);
528
+ var ServiceUnavailableError$ = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [], []];
529
+ schema.TypeRegistry.for(n0).registerError(ServiceUnavailableError$, ServiceUnavailableError);
530
+ var SqlParameter$ = [3, n0, _SP, 0, [_n, _va, _tH], [0, () => Field$, 0]];
531
+ var SqlStatementResult$ = [3, n0, _SSR, 0, [_rF, _nORU], [() => ResultFrame$, 1]];
532
+ var StatementTimeoutException$ = [-3, n0, _STE, { [_e]: _c, [_hE]: 400 }, [_m, _dCI], [0, 1]];
533
+ schema.TypeRegistry.for(n0).registerError(StatementTimeoutException$, StatementTimeoutException);
534
+ var StructValue$ = [3, n0, _SV, 0, [_a], [() => ArrayValueList]];
535
+ var TransactionNotFoundException$ = [-3, n0, _TNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
536
+ schema.TypeRegistry.for(n0).registerError(TransactionNotFoundException$, TransactionNotFoundException);
537
+ var UnsupportedResultException$ = [-3, n0, _URE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
538
+ schema.TypeRegistry.for(n0).registerError(UnsupportedResultException$, UnsupportedResultException);
539
+ var UpdateResult$ = [3, n0, _UR, 0, [_gF], [() => FieldList]];
540
+ var RDSDataServiceException$ = [-3, _sm, "RDSDataServiceException", 0, [], []];
541
+ schema.TypeRegistry.for(_sm).registerError(RDSDataServiceException$, RDSDataServiceException);
542
+ var ArrayOfArray = [1, n0, _AOA, 0, () => ArrayValue$];
543
+ var ArrayValueList = [1, n0, _AVL, 0, () => Value$];
544
+ var FieldList = [1, n0, _FL, 0, () => Field$];
545
+ var Metadata = [1, n0, _M, 0, () => ColumnMetadata$];
546
+ var Records = [1, n0, _Re, 0, () => _Record$];
547
+ var Row = [1, n0, _Ro, 0, () => Value$];
548
548
  var SqlParameterSets = [1, n0, _SPS, 0, () => SqlParametersList];
549
- var SqlParametersList = [1, n0, _SPL, 0, () => SqlParameter];
549
+ var SqlParametersList = [1, n0, _SPL, 0, () => SqlParameter$];
550
550
  var SqlRecords = [1, n0, _SR, 0, () => FieldList];
551
- var SqlStatementResults = [1, n0, _SSRq, 0, () => SqlStatementResult];
552
- var UpdateResults = [1, n0, _URp, 0, () => UpdateResult];
553
- var ArrayValue = [
551
+ var SqlStatementResults = [1, n0, _SSRq, 0, () => SqlStatementResult$];
552
+ var UpdateResults = [1, n0, _URp, 0, () => UpdateResult$];
553
+ var ArrayValue$ = [
554
554
  3,
555
555
  n0,
556
556
  _AV,
@@ -558,69 +558,69 @@ var ArrayValue = [
558
558
  [_bV, _lV, _dV, _sV, _aV],
559
559
  [64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray],
560
560
  ];
561
- var Field = [
561
+ var Field$ = [
562
562
  3,
563
563
  n0,
564
564
  _F,
565
565
  0,
566
566
  [_iN, _bVo, _lVo, _dVo, _sVt, _bVl, _aVr],
567
- [2, 2, 1, 1, 0, 21, () => ArrayValue],
567
+ [2, 2, 1, 1, 0, 21, () => ArrayValue$],
568
568
  ];
569
- var Value = [
569
+ var Value$ = [
570
570
  3,
571
571
  n0,
572
572
  _V,
573
573
  0,
574
574
  [_iN, _bVi, _bIV, _iV, _dVo, _rV, _sVt, _bVl, _aV, _sVtr],
575
- [2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue],
575
+ [2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue$],
576
576
  ];
577
- var BatchExecuteStatement = [
577
+ var BatchExecuteStatement$ = [
578
578
  9,
579
579
  n0,
580
580
  _BES,
581
581
  { [_h]: ["POST", "/BatchExecute", 200] },
582
- () => BatchExecuteStatementRequest,
583
- () => BatchExecuteStatementResponse,
582
+ () => BatchExecuteStatementRequest$,
583
+ () => BatchExecuteStatementResponse$,
584
584
  ];
585
- var BeginTransaction = [
585
+ var BeginTransaction$ = [
586
586
  9,
587
587
  n0,
588
588
  _BT,
589
589
  { [_h]: ["POST", "/BeginTransaction", 200] },
590
- () => BeginTransactionRequest,
591
- () => BeginTransactionResponse,
590
+ () => BeginTransactionRequest$,
591
+ () => BeginTransactionResponse$,
592
592
  ];
593
- var CommitTransaction = [
593
+ var CommitTransaction$ = [
594
594
  9,
595
595
  n0,
596
596
  _CT,
597
597
  { [_h]: ["POST", "/CommitTransaction", 200] },
598
- () => CommitTransactionRequest,
599
- () => CommitTransactionResponse,
598
+ () => CommitTransactionRequest$,
599
+ () => CommitTransactionResponse$,
600
600
  ];
601
- var ExecuteSql = [
601
+ var ExecuteSql$ = [
602
602
  9,
603
603
  n0,
604
604
  _ES,
605
605
  { [_h]: ["POST", "/ExecuteSql", 200] },
606
- () => ExecuteSqlRequest,
607
- () => ExecuteSqlResponse,
606
+ () => ExecuteSqlRequest$,
607
+ () => ExecuteSqlResponse$,
608
608
  ];
609
- var ExecuteStatement = [
609
+ var ExecuteStatement$ = [
610
610
  9,
611
611
  n0,
612
612
  _ESx,
613
613
  { [_h]: ["POST", "/Execute", 200] },
614
- () => ExecuteStatementRequest,
615
- () => ExecuteStatementResponse,
614
+ () => ExecuteStatementRequest$,
615
+ () => ExecuteStatementResponse$,
616
616
  ];
617
- var RollbackTransaction = [
617
+ var RollbackTransaction$ = [
618
618
  9,
619
619
  n0,
620
620
  _RT,
621
621
  { [_h]: ["POST", "/RollbackTransaction", 200] },
622
- () => RollbackTransactionRequest,
623
- () => RollbackTransactionResponse,
622
+ () => RollbackTransactionRequest$,
623
+ () => RollbackTransactionResponse$,
624
624
  ];
625
625
 
626
626
  class BatchExecuteStatementCommand extends smithyClient.Command
@@ -631,7 +631,7 @@ class BatchExecuteStatementCommand extends smithyClient.Command
631
631
  })
632
632
  .s("RdsDataService", "BatchExecuteStatement", {})
633
633
  .n("RDSDataClient", "BatchExecuteStatementCommand")
634
- .sc(BatchExecuteStatement)
634
+ .sc(BatchExecuteStatement$)
635
635
  .build() {
636
636
  }
637
637
 
@@ -643,7 +643,7 @@ class BeginTransactionCommand extends smithyClient.Command
643
643
  })
644
644
  .s("RdsDataService", "BeginTransaction", {})
645
645
  .n("RDSDataClient", "BeginTransactionCommand")
646
- .sc(BeginTransaction)
646
+ .sc(BeginTransaction$)
647
647
  .build() {
648
648
  }
649
649
 
@@ -655,7 +655,7 @@ class CommitTransactionCommand extends smithyClient.Command
655
655
  })
656
656
  .s("RdsDataService", "CommitTransaction", {})
657
657
  .n("RDSDataClient", "CommitTransactionCommand")
658
- .sc(CommitTransaction)
658
+ .sc(CommitTransaction$)
659
659
  .build() {
660
660
  }
661
661
 
@@ -667,7 +667,7 @@ class ExecuteSqlCommand extends smithyClient.Command
667
667
  })
668
668
  .s("RdsDataService", "ExecuteSql", {})
669
669
  .n("RDSDataClient", "ExecuteSqlCommand")
670
- .sc(ExecuteSql)
670
+ .sc(ExecuteSql$)
671
671
  .build() {
672
672
  }
673
673
 
@@ -679,7 +679,7 @@ class ExecuteStatementCommand extends smithyClient.Command
679
679
  })
680
680
  .s("RdsDataService", "ExecuteStatement", {})
681
681
  .n("RDSDataClient", "ExecuteStatementCommand")
682
- .sc(ExecuteStatement)
682
+ .sc(ExecuteStatement$)
683
683
  .build() {
684
684
  }
685
685
 
@@ -691,7 +691,7 @@ class RollbackTransactionCommand extends smithyClient.Command
691
691
  })
692
692
  .s("RdsDataService", "RollbackTransaction", {})
693
693
  .n("RDSDataClient", "RollbackTransactionCommand")
694
- .sc(RollbackTransaction)
694
+ .sc(RollbackTransaction$)
695
695
  .build() {
696
696
  }
697
697
 
@@ -736,33 +736,81 @@ Object.defineProperty(exports, "__Client", {
736
736
  enumerable: true,
737
737
  get: function () { return smithyClient.Client; }
738
738
  });
739
- exports.AccessDeniedException = AccessDeniedException$1;
740
- exports.BadRequestException = BadRequestException$1;
739
+ exports.AccessDeniedException = AccessDeniedException;
740
+ exports.AccessDeniedException$ = AccessDeniedException$;
741
+ exports.ArrayValue$ = ArrayValue$;
742
+ exports.BadRequestException = BadRequestException;
743
+ exports.BadRequestException$ = BadRequestException$;
744
+ exports.BatchExecuteStatement$ = BatchExecuteStatement$;
741
745
  exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;
746
+ exports.BatchExecuteStatementRequest$ = BatchExecuteStatementRequest$;
747
+ exports.BatchExecuteStatementResponse$ = BatchExecuteStatementResponse$;
748
+ exports.BeginTransaction$ = BeginTransaction$;
742
749
  exports.BeginTransactionCommand = BeginTransactionCommand;
750
+ exports.BeginTransactionRequest$ = BeginTransactionRequest$;
751
+ exports.BeginTransactionResponse$ = BeginTransactionResponse$;
752
+ exports.ColumnMetadata$ = ColumnMetadata$;
753
+ exports.CommitTransaction$ = CommitTransaction$;
743
754
  exports.CommitTransactionCommand = CommitTransactionCommand;
744
- exports.DatabaseErrorException = DatabaseErrorException$1;
745
- exports.DatabaseNotFoundException = DatabaseNotFoundException$1;
746
- exports.DatabaseResumingException = DatabaseResumingException$1;
747
- exports.DatabaseUnavailableException = DatabaseUnavailableException$1;
755
+ exports.CommitTransactionRequest$ = CommitTransactionRequest$;
756
+ exports.CommitTransactionResponse$ = CommitTransactionResponse$;
757
+ exports.DatabaseErrorException = DatabaseErrorException;
758
+ exports.DatabaseErrorException$ = DatabaseErrorException$;
759
+ exports.DatabaseNotFoundException = DatabaseNotFoundException;
760
+ exports.DatabaseNotFoundException$ = DatabaseNotFoundException$;
761
+ exports.DatabaseResumingException = DatabaseResumingException;
762
+ exports.DatabaseResumingException$ = DatabaseResumingException$;
763
+ exports.DatabaseUnavailableException = DatabaseUnavailableException;
764
+ exports.DatabaseUnavailableException$ = DatabaseUnavailableException$;
748
765
  exports.DecimalReturnType = DecimalReturnType;
766
+ exports.ExecuteSql$ = ExecuteSql$;
749
767
  exports.ExecuteSqlCommand = ExecuteSqlCommand;
768
+ exports.ExecuteSqlRequest$ = ExecuteSqlRequest$;
769
+ exports.ExecuteSqlResponse$ = ExecuteSqlResponse$;
770
+ exports.ExecuteStatement$ = ExecuteStatement$;
750
771
  exports.ExecuteStatementCommand = ExecuteStatementCommand;
751
- exports.ForbiddenException = ForbiddenException$1;
752
- exports.HttpEndpointNotEnabledException = HttpEndpointNotEnabledException$1;
753
- exports.InternalServerErrorException = InternalServerErrorException$1;
754
- exports.InvalidResourceStateException = InvalidResourceStateException$1;
755
- exports.InvalidSecretException = InvalidSecretException$1;
772
+ exports.ExecuteStatementRequest$ = ExecuteStatementRequest$;
773
+ exports.ExecuteStatementResponse$ = ExecuteStatementResponse$;
774
+ exports.Field$ = Field$;
775
+ exports.ForbiddenException = ForbiddenException;
776
+ exports.ForbiddenException$ = ForbiddenException$;
777
+ exports.HttpEndpointNotEnabledException = HttpEndpointNotEnabledException;
778
+ exports.HttpEndpointNotEnabledException$ = HttpEndpointNotEnabledException$;
779
+ exports.InternalServerErrorException = InternalServerErrorException;
780
+ exports.InternalServerErrorException$ = InternalServerErrorException$;
781
+ exports.InvalidResourceStateException = InvalidResourceStateException;
782
+ exports.InvalidResourceStateException$ = InvalidResourceStateException$;
783
+ exports.InvalidSecretException = InvalidSecretException;
784
+ exports.InvalidSecretException$ = InvalidSecretException$;
756
785
  exports.LongReturnType = LongReturnType;
757
- exports.NotFoundException = NotFoundException$1;
786
+ exports.NotFoundException = NotFoundException;
787
+ exports.NotFoundException$ = NotFoundException$;
758
788
  exports.RDSData = RDSData;
759
789
  exports.RDSDataClient = RDSDataClient;
760
- exports.RDSDataServiceException = RDSDataServiceException$1;
790
+ exports.RDSDataServiceException = RDSDataServiceException;
791
+ exports.RDSDataServiceException$ = RDSDataServiceException$;
761
792
  exports.RecordsFormatType = RecordsFormatType;
793
+ exports.ResultFrame$ = ResultFrame$;
794
+ exports.ResultSetMetadata$ = ResultSetMetadata$;
795
+ exports.ResultSetOptions$ = ResultSetOptions$;
796
+ exports.RollbackTransaction$ = RollbackTransaction$;
762
797
  exports.RollbackTransactionCommand = RollbackTransactionCommand;
763
- exports.SecretsErrorException = SecretsErrorException$1;
764
- exports.ServiceUnavailableError = ServiceUnavailableError$1;
765
- exports.StatementTimeoutException = StatementTimeoutException$1;
766
- exports.TransactionNotFoundException = TransactionNotFoundException$1;
798
+ exports.RollbackTransactionRequest$ = RollbackTransactionRequest$;
799
+ exports.RollbackTransactionResponse$ = RollbackTransactionResponse$;
800
+ exports.SecretsErrorException = SecretsErrorException;
801
+ exports.SecretsErrorException$ = SecretsErrorException$;
802
+ exports.ServiceUnavailableError = ServiceUnavailableError;
803
+ exports.ServiceUnavailableError$ = ServiceUnavailableError$;
804
+ exports.SqlParameter$ = SqlParameter$;
805
+ exports.SqlStatementResult$ = SqlStatementResult$;
806
+ exports.StatementTimeoutException = StatementTimeoutException;
807
+ exports.StatementTimeoutException$ = StatementTimeoutException$;
808
+ exports.StructValue$ = StructValue$;
809
+ exports.TransactionNotFoundException = TransactionNotFoundException;
810
+ exports.TransactionNotFoundException$ = TransactionNotFoundException$;
767
811
  exports.TypeHint = TypeHint;
768
- exports.UnsupportedResultException = UnsupportedResultException$1;
812
+ exports.UnsupportedResultException = UnsupportedResultException;
813
+ exports.UnsupportedResultException$ = UnsupportedResultException$;
814
+ exports.UpdateResult$ = UpdateResult$;
815
+ exports.Value$ = Value$;
816
+ exports._Record$ = _Record$;
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.rdsdata" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.rdsdata",
32
+ version: "2018-08-01",
33
+ serviceTarget: "RdsDataService",
34
+ },
30
35
  serviceId: config?.serviceId ?? "RDS Data",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchExecuteStatement } from "../schemas/schemas_0";
4
+ import { BatchExecuteStatement$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchExecuteStatementCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchExecuteStatementCommand extends $Command
11
11
  })
12
12
  .s("RdsDataService", "BatchExecuteStatement", {})
13
13
  .n("RDSDataClient", "BatchExecuteStatementCommand")
14
- .sc(BatchExecuteStatement)
14
+ .sc(BatchExecuteStatement$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BeginTransaction } from "../schemas/schemas_0";
4
+ import { BeginTransaction$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BeginTransactionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BeginTransactionCommand extends $Command
11
11
  })
12
12
  .s("RdsDataService", "BeginTransaction", {})
13
13
  .n("RDSDataClient", "BeginTransactionCommand")
14
- .sc(BeginTransaction)
14
+ .sc(BeginTransaction$)
15
15
  .build() {
16
16
  }