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