@aws-sdk/client-rds-data 3.378.0 → 3.382.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.
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
export * from "./RDSDataClient";
|
|
15
15
|
export * from "./RDSData";
|
|
16
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
17
|
export * from "./commands";
|
|
17
18
|
export * from "./models";
|
|
18
19
|
export { RDSDataServiceException } from "./models/RDSDataServiceException";
|
|
@@ -85,6 +85,7 @@ export declare class StatementTimeoutException extends __BaseException {
|
|
|
85
85
|
readonly name: "StatementTimeoutException";
|
|
86
86
|
readonly $fault: "client";
|
|
87
87
|
/**
|
|
88
|
+
* @public
|
|
88
89
|
* <p>The database connection ID that executed the SQL statement.</p>
|
|
89
90
|
*/
|
|
90
91
|
dbConnectionId?: number;
|
|
@@ -100,18 +101,22 @@ export declare class StatementTimeoutException extends __BaseException {
|
|
|
100
101
|
*/
|
|
101
102
|
export interface BeginTransactionRequest {
|
|
102
103
|
/**
|
|
104
|
+
* @public
|
|
103
105
|
* <p>The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.</p>
|
|
104
106
|
*/
|
|
105
107
|
resourceArn: string | undefined;
|
|
106
108
|
/**
|
|
109
|
+
* @public
|
|
107
110
|
* <p>The name or ARN of the secret that enables access to the DB cluster.</p>
|
|
108
111
|
*/
|
|
109
112
|
secretArn: string | undefined;
|
|
110
113
|
/**
|
|
114
|
+
* @public
|
|
111
115
|
* <p>The name of the database.</p>
|
|
112
116
|
*/
|
|
113
117
|
database?: string;
|
|
114
118
|
/**
|
|
119
|
+
* @public
|
|
115
120
|
* <p>The name of the database schema.</p>
|
|
116
121
|
*/
|
|
117
122
|
schema?: string;
|
|
@@ -123,6 +128,7 @@ export interface BeginTransactionRequest {
|
|
|
123
128
|
*/
|
|
124
129
|
export interface BeginTransactionResponse {
|
|
125
130
|
/**
|
|
131
|
+
* @public
|
|
126
132
|
* <p>The transaction ID of the transaction started by the call.</p>
|
|
127
133
|
*/
|
|
128
134
|
transactionId?: string;
|
|
@@ -133,58 +139,72 @@ export interface BeginTransactionResponse {
|
|
|
133
139
|
*/
|
|
134
140
|
export interface ColumnMetadata {
|
|
135
141
|
/**
|
|
142
|
+
* @public
|
|
136
143
|
* <p>The name of the column.</p>
|
|
137
144
|
*/
|
|
138
145
|
name?: string;
|
|
139
146
|
/**
|
|
147
|
+
* @public
|
|
140
148
|
* <p>The type of the column.</p>
|
|
141
149
|
*/
|
|
142
150
|
type?: number;
|
|
143
151
|
/**
|
|
152
|
+
* @public
|
|
144
153
|
* <p>The database-specific data type of the column.</p>
|
|
145
154
|
*/
|
|
146
155
|
typeName?: string;
|
|
147
156
|
/**
|
|
157
|
+
* @public
|
|
148
158
|
* <p>The label for the column.</p>
|
|
149
159
|
*/
|
|
150
160
|
label?: string;
|
|
151
161
|
/**
|
|
162
|
+
* @public
|
|
152
163
|
* <p>The name of the schema that owns the table that includes the column.</p>
|
|
153
164
|
*/
|
|
154
165
|
schemaName?: string;
|
|
155
166
|
/**
|
|
167
|
+
* @public
|
|
156
168
|
* <p>The name of the table that includes the column.</p>
|
|
157
169
|
*/
|
|
158
170
|
tableName?: string;
|
|
159
171
|
/**
|
|
172
|
+
* @public
|
|
160
173
|
* <p>A value that indicates whether the column increments automatically.</p>
|
|
161
174
|
*/
|
|
162
175
|
isAutoIncrement?: boolean;
|
|
163
176
|
/**
|
|
177
|
+
* @public
|
|
164
178
|
* <p>A value that indicates whether an integer column is signed.</p>
|
|
165
179
|
*/
|
|
166
180
|
isSigned?: boolean;
|
|
167
181
|
/**
|
|
182
|
+
* @public
|
|
168
183
|
* <p>A value that indicates whether the column contains currency values.</p>
|
|
169
184
|
*/
|
|
170
185
|
isCurrency?: boolean;
|
|
171
186
|
/**
|
|
187
|
+
* @public
|
|
172
188
|
* <p>A value that indicates whether the column is case-sensitive.</p>
|
|
173
189
|
*/
|
|
174
190
|
isCaseSensitive?: boolean;
|
|
175
191
|
/**
|
|
192
|
+
* @public
|
|
176
193
|
* <p>A value that indicates whether the column is nullable.</p>
|
|
177
194
|
*/
|
|
178
195
|
nullable?: number;
|
|
179
196
|
/**
|
|
197
|
+
* @public
|
|
180
198
|
* <p>The precision value of a decimal number column.</p>
|
|
181
199
|
*/
|
|
182
200
|
precision?: number;
|
|
183
201
|
/**
|
|
202
|
+
* @public
|
|
184
203
|
* <p>The scale value of a decimal number column.</p>
|
|
185
204
|
*/
|
|
186
205
|
scale?: number;
|
|
187
206
|
/**
|
|
207
|
+
* @public
|
|
188
208
|
* <p>The type of the column.</p>
|
|
189
209
|
*/
|
|
190
210
|
arrayBaseColumnType?: number;
|
|
@@ -195,14 +215,17 @@ export interface ColumnMetadata {
|
|
|
195
215
|
*/
|
|
196
216
|
export interface CommitTransactionRequest {
|
|
197
217
|
/**
|
|
218
|
+
* @public
|
|
198
219
|
* <p>The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.</p>
|
|
199
220
|
*/
|
|
200
221
|
resourceArn: string | undefined;
|
|
201
222
|
/**
|
|
223
|
+
* @public
|
|
202
224
|
* <p>The name or ARN of the secret that enables access to the DB cluster.</p>
|
|
203
225
|
*/
|
|
204
226
|
secretArn: string | undefined;
|
|
205
227
|
/**
|
|
228
|
+
* @public
|
|
206
229
|
* <p>The identifier of the transaction to end and commit.</p>
|
|
207
230
|
*/
|
|
208
231
|
transactionId: string | undefined;
|
|
@@ -213,6 +236,7 @@ export interface CommitTransactionRequest {
|
|
|
213
236
|
*/
|
|
214
237
|
export interface CommitTransactionResponse {
|
|
215
238
|
/**
|
|
239
|
+
* @public
|
|
216
240
|
* <p>The status of the commit operation.</p>
|
|
217
241
|
*/
|
|
218
242
|
transactionStatus?: string;
|
|
@@ -248,16 +272,19 @@ export type DecimalReturnType = (typeof DecimalReturnType)[keyof typeof DecimalR
|
|
|
248
272
|
*/
|
|
249
273
|
export interface ExecuteSqlRequest {
|
|
250
274
|
/**
|
|
275
|
+
* @public
|
|
251
276
|
* <p>The ARN of the Aurora Serverless DB cluster.</p>
|
|
252
277
|
*/
|
|
253
278
|
dbClusterOrInstanceArn: string | undefined;
|
|
254
279
|
/**
|
|
280
|
+
* @public
|
|
255
281
|
* <p>The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password
|
|
256
282
|
* for the credentials in the secret.</p>
|
|
257
283
|
* <p>For information about creating the secret, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/create_database_secret.html">Create a database secret</a>.</p>
|
|
258
284
|
*/
|
|
259
285
|
awsSecretStoreArn: string | undefined;
|
|
260
286
|
/**
|
|
287
|
+
* @public
|
|
261
288
|
* <p>One or more SQL statements to run on the DB cluster.</p>
|
|
262
289
|
* <p>You can separate SQL statements from each other with a semicolon (;). Any valid SQL
|
|
263
290
|
* statement is permitted, including data definition, data manipulation, and commit
|
|
@@ -265,10 +292,12 @@ export interface ExecuteSqlRequest {
|
|
|
265
292
|
*/
|
|
266
293
|
sqlStatements: string | undefined;
|
|
267
294
|
/**
|
|
295
|
+
* @public
|
|
268
296
|
* <p>The name of the database.</p>
|
|
269
297
|
*/
|
|
270
298
|
database?: string;
|
|
271
299
|
/**
|
|
300
|
+
* @public
|
|
272
301
|
* <p>The name of the database schema.</p>
|
|
273
302
|
*/
|
|
274
303
|
schema?: string;
|
|
@@ -279,10 +308,12 @@ export interface ExecuteSqlRequest {
|
|
|
279
308
|
*/
|
|
280
309
|
export interface ResultSetMetadata {
|
|
281
310
|
/**
|
|
311
|
+
* @public
|
|
282
312
|
* <p>The number of columns in the result set.</p>
|
|
283
313
|
*/
|
|
284
314
|
columnCount?: number;
|
|
285
315
|
/**
|
|
316
|
+
* @public
|
|
286
317
|
* <p>The metadata of the columns in the result set.</p>
|
|
287
318
|
*/
|
|
288
319
|
columnMetadata?: ColumnMetadata[];
|
|
@@ -317,6 +348,7 @@ export type LongReturnType = (typeof LongReturnType)[keyof typeof LongReturnType
|
|
|
317
348
|
*/
|
|
318
349
|
export interface ResultSetOptions {
|
|
319
350
|
/**
|
|
351
|
+
* @public
|
|
320
352
|
* <p>A value that indicates how a field of <code>DECIMAL</code> type is represented
|
|
321
353
|
* in the response. The value of <code>STRING</code>, the default, specifies that
|
|
322
354
|
* it is converted to a String value. The value of <code>DOUBLE_OR_LONG</code>
|
|
@@ -329,6 +361,7 @@ export interface ResultSetOptions {
|
|
|
329
361
|
*/
|
|
330
362
|
decimalReturnType?: DecimalReturnType | string;
|
|
331
363
|
/**
|
|
364
|
+
* @public
|
|
332
365
|
* <p>A value that indicates how a field of <code>LONG</code> type is represented.
|
|
333
366
|
* Allowed values are <code>LONG</code> and <code>STRING</code>. The default
|
|
334
367
|
* is <code>LONG</code>. Specify <code>STRING</code> if the length or
|
|
@@ -344,14 +377,17 @@ export interface ResultSetOptions {
|
|
|
344
377
|
*/
|
|
345
378
|
export interface RollbackTransactionRequest {
|
|
346
379
|
/**
|
|
380
|
+
* @public
|
|
347
381
|
* <p>The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.</p>
|
|
348
382
|
*/
|
|
349
383
|
resourceArn: string | undefined;
|
|
350
384
|
/**
|
|
385
|
+
* @public
|
|
351
386
|
* <p>The name or ARN of the secret that enables access to the DB cluster.</p>
|
|
352
387
|
*/
|
|
353
388
|
secretArn: string | undefined;
|
|
354
389
|
/**
|
|
390
|
+
* @public
|
|
355
391
|
* <p>The identifier of the transaction to roll back.</p>
|
|
356
392
|
*/
|
|
357
393
|
transactionId: string | undefined;
|
|
@@ -363,6 +399,7 @@ export interface RollbackTransactionRequest {
|
|
|
363
399
|
*/
|
|
364
400
|
export interface RollbackTransactionResponse {
|
|
365
401
|
/**
|
|
402
|
+
* @public
|
|
366
403
|
* <p>The status of the rollback operation.</p>
|
|
367
404
|
*/
|
|
368
405
|
transactionStatus?: string;
|
|
@@ -377,6 +414,7 @@ export type ArrayValue = ArrayValue.ArrayValuesMember | ArrayValue.BooleanValues
|
|
|
377
414
|
*/
|
|
378
415
|
export declare namespace ArrayValue {
|
|
379
416
|
/**
|
|
417
|
+
* @public
|
|
380
418
|
* <p>An array of Boolean values.</p>
|
|
381
419
|
*/
|
|
382
420
|
interface BooleanValuesMember {
|
|
@@ -388,6 +426,7 @@ export declare namespace ArrayValue {
|
|
|
388
426
|
$unknown?: never;
|
|
389
427
|
}
|
|
390
428
|
/**
|
|
429
|
+
* @public
|
|
391
430
|
* <p>An array of integers.</p>
|
|
392
431
|
*/
|
|
393
432
|
interface LongValuesMember {
|
|
@@ -399,6 +438,7 @@ export declare namespace ArrayValue {
|
|
|
399
438
|
$unknown?: never;
|
|
400
439
|
}
|
|
401
440
|
/**
|
|
441
|
+
* @public
|
|
402
442
|
* <p>An array of floating-point numbers.</p>
|
|
403
443
|
*/
|
|
404
444
|
interface DoubleValuesMember {
|
|
@@ -410,6 +450,7 @@ export declare namespace ArrayValue {
|
|
|
410
450
|
$unknown?: never;
|
|
411
451
|
}
|
|
412
452
|
/**
|
|
453
|
+
* @public
|
|
413
454
|
* <p>An array of strings.</p>
|
|
414
455
|
*/
|
|
415
456
|
interface StringValuesMember {
|
|
@@ -421,6 +462,7 @@ export declare namespace ArrayValue {
|
|
|
421
462
|
$unknown?: never;
|
|
422
463
|
}
|
|
423
464
|
/**
|
|
465
|
+
* @public
|
|
424
466
|
* <p>An array of arrays.</p>
|
|
425
467
|
*/
|
|
426
468
|
interface ArrayValuesMember {
|
|
@@ -431,6 +473,9 @@ export declare namespace ArrayValue {
|
|
|
431
473
|
arrayValues: ArrayValue[];
|
|
432
474
|
$unknown?: never;
|
|
433
475
|
}
|
|
476
|
+
/**
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
434
479
|
interface $UnknownMember {
|
|
435
480
|
booleanValues?: never;
|
|
436
481
|
longValues?: never;
|
|
@@ -459,6 +504,7 @@ export type Field = Field.ArrayValueMember | Field.BlobValueMember | Field.Boole
|
|
|
459
504
|
*/
|
|
460
505
|
export declare namespace Field {
|
|
461
506
|
/**
|
|
507
|
+
* @public
|
|
462
508
|
* <p>A NULL value.</p>
|
|
463
509
|
*/
|
|
464
510
|
interface IsNullMember {
|
|
@@ -472,6 +518,7 @@ export declare namespace Field {
|
|
|
472
518
|
$unknown?: never;
|
|
473
519
|
}
|
|
474
520
|
/**
|
|
521
|
+
* @public
|
|
475
522
|
* <p>A value of Boolean data type.</p>
|
|
476
523
|
*/
|
|
477
524
|
interface BooleanValueMember {
|
|
@@ -485,6 +532,7 @@ export declare namespace Field {
|
|
|
485
532
|
$unknown?: never;
|
|
486
533
|
}
|
|
487
534
|
/**
|
|
535
|
+
* @public
|
|
488
536
|
* <p>A value of long data type.</p>
|
|
489
537
|
*/
|
|
490
538
|
interface LongValueMember {
|
|
@@ -498,6 +546,7 @@ export declare namespace Field {
|
|
|
498
546
|
$unknown?: never;
|
|
499
547
|
}
|
|
500
548
|
/**
|
|
549
|
+
* @public
|
|
501
550
|
* <p>A value of double data type.</p>
|
|
502
551
|
*/
|
|
503
552
|
interface DoubleValueMember {
|
|
@@ -511,6 +560,7 @@ export declare namespace Field {
|
|
|
511
560
|
$unknown?: never;
|
|
512
561
|
}
|
|
513
562
|
/**
|
|
563
|
+
* @public
|
|
514
564
|
* <p>A value of string data type.</p>
|
|
515
565
|
*/
|
|
516
566
|
interface StringValueMember {
|
|
@@ -524,6 +574,7 @@ export declare namespace Field {
|
|
|
524
574
|
$unknown?: never;
|
|
525
575
|
}
|
|
526
576
|
/**
|
|
577
|
+
* @public
|
|
527
578
|
* <p>A value of BLOB data type.</p>
|
|
528
579
|
*/
|
|
529
580
|
interface BlobValueMember {
|
|
@@ -537,6 +588,7 @@ export declare namespace Field {
|
|
|
537
588
|
$unknown?: never;
|
|
538
589
|
}
|
|
539
590
|
/**
|
|
591
|
+
* @public
|
|
540
592
|
* <p>An array of values.</p>
|
|
541
593
|
*/
|
|
542
594
|
interface ArrayValueMember {
|
|
@@ -549,6 +601,9 @@ export declare namespace Field {
|
|
|
549
601
|
arrayValue: ArrayValue;
|
|
550
602
|
$unknown?: never;
|
|
551
603
|
}
|
|
604
|
+
/**
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
552
607
|
interface $UnknownMember {
|
|
553
608
|
isNull?: never;
|
|
554
609
|
booleanValue?: never;
|
|
@@ -577,14 +632,17 @@ export declare namespace Field {
|
|
|
577
632
|
*/
|
|
578
633
|
export interface SqlParameter {
|
|
579
634
|
/**
|
|
635
|
+
* @public
|
|
580
636
|
* <p>The name of the parameter.</p>
|
|
581
637
|
*/
|
|
582
638
|
name?: string;
|
|
583
639
|
/**
|
|
640
|
+
* @public
|
|
584
641
|
* <p>The value of the parameter.</p>
|
|
585
642
|
*/
|
|
586
643
|
value?: Field;
|
|
587
644
|
/**
|
|
645
|
+
* @public
|
|
588
646
|
* <p>A hint that specifies the correct object type for data type mapping. Possible values
|
|
589
647
|
* are as follows:</p>
|
|
590
648
|
* <ul>
|
|
@@ -629,6 +687,7 @@ export interface SqlParameter {
|
|
|
629
687
|
*/
|
|
630
688
|
export interface UpdateResult {
|
|
631
689
|
/**
|
|
690
|
+
* @public
|
|
632
691
|
* <p>Values for fields generated during the request.</p>
|
|
633
692
|
*/
|
|
634
693
|
generatedFields?: Field[];
|
|
@@ -648,6 +707,7 @@ export type Value = Value.ArrayValuesMember | Value.BigIntValueMember | Value.Bi
|
|
|
648
707
|
*/
|
|
649
708
|
export declare namespace Value {
|
|
650
709
|
/**
|
|
710
|
+
* @public
|
|
651
711
|
* <p>A NULL value.</p>
|
|
652
712
|
*/
|
|
653
713
|
interface IsNullMember {
|
|
@@ -664,6 +724,7 @@ export declare namespace Value {
|
|
|
664
724
|
$unknown?: never;
|
|
665
725
|
}
|
|
666
726
|
/**
|
|
727
|
+
* @public
|
|
667
728
|
* <p>A value for a column of BIT data type.</p>
|
|
668
729
|
*/
|
|
669
730
|
interface BitValueMember {
|
|
@@ -680,6 +741,7 @@ export declare namespace Value {
|
|
|
680
741
|
$unknown?: never;
|
|
681
742
|
}
|
|
682
743
|
/**
|
|
744
|
+
* @public
|
|
683
745
|
* <p>A value for a column of big integer data type.</p>
|
|
684
746
|
*/
|
|
685
747
|
interface BigIntValueMember {
|
|
@@ -696,6 +758,7 @@ export declare namespace Value {
|
|
|
696
758
|
$unknown?: never;
|
|
697
759
|
}
|
|
698
760
|
/**
|
|
761
|
+
* @public
|
|
699
762
|
* <p>A value for a column of integer data type.</p>
|
|
700
763
|
*/
|
|
701
764
|
interface IntValueMember {
|
|
@@ -712,6 +775,7 @@ export declare namespace Value {
|
|
|
712
775
|
$unknown?: never;
|
|
713
776
|
}
|
|
714
777
|
/**
|
|
778
|
+
* @public
|
|
715
779
|
* <p>A value for a column of double data type.</p>
|
|
716
780
|
*/
|
|
717
781
|
interface DoubleValueMember {
|
|
@@ -728,6 +792,7 @@ export declare namespace Value {
|
|
|
728
792
|
$unknown?: never;
|
|
729
793
|
}
|
|
730
794
|
/**
|
|
795
|
+
* @public
|
|
731
796
|
* <p>A value for a column of real data type.</p>
|
|
732
797
|
*/
|
|
733
798
|
interface RealValueMember {
|
|
@@ -744,6 +809,7 @@ export declare namespace Value {
|
|
|
744
809
|
$unknown?: never;
|
|
745
810
|
}
|
|
746
811
|
/**
|
|
812
|
+
* @public
|
|
747
813
|
* <p>A value for a column of string data type.</p>
|
|
748
814
|
*/
|
|
749
815
|
interface StringValueMember {
|
|
@@ -760,6 +826,7 @@ export declare namespace Value {
|
|
|
760
826
|
$unknown?: never;
|
|
761
827
|
}
|
|
762
828
|
/**
|
|
829
|
+
* @public
|
|
763
830
|
* <p>A value for a column of BLOB data type.</p>
|
|
764
831
|
*/
|
|
765
832
|
interface BlobValueMember {
|
|
@@ -776,6 +843,7 @@ export declare namespace Value {
|
|
|
776
843
|
$unknown?: never;
|
|
777
844
|
}
|
|
778
845
|
/**
|
|
846
|
+
* @public
|
|
779
847
|
* <p>An array of column values.</p>
|
|
780
848
|
*/
|
|
781
849
|
interface ArrayValuesMember {
|
|
@@ -792,6 +860,7 @@ export declare namespace Value {
|
|
|
792
860
|
$unknown?: never;
|
|
793
861
|
}
|
|
794
862
|
/**
|
|
863
|
+
* @public
|
|
795
864
|
* <p>A value for a column of STRUCT data type.</p>
|
|
796
865
|
*/
|
|
797
866
|
interface StructValueMember {
|
|
@@ -807,6 +876,9 @@ export declare namespace Value {
|
|
|
807
876
|
structValue: StructValue;
|
|
808
877
|
$unknown?: never;
|
|
809
878
|
}
|
|
879
|
+
/**
|
|
880
|
+
* @public
|
|
881
|
+
*/
|
|
810
882
|
interface $UnknownMember {
|
|
811
883
|
isNull?: never;
|
|
812
884
|
bitValue?: never;
|
|
@@ -842,24 +914,29 @@ export declare namespace Value {
|
|
|
842
914
|
*/
|
|
843
915
|
export interface ExecuteStatementRequest {
|
|
844
916
|
/**
|
|
917
|
+
* @public
|
|
845
918
|
* <p>The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.</p>
|
|
846
919
|
*/
|
|
847
920
|
resourceArn: string | undefined;
|
|
848
921
|
/**
|
|
922
|
+
* @public
|
|
849
923
|
* <p>The ARN of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in
|
|
850
924
|
* the secret.</p>
|
|
851
925
|
* <p>For information about creating the secret, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/create_database_secret.html">Create a database secret</a>.</p>
|
|
852
926
|
*/
|
|
853
927
|
secretArn: string | undefined;
|
|
854
928
|
/**
|
|
929
|
+
* @public
|
|
855
930
|
* <p>The SQL statement to run.</p>
|
|
856
931
|
*/
|
|
857
932
|
sql: string | undefined;
|
|
858
933
|
/**
|
|
934
|
+
* @public
|
|
859
935
|
* <p>The name of the database.</p>
|
|
860
936
|
*/
|
|
861
937
|
database?: string;
|
|
862
938
|
/**
|
|
939
|
+
* @public
|
|
863
940
|
* <p>The name of the database schema.</p>
|
|
864
941
|
* <note>
|
|
865
942
|
* <p>Currently, the <code>schema</code> parameter isn't supported.</p>
|
|
@@ -867,6 +944,7 @@ export interface ExecuteStatementRequest {
|
|
|
867
944
|
*/
|
|
868
945
|
schema?: string;
|
|
869
946
|
/**
|
|
947
|
+
* @public
|
|
870
948
|
* <p>The parameters for the SQL statement.</p>
|
|
871
949
|
* <note>
|
|
872
950
|
* <p>Array parameters are not supported.</p>
|
|
@@ -874,6 +952,7 @@ export interface ExecuteStatementRequest {
|
|
|
874
952
|
*/
|
|
875
953
|
parameters?: SqlParameter[];
|
|
876
954
|
/**
|
|
955
|
+
* @public
|
|
877
956
|
* <p>The identifier of a transaction that was started by using the
|
|
878
957
|
* <code>BeginTransaction</code> operation. Specify the transaction ID of the
|
|
879
958
|
* transaction that you want to include the SQL statement in.</p>
|
|
@@ -881,10 +960,12 @@ export interface ExecuteStatementRequest {
|
|
|
881
960
|
*/
|
|
882
961
|
transactionId?: string;
|
|
883
962
|
/**
|
|
963
|
+
* @public
|
|
884
964
|
* <p>A value that indicates whether to include metadata in the results.</p>
|
|
885
965
|
*/
|
|
886
966
|
includeResultMetadata?: boolean;
|
|
887
967
|
/**
|
|
968
|
+
* @public
|
|
888
969
|
* <p>A value that indicates whether to continue running the statement after
|
|
889
970
|
* the call times out. By default, the statement stops running when the call
|
|
890
971
|
* times out.</p>
|
|
@@ -896,10 +977,12 @@ export interface ExecuteStatementRequest {
|
|
|
896
977
|
*/
|
|
897
978
|
continueAfterTimeout?: boolean;
|
|
898
979
|
/**
|
|
980
|
+
* @public
|
|
899
981
|
* <p>Options that control how the result set is returned.</p>
|
|
900
982
|
*/
|
|
901
983
|
resultSetOptions?: ResultSetOptions;
|
|
902
984
|
/**
|
|
985
|
+
* @public
|
|
903
986
|
* <p>A value that indicates whether to format the result set as a single JSON string.
|
|
904
987
|
* This parameter only applies to <code>SELECT</code> statements and is ignored for
|
|
905
988
|
* other types of statements. Allowed values are <code>NONE</code> and <code>JSON</code>.
|
|
@@ -920,6 +1003,7 @@ export interface ExecuteStatementRequest {
|
|
|
920
1003
|
*/
|
|
921
1004
|
export interface StructValue {
|
|
922
1005
|
/**
|
|
1006
|
+
* @public
|
|
923
1007
|
* <p>The attributes returned in the record.</p>
|
|
924
1008
|
*/
|
|
925
1009
|
attributes?: Value[];
|
|
@@ -931,24 +1015,29 @@ export interface StructValue {
|
|
|
931
1015
|
*/
|
|
932
1016
|
export interface BatchExecuteStatementRequest {
|
|
933
1017
|
/**
|
|
1018
|
+
* @public
|
|
934
1019
|
* <p>The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.</p>
|
|
935
1020
|
*/
|
|
936
1021
|
resourceArn: string | undefined;
|
|
937
1022
|
/**
|
|
1023
|
+
* @public
|
|
938
1024
|
* <p>The ARN of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in
|
|
939
1025
|
* the secret.</p>
|
|
940
1026
|
* <p>For information about creating the secret, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/create_database_secret.html">Create a database secret</a>.</p>
|
|
941
1027
|
*/
|
|
942
1028
|
secretArn: string | undefined;
|
|
943
1029
|
/**
|
|
1030
|
+
* @public
|
|
944
1031
|
* <p>The SQL statement to run. Don't include a semicolon (;) at the end of the SQL statement.</p>
|
|
945
1032
|
*/
|
|
946
1033
|
sql: string | undefined;
|
|
947
1034
|
/**
|
|
1035
|
+
* @public
|
|
948
1036
|
* <p>The name of the database.</p>
|
|
949
1037
|
*/
|
|
950
1038
|
database?: string;
|
|
951
1039
|
/**
|
|
1040
|
+
* @public
|
|
952
1041
|
* <p>The name of the database schema.</p>
|
|
953
1042
|
* <note>
|
|
954
1043
|
* <p>Currently, the <code>schema</code> parameter isn't supported.</p>
|
|
@@ -956,6 +1045,7 @@ export interface BatchExecuteStatementRequest {
|
|
|
956
1045
|
*/
|
|
957
1046
|
schema?: string;
|
|
958
1047
|
/**
|
|
1048
|
+
* @public
|
|
959
1049
|
* <p>The parameter set for the batch operation.</p>
|
|
960
1050
|
* <p>The SQL statement is executed as many times as the number of parameter sets provided.
|
|
961
1051
|
* To execute a SQL statement with no parameters, use one of the following options:</p>
|
|
@@ -973,6 +1063,7 @@ export interface BatchExecuteStatementRequest {
|
|
|
973
1063
|
*/
|
|
974
1064
|
parameterSets?: SqlParameter[][];
|
|
975
1065
|
/**
|
|
1066
|
+
* @public
|
|
976
1067
|
* <p>The identifier of a transaction that was started by using the
|
|
977
1068
|
* <code>BeginTransaction</code> operation. Specify the transaction ID of the
|
|
978
1069
|
* transaction that you want to include the SQL statement in.</p>
|
|
@@ -988,6 +1079,7 @@ export interface BatchExecuteStatementRequest {
|
|
|
988
1079
|
*/
|
|
989
1080
|
export interface BatchExecuteStatementResponse {
|
|
990
1081
|
/**
|
|
1082
|
+
* @public
|
|
991
1083
|
* <p>The execution results of each batch entry.</p>
|
|
992
1084
|
*/
|
|
993
1085
|
updateResults?: UpdateResult[];
|
|
@@ -1002,6 +1094,7 @@ export interface BatchExecuteStatementResponse {
|
|
|
1002
1094
|
*/
|
|
1003
1095
|
export interface _Record {
|
|
1004
1096
|
/**
|
|
1097
|
+
* @public
|
|
1005
1098
|
* <p>The values returned in the record.</p>
|
|
1006
1099
|
*/
|
|
1007
1100
|
values?: Value[];
|
|
@@ -1013,20 +1106,24 @@ export interface _Record {
|
|
|
1013
1106
|
*/
|
|
1014
1107
|
export interface ExecuteStatementResponse {
|
|
1015
1108
|
/**
|
|
1109
|
+
* @public
|
|
1016
1110
|
* <p>The records returned by the SQL statement. This field is blank if the
|
|
1017
1111
|
* <code>formatRecordsAs</code> parameter is set to <code>JSON</code>.</p>
|
|
1018
1112
|
*/
|
|
1019
1113
|
records?: Field[][];
|
|
1020
1114
|
/**
|
|
1115
|
+
* @public
|
|
1021
1116
|
* <p>Metadata for the columns included in the results. This field is blank if the
|
|
1022
1117
|
* <code>formatRecordsAs</code> parameter is set to <code>JSON</code>.</p>
|
|
1023
1118
|
*/
|
|
1024
1119
|
columnMetadata?: ColumnMetadata[];
|
|
1025
1120
|
/**
|
|
1121
|
+
* @public
|
|
1026
1122
|
* <p>The number of records updated by the request.</p>
|
|
1027
1123
|
*/
|
|
1028
1124
|
numberOfRecordsUpdated?: number;
|
|
1029
1125
|
/**
|
|
1126
|
+
* @public
|
|
1030
1127
|
* <p>Values for fields generated during a DML request.</p>
|
|
1031
1128
|
*
|
|
1032
1129
|
* <note>
|
|
@@ -1038,6 +1135,7 @@ export interface ExecuteStatementResponse {
|
|
|
1038
1135
|
*/
|
|
1039
1136
|
generatedFields?: Field[];
|
|
1040
1137
|
/**
|
|
1138
|
+
* @public
|
|
1041
1139
|
* <p>A string value that represents the result set of a <code>SELECT</code> statement
|
|
1042
1140
|
* in JSON format. This value is only present when the <code>formatRecordsAs</code>
|
|
1043
1141
|
* parameter is set to <code>JSON</code>.</p>
|
|
@@ -1056,10 +1154,12 @@ export interface ExecuteStatementResponse {
|
|
|
1056
1154
|
*/
|
|
1057
1155
|
export interface ResultFrame {
|
|
1058
1156
|
/**
|
|
1157
|
+
* @public
|
|
1059
1158
|
* <p>The result-set metadata in the result set.</p>
|
|
1060
1159
|
*/
|
|
1061
1160
|
resultSetMetadata?: ResultSetMetadata;
|
|
1062
1161
|
/**
|
|
1162
|
+
* @public
|
|
1063
1163
|
* <p>The records in the result set.</p>
|
|
1064
1164
|
*/
|
|
1065
1165
|
records?: _Record[];
|
|
@@ -1075,10 +1175,12 @@ export interface ResultFrame {
|
|
|
1075
1175
|
*/
|
|
1076
1176
|
export interface SqlStatementResult {
|
|
1077
1177
|
/**
|
|
1178
|
+
* @public
|
|
1078
1179
|
* <p>The result set of the SQL statement.</p>
|
|
1079
1180
|
*/
|
|
1080
1181
|
resultFrame?: ResultFrame;
|
|
1081
1182
|
/**
|
|
1183
|
+
* @public
|
|
1082
1184
|
* <p>The number of records updated by a SQL statement.</p>
|
|
1083
1185
|
*/
|
|
1084
1186
|
numberOfRecordsUpdated?: number;
|
|
@@ -1090,6 +1192,7 @@ export interface SqlStatementResult {
|
|
|
1090
1192
|
*/
|
|
1091
1193
|
export interface ExecuteSqlResponse {
|
|
1092
1194
|
/**
|
|
1195
|
+
* @public
|
|
1093
1196
|
* <p>The results of the SQL statement or statements.</p>
|
|
1094
1197
|
*/
|
|
1095
1198
|
sqlStatementResults?: SqlStatementResult[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./RDSDataClient";
|
|
2
2
|
export * from "./RDSData";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
3
4
|
export * from "./commands";
|
|
4
5
|
export * from "./models";
|
|
5
6
|
export { RDSDataServiceException } from "./models/RDSDataServiceException";
|
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.382.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,15 +21,15 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|