@aws-sdk/client-rds-data 3.321.1 → 3.326.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.
@@ -98,6 +98,56 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
98
98
  * };
99
99
  * const command = new BatchExecuteStatementCommand(input);
100
100
  * const response = await client.send(command);
101
+ * // { // BatchExecuteStatementResponse
102
+ * // updateResults: [ // UpdateResults
103
+ * // { // UpdateResult
104
+ * // generatedFields: [ // FieldList
105
+ * // { // Field Union: only one key present
106
+ * // isNull: true || false,
107
+ * // booleanValue: true || false,
108
+ * // longValue: Number("long"),
109
+ * // doubleValue: Number("double"),
110
+ * // stringValue: "STRING_VALUE",
111
+ * // blobValue: "BLOB_VALUE",
112
+ * // arrayValue: { // ArrayValue Union: only one key present
113
+ * // booleanValues: [ // BooleanArray
114
+ * // true || false,
115
+ * // ],
116
+ * // longValues: [ // LongArray
117
+ * // Number("long"),
118
+ * // ],
119
+ * // doubleValues: [ // DoubleArray
120
+ * // Number("double"),
121
+ * // ],
122
+ * // stringValues: [ // StringArray
123
+ * // "STRING_VALUE",
124
+ * // ],
125
+ * // arrayValues: [ // ArrayOfArray
126
+ * // {// Union: only one key present
127
+ * // booleanValues: [
128
+ * // true || false,
129
+ * // ],
130
+ * // longValues: [
131
+ * // Number("long"),
132
+ * // ],
133
+ * // doubleValues: [
134
+ * // Number("double"),
135
+ * // ],
136
+ * // stringValues: [
137
+ * // "STRING_VALUE",
138
+ * // ],
139
+ * // arrayValues: [
140
+ * // "<ArrayValue>",
141
+ * // ],
142
+ * // },
143
+ * // ],
144
+ * // },
145
+ * // },
146
+ * // ],
147
+ * // },
148
+ * // ],
149
+ * // };
150
+ *
101
151
  * ```
102
152
  *
103
153
  * @param BatchExecuteStatementCommandInput - {@link BatchExecuteStatementCommandInput}
@@ -125,6 +175,8 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
125
175
  * @throws {@link StatementTimeoutException} (client fault)
126
176
  * <p>The execution of the SQL statement timed out.</p>
127
177
  *
178
+ * @throws {@link RDSDataServiceException}
179
+ * <p>Base exception class for all service exceptions from RDSData service.</p>
128
180
  *
129
181
  */
130
182
  export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig> {
@@ -42,6 +42,10 @@ export interface BeginTransactionCommandOutput extends BeginTransactionResponse,
42
42
  * };
43
43
  * const command = new BeginTransactionCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // BeginTransactionResponse
46
+ * // transactionId: "STRING_VALUE",
47
+ * // };
48
+ *
45
49
  * ```
46
50
  *
47
51
  * @param BeginTransactionCommandInput - {@link BeginTransactionCommandInput}
@@ -69,6 +73,8 @@ export interface BeginTransactionCommandOutput extends BeginTransactionResponse,
69
73
  * @throws {@link StatementTimeoutException} (client fault)
70
74
  * <p>The execution of the SQL statement timed out.</p>
71
75
  *
76
+ * @throws {@link RDSDataServiceException}
77
+ * <p>Base exception class for all service exceptions from RDSData service.</p>
72
78
  *
73
79
  */
74
80
  export declare class BeginTransactionCommand extends $Command<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig> {
@@ -34,6 +34,10 @@ export interface CommitTransactionCommandOutput extends CommitTransactionRespons
34
34
  * };
35
35
  * const command = new CommitTransactionCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // CommitTransactionResponse
38
+ * // transactionStatus: "STRING_VALUE",
39
+ * // };
40
+ *
37
41
  * ```
38
42
  *
39
43
  * @param CommitTransactionCommandInput - {@link CommitTransactionCommandInput}
@@ -64,6 +68,8 @@ export interface CommitTransactionCommandOutput extends CommitTransactionRespons
64
68
  * @throws {@link StatementTimeoutException} (client fault)
65
69
  * <p>The execution of the SQL statement timed out.</p>
66
70
  *
71
+ * @throws {@link RDSDataServiceException}
72
+ * <p>Base exception class for all service exceptions from RDSData service.</p>
67
73
  *
68
74
  */
69
75
  export declare class CommitTransactionCommand extends $Command<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig> {
@@ -41,6 +41,74 @@ export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataB
41
41
  * };
42
42
  * const command = new ExecuteSqlCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ExecuteSqlResponse
45
+ * // sqlStatementResults: [ // SqlStatementResults
46
+ * // { // SqlStatementResult
47
+ * // resultFrame: { // ResultFrame
48
+ * // resultSetMetadata: { // ResultSetMetadata
49
+ * // columnCount: Number("long"),
50
+ * // columnMetadata: [ // Metadata
51
+ * // { // ColumnMetadata
52
+ * // name: "STRING_VALUE",
53
+ * // type: Number("int"),
54
+ * // typeName: "STRING_VALUE",
55
+ * // label: "STRING_VALUE",
56
+ * // schemaName: "STRING_VALUE",
57
+ * // tableName: "STRING_VALUE",
58
+ * // isAutoIncrement: true || false,
59
+ * // isSigned: true || false,
60
+ * // isCurrency: true || false,
61
+ * // isCaseSensitive: true || false,
62
+ * // nullable: Number("int"),
63
+ * // precision: Number("int"),
64
+ * // scale: Number("int"),
65
+ * // arrayBaseColumnType: Number("int"),
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // records: [ // Records
70
+ * // { // Record
71
+ * // values: [ // Row
72
+ * // { // Value Union: only one key present
73
+ * // isNull: true || false,
74
+ * // bitValue: true || false,
75
+ * // bigIntValue: Number("long"),
76
+ * // intValue: Number("int"),
77
+ * // doubleValue: Number("double"),
78
+ * // realValue: Number("float"),
79
+ * // stringValue: "STRING_VALUE",
80
+ * // blobValue: "BLOB_VALUE",
81
+ * // arrayValues: [ // ArrayValueList
82
+ * // {// Union: only one key present
83
+ * // isNull: true || false,
84
+ * // bitValue: true || false,
85
+ * // bigIntValue: Number("long"),
86
+ * // intValue: Number("int"),
87
+ * // doubleValue: Number("double"),
88
+ * // realValue: Number("float"),
89
+ * // stringValue: "STRING_VALUE",
90
+ * // blobValue: "BLOB_VALUE",
91
+ * // arrayValues: [
92
+ * // "<Value>",
93
+ * // ],
94
+ * // structValue: { // StructValue
95
+ * // attributes: "<ArrayValueList>",
96
+ * // },
97
+ * // },
98
+ * // ],
99
+ * // structValue: {
100
+ * // attributes: "<ArrayValueList>",
101
+ * // },
102
+ * // },
103
+ * // ],
104
+ * // },
105
+ * // ],
106
+ * // },
107
+ * // numberOfRecordsUpdated: Number("long"),
108
+ * // },
109
+ * // ],
110
+ * // };
111
+ *
44
112
  * ```
45
113
  *
46
114
  * @param ExecuteSqlCommandInput - {@link ExecuteSqlCommandInput}
@@ -65,6 +133,8 @@ export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataB
65
133
  * <p>The service specified by the <code>resourceArn</code> parameter is not
66
134
  * available.</p>
67
135
  *
136
+ * @throws {@link RDSDataServiceException}
137
+ * <p>Base exception class for all service exceptions from RDSData service.</p>
68
138
  *
69
139
  */
70
140
  export declare class ExecuteSqlCommand extends $Command<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig> {
@@ -96,6 +96,85 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
96
96
  * };
97
97
  * const command = new ExecuteStatementCommand(input);
98
98
  * const response = await client.send(command);
99
+ * // { // ExecuteStatementResponse
100
+ * // records: [ // SqlRecords
101
+ * // [ // FieldList
102
+ * // { // Field Union: only one key present
103
+ * // isNull: true || false,
104
+ * // booleanValue: true || false,
105
+ * // longValue: Number("long"),
106
+ * // doubleValue: Number("double"),
107
+ * // stringValue: "STRING_VALUE",
108
+ * // blobValue: "BLOB_VALUE",
109
+ * // arrayValue: { // ArrayValue Union: only one key present
110
+ * // booleanValues: [ // BooleanArray
111
+ * // true || false,
112
+ * // ],
113
+ * // longValues: [ // LongArray
114
+ * // Number("long"),
115
+ * // ],
116
+ * // doubleValues: [ // DoubleArray
117
+ * // Number("double"),
118
+ * // ],
119
+ * // stringValues: [ // StringArray
120
+ * // "STRING_VALUE",
121
+ * // ],
122
+ * // arrayValues: [ // ArrayOfArray
123
+ * // {// Union: only one key present
124
+ * // booleanValues: [
125
+ * // true || false,
126
+ * // ],
127
+ * // longValues: [
128
+ * // Number("long"),
129
+ * // ],
130
+ * // doubleValues: [
131
+ * // Number("double"),
132
+ * // ],
133
+ * // stringValues: [
134
+ * // "STRING_VALUE",
135
+ * // ],
136
+ * // arrayValues: [
137
+ * // "<ArrayValue>",
138
+ * // ],
139
+ * // },
140
+ * // ],
141
+ * // },
142
+ * // },
143
+ * // ],
144
+ * // ],
145
+ * // columnMetadata: [ // Metadata
146
+ * // { // ColumnMetadata
147
+ * // name: "STRING_VALUE",
148
+ * // type: Number("int"),
149
+ * // typeName: "STRING_VALUE",
150
+ * // label: "STRING_VALUE",
151
+ * // schemaName: "STRING_VALUE",
152
+ * // tableName: "STRING_VALUE",
153
+ * // isAutoIncrement: true || false,
154
+ * // isSigned: true || false,
155
+ * // isCurrency: true || false,
156
+ * // isCaseSensitive: true || false,
157
+ * // nullable: Number("int"),
158
+ * // precision: Number("int"),
159
+ * // scale: Number("int"),
160
+ * // arrayBaseColumnType: Number("int"),
161
+ * // },
162
+ * // ],
163
+ * // numberOfRecordsUpdated: Number("long"),
164
+ * // generatedFields: [
165
+ * // {// Union: only one key present
166
+ * // isNull: true || false,
167
+ * // booleanValue: true || false,
168
+ * // longValue: Number("long"),
169
+ * // doubleValue: Number("double"),
170
+ * // stringValue: "STRING_VALUE",
171
+ * // blobValue: "BLOB_VALUE",
172
+ * // arrayValue: "<ArrayValue>",
173
+ * // },
174
+ * // ],
175
+ * // formattedRecords: "STRING_VALUE",
176
+ * // };
177
+ *
99
178
  * ```
100
179
  *
101
180
  * @param ExecuteStatementCommandInput - {@link ExecuteStatementCommandInput}
@@ -123,6 +202,8 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
123
202
  * @throws {@link StatementTimeoutException} (client fault)
124
203
  * <p>The execution of the SQL statement timed out.</p>
125
204
  *
205
+ * @throws {@link RDSDataServiceException}
206
+ * <p>Base exception class for all service exceptions from RDSData service.</p>
126
207
  *
127
208
  */
128
209
  export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig> {
@@ -33,6 +33,10 @@ export interface RollbackTransactionCommandOutput extends RollbackTransactionRes
33
33
  * };
34
34
  * const command = new RollbackTransactionCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // RollbackTransactionResponse
37
+ * // transactionStatus: "STRING_VALUE",
38
+ * // };
39
+ *
36
40
  * ```
37
41
  *
38
42
  * @param RollbackTransactionCommandInput - {@link RollbackTransactionCommandInput}
@@ -63,6 +67,8 @@ export interface RollbackTransactionCommandOutput extends RollbackTransactionRes
63
67
  * @throws {@link StatementTimeoutException} (client fault)
64
68
  * <p>The execution of the SQL statement timed out.</p>
65
69
  *
70
+ * @throws {@link RDSDataServiceException}
71
+ * <p>Base exception class for all service exceptions from RDSData service.</p>
66
72
  *
67
73
  */
68
74
  export declare class RollbackTransactionCommand extends $Command<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig> {
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.321.1",
4
+ "version": "3.326.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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",