@aws-sdk/client-rds-data 3.300.0 → 3.301.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-types/commands/BatchExecuteStatementCommand.d.ts +13 -19
- package/dist-types/commands/BeginTransactionCommand.d.ts +1 -1
- package/dist-types/commands/CommitTransactionCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteSqlCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteStatementCommand.d.ts +13 -19
- package/dist-types/commands/RollbackTransactionCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -39,38 +39,38 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
|
|
|
39
39
|
* import { RDSDataClient, BatchExecuteStatementCommand } from "@aws-sdk/client-rds-data"; // ES Modules import
|
|
40
40
|
* // const { RDSDataClient, BatchExecuteStatementCommand } = require("@aws-sdk/client-rds-data"); // CommonJS import
|
|
41
41
|
* const client = new RDSDataClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // BatchExecuteStatementRequest
|
|
43
43
|
* resourceArn: "STRING_VALUE", // required
|
|
44
44
|
* secretArn: "STRING_VALUE", // required
|
|
45
45
|
* sql: "STRING_VALUE", // required
|
|
46
46
|
* database: "STRING_VALUE",
|
|
47
47
|
* schema: "STRING_VALUE",
|
|
48
|
-
* parameterSets: [
|
|
49
|
-
* [
|
|
50
|
-
* {
|
|
48
|
+
* parameterSets: [ // SqlParameterSets
|
|
49
|
+
* [ // SqlParametersList
|
|
50
|
+
* { // SqlParameter
|
|
51
51
|
* name: "STRING_VALUE",
|
|
52
|
-
* value: { // Union: only one key present
|
|
52
|
+
* value: { // Field Union: only one key present
|
|
53
53
|
* isNull: true || false,
|
|
54
54
|
* booleanValue: true || false,
|
|
55
55
|
* longValue: Number("long"),
|
|
56
56
|
* doubleValue: Number("double"),
|
|
57
57
|
* stringValue: "STRING_VALUE",
|
|
58
58
|
* blobValue: "BLOB_VALUE",
|
|
59
|
-
* arrayValue: { // Union: only one key present
|
|
60
|
-
* booleanValues: [
|
|
59
|
+
* arrayValue: { // ArrayValue Union: only one key present
|
|
60
|
+
* booleanValues: [ // BooleanArray
|
|
61
61
|
* true || false,
|
|
62
62
|
* ],
|
|
63
|
-
* longValues: [
|
|
63
|
+
* longValues: [ // LongArray
|
|
64
64
|
* Number("long"),
|
|
65
65
|
* ],
|
|
66
|
-
* doubleValues: [
|
|
66
|
+
* doubleValues: [ // DoubleArray
|
|
67
67
|
* Number("double"),
|
|
68
68
|
* ],
|
|
69
|
-
* stringValues: [
|
|
69
|
+
* stringValues: [ // StringArray
|
|
70
70
|
* "STRING_VALUE",
|
|
71
71
|
* ],
|
|
72
|
-
* arrayValues: [
|
|
73
|
-
* {
|
|
72
|
+
* arrayValues: [ // ArrayOfArray
|
|
73
|
+
* {// Union: only one key present
|
|
74
74
|
* booleanValues: [
|
|
75
75
|
* true || false,
|
|
76
76
|
* ],
|
|
@@ -84,13 +84,7 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
|
|
|
84
84
|
* "STRING_VALUE",
|
|
85
85
|
* ],
|
|
86
86
|
* arrayValues: [
|
|
87
|
-
*
|
|
88
|
-
* booleanValues: "<ArrayValue>",
|
|
89
|
-
* longValues: "<ArrayValue>",
|
|
90
|
-
* doubleValues: "<ArrayValue>",
|
|
91
|
-
* stringValues: "<ArrayValue>",
|
|
92
|
-
* arrayValues: "<ArrayValue>",
|
|
93
|
-
* },
|
|
87
|
+
* "<ArrayValue>",
|
|
94
88
|
* ],
|
|
95
89
|
* },
|
|
96
90
|
* ],
|
|
@@ -34,7 +34,7 @@ export interface BeginTransactionCommandOutput extends BeginTransactionResponse,
|
|
|
34
34
|
* import { RDSDataClient, BeginTransactionCommand } from "@aws-sdk/client-rds-data"; // ES Modules import
|
|
35
35
|
* // const { RDSDataClient, BeginTransactionCommand } = require("@aws-sdk/client-rds-data"); // CommonJS import
|
|
36
36
|
* const client = new RDSDataClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // BeginTransactionRequest
|
|
38
38
|
* resourceArn: "STRING_VALUE", // required
|
|
39
39
|
* secretArn: "STRING_VALUE", // required
|
|
40
40
|
* database: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ export interface CommitTransactionCommandOutput extends CommitTransactionRespons
|
|
|
27
27
|
* import { RDSDataClient, CommitTransactionCommand } from "@aws-sdk/client-rds-data"; // ES Modules import
|
|
28
28
|
* // const { RDSDataClient, CommitTransactionCommand } = require("@aws-sdk/client-rds-data"); // CommonJS import
|
|
29
29
|
* const client = new RDSDataClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CommitTransactionRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
32
|
* secretArn: "STRING_VALUE", // required
|
|
33
33
|
* transactionId: "STRING_VALUE", // required
|
|
@@ -32,7 +32,7 @@ export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataB
|
|
|
32
32
|
* import { RDSDataClient, ExecuteSqlCommand } from "@aws-sdk/client-rds-data"; // ES Modules import
|
|
33
33
|
* // const { RDSDataClient, ExecuteSqlCommand } = require("@aws-sdk/client-rds-data"); // CommonJS import
|
|
34
34
|
* const client = new RDSDataClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ExecuteSqlRequest
|
|
36
36
|
* dbClusterOrInstanceArn: "STRING_VALUE", // required
|
|
37
37
|
* awsSecretStoreArn: "STRING_VALUE", // required
|
|
38
38
|
* sqlStatements: "STRING_VALUE", // required
|
|
@@ -32,37 +32,37 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
|
|
|
32
32
|
* import { RDSDataClient, ExecuteStatementCommand } from "@aws-sdk/client-rds-data"; // ES Modules import
|
|
33
33
|
* // const { RDSDataClient, ExecuteStatementCommand } = require("@aws-sdk/client-rds-data"); // CommonJS import
|
|
34
34
|
* const client = new RDSDataClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ExecuteStatementRequest
|
|
36
36
|
* resourceArn: "STRING_VALUE", // required
|
|
37
37
|
* secretArn: "STRING_VALUE", // required
|
|
38
38
|
* sql: "STRING_VALUE", // required
|
|
39
39
|
* database: "STRING_VALUE",
|
|
40
40
|
* schema: "STRING_VALUE",
|
|
41
|
-
* parameters: [
|
|
42
|
-
* {
|
|
41
|
+
* parameters: [ // SqlParametersList
|
|
42
|
+
* { // SqlParameter
|
|
43
43
|
* name: "STRING_VALUE",
|
|
44
|
-
* value: { // Union: only one key present
|
|
44
|
+
* value: { // Field Union: only one key present
|
|
45
45
|
* isNull: true || false,
|
|
46
46
|
* booleanValue: true || false,
|
|
47
47
|
* longValue: Number("long"),
|
|
48
48
|
* doubleValue: Number("double"),
|
|
49
49
|
* stringValue: "STRING_VALUE",
|
|
50
50
|
* blobValue: "BLOB_VALUE",
|
|
51
|
-
* arrayValue: { // Union: only one key present
|
|
52
|
-
* booleanValues: [
|
|
51
|
+
* arrayValue: { // ArrayValue Union: only one key present
|
|
52
|
+
* booleanValues: [ // BooleanArray
|
|
53
53
|
* true || false,
|
|
54
54
|
* ],
|
|
55
|
-
* longValues: [
|
|
55
|
+
* longValues: [ // LongArray
|
|
56
56
|
* Number("long"),
|
|
57
57
|
* ],
|
|
58
|
-
* doubleValues: [
|
|
58
|
+
* doubleValues: [ // DoubleArray
|
|
59
59
|
* Number("double"),
|
|
60
60
|
* ],
|
|
61
|
-
* stringValues: [
|
|
61
|
+
* stringValues: [ // StringArray
|
|
62
62
|
* "STRING_VALUE",
|
|
63
63
|
* ],
|
|
64
|
-
* arrayValues: [
|
|
65
|
-
* {
|
|
64
|
+
* arrayValues: [ // ArrayOfArray
|
|
65
|
+
* {// Union: only one key present
|
|
66
66
|
* booleanValues: [
|
|
67
67
|
* true || false,
|
|
68
68
|
* ],
|
|
@@ -76,13 +76,7 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
|
|
|
76
76
|
* "STRING_VALUE",
|
|
77
77
|
* ],
|
|
78
78
|
* arrayValues: [
|
|
79
|
-
*
|
|
80
|
-
* booleanValues: "<ArrayValue>",
|
|
81
|
-
* longValues: "<ArrayValue>",
|
|
82
|
-
* doubleValues: "<ArrayValue>",
|
|
83
|
-
* stringValues: "<ArrayValue>",
|
|
84
|
-
* arrayValues: "<ArrayValue>",
|
|
85
|
-
* },
|
|
79
|
+
* "<ArrayValue>",
|
|
86
80
|
* ],
|
|
87
81
|
* },
|
|
88
82
|
* ],
|
|
@@ -94,7 +88,7 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
|
|
|
94
88
|
* transactionId: "STRING_VALUE",
|
|
95
89
|
* includeResultMetadata: true || false,
|
|
96
90
|
* continueAfterTimeout: true || false,
|
|
97
|
-
* resultSetOptions: {
|
|
91
|
+
* resultSetOptions: { // ResultSetOptions
|
|
98
92
|
* decimalReturnType: "STRING_VALUE",
|
|
99
93
|
* longReturnType: "STRING_VALUE",
|
|
100
94
|
* },
|
|
@@ -26,7 +26,7 @@ export interface RollbackTransactionCommandOutput extends RollbackTransactionRes
|
|
|
26
26
|
* import { RDSDataClient, RollbackTransactionCommand } from "@aws-sdk/client-rds-data"; // ES Modules import
|
|
27
27
|
* // const { RDSDataClient, RollbackTransactionCommand } = require("@aws-sdk/client-rds-data"); // CommonJS import
|
|
28
28
|
* const client = new RDSDataClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // RollbackTransactionRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* secretArn: "STRING_VALUE", // required
|
|
32
32
|
* transactionId: "STRING_VALUE", // required
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|