@aws-sdk/client-rds-data 3.686.0 → 3.691.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.
|
@@ -171,7 +171,7 @@ export declare class StatementTimeoutException extends __BaseException {
|
|
|
171
171
|
* <p>The database connection ID that executed the SQL statement.</p>
|
|
172
172
|
* @public
|
|
173
173
|
*/
|
|
174
|
-
dbConnectionId?: number;
|
|
174
|
+
dbConnectionId?: number | undefined;
|
|
175
175
|
/**
|
|
176
176
|
* @internal
|
|
177
177
|
*/
|
|
@@ -209,12 +209,12 @@ export interface BeginTransactionRequest {
|
|
|
209
209
|
* <p>The name of the database.</p>
|
|
210
210
|
* @public
|
|
211
211
|
*/
|
|
212
|
-
database?: string;
|
|
212
|
+
database?: string | undefined;
|
|
213
213
|
/**
|
|
214
214
|
* <p>The name of the database schema.</p>
|
|
215
215
|
* @public
|
|
216
216
|
*/
|
|
217
|
-
schema?: string;
|
|
217
|
+
schema?: string | undefined;
|
|
218
218
|
}
|
|
219
219
|
/**
|
|
220
220
|
* <p>The response elements represent the output of a request to start a SQL
|
|
@@ -226,7 +226,7 @@ export interface BeginTransactionResponse {
|
|
|
226
226
|
* <p>The transaction ID of the transaction started by the call.</p>
|
|
227
227
|
* @public
|
|
228
228
|
*/
|
|
229
|
-
transactionId?: string;
|
|
229
|
+
transactionId?: string | undefined;
|
|
230
230
|
}
|
|
231
231
|
/**
|
|
232
232
|
* <p>Contains the metadata for a column.</p>
|
|
@@ -237,72 +237,72 @@ export interface ColumnMetadata {
|
|
|
237
237
|
* <p>The name of the column.</p>
|
|
238
238
|
* @public
|
|
239
239
|
*/
|
|
240
|
-
name?: string;
|
|
240
|
+
name?: string | undefined;
|
|
241
241
|
/**
|
|
242
242
|
* <p>The type of the column.</p>
|
|
243
243
|
* @public
|
|
244
244
|
*/
|
|
245
|
-
type?: number;
|
|
245
|
+
type?: number | undefined;
|
|
246
246
|
/**
|
|
247
247
|
* <p>The database-specific data type of the column.</p>
|
|
248
248
|
* @public
|
|
249
249
|
*/
|
|
250
|
-
typeName?: string;
|
|
250
|
+
typeName?: string | undefined;
|
|
251
251
|
/**
|
|
252
252
|
* <p>The label for the column.</p>
|
|
253
253
|
* @public
|
|
254
254
|
*/
|
|
255
|
-
label?: string;
|
|
255
|
+
label?: string | undefined;
|
|
256
256
|
/**
|
|
257
257
|
* <p>The name of the schema that owns the table that includes the column.</p>
|
|
258
258
|
* @public
|
|
259
259
|
*/
|
|
260
|
-
schemaName?: string;
|
|
260
|
+
schemaName?: string | undefined;
|
|
261
261
|
/**
|
|
262
262
|
* <p>The name of the table that includes the column.</p>
|
|
263
263
|
* @public
|
|
264
264
|
*/
|
|
265
|
-
tableName?: string;
|
|
265
|
+
tableName?: string | undefined;
|
|
266
266
|
/**
|
|
267
267
|
* <p>A value that indicates whether the column increments automatically.</p>
|
|
268
268
|
* @public
|
|
269
269
|
*/
|
|
270
|
-
isAutoIncrement?: boolean;
|
|
270
|
+
isAutoIncrement?: boolean | undefined;
|
|
271
271
|
/**
|
|
272
272
|
* <p>A value that indicates whether an integer column is signed.</p>
|
|
273
273
|
* @public
|
|
274
274
|
*/
|
|
275
|
-
isSigned?: boolean;
|
|
275
|
+
isSigned?: boolean | undefined;
|
|
276
276
|
/**
|
|
277
277
|
* <p>A value that indicates whether the column contains currency values.</p>
|
|
278
278
|
* @public
|
|
279
279
|
*/
|
|
280
|
-
isCurrency?: boolean;
|
|
280
|
+
isCurrency?: boolean | undefined;
|
|
281
281
|
/**
|
|
282
282
|
* <p>A value that indicates whether the column is case-sensitive.</p>
|
|
283
283
|
* @public
|
|
284
284
|
*/
|
|
285
|
-
isCaseSensitive?: boolean;
|
|
285
|
+
isCaseSensitive?: boolean | undefined;
|
|
286
286
|
/**
|
|
287
287
|
* <p>A value that indicates whether the column is nullable.</p>
|
|
288
288
|
* @public
|
|
289
289
|
*/
|
|
290
|
-
nullable?: number;
|
|
290
|
+
nullable?: number | undefined;
|
|
291
291
|
/**
|
|
292
292
|
* <p>The precision value of a decimal number column.</p>
|
|
293
293
|
* @public
|
|
294
294
|
*/
|
|
295
|
-
precision?: number;
|
|
295
|
+
precision?: number | undefined;
|
|
296
296
|
/**
|
|
297
297
|
* <p>The scale value of a decimal number column.</p>
|
|
298
298
|
* @public
|
|
299
299
|
*/
|
|
300
|
-
scale?: number;
|
|
300
|
+
scale?: number | undefined;
|
|
301
301
|
/**
|
|
302
302
|
* <p>The type of the column.</p>
|
|
303
303
|
* @public
|
|
304
304
|
*/
|
|
305
|
-
arrayBaseColumnType?: number;
|
|
305
|
+
arrayBaseColumnType?: number | undefined;
|
|
306
306
|
}
|
|
307
307
|
/**
|
|
308
308
|
* <p>The request parameters represent the input of a commit transaction request.</p>
|
|
@@ -334,7 +334,7 @@ export interface CommitTransactionResponse {
|
|
|
334
334
|
* <p>The status of the commit operation.</p>
|
|
335
335
|
* @public
|
|
336
336
|
*/
|
|
337
|
-
transactionStatus?: string;
|
|
337
|
+
transactionStatus?: string | undefined;
|
|
338
338
|
}
|
|
339
339
|
/**
|
|
340
340
|
* <p>The <code>resourceArn</code>, <code>secretArn</code>, or <code>transactionId</code> value can't be found.</p>
|
|
@@ -390,12 +390,12 @@ export interface ExecuteSqlRequest {
|
|
|
390
390
|
* <p>The name of the database.</p>
|
|
391
391
|
* @public
|
|
392
392
|
*/
|
|
393
|
-
database?: string;
|
|
393
|
+
database?: string | undefined;
|
|
394
394
|
/**
|
|
395
395
|
* <p>The name of the database schema.</p>
|
|
396
396
|
* @public
|
|
397
397
|
*/
|
|
398
|
-
schema?: string;
|
|
398
|
+
schema?: string | undefined;
|
|
399
399
|
}
|
|
400
400
|
/**
|
|
401
401
|
* <p>The metadata of the result set returned by a SQL statement.</p>
|
|
@@ -406,12 +406,12 @@ export interface ResultSetMetadata {
|
|
|
406
406
|
* <p>The number of columns in the result set.</p>
|
|
407
407
|
* @public
|
|
408
408
|
*/
|
|
409
|
-
columnCount?: number;
|
|
409
|
+
columnCount?: number | undefined;
|
|
410
410
|
/**
|
|
411
411
|
* <p>The metadata of the columns in the result set.</p>
|
|
412
412
|
* @public
|
|
413
413
|
*/
|
|
414
|
-
columnMetadata?: ColumnMetadata[];
|
|
414
|
+
columnMetadata?: ColumnMetadata[] | undefined;
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
417
|
* @public
|
|
@@ -454,7 +454,7 @@ export interface ResultSetOptions {
|
|
|
454
454
|
* </note>
|
|
455
455
|
* @public
|
|
456
456
|
*/
|
|
457
|
-
decimalReturnType?: DecimalReturnType;
|
|
457
|
+
decimalReturnType?: DecimalReturnType | undefined;
|
|
458
458
|
/**
|
|
459
459
|
* <p>A value that indicates how a field of <code>LONG</code> type is represented.
|
|
460
460
|
* Allowed values are <code>LONG</code> and <code>STRING</code>. The default
|
|
@@ -463,7 +463,7 @@ export interface ResultSetOptions {
|
|
|
463
463
|
* </p>
|
|
464
464
|
* @public
|
|
465
465
|
*/
|
|
466
|
-
longReturnType?: LongReturnType;
|
|
466
|
+
longReturnType?: LongReturnType | undefined;
|
|
467
467
|
}
|
|
468
468
|
/**
|
|
469
469
|
* <p>There was a problem with the result because of one of the following conditions:</p>
|
|
@@ -520,7 +520,7 @@ export interface RollbackTransactionResponse {
|
|
|
520
520
|
* <p>The status of the rollback operation.</p>
|
|
521
521
|
* @public
|
|
522
522
|
*/
|
|
523
|
-
transactionStatus?: string;
|
|
523
|
+
transactionStatus?: string | undefined;
|
|
524
524
|
}
|
|
525
525
|
/**
|
|
526
526
|
* <p>Contains an array.</p>
|
|
@@ -753,12 +753,12 @@ export interface SqlParameter {
|
|
|
753
753
|
* <p>The name of the parameter.</p>
|
|
754
754
|
* @public
|
|
755
755
|
*/
|
|
756
|
-
name?: string;
|
|
756
|
+
name?: string | undefined;
|
|
757
757
|
/**
|
|
758
758
|
* <p>The value of the parameter.</p>
|
|
759
759
|
* @public
|
|
760
760
|
*/
|
|
761
|
-
value?: Field;
|
|
761
|
+
value?: Field | undefined;
|
|
762
762
|
/**
|
|
763
763
|
* <p>A hint that specifies the correct object type for data type mapping. Possible values
|
|
764
764
|
* are as follows:</p>
|
|
@@ -797,7 +797,7 @@ export interface SqlParameter {
|
|
|
797
797
|
* </ul>
|
|
798
798
|
* @public
|
|
799
799
|
*/
|
|
800
|
-
typeHint?: TypeHint;
|
|
800
|
+
typeHint?: TypeHint | undefined;
|
|
801
801
|
}
|
|
802
802
|
/**
|
|
803
803
|
* <p>The response elements represent the results of an update.</p>
|
|
@@ -808,7 +808,7 @@ export interface UpdateResult {
|
|
|
808
808
|
* <p>Values for fields generated during the request.</p>
|
|
809
809
|
* @public
|
|
810
810
|
*/
|
|
811
|
-
generatedFields?: Field[];
|
|
811
|
+
generatedFields?: Field[] | undefined;
|
|
812
812
|
}
|
|
813
813
|
/**
|
|
814
814
|
* <p>Contains the value of a column.</p>
|
|
@@ -1051,7 +1051,7 @@ export interface ExecuteStatementRequest {
|
|
|
1051
1051
|
* <p>The name of the database.</p>
|
|
1052
1052
|
* @public
|
|
1053
1053
|
*/
|
|
1054
|
-
database?: string;
|
|
1054
|
+
database?: string | undefined;
|
|
1055
1055
|
/**
|
|
1056
1056
|
* <p>The name of the database schema.</p>
|
|
1057
1057
|
* <note>
|
|
@@ -1059,7 +1059,7 @@ export interface ExecuteStatementRequest {
|
|
|
1059
1059
|
* </note>
|
|
1060
1060
|
* @public
|
|
1061
1061
|
*/
|
|
1062
|
-
schema?: string;
|
|
1062
|
+
schema?: string | undefined;
|
|
1063
1063
|
/**
|
|
1064
1064
|
* <p>The parameters for the SQL statement.</p>
|
|
1065
1065
|
* <note>
|
|
@@ -1067,7 +1067,7 @@ export interface ExecuteStatementRequest {
|
|
|
1067
1067
|
* </note>
|
|
1068
1068
|
* @public
|
|
1069
1069
|
*/
|
|
1070
|
-
parameters?: SqlParameter[];
|
|
1070
|
+
parameters?: SqlParameter[] | undefined;
|
|
1071
1071
|
/**
|
|
1072
1072
|
* <p>The identifier of a transaction that was started by using the
|
|
1073
1073
|
* <code>BeginTransaction</code> operation. Specify the transaction ID of the
|
|
@@ -1075,12 +1075,12 @@ export interface ExecuteStatementRequest {
|
|
|
1075
1075
|
* <p>If the SQL statement is not part of a transaction, don't set this parameter.</p>
|
|
1076
1076
|
* @public
|
|
1077
1077
|
*/
|
|
1078
|
-
transactionId?: string;
|
|
1078
|
+
transactionId?: string | undefined;
|
|
1079
1079
|
/**
|
|
1080
1080
|
* <p>A value that indicates whether to include metadata in the results.</p>
|
|
1081
1081
|
* @public
|
|
1082
1082
|
*/
|
|
1083
|
-
includeResultMetadata?: boolean;
|
|
1083
|
+
includeResultMetadata?: boolean | undefined;
|
|
1084
1084
|
/**
|
|
1085
1085
|
* <p>A value that indicates whether to continue running the statement after
|
|
1086
1086
|
* the call times out. By default, the statement stops running when the call
|
|
@@ -1092,12 +1092,12 @@ export interface ExecuteStatementRequest {
|
|
|
1092
1092
|
* </note>
|
|
1093
1093
|
* @public
|
|
1094
1094
|
*/
|
|
1095
|
-
continueAfterTimeout?: boolean;
|
|
1095
|
+
continueAfterTimeout?: boolean | undefined;
|
|
1096
1096
|
/**
|
|
1097
1097
|
* <p>Options that control how the result set is returned.</p>
|
|
1098
1098
|
* @public
|
|
1099
1099
|
*/
|
|
1100
|
-
resultSetOptions?: ResultSetOptions;
|
|
1100
|
+
resultSetOptions?: ResultSetOptions | undefined;
|
|
1101
1101
|
/**
|
|
1102
1102
|
* <p>A value that indicates whether to format the result set as a single JSON string.
|
|
1103
1103
|
* This parameter only applies to <code>SELECT</code> statements and is ignored for
|
|
@@ -1108,7 +1108,7 @@ export interface ExecuteStatementRequest {
|
|
|
1108
1108
|
* in the <i>Amazon Aurora User Guide</i>.</p>
|
|
1109
1109
|
* @public
|
|
1110
1110
|
*/
|
|
1111
|
-
formatRecordsAs?: RecordsFormatType;
|
|
1111
|
+
formatRecordsAs?: RecordsFormatType | undefined;
|
|
1112
1112
|
}
|
|
1113
1113
|
/**
|
|
1114
1114
|
* <p>A structure value returned by a call.</p>
|
|
@@ -1123,7 +1123,7 @@ export interface StructValue {
|
|
|
1123
1123
|
* <p>The attributes returned in the record.</p>
|
|
1124
1124
|
* @public
|
|
1125
1125
|
*/
|
|
1126
|
-
attributes?: Value[];
|
|
1126
|
+
attributes?: Value[] | undefined;
|
|
1127
1127
|
}
|
|
1128
1128
|
/**
|
|
1129
1129
|
* <p>The request parameters represent the input of a SQL statement over an array of
|
|
@@ -1152,7 +1152,7 @@ export interface BatchExecuteStatementRequest {
|
|
|
1152
1152
|
* <p>The name of the database.</p>
|
|
1153
1153
|
* @public
|
|
1154
1154
|
*/
|
|
1155
|
-
database?: string;
|
|
1155
|
+
database?: string | undefined;
|
|
1156
1156
|
/**
|
|
1157
1157
|
* <p>The name of the database schema.</p>
|
|
1158
1158
|
* <note>
|
|
@@ -1160,7 +1160,7 @@ export interface BatchExecuteStatementRequest {
|
|
|
1160
1160
|
* </note>
|
|
1161
1161
|
* @public
|
|
1162
1162
|
*/
|
|
1163
|
-
schema?: string;
|
|
1163
|
+
schema?: string | undefined;
|
|
1164
1164
|
/**
|
|
1165
1165
|
* <p>The parameter set for the batch operation.</p>
|
|
1166
1166
|
* <p>The SQL statement is executed as many times as the number of parameter sets provided.
|
|
@@ -1178,7 +1178,7 @@ export interface BatchExecuteStatementRequest {
|
|
|
1178
1178
|
* </note>
|
|
1179
1179
|
* @public
|
|
1180
1180
|
*/
|
|
1181
|
-
parameterSets?: SqlParameter[][];
|
|
1181
|
+
parameterSets?: SqlParameter[][] | undefined;
|
|
1182
1182
|
/**
|
|
1183
1183
|
* <p>The identifier of a transaction that was started by using the
|
|
1184
1184
|
* <code>BeginTransaction</code> operation. Specify the transaction ID of the
|
|
@@ -1187,7 +1187,7 @@ export interface BatchExecuteStatementRequest {
|
|
|
1187
1187
|
* parameter.</p>
|
|
1188
1188
|
* @public
|
|
1189
1189
|
*/
|
|
1190
|
-
transactionId?: string;
|
|
1190
|
+
transactionId?: string | undefined;
|
|
1191
1191
|
}
|
|
1192
1192
|
/**
|
|
1193
1193
|
* <p>The response elements represent the output of a SQL statement over an array of
|
|
@@ -1199,7 +1199,7 @@ export interface BatchExecuteStatementResponse {
|
|
|
1199
1199
|
* <p>The execution results of each batch entry.</p>
|
|
1200
1200
|
* @public
|
|
1201
1201
|
*/
|
|
1202
|
-
updateResults?: UpdateResult[];
|
|
1202
|
+
updateResults?: UpdateResult[] | undefined;
|
|
1203
1203
|
}
|
|
1204
1204
|
/**
|
|
1205
1205
|
* <p>A record returned by a call.</p>
|
|
@@ -1214,7 +1214,7 @@ export interface _Record {
|
|
|
1214
1214
|
* <p>The values returned in the record.</p>
|
|
1215
1215
|
* @public
|
|
1216
1216
|
*/
|
|
1217
|
-
values?: Value[];
|
|
1217
|
+
values?: Value[] | undefined;
|
|
1218
1218
|
}
|
|
1219
1219
|
/**
|
|
1220
1220
|
* <p>The response elements represent the output of a request to run a SQL statement against
|
|
@@ -1227,18 +1227,18 @@ export interface ExecuteStatementResponse {
|
|
|
1227
1227
|
* <code>formatRecordsAs</code> parameter is set to <code>JSON</code>.</p>
|
|
1228
1228
|
* @public
|
|
1229
1229
|
*/
|
|
1230
|
-
records?: Field[][];
|
|
1230
|
+
records?: Field[][] | undefined;
|
|
1231
1231
|
/**
|
|
1232
1232
|
* <p>Metadata for the columns included in the results. This field is blank if the
|
|
1233
1233
|
* <code>formatRecordsAs</code> parameter is set to <code>JSON</code>.</p>
|
|
1234
1234
|
* @public
|
|
1235
1235
|
*/
|
|
1236
|
-
columnMetadata?: ColumnMetadata[];
|
|
1236
|
+
columnMetadata?: ColumnMetadata[] | undefined;
|
|
1237
1237
|
/**
|
|
1238
1238
|
* <p>The number of records updated by the request.</p>
|
|
1239
1239
|
* @public
|
|
1240
1240
|
*/
|
|
1241
|
-
numberOfRecordsUpdated?: number;
|
|
1241
|
+
numberOfRecordsUpdated?: number | undefined;
|
|
1242
1242
|
/**
|
|
1243
1243
|
* <p>Values for fields generated during a DML request.</p>
|
|
1244
1244
|
* <note>
|
|
@@ -1249,7 +1249,7 @@ export interface ExecuteStatementResponse {
|
|
|
1249
1249
|
* </note>
|
|
1250
1250
|
* @public
|
|
1251
1251
|
*/
|
|
1252
|
-
generatedFields?: Field[];
|
|
1252
|
+
generatedFields?: Field[] | undefined;
|
|
1253
1253
|
/**
|
|
1254
1254
|
* <p>A string value that represents the result set of a <code>SELECT</code> statement
|
|
1255
1255
|
* in JSON format. This value is only present when the <code>formatRecordsAs</code>
|
|
@@ -1258,7 +1258,7 @@ export interface ExecuteStatementResponse {
|
|
|
1258
1258
|
* result set requires more than 10 MB, the call returns an error.</p>
|
|
1259
1259
|
* @public
|
|
1260
1260
|
*/
|
|
1261
|
-
formattedRecords?: string;
|
|
1261
|
+
formattedRecords?: string | undefined;
|
|
1262
1262
|
}
|
|
1263
1263
|
/**
|
|
1264
1264
|
* <p>The result set returned by a SQL statement.</p>
|
|
@@ -1273,12 +1273,12 @@ export interface ResultFrame {
|
|
|
1273
1273
|
* <p>The result-set metadata in the result set.</p>
|
|
1274
1274
|
* @public
|
|
1275
1275
|
*/
|
|
1276
|
-
resultSetMetadata?: ResultSetMetadata;
|
|
1276
|
+
resultSetMetadata?: ResultSetMetadata | undefined;
|
|
1277
1277
|
/**
|
|
1278
1278
|
* <p>The records in the result set.</p>
|
|
1279
1279
|
* @public
|
|
1280
1280
|
*/
|
|
1281
|
-
records?: _Record[];
|
|
1281
|
+
records?: _Record[] | undefined;
|
|
1282
1282
|
}
|
|
1283
1283
|
/**
|
|
1284
1284
|
* <p>The result of a SQL statement.</p>
|
|
@@ -1293,12 +1293,12 @@ export interface SqlStatementResult {
|
|
|
1293
1293
|
* <p>The result set of the SQL statement.</p>
|
|
1294
1294
|
* @public
|
|
1295
1295
|
*/
|
|
1296
|
-
resultFrame?: ResultFrame;
|
|
1296
|
+
resultFrame?: ResultFrame | undefined;
|
|
1297
1297
|
/**
|
|
1298
1298
|
* <p>The number of records updated by a SQL statement.</p>
|
|
1299
1299
|
* @public
|
|
1300
1300
|
*/
|
|
1301
|
-
numberOfRecordsUpdated?: number;
|
|
1301
|
+
numberOfRecordsUpdated?: number | undefined;
|
|
1302
1302
|
}
|
|
1303
1303
|
/**
|
|
1304
1304
|
* <p>The response elements represent the output of a request to run one or more SQL
|
|
@@ -1310,5 +1310,5 @@ export interface ExecuteSqlResponse {
|
|
|
1310
1310
|
* <p>The results of the SQL statement or statements.</p>
|
|
1311
1311
|
* @public
|
|
1312
1312
|
*/
|
|
1313
|
-
sqlStatementResults?: SqlStatementResult[];
|
|
1313
|
+
sqlStatementResults?: SqlStatementResult[] | undefined;
|
|
1314
1314
|
}
|
|
@@ -90,7 +90,7 @@ export declare class ServiceUnavailableError extends __BaseException {
|
|
|
90
90
|
export declare class StatementTimeoutException extends __BaseException {
|
|
91
91
|
readonly name: "StatementTimeoutException";
|
|
92
92
|
readonly $fault: "client";
|
|
93
|
-
dbConnectionId?: number;
|
|
93
|
+
dbConnectionId?: number | undefined;
|
|
94
94
|
constructor(
|
|
95
95
|
opts: __ExceptionOptionType<StatementTimeoutException, __BaseException>
|
|
96
96
|
);
|
|
@@ -105,27 +105,27 @@ export declare class TransactionNotFoundException extends __BaseException {
|
|
|
105
105
|
export interface BeginTransactionRequest {
|
|
106
106
|
resourceArn: string | undefined;
|
|
107
107
|
secretArn: string | undefined;
|
|
108
|
-
database?: string;
|
|
109
|
-
schema?: string;
|
|
108
|
+
database?: string | undefined;
|
|
109
|
+
schema?: string | undefined;
|
|
110
110
|
}
|
|
111
111
|
export interface BeginTransactionResponse {
|
|
112
|
-
transactionId?: string;
|
|
112
|
+
transactionId?: string | undefined;
|
|
113
113
|
}
|
|
114
114
|
export interface ColumnMetadata {
|
|
115
|
-
name?: string;
|
|
116
|
-
type?: number;
|
|
117
|
-
typeName?: string;
|
|
118
|
-
label?: string;
|
|
119
|
-
schemaName?: string;
|
|
120
|
-
tableName?: string;
|
|
121
|
-
isAutoIncrement?: boolean;
|
|
122
|
-
isSigned?: boolean;
|
|
123
|
-
isCurrency?: boolean;
|
|
124
|
-
isCaseSensitive?: boolean;
|
|
125
|
-
nullable?: number;
|
|
126
|
-
precision?: number;
|
|
127
|
-
scale?: number;
|
|
128
|
-
arrayBaseColumnType?: number;
|
|
115
|
+
name?: string | undefined;
|
|
116
|
+
type?: number | undefined;
|
|
117
|
+
typeName?: string | undefined;
|
|
118
|
+
label?: string | undefined;
|
|
119
|
+
schemaName?: string | undefined;
|
|
120
|
+
tableName?: string | undefined;
|
|
121
|
+
isAutoIncrement?: boolean | undefined;
|
|
122
|
+
isSigned?: boolean | undefined;
|
|
123
|
+
isCurrency?: boolean | undefined;
|
|
124
|
+
isCaseSensitive?: boolean | undefined;
|
|
125
|
+
nullable?: number | undefined;
|
|
126
|
+
precision?: number | undefined;
|
|
127
|
+
scale?: number | undefined;
|
|
128
|
+
arrayBaseColumnType?: number | undefined;
|
|
129
129
|
}
|
|
130
130
|
export interface CommitTransactionRequest {
|
|
131
131
|
resourceArn: string | undefined;
|
|
@@ -133,7 +133,7 @@ export interface CommitTransactionRequest {
|
|
|
133
133
|
transactionId: string | undefined;
|
|
134
134
|
}
|
|
135
135
|
export interface CommitTransactionResponse {
|
|
136
|
-
transactionStatus?: string;
|
|
136
|
+
transactionStatus?: string | undefined;
|
|
137
137
|
}
|
|
138
138
|
export declare class NotFoundException extends __BaseException {
|
|
139
139
|
readonly name: "NotFoundException";
|
|
@@ -150,12 +150,12 @@ export interface ExecuteSqlRequest {
|
|
|
150
150
|
dbClusterOrInstanceArn: string | undefined;
|
|
151
151
|
awsSecretStoreArn: string | undefined;
|
|
152
152
|
sqlStatements: string | undefined;
|
|
153
|
-
database?: string;
|
|
154
|
-
schema?: string;
|
|
153
|
+
database?: string | undefined;
|
|
154
|
+
schema?: string | undefined;
|
|
155
155
|
}
|
|
156
156
|
export interface ResultSetMetadata {
|
|
157
|
-
columnCount?: number;
|
|
158
|
-
columnMetadata?: ColumnMetadata[];
|
|
157
|
+
columnCount?: number | undefined;
|
|
158
|
+
columnMetadata?: ColumnMetadata[] | undefined;
|
|
159
159
|
}
|
|
160
160
|
export declare const RecordsFormatType: {
|
|
161
161
|
readonly JSON: "JSON";
|
|
@@ -170,8 +170,8 @@ export declare const LongReturnType: {
|
|
|
170
170
|
export type LongReturnType =
|
|
171
171
|
(typeof LongReturnType)[keyof typeof LongReturnType];
|
|
172
172
|
export interface ResultSetOptions {
|
|
173
|
-
decimalReturnType?: DecimalReturnType;
|
|
174
|
-
longReturnType?: LongReturnType;
|
|
173
|
+
decimalReturnType?: DecimalReturnType | undefined;
|
|
174
|
+
longReturnType?: LongReturnType | undefined;
|
|
175
175
|
}
|
|
176
176
|
export declare class UnsupportedResultException extends __BaseException {
|
|
177
177
|
readonly name: "UnsupportedResultException";
|
|
@@ -186,7 +186,7 @@ export interface RollbackTransactionRequest {
|
|
|
186
186
|
transactionId: string | undefined;
|
|
187
187
|
}
|
|
188
188
|
export interface RollbackTransactionResponse {
|
|
189
|
-
transactionStatus?: string;
|
|
189
|
+
transactionStatus?: string | undefined;
|
|
190
190
|
}
|
|
191
191
|
export type ArrayValue =
|
|
192
192
|
| ArrayValue.ArrayValuesMember
|
|
@@ -357,12 +357,12 @@ export declare namespace Field {
|
|
|
357
357
|
const visit: <T>(value: Field, visitor: Visitor<T>) => T;
|
|
358
358
|
}
|
|
359
359
|
export interface SqlParameter {
|
|
360
|
-
name?: string;
|
|
361
|
-
value?: Field;
|
|
362
|
-
typeHint?: TypeHint;
|
|
360
|
+
name?: string | undefined;
|
|
361
|
+
value?: Field | undefined;
|
|
362
|
+
typeHint?: TypeHint | undefined;
|
|
363
363
|
}
|
|
364
364
|
export interface UpdateResult {
|
|
365
|
-
generatedFields?: Field[];
|
|
365
|
+
generatedFields?: Field[] | undefined;
|
|
366
366
|
}
|
|
367
367
|
export type Value =
|
|
368
368
|
| Value.ArrayValuesMember
|
|
@@ -539,48 +539,48 @@ export interface ExecuteStatementRequest {
|
|
|
539
539
|
resourceArn: string | undefined;
|
|
540
540
|
secretArn: string | undefined;
|
|
541
541
|
sql: string | undefined;
|
|
542
|
-
database?: string;
|
|
543
|
-
schema?: string;
|
|
544
|
-
parameters?: SqlParameter[];
|
|
545
|
-
transactionId?: string;
|
|
546
|
-
includeResultMetadata?: boolean;
|
|
547
|
-
continueAfterTimeout?: boolean;
|
|
548
|
-
resultSetOptions?: ResultSetOptions;
|
|
549
|
-
formatRecordsAs?: RecordsFormatType;
|
|
542
|
+
database?: string | undefined;
|
|
543
|
+
schema?: string | undefined;
|
|
544
|
+
parameters?: SqlParameter[] | undefined;
|
|
545
|
+
transactionId?: string | undefined;
|
|
546
|
+
includeResultMetadata?: boolean | undefined;
|
|
547
|
+
continueAfterTimeout?: boolean | undefined;
|
|
548
|
+
resultSetOptions?: ResultSetOptions | undefined;
|
|
549
|
+
formatRecordsAs?: RecordsFormatType | undefined;
|
|
550
550
|
}
|
|
551
551
|
export interface StructValue {
|
|
552
|
-
attributes?: Value[];
|
|
552
|
+
attributes?: Value[] | undefined;
|
|
553
553
|
}
|
|
554
554
|
export interface BatchExecuteStatementRequest {
|
|
555
555
|
resourceArn: string | undefined;
|
|
556
556
|
secretArn: string | undefined;
|
|
557
557
|
sql: string | undefined;
|
|
558
|
-
database?: string;
|
|
559
|
-
schema?: string;
|
|
560
|
-
parameterSets?: SqlParameter[][];
|
|
561
|
-
transactionId?: string;
|
|
558
|
+
database?: string | undefined;
|
|
559
|
+
schema?: string | undefined;
|
|
560
|
+
parameterSets?: SqlParameter[][] | undefined;
|
|
561
|
+
transactionId?: string | undefined;
|
|
562
562
|
}
|
|
563
563
|
export interface BatchExecuteStatementResponse {
|
|
564
|
-
updateResults?: UpdateResult[];
|
|
564
|
+
updateResults?: UpdateResult[] | undefined;
|
|
565
565
|
}
|
|
566
566
|
export interface _Record {
|
|
567
|
-
values?: Value[];
|
|
567
|
+
values?: Value[] | undefined;
|
|
568
568
|
}
|
|
569
569
|
export interface ExecuteStatementResponse {
|
|
570
|
-
records?: Field[][];
|
|
571
|
-
columnMetadata?: ColumnMetadata[];
|
|
572
|
-
numberOfRecordsUpdated?: number;
|
|
573
|
-
generatedFields?: Field[];
|
|
574
|
-
formattedRecords?: string;
|
|
570
|
+
records?: Field[][] | undefined;
|
|
571
|
+
columnMetadata?: ColumnMetadata[] | undefined;
|
|
572
|
+
numberOfRecordsUpdated?: number | undefined;
|
|
573
|
+
generatedFields?: Field[] | undefined;
|
|
574
|
+
formattedRecords?: string | undefined;
|
|
575
575
|
}
|
|
576
576
|
export interface ResultFrame {
|
|
577
|
-
resultSetMetadata?: ResultSetMetadata;
|
|
578
|
-
records?: _Record[];
|
|
577
|
+
resultSetMetadata?: ResultSetMetadata | undefined;
|
|
578
|
+
records?: _Record[] | undefined;
|
|
579
579
|
}
|
|
580
580
|
export interface SqlStatementResult {
|
|
581
|
-
resultFrame?: ResultFrame;
|
|
582
|
-
numberOfRecordsUpdated?: number;
|
|
581
|
+
resultFrame?: ResultFrame | undefined;
|
|
582
|
+
numberOfRecordsUpdated?: number | undefined;
|
|
583
583
|
}
|
|
584
584
|
export interface ExecuteSqlResponse {
|
|
585
|
-
sqlStatementResults?: SqlStatementResult[];
|
|
585
|
+
sqlStatementResults?: SqlStatementResult[] | undefined;
|
|
586
586
|
}
|
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.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rds-data",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|