@aws-sdk/client-redshift-data 3.169.0 → 3.170.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/CHANGELOG.md +8 -0
- package/dist-types/ts3.4/RedshiftData.d.ts +184 -55
- package/dist-types/ts3.4/RedshiftDataClient.d.ts +190 -83
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/index.d.ts +10 -10
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +6 -6
- package/dist-types/ts3.4/models/RedshiftDataServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +619 -578
- package/dist-types/ts3.4/pagination/DescribeTablePaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/GetStatementResultPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
- package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ListStatementsPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/index.d.ts +7 -7
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +125 -32
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
- package/package.json +34 -34
|
@@ -1,578 +1,619 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { RedshiftDataServiceException as __BaseException } from "./RedshiftDataServiceException";
|
|
3
|
-
|
|
4
|
-
export declare class ActiveStatementsExceededException extends __BaseException {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
export interface StatementData {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { RedshiftDataServiceException as __BaseException } from "./RedshiftDataServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class ActiveStatementsExceededException extends __BaseException {
|
|
5
|
+
readonly name: "ActiveStatementsExceededException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
Message?: string;
|
|
8
|
+
|
|
9
|
+
constructor(
|
|
10
|
+
opts: __ExceptionOptionType<
|
|
11
|
+
ActiveStatementsExceededException,
|
|
12
|
+
__BaseException
|
|
13
|
+
>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export declare class BatchExecuteStatementException extends __BaseException {
|
|
18
|
+
readonly name: "BatchExecuteStatementException";
|
|
19
|
+
readonly $fault: "server";
|
|
20
|
+
Message: string | undefined;
|
|
21
|
+
|
|
22
|
+
StatementId: string | undefined;
|
|
23
|
+
|
|
24
|
+
constructor(
|
|
25
|
+
opts: __ExceptionOptionType<BatchExecuteStatementException, __BaseException>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
export interface BatchExecuteStatementInput {
|
|
29
|
+
Sqls: string[] | undefined;
|
|
30
|
+
|
|
31
|
+
ClusterIdentifier?: string;
|
|
32
|
+
|
|
33
|
+
SecretArn?: string;
|
|
34
|
+
|
|
35
|
+
DbUser?: string;
|
|
36
|
+
|
|
37
|
+
Database: string | undefined;
|
|
38
|
+
|
|
39
|
+
WithEvent?: boolean;
|
|
40
|
+
|
|
41
|
+
StatementName?: string;
|
|
42
|
+
|
|
43
|
+
WorkgroupName?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface BatchExecuteStatementOutput {
|
|
46
|
+
Id?: string;
|
|
47
|
+
|
|
48
|
+
CreatedAt?: Date;
|
|
49
|
+
|
|
50
|
+
ClusterIdentifier?: string;
|
|
51
|
+
|
|
52
|
+
DbUser?: string;
|
|
53
|
+
|
|
54
|
+
Database?: string;
|
|
55
|
+
|
|
56
|
+
SecretArn?: string;
|
|
57
|
+
|
|
58
|
+
WorkgroupName?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export declare class ValidationException extends __BaseException {
|
|
62
|
+
readonly name: "ValidationException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
|
|
65
|
+
Message?: string;
|
|
66
|
+
|
|
67
|
+
constructor(
|
|
68
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
export interface CancelStatementRequest {
|
|
72
|
+
Id: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface CancelStatementResponse {
|
|
75
|
+
Status?: boolean;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export declare class DatabaseConnectionException extends __BaseException {
|
|
79
|
+
readonly name: "DatabaseConnectionException";
|
|
80
|
+
readonly $fault: "server";
|
|
81
|
+
Message: string | undefined;
|
|
82
|
+
|
|
83
|
+
constructor(
|
|
84
|
+
opts: __ExceptionOptionType<DatabaseConnectionException, __BaseException>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export declare class InternalServerException extends __BaseException {
|
|
89
|
+
readonly name: "InternalServerException";
|
|
90
|
+
readonly $fault: "server";
|
|
91
|
+
|
|
92
|
+
Message: string | undefined;
|
|
93
|
+
|
|
94
|
+
constructor(
|
|
95
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
100
|
+
readonly name: "ResourceNotFoundException";
|
|
101
|
+
readonly $fault: "client";
|
|
102
|
+
|
|
103
|
+
Message: string | undefined;
|
|
104
|
+
|
|
105
|
+
ResourceId: string | undefined;
|
|
106
|
+
|
|
107
|
+
constructor(
|
|
108
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export interface ColumnMetadata {
|
|
113
|
+
isCaseSensitive?: boolean;
|
|
114
|
+
|
|
115
|
+
isCurrency?: boolean;
|
|
116
|
+
|
|
117
|
+
isSigned?: boolean;
|
|
118
|
+
|
|
119
|
+
label?: string;
|
|
120
|
+
|
|
121
|
+
name?: string;
|
|
122
|
+
|
|
123
|
+
nullable?: number;
|
|
124
|
+
|
|
125
|
+
precision?: number;
|
|
126
|
+
|
|
127
|
+
scale?: number;
|
|
128
|
+
|
|
129
|
+
schemaName?: string;
|
|
130
|
+
|
|
131
|
+
tableName?: string;
|
|
132
|
+
|
|
133
|
+
typeName?: string;
|
|
134
|
+
|
|
135
|
+
length?: number;
|
|
136
|
+
|
|
137
|
+
columnDefault?: string;
|
|
138
|
+
}
|
|
139
|
+
export interface DescribeStatementRequest {
|
|
140
|
+
Id: string | undefined;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface SqlParameter {
|
|
144
|
+
name: string | undefined;
|
|
145
|
+
|
|
146
|
+
value: string | undefined;
|
|
147
|
+
}
|
|
148
|
+
export declare enum StatusString {
|
|
149
|
+
ABORTED = "ABORTED",
|
|
150
|
+
ALL = "ALL",
|
|
151
|
+
FAILED = "FAILED",
|
|
152
|
+
FINISHED = "FINISHED",
|
|
153
|
+
PICKED = "PICKED",
|
|
154
|
+
STARTED = "STARTED",
|
|
155
|
+
SUBMITTED = "SUBMITTED",
|
|
156
|
+
}
|
|
157
|
+
export declare enum StatementStatusString {
|
|
158
|
+
ABORTED = "ABORTED",
|
|
159
|
+
FAILED = "FAILED",
|
|
160
|
+
FINISHED = "FINISHED",
|
|
161
|
+
PICKED = "PICKED",
|
|
162
|
+
STARTED = "STARTED",
|
|
163
|
+
SUBMITTED = "SUBMITTED",
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface SubStatementData {
|
|
167
|
+
Id: string | undefined;
|
|
168
|
+
|
|
169
|
+
Duration?: number;
|
|
170
|
+
|
|
171
|
+
Error?: string;
|
|
172
|
+
|
|
173
|
+
Status?: StatementStatusString | string;
|
|
174
|
+
|
|
175
|
+
CreatedAt?: Date;
|
|
176
|
+
|
|
177
|
+
UpdatedAt?: Date;
|
|
178
|
+
|
|
179
|
+
QueryString?: string;
|
|
180
|
+
|
|
181
|
+
ResultRows?: number;
|
|
182
|
+
|
|
183
|
+
ResultSize?: number;
|
|
184
|
+
|
|
185
|
+
RedshiftQueryId?: number;
|
|
186
|
+
|
|
187
|
+
HasResultSet?: boolean;
|
|
188
|
+
}
|
|
189
|
+
export interface DescribeStatementResponse {
|
|
190
|
+
Id: string | undefined;
|
|
191
|
+
|
|
192
|
+
SecretArn?: string;
|
|
193
|
+
|
|
194
|
+
DbUser?: string;
|
|
195
|
+
|
|
196
|
+
Database?: string;
|
|
197
|
+
|
|
198
|
+
ClusterIdentifier?: string;
|
|
199
|
+
|
|
200
|
+
Duration?: number;
|
|
201
|
+
|
|
202
|
+
Error?: string;
|
|
203
|
+
|
|
204
|
+
Status?: StatusString | string;
|
|
205
|
+
|
|
206
|
+
CreatedAt?: Date;
|
|
207
|
+
|
|
208
|
+
UpdatedAt?: Date;
|
|
209
|
+
|
|
210
|
+
RedshiftPid?: number;
|
|
211
|
+
|
|
212
|
+
HasResultSet?: boolean;
|
|
213
|
+
|
|
214
|
+
QueryString?: string;
|
|
215
|
+
|
|
216
|
+
ResultRows?: number;
|
|
217
|
+
|
|
218
|
+
ResultSize?: number;
|
|
219
|
+
|
|
220
|
+
RedshiftQueryId?: number;
|
|
221
|
+
|
|
222
|
+
QueryParameters?: SqlParameter[];
|
|
223
|
+
|
|
224
|
+
SubStatements?: SubStatementData[];
|
|
225
|
+
|
|
226
|
+
WorkgroupName?: string;
|
|
227
|
+
}
|
|
228
|
+
export interface DescribeTableRequest {
|
|
229
|
+
ClusterIdentifier?: string;
|
|
230
|
+
|
|
231
|
+
SecretArn?: string;
|
|
232
|
+
|
|
233
|
+
DbUser?: string;
|
|
234
|
+
|
|
235
|
+
Database: string | undefined;
|
|
236
|
+
|
|
237
|
+
ConnectedDatabase?: string;
|
|
238
|
+
|
|
239
|
+
Schema?: string;
|
|
240
|
+
|
|
241
|
+
Table?: string;
|
|
242
|
+
|
|
243
|
+
NextToken?: string;
|
|
244
|
+
|
|
245
|
+
MaxResults?: number;
|
|
246
|
+
|
|
247
|
+
WorkgroupName?: string;
|
|
248
|
+
}
|
|
249
|
+
export interface DescribeTableResponse {
|
|
250
|
+
TableName?: string;
|
|
251
|
+
|
|
252
|
+
ColumnList?: ColumnMetadata[];
|
|
253
|
+
|
|
254
|
+
NextToken?: string;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export declare class ExecuteStatementException extends __BaseException {
|
|
258
|
+
readonly name: "ExecuteStatementException";
|
|
259
|
+
readonly $fault: "server";
|
|
260
|
+
|
|
261
|
+
Message: string | undefined;
|
|
262
|
+
|
|
263
|
+
StatementId: string | undefined;
|
|
264
|
+
|
|
265
|
+
constructor(
|
|
266
|
+
opts: __ExceptionOptionType<ExecuteStatementException, __BaseException>
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
export interface ExecuteStatementInput {
|
|
270
|
+
Sql: string | undefined;
|
|
271
|
+
|
|
272
|
+
ClusterIdentifier?: string;
|
|
273
|
+
|
|
274
|
+
SecretArn?: string;
|
|
275
|
+
|
|
276
|
+
DbUser?: string;
|
|
277
|
+
|
|
278
|
+
Database: string | undefined;
|
|
279
|
+
|
|
280
|
+
WithEvent?: boolean;
|
|
281
|
+
|
|
282
|
+
StatementName?: string;
|
|
283
|
+
|
|
284
|
+
Parameters?: SqlParameter[];
|
|
285
|
+
|
|
286
|
+
WorkgroupName?: string;
|
|
287
|
+
}
|
|
288
|
+
export interface ExecuteStatementOutput {
|
|
289
|
+
Id?: string;
|
|
290
|
+
|
|
291
|
+
CreatedAt?: Date;
|
|
292
|
+
|
|
293
|
+
ClusterIdentifier?: string;
|
|
294
|
+
|
|
295
|
+
DbUser?: string;
|
|
296
|
+
|
|
297
|
+
Database?: string;
|
|
298
|
+
|
|
299
|
+
SecretArn?: string;
|
|
300
|
+
|
|
301
|
+
WorkgroupName?: string;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export declare type Field =
|
|
305
|
+
| Field.BlobValueMember
|
|
306
|
+
| Field.BooleanValueMember
|
|
307
|
+
| Field.DoubleValueMember
|
|
308
|
+
| Field.IsNullMember
|
|
309
|
+
| Field.LongValueMember
|
|
310
|
+
| Field.StringValueMember
|
|
311
|
+
| Field.$UnknownMember;
|
|
312
|
+
export declare namespace Field {
|
|
313
|
+
interface IsNullMember {
|
|
314
|
+
isNull: boolean;
|
|
315
|
+
booleanValue?: never;
|
|
316
|
+
longValue?: never;
|
|
317
|
+
doubleValue?: never;
|
|
318
|
+
stringValue?: never;
|
|
319
|
+
blobValue?: never;
|
|
320
|
+
$unknown?: never;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
interface BooleanValueMember {
|
|
324
|
+
isNull?: never;
|
|
325
|
+
booleanValue: boolean;
|
|
326
|
+
longValue?: never;
|
|
327
|
+
doubleValue?: never;
|
|
328
|
+
stringValue?: never;
|
|
329
|
+
blobValue?: never;
|
|
330
|
+
$unknown?: never;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
interface LongValueMember {
|
|
334
|
+
isNull?: never;
|
|
335
|
+
booleanValue?: never;
|
|
336
|
+
longValue: number;
|
|
337
|
+
doubleValue?: never;
|
|
338
|
+
stringValue?: never;
|
|
339
|
+
blobValue?: never;
|
|
340
|
+
$unknown?: never;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
interface DoubleValueMember {
|
|
344
|
+
isNull?: never;
|
|
345
|
+
booleanValue?: never;
|
|
346
|
+
longValue?: never;
|
|
347
|
+
doubleValue: number;
|
|
348
|
+
stringValue?: never;
|
|
349
|
+
blobValue?: never;
|
|
350
|
+
$unknown?: never;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
interface StringValueMember {
|
|
354
|
+
isNull?: never;
|
|
355
|
+
booleanValue?: never;
|
|
356
|
+
longValue?: never;
|
|
357
|
+
doubleValue?: never;
|
|
358
|
+
stringValue: string;
|
|
359
|
+
blobValue?: never;
|
|
360
|
+
$unknown?: never;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
interface BlobValueMember {
|
|
364
|
+
isNull?: never;
|
|
365
|
+
booleanValue?: never;
|
|
366
|
+
longValue?: never;
|
|
367
|
+
doubleValue?: never;
|
|
368
|
+
stringValue?: never;
|
|
369
|
+
blobValue: Uint8Array;
|
|
370
|
+
$unknown?: never;
|
|
371
|
+
}
|
|
372
|
+
interface $UnknownMember {
|
|
373
|
+
isNull?: never;
|
|
374
|
+
booleanValue?: never;
|
|
375
|
+
longValue?: never;
|
|
376
|
+
doubleValue?: never;
|
|
377
|
+
stringValue?: never;
|
|
378
|
+
blobValue?: never;
|
|
379
|
+
$unknown: [string, any];
|
|
380
|
+
}
|
|
381
|
+
interface Visitor<T> {
|
|
382
|
+
isNull: (value: boolean) => T;
|
|
383
|
+
booleanValue: (value: boolean) => T;
|
|
384
|
+
longValue: (value: number) => T;
|
|
385
|
+
doubleValue: (value: number) => T;
|
|
386
|
+
stringValue: (value: string) => T;
|
|
387
|
+
blobValue: (value: Uint8Array) => T;
|
|
388
|
+
_: (name: string, value: any) => T;
|
|
389
|
+
}
|
|
390
|
+
const visit: <T>(value: Field, visitor: Visitor<T>) => T;
|
|
391
|
+
}
|
|
392
|
+
export interface GetStatementResultRequest {
|
|
393
|
+
Id: string | undefined;
|
|
394
|
+
|
|
395
|
+
NextToken?: string;
|
|
396
|
+
}
|
|
397
|
+
export interface GetStatementResultResponse {
|
|
398
|
+
Records: Field[][] | undefined;
|
|
399
|
+
|
|
400
|
+
ColumnMetadata?: ColumnMetadata[];
|
|
401
|
+
|
|
402
|
+
TotalNumRows?: number;
|
|
403
|
+
|
|
404
|
+
NextToken?: string;
|
|
405
|
+
}
|
|
406
|
+
export interface ListDatabasesRequest {
|
|
407
|
+
ClusterIdentifier?: string;
|
|
408
|
+
|
|
409
|
+
Database: string | undefined;
|
|
410
|
+
|
|
411
|
+
SecretArn?: string;
|
|
412
|
+
|
|
413
|
+
DbUser?: string;
|
|
414
|
+
|
|
415
|
+
NextToken?: string;
|
|
416
|
+
|
|
417
|
+
MaxResults?: number;
|
|
418
|
+
|
|
419
|
+
WorkgroupName?: string;
|
|
420
|
+
}
|
|
421
|
+
export interface ListDatabasesResponse {
|
|
422
|
+
Databases?: string[];
|
|
423
|
+
|
|
424
|
+
NextToken?: string;
|
|
425
|
+
}
|
|
426
|
+
export interface ListSchemasRequest {
|
|
427
|
+
ClusterIdentifier?: string;
|
|
428
|
+
|
|
429
|
+
SecretArn?: string;
|
|
430
|
+
|
|
431
|
+
DbUser?: string;
|
|
432
|
+
|
|
433
|
+
Database: string | undefined;
|
|
434
|
+
|
|
435
|
+
ConnectedDatabase?: string;
|
|
436
|
+
|
|
437
|
+
SchemaPattern?: string;
|
|
438
|
+
|
|
439
|
+
NextToken?: string;
|
|
440
|
+
|
|
441
|
+
MaxResults?: number;
|
|
442
|
+
|
|
443
|
+
WorkgroupName?: string;
|
|
444
|
+
}
|
|
445
|
+
export interface ListSchemasResponse {
|
|
446
|
+
Schemas?: string[];
|
|
447
|
+
|
|
448
|
+
NextToken?: string;
|
|
449
|
+
}
|
|
450
|
+
export interface ListStatementsRequest {
|
|
451
|
+
NextToken?: string;
|
|
452
|
+
|
|
453
|
+
MaxResults?: number;
|
|
454
|
+
|
|
455
|
+
StatementName?: string;
|
|
456
|
+
|
|
457
|
+
Status?: StatusString | string;
|
|
458
|
+
|
|
459
|
+
RoleLevel?: boolean;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export interface StatementData {
|
|
463
|
+
Id: string | undefined;
|
|
464
|
+
|
|
465
|
+
QueryString?: string;
|
|
466
|
+
|
|
467
|
+
QueryStrings?: string[];
|
|
468
|
+
|
|
469
|
+
SecretArn?: string;
|
|
470
|
+
|
|
471
|
+
Status?: StatusString | string;
|
|
472
|
+
|
|
473
|
+
StatementName?: string;
|
|
474
|
+
|
|
475
|
+
CreatedAt?: Date;
|
|
476
|
+
|
|
477
|
+
UpdatedAt?: Date;
|
|
478
|
+
|
|
479
|
+
QueryParameters?: SqlParameter[];
|
|
480
|
+
|
|
481
|
+
IsBatchStatement?: boolean;
|
|
482
|
+
}
|
|
483
|
+
export interface ListStatementsResponse {
|
|
484
|
+
Statements: StatementData[] | undefined;
|
|
485
|
+
|
|
486
|
+
NextToken?: string;
|
|
487
|
+
}
|
|
488
|
+
export interface ListTablesRequest {
|
|
489
|
+
ClusterIdentifier?: string;
|
|
490
|
+
|
|
491
|
+
SecretArn?: string;
|
|
492
|
+
|
|
493
|
+
DbUser?: string;
|
|
494
|
+
|
|
495
|
+
Database: string | undefined;
|
|
496
|
+
|
|
497
|
+
ConnectedDatabase?: string;
|
|
498
|
+
|
|
499
|
+
SchemaPattern?: string;
|
|
500
|
+
|
|
501
|
+
TablePattern?: string;
|
|
502
|
+
|
|
503
|
+
NextToken?: string;
|
|
504
|
+
|
|
505
|
+
MaxResults?: number;
|
|
506
|
+
|
|
507
|
+
WorkgroupName?: string;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export interface TableMember {
|
|
511
|
+
name?: string;
|
|
512
|
+
|
|
513
|
+
type?: string;
|
|
514
|
+
|
|
515
|
+
schema?: string;
|
|
516
|
+
}
|
|
517
|
+
export interface ListTablesResponse {
|
|
518
|
+
Tables?: TableMember[];
|
|
519
|
+
|
|
520
|
+
NextToken?: string;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export declare const BatchExecuteStatementInputFilterSensitiveLog: (
|
|
524
|
+
obj: BatchExecuteStatementInput
|
|
525
|
+
) => any;
|
|
526
|
+
|
|
527
|
+
export declare const BatchExecuteStatementOutputFilterSensitiveLog: (
|
|
528
|
+
obj: BatchExecuteStatementOutput
|
|
529
|
+
) => any;
|
|
530
|
+
|
|
531
|
+
export declare const CancelStatementRequestFilterSensitiveLog: (
|
|
532
|
+
obj: CancelStatementRequest
|
|
533
|
+
) => any;
|
|
534
|
+
|
|
535
|
+
export declare const CancelStatementResponseFilterSensitiveLog: (
|
|
536
|
+
obj: CancelStatementResponse
|
|
537
|
+
) => any;
|
|
538
|
+
|
|
539
|
+
export declare const ColumnMetadataFilterSensitiveLog: (
|
|
540
|
+
obj: ColumnMetadata
|
|
541
|
+
) => any;
|
|
542
|
+
|
|
543
|
+
export declare const DescribeStatementRequestFilterSensitiveLog: (
|
|
544
|
+
obj: DescribeStatementRequest
|
|
545
|
+
) => any;
|
|
546
|
+
|
|
547
|
+
export declare const SqlParameterFilterSensitiveLog: (obj: SqlParameter) => any;
|
|
548
|
+
|
|
549
|
+
export declare const SubStatementDataFilterSensitiveLog: (
|
|
550
|
+
obj: SubStatementData
|
|
551
|
+
) => any;
|
|
552
|
+
|
|
553
|
+
export declare const DescribeStatementResponseFilterSensitiveLog: (
|
|
554
|
+
obj: DescribeStatementResponse
|
|
555
|
+
) => any;
|
|
556
|
+
|
|
557
|
+
export declare const DescribeTableRequestFilterSensitiveLog: (
|
|
558
|
+
obj: DescribeTableRequest
|
|
559
|
+
) => any;
|
|
560
|
+
|
|
561
|
+
export declare const DescribeTableResponseFilterSensitiveLog: (
|
|
562
|
+
obj: DescribeTableResponse
|
|
563
|
+
) => any;
|
|
564
|
+
|
|
565
|
+
export declare const ExecuteStatementInputFilterSensitiveLog: (
|
|
566
|
+
obj: ExecuteStatementInput
|
|
567
|
+
) => any;
|
|
568
|
+
|
|
569
|
+
export declare const ExecuteStatementOutputFilterSensitiveLog: (
|
|
570
|
+
obj: ExecuteStatementOutput
|
|
571
|
+
) => any;
|
|
572
|
+
|
|
573
|
+
export declare const FieldFilterSensitiveLog: (obj: Field) => any;
|
|
574
|
+
|
|
575
|
+
export declare const GetStatementResultRequestFilterSensitiveLog: (
|
|
576
|
+
obj: GetStatementResultRequest
|
|
577
|
+
) => any;
|
|
578
|
+
|
|
579
|
+
export declare const GetStatementResultResponseFilterSensitiveLog: (
|
|
580
|
+
obj: GetStatementResultResponse
|
|
581
|
+
) => any;
|
|
582
|
+
|
|
583
|
+
export declare const ListDatabasesRequestFilterSensitiveLog: (
|
|
584
|
+
obj: ListDatabasesRequest
|
|
585
|
+
) => any;
|
|
586
|
+
|
|
587
|
+
export declare const ListDatabasesResponseFilterSensitiveLog: (
|
|
588
|
+
obj: ListDatabasesResponse
|
|
589
|
+
) => any;
|
|
590
|
+
|
|
591
|
+
export declare const ListSchemasRequestFilterSensitiveLog: (
|
|
592
|
+
obj: ListSchemasRequest
|
|
593
|
+
) => any;
|
|
594
|
+
|
|
595
|
+
export declare const ListSchemasResponseFilterSensitiveLog: (
|
|
596
|
+
obj: ListSchemasResponse
|
|
597
|
+
) => any;
|
|
598
|
+
|
|
599
|
+
export declare const ListStatementsRequestFilterSensitiveLog: (
|
|
600
|
+
obj: ListStatementsRequest
|
|
601
|
+
) => any;
|
|
602
|
+
|
|
603
|
+
export declare const StatementDataFilterSensitiveLog: (
|
|
604
|
+
obj: StatementData
|
|
605
|
+
) => any;
|
|
606
|
+
|
|
607
|
+
export declare const ListStatementsResponseFilterSensitiveLog: (
|
|
608
|
+
obj: ListStatementsResponse
|
|
609
|
+
) => any;
|
|
610
|
+
|
|
611
|
+
export declare const ListTablesRequestFilterSensitiveLog: (
|
|
612
|
+
obj: ListTablesRequest
|
|
613
|
+
) => any;
|
|
614
|
+
|
|
615
|
+
export declare const TableMemberFilterSensitiveLog: (obj: TableMember) => any;
|
|
616
|
+
|
|
617
|
+
export declare const ListTablesResponseFilterSensitiveLog: (
|
|
618
|
+
obj: ListTablesResponse
|
|
619
|
+
) => any;
|