@aws-sdk/client-rds-data 3.1056.0 → 3.1057.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.
@@ -29,13 +29,7 @@ declare const ExecuteStatementCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Runs a SQL statement against a database.</p>
33
- * <note>
34
- * <p>If a call isn't part of a transaction because it doesn't include the
35
- * <code>transactionID</code> parameter, changes that result from the call are
36
- * committed automatically.</p>
37
- * <p>If the binary response data from the database is more than 1 MB, the call is terminated.</p>
38
- * </note>
32
+ * <p>Runs a SQL statement against a database.</p> <note> <p>If a call isn't part of a transaction because it doesn't include the <code>transactionID</code> parameter, changes that result from the call are committed automatically.</p> <p>If the binary response data from the database is more than 1 MB, the call is terminated.</p> </note>
39
33
  * @example
40
34
  * Use a bare-bones client and the command you need to make an API call.
41
35
  * ```javascript
@@ -94,17 +88,17 @@ declare const ExecuteStatementCommand_base: {
94
88
  * ],
95
89
  * },
96
90
  * },
97
- * typeHint: "STRING_VALUE",
91
+ * typeHint: "JSON" || "UUID" || "TIMESTAMP" || "DATE" || "TIME" || "DECIMAL",
98
92
  * },
99
93
  * ],
100
94
  * transactionId: "STRING_VALUE",
101
95
  * includeResultMetadata: true || false,
102
96
  * continueAfterTimeout: true || false,
103
97
  * resultSetOptions: { // ResultSetOptions
104
- * decimalReturnType: "STRING_VALUE",
105
- * longReturnType: "STRING_VALUE",
98
+ * decimalReturnType: "STRING" || "DOUBLE_OR_LONG",
99
+ * longReturnType: "STRING" || "LONG",
106
100
  * },
107
- * formatRecordsAs: "STRING_VALUE",
101
+ * formatRecordsAs: "NONE" || "JSON",
108
102
  * };
109
103
  * const command = new ExecuteStatementCommand(input);
110
104
  * const response = await client.send(command);
@@ -208,9 +202,7 @@ declare const ExecuteStatementCommand_base: {
208
202
  * <p>The DB cluster doesn't have a DB instance.</p>
209
203
  *
210
204
  * @throws {@link DatabaseResumingException} (client fault)
211
- * <p>A request was cancelled because the Aurora Serverless v2 DB instance was paused.
212
- * The Data API request automatically resumes the DB instance. Wait a few seconds and
213
- * try again.</p>
205
+ * <p>A request was cancelled because the Aurora Serverless v2 DB instance was paused. The Data API request automatically resumes the DB instance. Wait a few seconds and try again.</p>
214
206
  *
215
207
  * @throws {@link DatabaseUnavailableException} (server fault)
216
208
  * <p>The writer instance in the DB cluster isn't available.</p>
@@ -231,22 +223,10 @@ declare const ExecuteStatementCommand_base: {
231
223
  * <p>The Secrets Manager secret used with the request isn't valid.</p>
232
224
  *
233
225
  * @throws {@link SecretsErrorException} (client fault)
234
- * <p>There was a problem with the Secrets Manager secret used with the request, caused by one of the following conditions:</p>
235
- * <ul>
236
- * <li>
237
- * <p>RDS Data API timed out retrieving the secret.</p>
238
- * </li>
239
- * <li>
240
- * <p>The secret provided wasn't found.</p>
241
- * </li>
242
- * <li>
243
- * <p>The secret couldn't be decrypted.</p>
244
- * </li>
245
- * </ul>
226
+ * <p>There was a problem with the Secrets Manager secret used with the request, caused by one of the following conditions:</p> <ul> <li> <p>RDS Data API timed out retrieving the secret.</p> </li> <li> <p>The secret provided wasn't found.</p> </li> <li> <p>The secret couldn't be decrypted.</p> </li> </ul>
246
227
  *
247
228
  * @throws {@link ServiceUnavailableError} (server fault)
248
- * <p>The service specified by the <code>resourceArn</code> parameter isn't
249
- * available.</p>
229
+ * <p>The service specified by the <code>resourceArn</code> parameter isn't available.</p>
250
230
  *
251
231
  * @throws {@link StatementTimeoutException} (client fault)
252
232
  * <p>The execution of the SQL statement timed out.</p>
@@ -255,18 +235,7 @@ declare const ExecuteStatementCommand_base: {
255
235
  * <p>The transaction ID wasn't found.</p>
256
236
  *
257
237
  * @throws {@link UnsupportedResultException} (client fault)
258
- * <p>There was a problem with the result because of one of the following conditions:</p>
259
- * <ul>
260
- * <li>
261
- * <p>It contained an unsupported data type.</p>
262
- * </li>
263
- * <li>
264
- * <p>It contained a multidimensional array.</p>
265
- * </li>
266
- * <li>
267
- * <p>The size was too large.</p>
268
- * </li>
269
- * </ul>
238
+ * <p>There was a problem with the result because of one of the following conditions:</p> <ul> <li> <p>It contained an unsupported data type.</p> </li> <li> <p>It contained a multidimensional array.</p> </li> <li> <p>The size was too large.</p> </li> </ul>
270
239
  *
271
240
  * @throws {@link RDSDataServiceException}
272
241
  * <p>Base exception class for all service exceptions from RDSData service.</p>
@@ -91,22 +91,10 @@ declare const RollbackTransactionCommand_base: {
91
91
  * <p>The <code>resourceArn</code>, <code>secretArn</code>, or <code>transactionId</code> value can't be found.</p>
92
92
  *
93
93
  * @throws {@link SecretsErrorException} (client fault)
94
- * <p>There was a problem with the Secrets Manager secret used with the request, caused by one of the following conditions:</p>
95
- * <ul>
96
- * <li>
97
- * <p>RDS Data API timed out retrieving the secret.</p>
98
- * </li>
99
- * <li>
100
- * <p>The secret provided wasn't found.</p>
101
- * </li>
102
- * <li>
103
- * <p>The secret couldn't be decrypted.</p>
104
- * </li>
105
- * </ul>
94
+ * <p>There was a problem with the Secrets Manager secret used with the request, caused by one of the following conditions:</p> <ul> <li> <p>RDS Data API timed out retrieving the secret.</p> </li> <li> <p>The secret provided wasn't found.</p> </li> <li> <p>The secret couldn't be decrypted.</p> </li> </ul>
106
95
  *
107
96
  * @throws {@link ServiceUnavailableError} (server fault)
108
- * <p>The service specified by the <code>resourceArn</code> parameter isn't
109
- * available.</p>
97
+ * <p>The service specified by the <code>resourceArn</code> parameter isn't available.</p>
110
98
  *
111
99
  * @throws {@link StatementTimeoutException} (client fault)
112
100
  * <p>The execution of the SQL statement timed out.</p>
@@ -1,19 +1,5 @@
1
1
  /**
2
- * <fullname>RDS Data API</fullname>
3
- * <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora DB cluster. To run these
4
- * statements, you use the RDS Data API (Data API).</p>
5
- * <p>Data API is available with the following types of Aurora databases:</p>
6
- * <ul>
7
- * <li>
8
- * <p>Aurora PostgreSQL - Serverless v2, provisioned, and Serverless v1</p>
9
- * </li>
10
- * <li>
11
- * <p>Aurora MySQL - Serverless v2, provisioned, and Serverless v1</p>
12
- * </li>
13
- * </ul>
14
- * <p>For more information about the Data API, see
15
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using RDS Data API</a>
16
- * in the <i>Amazon Aurora User Guide</i>.</p>
2
+ * <fullname>RDS Data API</fullname> <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora DB cluster. To run these statements, you use the RDS Data API (Data API).</p> <p>Data API is available with the following types of Aurora databases:</p> <ul> <li> <p>Aurora PostgreSQL - Serverless v2, provisioned, and Serverless v1</p> </li> <li> <p>Aurora MySQL - Serverless v2, provisioned, and Serverless v1</p> </li> </ul> <p>For more information about the Data API, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using RDS Data API</a> in the <i>Amazon Aurora User Guide</i>.</p>
17
3
  *
18
4
  * @packageDocumentation
19
5
  */
@@ -49,9 +49,7 @@ export declare class DatabaseNotFoundException extends __BaseException {
49
49
  constructor(opts: __ExceptionOptionType<DatabaseNotFoundException, __BaseException>);
50
50
  }
51
51
  /**
52
- * <p>A request was cancelled because the Aurora Serverless v2 DB instance was paused.
53
- * The Data API request automatically resumes the DB instance. Wait a few seconds and
54
- * try again.</p>
52
+ * <p>A request was cancelled because the Aurora Serverless v2 DB instance was paused. The Data API request automatically resumes the DB instance. Wait a few seconds and try again.</p>
55
53
  * @public
56
54
  */
57
55
  export declare class DatabaseResumingException extends __BaseException {
@@ -135,18 +133,7 @@ export declare class InvalidSecretException extends __BaseException {
135
133
  constructor(opts: __ExceptionOptionType<InvalidSecretException, __BaseException>);
136
134
  }
137
135
  /**
138
- * <p>There was a problem with the Secrets Manager secret used with the request, caused by one of the following conditions:</p>
139
- * <ul>
140
- * <li>
141
- * <p>RDS Data API timed out retrieving the secret.</p>
142
- * </li>
143
- * <li>
144
- * <p>The secret provided wasn't found.</p>
145
- * </li>
146
- * <li>
147
- * <p>The secret couldn't be decrypted.</p>
148
- * </li>
149
- * </ul>
136
+ * <p>There was a problem with the Secrets Manager secret used with the request, caused by one of the following conditions:</p> <ul> <li> <p>RDS Data API timed out retrieving the secret.</p> </li> <li> <p>The secret provided wasn't found.</p> </li> <li> <p>The secret couldn't be decrypted.</p> </li> </ul>
150
137
  * @public
151
138
  */
152
139
  export declare class SecretsErrorException extends __BaseException {
@@ -158,8 +145,7 @@ export declare class SecretsErrorException extends __BaseException {
158
145
  constructor(opts: __ExceptionOptionType<SecretsErrorException, __BaseException>);
159
146
  }
160
147
  /**
161
- * <p>The service specified by the <code>resourceArn</code> parameter isn't
162
- * available.</p>
148
+ * <p>The service specified by the <code>resourceArn</code> parameter isn't available.</p>
163
149
  * @public
164
150
  */
165
151
  export declare class ServiceUnavailableError extends __BaseException {
@@ -212,18 +198,7 @@ export declare class NotFoundException extends __BaseException {
212
198
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
213
199
  }
214
200
  /**
215
- * <p>There was a problem with the result because of one of the following conditions:</p>
216
- * <ul>
217
- * <li>
218
- * <p>It contained an unsupported data type.</p>
219
- * </li>
220
- * <li>
221
- * <p>It contained a multidimensional array.</p>
222
- * </li>
223
- * <li>
224
- * <p>The size was too large.</p>
225
- * </li>
226
- * </ul>
201
+ * <p>There was a problem with the result because of one of the following conditions:</p> <ul> <li> <p>It contained an unsupported data type.</p> </li> <li> <p>It contained a multidimensional array.</p> </li> <li> <p>The size was too large.</p> </li> </ul>
227
202
  * @public
228
203
  */
229
204
  export declare class UnsupportedResultException extends __BaseException {