@aws-sdk/client-rds-data 3.956.0 → 3.958.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/README.md +1 -12
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +236 -129
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +236 -129
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
AWS SDK for JavaScript RDSData Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<fullname>RDS Data API</fullname>
|
|
10
|
-
|
|
11
10
|
<p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora DB cluster. To run these
|
|
12
11
|
statements, you use the RDS Data API (Data API).</p>
|
|
13
12
|
<p>Data API is available with the following types of Aurora databases:</p>
|
|
@@ -24,10 +23,8 @@ statements, you use the RDS Data API (Data API).</p>
|
|
|
24
23
|
in the <i>Amazon Aurora User Guide</i>.</p>
|
|
25
24
|
|
|
26
25
|
## Installing
|
|
27
|
-
|
|
28
26
|
To install this package, simply type add or install @aws-sdk/client-rds-data
|
|
29
27
|
using your favorite package manager:
|
|
30
|
-
|
|
31
28
|
- `npm install @aws-sdk/client-rds-data`
|
|
32
29
|
- `yarn add @aws-sdk/client-rds-data`
|
|
33
30
|
- `pnpm add @aws-sdk/client-rds-data`
|
|
@@ -63,9 +60,7 @@ To send a request, you:
|
|
|
63
60
|
// a client can be shared by different commands.
|
|
64
61
|
const client = new RDSDataClient({ region: "REGION" });
|
|
65
62
|
|
|
66
|
-
const params = {
|
|
67
|
-
/** input parameters */
|
|
68
|
-
};
|
|
63
|
+
const params = { /** input parameters */ };
|
|
69
64
|
const command = new BeginTransactionCommand(params);
|
|
70
65
|
```
|
|
71
66
|
|
|
@@ -224,7 +219,6 @@ BatchExecuteStatement
|
|
|
224
219
|
</summary>
|
|
225
220
|
|
|
226
221
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds-data/command/BatchExecuteStatementCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/BatchExecuteStatementCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/BatchExecuteStatementCommandOutput/)
|
|
227
|
-
|
|
228
222
|
</details>
|
|
229
223
|
<details>
|
|
230
224
|
<summary>
|
|
@@ -232,7 +226,6 @@ BeginTransaction
|
|
|
232
226
|
</summary>
|
|
233
227
|
|
|
234
228
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds-data/command/BeginTransactionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/BeginTransactionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/BeginTransactionCommandOutput/)
|
|
235
|
-
|
|
236
229
|
</details>
|
|
237
230
|
<details>
|
|
238
231
|
<summary>
|
|
@@ -240,7 +233,6 @@ CommitTransaction
|
|
|
240
233
|
</summary>
|
|
241
234
|
|
|
242
235
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds-data/command/CommitTransactionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/CommitTransactionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/CommitTransactionCommandOutput/)
|
|
243
|
-
|
|
244
236
|
</details>
|
|
245
237
|
<details>
|
|
246
238
|
<summary>
|
|
@@ -248,7 +240,6 @@ ExecuteSql
|
|
|
248
240
|
</summary>
|
|
249
241
|
|
|
250
242
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds-data/command/ExecuteSqlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/ExecuteSqlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/ExecuteSqlCommandOutput/)
|
|
251
|
-
|
|
252
243
|
</details>
|
|
253
244
|
<details>
|
|
254
245
|
<summary>
|
|
@@ -256,7 +247,6 @@ ExecuteStatement
|
|
|
256
247
|
</summary>
|
|
257
248
|
|
|
258
249
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds-data/command/ExecuteStatementCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/ExecuteStatementCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/ExecuteStatementCommandOutput/)
|
|
259
|
-
|
|
260
250
|
</details>
|
|
261
251
|
<details>
|
|
262
252
|
<summary>
|
|
@@ -264,5 +254,4 @@ RollbackTransaction
|
|
|
264
254
|
</summary>
|
|
265
255
|
|
|
266
256
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds-data/command/RollbackTransactionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/RollbackTransactionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds-data/Interface/RollbackTransactionCommandOutput/)
|
|
267
|
-
|
|
268
257
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultRDSDataHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultRDSDataHttpAuthSchemeParametersProvider = defaultRDSDataHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -454,173 +454,280 @@ 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,
|
|
457
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
458
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
459
|
+
[_m],
|
|
460
|
+
[0]
|
|
461
|
+
];
|
|
458
462
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
459
|
-
var BadRequestException$ = [-3, n0, _BRE,
|
|
463
|
+
var BadRequestException$ = [-3, n0, _BRE,
|
|
464
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
465
|
+
[_m],
|
|
466
|
+
[0]
|
|
467
|
+
];
|
|
460
468
|
schema.TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
|
|
461
|
-
var BatchExecuteStatementRequest$ = [
|
|
462
|
-
3,
|
|
463
|
-
n0,
|
|
464
|
-
_BESR,
|
|
469
|
+
var BatchExecuteStatementRequest$ = [3, n0, _BESR,
|
|
465
470
|
0,
|
|
466
471
|
[_rA, _sA, _s, _d, _sc, _pS, _tI],
|
|
467
|
-
[0, 0, 0, 0, 0, () => SqlParameterSets, 0]
|
|
468
|
-
];
|
|
469
|
-
var BatchExecuteStatementResponse$ = [3, n0, _BESRa,
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
472
|
+
[0, 0, 0, 0, 0, () => SqlParameterSets, 0]
|
|
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]
|
|
483
|
+
];
|
|
484
|
+
var BeginTransactionResponse$ = [3, n0, _BTRe,
|
|
485
|
+
0,
|
|
486
|
+
[_tI],
|
|
487
|
+
[0]
|
|
488
|
+
];
|
|
489
|
+
var ColumnMetadata$ = [3, n0, _CM,
|
|
476
490
|
0,
|
|
477
491
|
[_n, _t, _tN, _l, _sN, _tNa, _iAI, _iS, _iC, _iCS, _nu, _p, _sca, _aBCT],
|
|
478
|
-
[0, 1, 0, 0, 0, 0, 2, 2, 2, 2, 1, 1, 1, 1]
|
|
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]
|
|
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]
|
|
479
508
|
];
|
|
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
509
|
schema.TypeRegistry.for(n0).registerError(DatabaseErrorException$, DatabaseErrorException);
|
|
484
|
-
var DatabaseNotFoundException$ = [-3, n0, _DNFE,
|
|
510
|
+
var DatabaseNotFoundException$ = [-3, n0, _DNFE,
|
|
511
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
512
|
+
[_m],
|
|
513
|
+
[0]
|
|
514
|
+
];
|
|
485
515
|
schema.TypeRegistry.for(n0).registerError(DatabaseNotFoundException$, DatabaseNotFoundException);
|
|
486
|
-
var DatabaseResumingException$ = [-3, n0, _DRE,
|
|
516
|
+
var DatabaseResumingException$ = [-3, n0, _DRE,
|
|
517
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
518
|
+
[_m],
|
|
519
|
+
[0]
|
|
520
|
+
];
|
|
487
521
|
schema.TypeRegistry.for(n0).registerError(DatabaseResumingException$, DatabaseResumingException);
|
|
488
|
-
var DatabaseUnavailableException$ = [-3, n0, _DUE,
|
|
522
|
+
var DatabaseUnavailableException$ = [-3, n0, _DUE,
|
|
523
|
+
{ [_e]: _se, [_hE]: 504 },
|
|
524
|
+
[],
|
|
525
|
+
[]
|
|
526
|
+
];
|
|
489
527
|
schema.TypeRegistry.for(n0).registerError(DatabaseUnavailableException$, DatabaseUnavailableException);
|
|
490
|
-
var ExecuteSqlRequest$ = [3, n0, _ESR,
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
528
|
+
var ExecuteSqlRequest$ = [3, n0, _ESR,
|
|
529
|
+
0,
|
|
530
|
+
[_dCOIA, _aSSA, _sS, _d, _sc],
|
|
531
|
+
[0, 0, 0, 0, 0]
|
|
532
|
+
];
|
|
533
|
+
var ExecuteSqlResponse$ = [3, n0, _ESRx,
|
|
534
|
+
0,
|
|
535
|
+
[_sSR],
|
|
536
|
+
[() => SqlStatementResults]
|
|
537
|
+
];
|
|
538
|
+
var ExecuteStatementRequest$ = [3, n0, _ESRxe,
|
|
496
539
|
0,
|
|
497
540
|
[_rA, _sA, _s, _d, _sc, _pa, _tI, _iRM, _cAT, _rSO, _fRA],
|
|
498
|
-
[0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions$, 0]
|
|
541
|
+
[0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions$, 0]
|
|
499
542
|
];
|
|
500
|
-
var ExecuteStatementResponse$ = [
|
|
501
|
-
3,
|
|
502
|
-
n0,
|
|
503
|
-
_ESRxec,
|
|
543
|
+
var ExecuteStatementResponse$ = [3, n0, _ESRxec,
|
|
504
544
|
0,
|
|
505
545
|
[_r, _cM, _nORU, _gF, _fR],
|
|
506
|
-
[() => SqlRecords, () => Metadata, 1, () => FieldList, 0]
|
|
546
|
+
[() => SqlRecords, () => Metadata, 1, () => FieldList, 0]
|
|
547
|
+
];
|
|
548
|
+
var ForbiddenException$ = [-3, n0, _FE,
|
|
549
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
550
|
+
[_m],
|
|
551
|
+
[0]
|
|
507
552
|
];
|
|
508
|
-
var ForbiddenException$ = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
509
553
|
schema.TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
510
|
-
var HttpEndpointNotEnabledException$ = [-3, n0, _HENEE,
|
|
554
|
+
var HttpEndpointNotEnabledException$ = [-3, n0, _HENEE,
|
|
555
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
556
|
+
[_m],
|
|
557
|
+
[0]
|
|
558
|
+
];
|
|
511
559
|
schema.TypeRegistry.for(n0).registerError(HttpEndpointNotEnabledException$, HttpEndpointNotEnabledException);
|
|
512
|
-
var InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
560
|
+
var InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
561
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
562
|
+
[],
|
|
563
|
+
[]
|
|
564
|
+
];
|
|
513
565
|
schema.TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
|
|
514
|
-
var InvalidResourceStateException$ = [-3, n0, _IRSE,
|
|
566
|
+
var InvalidResourceStateException$ = [-3, n0, _IRSE,
|
|
567
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
568
|
+
[_m],
|
|
569
|
+
[0]
|
|
570
|
+
];
|
|
515
571
|
schema.TypeRegistry.for(n0).registerError(InvalidResourceStateException$, InvalidResourceStateException);
|
|
516
|
-
var InvalidSecretException$ = [-3, n0, _ISE,
|
|
572
|
+
var InvalidSecretException$ = [-3, n0, _ISE,
|
|
573
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
574
|
+
[_m],
|
|
575
|
+
[0]
|
|
576
|
+
];
|
|
517
577
|
schema.TypeRegistry.for(n0).registerError(InvalidSecretException$, InvalidSecretException);
|
|
518
|
-
var NotFoundException$ = [-3, n0, _NFE,
|
|
578
|
+
var NotFoundException$ = [-3, n0, _NFE,
|
|
579
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
580
|
+
[_m],
|
|
581
|
+
[0]
|
|
582
|
+
];
|
|
519
583
|
schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
|
|
520
|
-
var _Record$ = [3, n0, _R,
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
var
|
|
526
|
-
|
|
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]
|
|
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
|
+
];
|
|
527
619
|
schema.TypeRegistry.for(n0).registerError(SecretsErrorException$, SecretsErrorException);
|
|
528
|
-
var ServiceUnavailableError$ = [-3, n0, _SUE,
|
|
620
|
+
var ServiceUnavailableError$ = [-3, n0, _SUE,
|
|
621
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
622
|
+
[],
|
|
623
|
+
[]
|
|
624
|
+
];
|
|
529
625
|
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableError$, ServiceUnavailableError);
|
|
530
|
-
var SqlParameter$ = [3, n0, _SP,
|
|
531
|
-
|
|
532
|
-
|
|
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
|
+
];
|
|
533
641
|
schema.TypeRegistry.for(n0).registerError(StatementTimeoutException$, StatementTimeoutException);
|
|
534
|
-
var StructValue$ = [3, n0, _SV,
|
|
535
|
-
|
|
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
|
+
];
|
|
536
652
|
schema.TypeRegistry.for(n0).registerError(TransactionNotFoundException$, TransactionNotFoundException);
|
|
537
|
-
var UnsupportedResultException$ = [-3, n0, _URE,
|
|
653
|
+
var UnsupportedResultException$ = [-3, n0, _URE,
|
|
654
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
655
|
+
[_m],
|
|
656
|
+
[0]
|
|
657
|
+
];
|
|
538
658
|
schema.TypeRegistry.for(n0).registerError(UnsupportedResultException$, UnsupportedResultException);
|
|
539
|
-
var UpdateResult$ = [3, n0, _UR,
|
|
659
|
+
var UpdateResult$ = [3, n0, _UR,
|
|
660
|
+
0,
|
|
661
|
+
[_gF],
|
|
662
|
+
[() => FieldList]
|
|
663
|
+
];
|
|
540
664
|
var RDSDataServiceException$ = [-3, _sm, "RDSDataServiceException", 0, [], []];
|
|
541
665
|
schema.TypeRegistry.for(_sm).registerError(RDSDataServiceException$, RDSDataServiceException);
|
|
542
|
-
var ArrayOfArray = [1, n0, _AOA,
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
var
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
var
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
var
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
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,
|
|
557
700
|
0,
|
|
558
701
|
[_bV, _lV, _dV, _sV, _aV],
|
|
559
|
-
[64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray]
|
|
702
|
+
[64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray]
|
|
560
703
|
];
|
|
561
|
-
var Field$ = [
|
|
562
|
-
4,
|
|
563
|
-
n0,
|
|
564
|
-
_F,
|
|
704
|
+
var Field$ = [4, n0, _F,
|
|
565
705
|
0,
|
|
566
706
|
[_iN, _bVo, _lVo, _dVo, _sVt, _bVl, _aVr],
|
|
567
|
-
[2, 2, 1, 1, 0, 21, () => ArrayValue$]
|
|
707
|
+
[2, 2, 1, 1, 0, 21, () => ArrayValue$]
|
|
568
708
|
];
|
|
569
|
-
var Value$ = [
|
|
570
|
-
4,
|
|
571
|
-
n0,
|
|
572
|
-
_V,
|
|
709
|
+
var Value$ = [4, n0, _V,
|
|
573
710
|
0,
|
|
574
711
|
[_iN, _bVi, _bIV, _iV, _dVo, _rV, _sVt, _bVl, _aV, _sVtr],
|
|
575
|
-
[2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue$]
|
|
576
|
-
];
|
|
577
|
-
var BatchExecuteStatement$ = [
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
{ [_h]: ["POST", "/
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
]
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
() =>
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
9,
|
|
595
|
-
n0,
|
|
596
|
-
_CT,
|
|
597
|
-
{ [_h]: ["POST", "/CommitTransaction", 200] },
|
|
598
|
-
() => CommitTransactionRequest$,
|
|
599
|
-
() => CommitTransactionResponse$,
|
|
600
|
-
];
|
|
601
|
-
var ExecuteSql$ = [
|
|
602
|
-
9,
|
|
603
|
-
n0,
|
|
604
|
-
_ES,
|
|
605
|
-
{ [_h]: ["POST", "/ExecuteSql", 200] },
|
|
606
|
-
() => ExecuteSqlRequest$,
|
|
607
|
-
() => ExecuteSqlResponse$,
|
|
608
|
-
];
|
|
609
|
-
var ExecuteStatement$ = [
|
|
610
|
-
9,
|
|
611
|
-
n0,
|
|
612
|
-
_ESx,
|
|
613
|
-
{ [_h]: ["POST", "/Execute", 200] },
|
|
614
|
-
() => ExecuteStatementRequest$,
|
|
615
|
-
() => ExecuteStatementResponse$,
|
|
616
|
-
];
|
|
617
|
-
var RollbackTransaction$ = [
|
|
618
|
-
9,
|
|
619
|
-
n0,
|
|
620
|
-
_RT,
|
|
621
|
-
{ [_h]: ["POST", "/RollbackTransaction", 200] },
|
|
622
|
-
() => RollbackTransactionRequest$,
|
|
623
|
-
() => RollbackTransactionResponse$,
|
|
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$
|
|
624
731
|
];
|
|
625
732
|
|
|
626
733
|
class BatchExecuteStatementCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultRDSDataHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -131,175 +131,282 @@ const n0 = "com.amazonaws.rdsdata";
|
|
|
131
131
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
132
132
|
import { AccessDeniedException, BadRequestException, DatabaseErrorException, DatabaseNotFoundException, DatabaseResumingException, DatabaseUnavailableException, ForbiddenException, HttpEndpointNotEnabledException, InternalServerErrorException, InvalidResourceStateException, InvalidSecretException, NotFoundException, SecretsErrorException, ServiceUnavailableError, StatementTimeoutException, TransactionNotFoundException, UnsupportedResultException, } from "../models/errors";
|
|
133
133
|
import { RDSDataServiceException } from "../models/RDSDataServiceException";
|
|
134
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
134
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
135
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
136
|
+
[_m],
|
|
137
|
+
[0]
|
|
138
|
+
];
|
|
135
139
|
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
136
|
-
export var BadRequestException$ = [-3, n0, _BRE,
|
|
140
|
+
export var BadRequestException$ = [-3, n0, _BRE,
|
|
141
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
142
|
+
[_m],
|
|
143
|
+
[0]
|
|
144
|
+
];
|
|
137
145
|
TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
|
|
138
|
-
export var BatchExecuteStatementRequest$ = [
|
|
139
|
-
3,
|
|
140
|
-
n0,
|
|
141
|
-
_BESR,
|
|
146
|
+
export var BatchExecuteStatementRequest$ = [3, n0, _BESR,
|
|
142
147
|
0,
|
|
143
148
|
[_rA, _sA, _s, _d, _sc, _pS, _tI],
|
|
144
|
-
[0, 0, 0, 0, 0, () => SqlParameterSets, 0]
|
|
145
|
-
];
|
|
146
|
-
export var BatchExecuteStatementResponse$ = [3, n0, _BESRa,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
[0, 0, 0, 0, 0, () => SqlParameterSets, 0]
|
|
150
|
+
];
|
|
151
|
+
export var BatchExecuteStatementResponse$ = [3, n0, _BESRa,
|
|
152
|
+
0,
|
|
153
|
+
[_uR],
|
|
154
|
+
[() => UpdateResults]
|
|
155
|
+
];
|
|
156
|
+
export var BeginTransactionRequest$ = [3, n0, _BTR,
|
|
157
|
+
0,
|
|
158
|
+
[_rA, _sA, _d, _sc],
|
|
159
|
+
[0, 0, 0, 0]
|
|
160
|
+
];
|
|
161
|
+
export var BeginTransactionResponse$ = [3, n0, _BTRe,
|
|
162
|
+
0,
|
|
163
|
+
[_tI],
|
|
164
|
+
[0]
|
|
165
|
+
];
|
|
166
|
+
export var ColumnMetadata$ = [3, n0, _CM,
|
|
153
167
|
0,
|
|
154
168
|
[_n, _t, _tN, _l, _sN, _tNa, _iAI, _iS, _iC, _iCS, _nu, _p, _sca, _aBCT],
|
|
155
|
-
[0, 1, 0, 0, 0, 0, 2, 2, 2, 2, 1, 1, 1, 1]
|
|
169
|
+
[0, 1, 0, 0, 0, 0, 2, 2, 2, 2, 1, 1, 1, 1]
|
|
170
|
+
];
|
|
171
|
+
export var CommitTransactionRequest$ = [3, n0, _CTR,
|
|
172
|
+
0,
|
|
173
|
+
[_rA, _sA, _tI],
|
|
174
|
+
[0, 0, 0]
|
|
175
|
+
];
|
|
176
|
+
export var CommitTransactionResponse$ = [3, n0, _CTRo,
|
|
177
|
+
0,
|
|
178
|
+
[_tS],
|
|
179
|
+
[0]
|
|
180
|
+
];
|
|
181
|
+
export var DatabaseErrorException$ = [-3, n0, _DEE,
|
|
182
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
183
|
+
[_m],
|
|
184
|
+
[0]
|
|
156
185
|
];
|
|
157
|
-
export var CommitTransactionRequest$ = [3, n0, _CTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
|
|
158
|
-
export var CommitTransactionResponse$ = [3, n0, _CTRo, 0, [_tS], [0]];
|
|
159
|
-
export var DatabaseErrorException$ = [-3, n0, _DEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
160
186
|
TypeRegistry.for(n0).registerError(DatabaseErrorException$, DatabaseErrorException);
|
|
161
|
-
export var DatabaseNotFoundException$ = [-3, n0, _DNFE,
|
|
187
|
+
export var DatabaseNotFoundException$ = [-3, n0, _DNFE,
|
|
188
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
189
|
+
[_m],
|
|
190
|
+
[0]
|
|
191
|
+
];
|
|
162
192
|
TypeRegistry.for(n0).registerError(DatabaseNotFoundException$, DatabaseNotFoundException);
|
|
163
|
-
export var DatabaseResumingException$ = [-3, n0, _DRE,
|
|
193
|
+
export var DatabaseResumingException$ = [-3, n0, _DRE,
|
|
194
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
195
|
+
[_m],
|
|
196
|
+
[0]
|
|
197
|
+
];
|
|
164
198
|
TypeRegistry.for(n0).registerError(DatabaseResumingException$, DatabaseResumingException);
|
|
165
|
-
export var DatabaseUnavailableException$ = [-3, n0, _DUE,
|
|
199
|
+
export var DatabaseUnavailableException$ = [-3, n0, _DUE,
|
|
200
|
+
{ [_e]: _se, [_hE]: 504 },
|
|
201
|
+
[],
|
|
202
|
+
[]
|
|
203
|
+
];
|
|
166
204
|
TypeRegistry.for(n0).registerError(DatabaseUnavailableException$, DatabaseUnavailableException);
|
|
167
|
-
export var ExecuteSqlRequest$ = [3, n0, _ESR,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
205
|
+
export var ExecuteSqlRequest$ = [3, n0, _ESR,
|
|
206
|
+
0,
|
|
207
|
+
[_dCOIA, _aSSA, _sS, _d, _sc],
|
|
208
|
+
[0, 0, 0, 0, 0]
|
|
209
|
+
];
|
|
210
|
+
export var ExecuteSqlResponse$ = [3, n0, _ESRx,
|
|
211
|
+
0,
|
|
212
|
+
[_sSR],
|
|
213
|
+
[() => SqlStatementResults]
|
|
214
|
+
];
|
|
215
|
+
export var ExecuteStatementRequest$ = [3, n0, _ESRxe,
|
|
173
216
|
0,
|
|
174
217
|
[_rA, _sA, _s, _d, _sc, _pa, _tI, _iRM, _cAT, _rSO, _fRA],
|
|
175
|
-
[0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions$, 0]
|
|
218
|
+
[0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions$, 0]
|
|
176
219
|
];
|
|
177
|
-
export var ExecuteStatementResponse$ = [
|
|
178
|
-
3,
|
|
179
|
-
n0,
|
|
180
|
-
_ESRxec,
|
|
220
|
+
export var ExecuteStatementResponse$ = [3, n0, _ESRxec,
|
|
181
221
|
0,
|
|
182
222
|
[_r, _cM, _nORU, _gF, _fR],
|
|
183
|
-
[() => SqlRecords, () => Metadata, 1, () => FieldList, 0]
|
|
223
|
+
[() => SqlRecords, () => Metadata, 1, () => FieldList, 0]
|
|
224
|
+
];
|
|
225
|
+
export var ForbiddenException$ = [-3, n0, _FE,
|
|
226
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
227
|
+
[_m],
|
|
228
|
+
[0]
|
|
184
229
|
];
|
|
185
|
-
export var ForbiddenException$ = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
186
230
|
TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
187
|
-
export var HttpEndpointNotEnabledException$ = [-3, n0, _HENEE,
|
|
231
|
+
export var HttpEndpointNotEnabledException$ = [-3, n0, _HENEE,
|
|
232
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
233
|
+
[_m],
|
|
234
|
+
[0]
|
|
235
|
+
];
|
|
188
236
|
TypeRegistry.for(n0).registerError(HttpEndpointNotEnabledException$, HttpEndpointNotEnabledException);
|
|
189
|
-
export var InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
237
|
+
export var InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
238
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
239
|
+
[],
|
|
240
|
+
[]
|
|
241
|
+
];
|
|
190
242
|
TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
|
|
191
|
-
export var InvalidResourceStateException$ = [-3, n0, _IRSE,
|
|
243
|
+
export var InvalidResourceStateException$ = [-3, n0, _IRSE,
|
|
244
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
245
|
+
[_m],
|
|
246
|
+
[0]
|
|
247
|
+
];
|
|
192
248
|
TypeRegistry.for(n0).registerError(InvalidResourceStateException$, InvalidResourceStateException);
|
|
193
|
-
export var InvalidSecretException$ = [-3, n0, _ISE,
|
|
249
|
+
export var InvalidSecretException$ = [-3, n0, _ISE,
|
|
250
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
251
|
+
[_m],
|
|
252
|
+
[0]
|
|
253
|
+
];
|
|
194
254
|
TypeRegistry.for(n0).registerError(InvalidSecretException$, InvalidSecretException);
|
|
195
|
-
export var NotFoundException$ = [-3, n0, _NFE,
|
|
255
|
+
export var NotFoundException$ = [-3, n0, _NFE,
|
|
256
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
257
|
+
[_m],
|
|
258
|
+
[0]
|
|
259
|
+
];
|
|
196
260
|
TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
|
|
197
|
-
export var _Record$ = [3, n0, _R,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
export var
|
|
203
|
-
|
|
261
|
+
export var _Record$ = [3, n0, _R,
|
|
262
|
+
0,
|
|
263
|
+
[_v],
|
|
264
|
+
[() => Row]
|
|
265
|
+
];
|
|
266
|
+
export var ResultFrame$ = [3, n0, _RF,
|
|
267
|
+
0,
|
|
268
|
+
[_rSM, _r],
|
|
269
|
+
[() => ResultSetMetadata$, () => Records]
|
|
270
|
+
];
|
|
271
|
+
export var ResultSetMetadata$ = [3, n0, _RSM,
|
|
272
|
+
0,
|
|
273
|
+
[_cC, _cM],
|
|
274
|
+
[1, () => Metadata]
|
|
275
|
+
];
|
|
276
|
+
export var ResultSetOptions$ = [3, n0, _RSO,
|
|
277
|
+
0,
|
|
278
|
+
[_dRT, _lRT],
|
|
279
|
+
[0, 0]
|
|
280
|
+
];
|
|
281
|
+
export var RollbackTransactionRequest$ = [3, n0, _RTR,
|
|
282
|
+
0,
|
|
283
|
+
[_rA, _sA, _tI],
|
|
284
|
+
[0, 0, 0]
|
|
285
|
+
];
|
|
286
|
+
export var RollbackTransactionResponse$ = [3, n0, _RTRo,
|
|
287
|
+
0,
|
|
288
|
+
[_tS],
|
|
289
|
+
[0]
|
|
290
|
+
];
|
|
291
|
+
export var SecretsErrorException$ = [-3, n0, _SEE,
|
|
292
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
293
|
+
[_m],
|
|
294
|
+
[0]
|
|
295
|
+
];
|
|
204
296
|
TypeRegistry.for(n0).registerError(SecretsErrorException$, SecretsErrorException);
|
|
205
|
-
export var ServiceUnavailableError$ = [-3, n0, _SUE,
|
|
297
|
+
export var ServiceUnavailableError$ = [-3, n0, _SUE,
|
|
298
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
299
|
+
[],
|
|
300
|
+
[]
|
|
301
|
+
];
|
|
206
302
|
TypeRegistry.for(n0).registerError(ServiceUnavailableError$, ServiceUnavailableError);
|
|
207
|
-
export var SqlParameter$ = [3, n0, _SP,
|
|
208
|
-
|
|
209
|
-
|
|
303
|
+
export var SqlParameter$ = [3, n0, _SP,
|
|
304
|
+
0,
|
|
305
|
+
[_n, _va, _tH],
|
|
306
|
+
[0, () => Field$, 0]
|
|
307
|
+
];
|
|
308
|
+
export var SqlStatementResult$ = [3, n0, _SSR,
|
|
309
|
+
0,
|
|
310
|
+
[_rF, _nORU],
|
|
311
|
+
[() => ResultFrame$, 1]
|
|
312
|
+
];
|
|
313
|
+
export var StatementTimeoutException$ = [-3, n0, _STE,
|
|
314
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
315
|
+
[_m, _dCI],
|
|
316
|
+
[0, 1]
|
|
317
|
+
];
|
|
210
318
|
TypeRegistry.for(n0).registerError(StatementTimeoutException$, StatementTimeoutException);
|
|
211
|
-
export var StructValue$ = [3, n0, _SV,
|
|
212
|
-
|
|
319
|
+
export var StructValue$ = [3, n0, _SV,
|
|
320
|
+
0,
|
|
321
|
+
[_a],
|
|
322
|
+
[() => ArrayValueList]
|
|
323
|
+
];
|
|
324
|
+
export var TransactionNotFoundException$ = [-3, n0, _TNFE,
|
|
325
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
326
|
+
[_m],
|
|
327
|
+
[0]
|
|
328
|
+
];
|
|
213
329
|
TypeRegistry.for(n0).registerError(TransactionNotFoundException$, TransactionNotFoundException);
|
|
214
|
-
export var UnsupportedResultException$ = [-3, n0, _URE,
|
|
330
|
+
export var UnsupportedResultException$ = [-3, n0, _URE,
|
|
331
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
332
|
+
[_m],
|
|
333
|
+
[0]
|
|
334
|
+
];
|
|
215
335
|
TypeRegistry.for(n0).registerError(UnsupportedResultException$, UnsupportedResultException);
|
|
216
|
-
export var UpdateResult$ = [3, n0, _UR,
|
|
336
|
+
export var UpdateResult$ = [3, n0, _UR,
|
|
337
|
+
0,
|
|
338
|
+
[_gF],
|
|
339
|
+
[() => FieldList]
|
|
340
|
+
];
|
|
217
341
|
export var RDSDataServiceException$ = [-3, _sm, "RDSDataServiceException", 0, [], []];
|
|
218
342
|
TypeRegistry.for(_sm).registerError(RDSDataServiceException$, RDSDataServiceException);
|
|
219
|
-
var ArrayOfArray = [1, n0, _AOA,
|
|
220
|
-
|
|
343
|
+
var ArrayOfArray = [1, n0, _AOA,
|
|
344
|
+
0, () => ArrayValue$
|
|
345
|
+
];
|
|
346
|
+
var ArrayValueList = [1, n0, _AVL,
|
|
347
|
+
0, () => Value$
|
|
348
|
+
];
|
|
221
349
|
var BooleanArray = 64 | 2;
|
|
222
350
|
var DoubleArray = 64 | 1;
|
|
223
|
-
var FieldList = [1, n0, _FL,
|
|
351
|
+
var FieldList = [1, n0, _FL,
|
|
352
|
+
0, () => Field$
|
|
353
|
+
];
|
|
224
354
|
var LongArray = 64 | 1;
|
|
225
|
-
var Metadata = [1, n0, _M,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
var
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
var
|
|
355
|
+
var Metadata = [1, n0, _M,
|
|
356
|
+
0, () => ColumnMetadata$
|
|
357
|
+
];
|
|
358
|
+
var Records = [1, n0, _Re,
|
|
359
|
+
0, () => _Record$
|
|
360
|
+
];
|
|
361
|
+
var Row = [1, n0, _Ro,
|
|
362
|
+
0, () => Value$
|
|
363
|
+
];
|
|
364
|
+
var SqlParameterSets = [1, n0, _SPS,
|
|
365
|
+
0, () => SqlParametersList
|
|
366
|
+
];
|
|
367
|
+
var SqlParametersList = [1, n0, _SPL,
|
|
368
|
+
0, () => SqlParameter$
|
|
369
|
+
];
|
|
370
|
+
var SqlRecords = [1, n0, _SR,
|
|
371
|
+
0, () => FieldList
|
|
372
|
+
];
|
|
373
|
+
var SqlStatementResults = [1, n0, _SSRq,
|
|
374
|
+
0, () => SqlStatementResult$
|
|
375
|
+
];
|
|
232
376
|
var StringArray = 64 | 0;
|
|
233
|
-
var UpdateResults = [1, n0, _URp,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
_AV,
|
|
377
|
+
var UpdateResults = [1, n0, _URp,
|
|
378
|
+
0, () => UpdateResult$
|
|
379
|
+
];
|
|
380
|
+
export var ArrayValue$ = [4, n0, _AV,
|
|
238
381
|
0,
|
|
239
382
|
[_bV, _lV, _dV, _sV, _aV],
|
|
240
|
-
[64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray]
|
|
383
|
+
[64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray]
|
|
241
384
|
];
|
|
242
|
-
export var Field$ = [
|
|
243
|
-
4,
|
|
244
|
-
n0,
|
|
245
|
-
_F,
|
|
385
|
+
export var Field$ = [4, n0, _F,
|
|
246
386
|
0,
|
|
247
387
|
[_iN, _bVo, _lVo, _dVo, _sVt, _bVl, _aVr],
|
|
248
|
-
[2, 2, 1, 1, 0, 21, () => ArrayValue$]
|
|
388
|
+
[2, 2, 1, 1, 0, 21, () => ArrayValue$]
|
|
249
389
|
];
|
|
250
|
-
export var Value$ = [
|
|
251
|
-
4,
|
|
252
|
-
n0,
|
|
253
|
-
_V,
|
|
390
|
+
export var Value$ = [4, n0, _V,
|
|
254
391
|
0,
|
|
255
392
|
[_iN, _bVi, _bIV, _iV, _dVo, _rV, _sVt, _bVl, _aV, _sVtr],
|
|
256
|
-
[2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue$]
|
|
257
|
-
];
|
|
258
|
-
export var BatchExecuteStatement$ = [
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
{ [_h]: ["POST", "/
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
]
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
() =>
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
9,
|
|
276
|
-
n0,
|
|
277
|
-
_CT,
|
|
278
|
-
{ [_h]: ["POST", "/CommitTransaction", 200] },
|
|
279
|
-
() => CommitTransactionRequest$,
|
|
280
|
-
() => CommitTransactionResponse$,
|
|
281
|
-
];
|
|
282
|
-
export var ExecuteSql$ = [
|
|
283
|
-
9,
|
|
284
|
-
n0,
|
|
285
|
-
_ES,
|
|
286
|
-
{ [_h]: ["POST", "/ExecuteSql", 200] },
|
|
287
|
-
() => ExecuteSqlRequest$,
|
|
288
|
-
() => ExecuteSqlResponse$,
|
|
289
|
-
];
|
|
290
|
-
export var ExecuteStatement$ = [
|
|
291
|
-
9,
|
|
292
|
-
n0,
|
|
293
|
-
_ESx,
|
|
294
|
-
{ [_h]: ["POST", "/Execute", 200] },
|
|
295
|
-
() => ExecuteStatementRequest$,
|
|
296
|
-
() => ExecuteStatementResponse$,
|
|
297
|
-
];
|
|
298
|
-
export var RollbackTransaction$ = [
|
|
299
|
-
9,
|
|
300
|
-
n0,
|
|
301
|
-
_RT,
|
|
302
|
-
{ [_h]: ["POST", "/RollbackTransaction", 200] },
|
|
303
|
-
() => RollbackTransactionRequest$,
|
|
304
|
-
() => RollbackTransactionResponse$,
|
|
393
|
+
[2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue$]
|
|
394
|
+
];
|
|
395
|
+
export var BatchExecuteStatement$ = [9, n0, _BES,
|
|
396
|
+
{ [_h]: ["POST", "/BatchExecute", 200] }, () => BatchExecuteStatementRequest$, () => BatchExecuteStatementResponse$
|
|
397
|
+
];
|
|
398
|
+
export var BeginTransaction$ = [9, n0, _BT,
|
|
399
|
+
{ [_h]: ["POST", "/BeginTransaction", 200] }, () => BeginTransactionRequest$, () => BeginTransactionResponse$
|
|
400
|
+
];
|
|
401
|
+
export var CommitTransaction$ = [9, n0, _CT,
|
|
402
|
+
{ [_h]: ["POST", "/CommitTransaction", 200] }, () => CommitTransactionRequest$, () => CommitTransactionResponse$
|
|
403
|
+
];
|
|
404
|
+
export var ExecuteSql$ = [9, n0, _ES,
|
|
405
|
+
{ [_h]: ["POST", "/ExecuteSql", 200] }, () => ExecuteSqlRequest$, () => ExecuteSqlResponse$
|
|
406
|
+
];
|
|
407
|
+
export var ExecuteStatement$ = [9, n0, _ESx,
|
|
408
|
+
{ [_h]: ["POST", "/Execute", 200] }, () => ExecuteStatementRequest$, () => ExecuteStatementResponse$
|
|
409
|
+
];
|
|
410
|
+
export var RollbackTransaction$ = [9, n0, _RT,
|
|
411
|
+
{ [_h]: ["POST", "/RollbackTransaction", 200] }, () => RollbackTransactionRequest$, () => RollbackTransactionResponse$
|
|
305
412
|
];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rds-data",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
-
"build:include:deps": "
|
|
9
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.957.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.957.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
31
|
+
"@aws-sdk/types": "3.957.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.957.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.957.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.5",
|
|
36
36
|
"@smithy/core": "^3.20.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.8",
|