@aws-sdk/client-athena 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.
Files changed (73) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/AthenaServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +77 -3
  5. package/dist-cjs/protocols/Aws_json1_1.js +267 -856
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/AthenaServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +70 -1
  9. package/dist-es/protocols/Aws_json1_1.js +619 -983
  10. package/dist-types/Athena.d.ts +0 -6
  11. package/dist-types/commands/GetQueryResultsCommand.d.ts +0 -6
  12. package/dist-types/index.d.ts +1 -0
  13. package/dist-types/models/AthenaServiceException.d.ts +10 -0
  14. package/dist-types/models/models_0.d.ts +52 -25
  15. package/dist-types/ts3.4/Athena.d.ts +175 -0
  16. package/dist-types/ts3.4/AthenaClient.d.ts +107 -0
  17. package/dist-types/ts3.4/commands/BatchGetNamedQueryCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/BatchGetQueryExecutionCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateNamedQueryCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreatePreparedStatementCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateWorkGroupCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteNamedQueryCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeletePreparedStatementCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteWorkGroupCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/GetDataCatalogCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/GetNamedQueryCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/GetPreparedStatementCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/GetQueryExecutionCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/GetTableMetadataCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/GetWorkGroupCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/ListDataCatalogsCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/ListNamedQueriesCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/ListPreparedStatementsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/ListQueryExecutionsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ListTableMetadataCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListWorkGroupsCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/StartQueryExecutionCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/StopQueryExecutionCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/UpdateDataCatalogCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/UpdatePreparedStatementCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/UpdateWorkGroupCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  52. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  53. package/dist-types/ts3.4/index.d.ts +6 -0
  54. package/dist-types/ts3.4/models/AthenaServiceException.d.ts +6 -0
  55. package/dist-types/ts3.4/models/index.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +1180 -0
  57. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +4 -0
  58. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  59. package/dist-types/ts3.4/pagination/ListDataCatalogsPaginator.d.ts +4 -0
  60. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +4 -0
  61. package/dist-types/ts3.4/pagination/ListNamedQueriesPaginator.d.ts +4 -0
  62. package/dist-types/ts3.4/pagination/ListPreparedStatementsPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/ListQueryExecutionsPaginator.d.ts +4 -0
  64. package/dist-types/ts3.4/pagination/ListTableMetadataPaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  66. package/dist-types/ts3.4/pagination/ListWorkGroupsPaginator.d.ts +4 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  68. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +104 -0
  69. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  70. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  71. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  72. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  73. package/package.json +33 -33
@@ -0,0 +1,1180 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AthenaServiceException as __BaseException } from "./AthenaServiceException";
3
+ export interface BatchGetNamedQueryInput {
4
+
5
+ NamedQueryIds: string[] | undefined;
6
+ }
7
+ export declare namespace BatchGetNamedQueryInput {
8
+
9
+ const filterSensitiveLog: (obj: BatchGetNamedQueryInput) => any;
10
+ }
11
+
12
+ export interface NamedQuery {
13
+
14
+ Name: string | undefined;
15
+
16
+ Description?: string;
17
+
18
+ Database: string | undefined;
19
+
20
+ QueryString: string | undefined;
21
+
22
+ NamedQueryId?: string;
23
+
24
+ WorkGroup?: string;
25
+ }
26
+ export declare namespace NamedQuery {
27
+
28
+ const filterSensitiveLog: (obj: NamedQuery) => any;
29
+ }
30
+
31
+ export interface UnprocessedNamedQueryId {
32
+
33
+ NamedQueryId?: string;
34
+
35
+ ErrorCode?: string;
36
+
37
+ ErrorMessage?: string;
38
+ }
39
+ export declare namespace UnprocessedNamedQueryId {
40
+
41
+ const filterSensitiveLog: (obj: UnprocessedNamedQueryId) => any;
42
+ }
43
+ export interface BatchGetNamedQueryOutput {
44
+
45
+ NamedQueries?: NamedQuery[];
46
+
47
+ UnprocessedNamedQueryIds?: UnprocessedNamedQueryId[];
48
+ }
49
+ export declare namespace BatchGetNamedQueryOutput {
50
+
51
+ const filterSensitiveLog: (obj: BatchGetNamedQueryOutput) => any;
52
+ }
53
+
54
+ export declare class InternalServerException extends __BaseException {
55
+ readonly name: "InternalServerException";
56
+ readonly $fault: "server";
57
+ Message?: string;
58
+
59
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
60
+ }
61
+
62
+ export declare class InvalidRequestException extends __BaseException {
63
+ readonly name: "InvalidRequestException";
64
+ readonly $fault: "client";
65
+
66
+ AthenaErrorCode?: string;
67
+ Message?: string;
68
+
69
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
70
+ }
71
+ export interface BatchGetQueryExecutionInput {
72
+
73
+ QueryExecutionIds: string[] | undefined;
74
+ }
75
+ export declare namespace BatchGetQueryExecutionInput {
76
+
77
+ const filterSensitiveLog: (obj: BatchGetQueryExecutionInput) => any;
78
+ }
79
+
80
+ export interface EngineVersion {
81
+
82
+ SelectedEngineVersion?: string;
83
+
84
+ EffectiveEngineVersion?: string;
85
+ }
86
+ export declare namespace EngineVersion {
87
+
88
+ const filterSensitiveLog: (obj: EngineVersion) => any;
89
+ }
90
+
91
+ export interface QueryExecutionContext {
92
+
93
+ Database?: string;
94
+
95
+ Catalog?: string;
96
+ }
97
+ export declare namespace QueryExecutionContext {
98
+
99
+ const filterSensitiveLog: (obj: QueryExecutionContext) => any;
100
+ }
101
+ export declare enum EncryptionOption {
102
+ CSE_KMS = "CSE_KMS",
103
+ SSE_KMS = "SSE_KMS",
104
+ SSE_S3 = "SSE_S3"
105
+ }
106
+
107
+ export interface EncryptionConfiguration {
108
+
109
+ EncryptionOption: EncryptionOption | string | undefined;
110
+
111
+ KmsKey?: string;
112
+ }
113
+ export declare namespace EncryptionConfiguration {
114
+
115
+ const filterSensitiveLog: (obj: EncryptionConfiguration) => any;
116
+ }
117
+
118
+ export interface ResultConfiguration {
119
+
120
+ OutputLocation?: string;
121
+
122
+ EncryptionConfiguration?: EncryptionConfiguration;
123
+
124
+ ExpectedBucketOwner?: string;
125
+ }
126
+ export declare namespace ResultConfiguration {
127
+
128
+ const filterSensitiveLog: (obj: ResultConfiguration) => any;
129
+ }
130
+ export declare enum StatementType {
131
+ DDL = "DDL",
132
+ DML = "DML",
133
+ UTILITY = "UTILITY"
134
+ }
135
+
136
+ export interface QueryExecutionStatistics {
137
+
138
+ EngineExecutionTimeInMillis?: number;
139
+
140
+ DataScannedInBytes?: number;
141
+
142
+ DataManifestLocation?: string;
143
+
144
+ TotalExecutionTimeInMillis?: number;
145
+
146
+ QueryQueueTimeInMillis?: number;
147
+
148
+ QueryPlanningTimeInMillis?: number;
149
+
150
+ ServiceProcessingTimeInMillis?: number;
151
+ }
152
+ export declare namespace QueryExecutionStatistics {
153
+
154
+ const filterSensitiveLog: (obj: QueryExecutionStatistics) => any;
155
+ }
156
+
157
+ export interface AthenaError {
158
+
159
+ ErrorCategory?: number;
160
+
161
+ ErrorType?: number;
162
+ }
163
+ export declare namespace AthenaError {
164
+
165
+ const filterSensitiveLog: (obj: AthenaError) => any;
166
+ }
167
+ export declare enum QueryExecutionState {
168
+ CANCELLED = "CANCELLED",
169
+ FAILED = "FAILED",
170
+ QUEUED = "QUEUED",
171
+ RUNNING = "RUNNING",
172
+ SUCCEEDED = "SUCCEEDED"
173
+ }
174
+
175
+ export interface QueryExecutionStatus {
176
+
177
+ State?: QueryExecutionState | string;
178
+
179
+ StateChangeReason?: string;
180
+
181
+ SubmissionDateTime?: Date;
182
+
183
+ CompletionDateTime?: Date;
184
+
185
+ AthenaError?: AthenaError;
186
+ }
187
+ export declare namespace QueryExecutionStatus {
188
+
189
+ const filterSensitiveLog: (obj: QueryExecutionStatus) => any;
190
+ }
191
+
192
+ export interface QueryExecution {
193
+
194
+ QueryExecutionId?: string;
195
+
196
+ Query?: string;
197
+
198
+ StatementType?: StatementType | string;
199
+
200
+ ResultConfiguration?: ResultConfiguration;
201
+
202
+ QueryExecutionContext?: QueryExecutionContext;
203
+
204
+ Status?: QueryExecutionStatus;
205
+
206
+ Statistics?: QueryExecutionStatistics;
207
+
208
+ WorkGroup?: string;
209
+
210
+ EngineVersion?: EngineVersion;
211
+ }
212
+ export declare namespace QueryExecution {
213
+
214
+ const filterSensitiveLog: (obj: QueryExecution) => any;
215
+ }
216
+
217
+ export interface UnprocessedQueryExecutionId {
218
+
219
+ QueryExecutionId?: string;
220
+
221
+ ErrorCode?: string;
222
+
223
+ ErrorMessage?: string;
224
+ }
225
+ export declare namespace UnprocessedQueryExecutionId {
226
+
227
+ const filterSensitiveLog: (obj: UnprocessedQueryExecutionId) => any;
228
+ }
229
+ export interface BatchGetQueryExecutionOutput {
230
+
231
+ QueryExecutions?: QueryExecution[];
232
+
233
+ UnprocessedQueryExecutionIds?: UnprocessedQueryExecutionId[];
234
+ }
235
+ export declare namespace BatchGetQueryExecutionOutput {
236
+
237
+ const filterSensitiveLog: (obj: BatchGetQueryExecutionOutput) => any;
238
+ }
239
+
240
+ export interface Tag {
241
+
242
+ Key?: string;
243
+
244
+ Value?: string;
245
+ }
246
+ export declare namespace Tag {
247
+
248
+ const filterSensitiveLog: (obj: Tag) => any;
249
+ }
250
+ export declare enum DataCatalogType {
251
+ GLUE = "GLUE",
252
+ HIVE = "HIVE",
253
+ LAMBDA = "LAMBDA"
254
+ }
255
+ export interface CreateDataCatalogInput {
256
+
257
+ Name: string | undefined;
258
+
259
+ Type: DataCatalogType | string | undefined;
260
+
261
+ Description?: string;
262
+
263
+ Parameters?: {
264
+ [key: string]: string;
265
+ };
266
+
267
+ Tags?: Tag[];
268
+ }
269
+ export declare namespace CreateDataCatalogInput {
270
+
271
+ const filterSensitiveLog: (obj: CreateDataCatalogInput) => any;
272
+ }
273
+ export interface CreateDataCatalogOutput {
274
+ }
275
+ export declare namespace CreateDataCatalogOutput {
276
+
277
+ const filterSensitiveLog: (obj: CreateDataCatalogOutput) => any;
278
+ }
279
+ export interface CreateNamedQueryInput {
280
+
281
+ Name: string | undefined;
282
+
283
+ Description?: string;
284
+
285
+ Database: string | undefined;
286
+
287
+ QueryString: string | undefined;
288
+
289
+ ClientRequestToken?: string;
290
+
291
+ WorkGroup?: string;
292
+ }
293
+ export declare namespace CreateNamedQueryInput {
294
+
295
+ const filterSensitiveLog: (obj: CreateNamedQueryInput) => any;
296
+ }
297
+ export interface CreateNamedQueryOutput {
298
+
299
+ NamedQueryId?: string;
300
+ }
301
+ export declare namespace CreateNamedQueryOutput {
302
+
303
+ const filterSensitiveLog: (obj: CreateNamedQueryOutput) => any;
304
+ }
305
+ export interface CreatePreparedStatementInput {
306
+
307
+ StatementName: string | undefined;
308
+
309
+ WorkGroup: string | undefined;
310
+
311
+ QueryStatement: string | undefined;
312
+
313
+ Description?: string;
314
+ }
315
+ export declare namespace CreatePreparedStatementInput {
316
+
317
+ const filterSensitiveLog: (obj: CreatePreparedStatementInput) => any;
318
+ }
319
+ export interface CreatePreparedStatementOutput {
320
+ }
321
+ export declare namespace CreatePreparedStatementOutput {
322
+
323
+ const filterSensitiveLog: (obj: CreatePreparedStatementOutput) => any;
324
+ }
325
+
326
+ export interface WorkGroupConfiguration {
327
+
328
+ ResultConfiguration?: ResultConfiguration;
329
+
330
+ EnforceWorkGroupConfiguration?: boolean;
331
+
332
+ PublishCloudWatchMetricsEnabled?: boolean;
333
+
334
+ BytesScannedCutoffPerQuery?: number;
335
+
336
+ RequesterPaysEnabled?: boolean;
337
+
338
+ EngineVersion?: EngineVersion;
339
+ }
340
+ export declare namespace WorkGroupConfiguration {
341
+
342
+ const filterSensitiveLog: (obj: WorkGroupConfiguration) => any;
343
+ }
344
+ export interface CreateWorkGroupInput {
345
+
346
+ Name: string | undefined;
347
+
348
+ Configuration?: WorkGroupConfiguration;
349
+
350
+ Description?: string;
351
+
352
+ Tags?: Tag[];
353
+ }
354
+ export declare namespace CreateWorkGroupInput {
355
+
356
+ const filterSensitiveLog: (obj: CreateWorkGroupInput) => any;
357
+ }
358
+ export interface CreateWorkGroupOutput {
359
+ }
360
+ export declare namespace CreateWorkGroupOutput {
361
+
362
+ const filterSensitiveLog: (obj: CreateWorkGroupOutput) => any;
363
+ }
364
+ export interface DeleteDataCatalogInput {
365
+
366
+ Name: string | undefined;
367
+ }
368
+ export declare namespace DeleteDataCatalogInput {
369
+
370
+ const filterSensitiveLog: (obj: DeleteDataCatalogInput) => any;
371
+ }
372
+ export interface DeleteDataCatalogOutput {
373
+ }
374
+ export declare namespace DeleteDataCatalogOutput {
375
+
376
+ const filterSensitiveLog: (obj: DeleteDataCatalogOutput) => any;
377
+ }
378
+ export interface DeleteNamedQueryInput {
379
+
380
+ NamedQueryId?: string;
381
+ }
382
+ export declare namespace DeleteNamedQueryInput {
383
+
384
+ const filterSensitiveLog: (obj: DeleteNamedQueryInput) => any;
385
+ }
386
+ export interface DeleteNamedQueryOutput {
387
+ }
388
+ export declare namespace DeleteNamedQueryOutput {
389
+
390
+ const filterSensitiveLog: (obj: DeleteNamedQueryOutput) => any;
391
+ }
392
+ export interface DeletePreparedStatementInput {
393
+
394
+ StatementName: string | undefined;
395
+
396
+ WorkGroup: string | undefined;
397
+ }
398
+ export declare namespace DeletePreparedStatementInput {
399
+
400
+ const filterSensitiveLog: (obj: DeletePreparedStatementInput) => any;
401
+ }
402
+ export interface DeletePreparedStatementOutput {
403
+ }
404
+ export declare namespace DeletePreparedStatementOutput {
405
+
406
+ const filterSensitiveLog: (obj: DeletePreparedStatementOutput) => any;
407
+ }
408
+
409
+ export declare class ResourceNotFoundException extends __BaseException {
410
+ readonly name: "ResourceNotFoundException";
411
+ readonly $fault: "client";
412
+ Message?: string;
413
+ ResourceName?: string;
414
+
415
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
416
+ }
417
+ export interface DeleteWorkGroupInput {
418
+
419
+ WorkGroup: string | undefined;
420
+
421
+ RecursiveDeleteOption?: boolean;
422
+ }
423
+ export declare namespace DeleteWorkGroupInput {
424
+
425
+ const filterSensitiveLog: (obj: DeleteWorkGroupInput) => any;
426
+ }
427
+ export interface DeleteWorkGroupOutput {
428
+ }
429
+ export declare namespace DeleteWorkGroupOutput {
430
+
431
+ const filterSensitiveLog: (obj: DeleteWorkGroupOutput) => any;
432
+ }
433
+ export interface GetDatabaseInput {
434
+
435
+ CatalogName: string | undefined;
436
+
437
+ DatabaseName: string | undefined;
438
+ }
439
+ export declare namespace GetDatabaseInput {
440
+
441
+ const filterSensitiveLog: (obj: GetDatabaseInput) => any;
442
+ }
443
+
444
+ export interface Database {
445
+
446
+ Name: string | undefined;
447
+
448
+ Description?: string;
449
+
450
+ Parameters?: {
451
+ [key: string]: string;
452
+ };
453
+ }
454
+ export declare namespace Database {
455
+
456
+ const filterSensitiveLog: (obj: Database) => any;
457
+ }
458
+ export interface GetDatabaseOutput {
459
+
460
+ Database?: Database;
461
+ }
462
+ export declare namespace GetDatabaseOutput {
463
+
464
+ const filterSensitiveLog: (obj: GetDatabaseOutput) => any;
465
+ }
466
+
467
+ export declare class MetadataException extends __BaseException {
468
+ readonly name: "MetadataException";
469
+ readonly $fault: "client";
470
+ Message?: string;
471
+
472
+ constructor(opts: __ExceptionOptionType<MetadataException, __BaseException>);
473
+ }
474
+ export interface GetDataCatalogInput {
475
+
476
+ Name: string | undefined;
477
+ }
478
+ export declare namespace GetDataCatalogInput {
479
+
480
+ const filterSensitiveLog: (obj: GetDataCatalogInput) => any;
481
+ }
482
+
483
+ export interface DataCatalog {
484
+
485
+ Name: string | undefined;
486
+
487
+ Description?: string;
488
+
489
+ Type: DataCatalogType | string | undefined;
490
+
491
+ Parameters?: {
492
+ [key: string]: string;
493
+ };
494
+ }
495
+ export declare namespace DataCatalog {
496
+
497
+ const filterSensitiveLog: (obj: DataCatalog) => any;
498
+ }
499
+ export interface GetDataCatalogOutput {
500
+
501
+ DataCatalog?: DataCatalog;
502
+ }
503
+ export declare namespace GetDataCatalogOutput {
504
+
505
+ const filterSensitiveLog: (obj: GetDataCatalogOutput) => any;
506
+ }
507
+ export interface GetNamedQueryInput {
508
+
509
+ NamedQueryId: string | undefined;
510
+ }
511
+ export declare namespace GetNamedQueryInput {
512
+
513
+ const filterSensitiveLog: (obj: GetNamedQueryInput) => any;
514
+ }
515
+ export interface GetNamedQueryOutput {
516
+
517
+ NamedQuery?: NamedQuery;
518
+ }
519
+ export declare namespace GetNamedQueryOutput {
520
+
521
+ const filterSensitiveLog: (obj: GetNamedQueryOutput) => any;
522
+ }
523
+ export interface GetPreparedStatementInput {
524
+
525
+ StatementName: string | undefined;
526
+
527
+ WorkGroup: string | undefined;
528
+ }
529
+ export declare namespace GetPreparedStatementInput {
530
+
531
+ const filterSensitiveLog: (obj: GetPreparedStatementInput) => any;
532
+ }
533
+
534
+ export interface PreparedStatement {
535
+
536
+ StatementName?: string;
537
+
538
+ QueryStatement?: string;
539
+
540
+ WorkGroupName?: string;
541
+
542
+ Description?: string;
543
+
544
+ LastModifiedTime?: Date;
545
+ }
546
+ export declare namespace PreparedStatement {
547
+
548
+ const filterSensitiveLog: (obj: PreparedStatement) => any;
549
+ }
550
+ export interface GetPreparedStatementOutput {
551
+
552
+ PreparedStatement?: PreparedStatement;
553
+ }
554
+ export declare namespace GetPreparedStatementOutput {
555
+
556
+ const filterSensitiveLog: (obj: GetPreparedStatementOutput) => any;
557
+ }
558
+ export interface GetQueryExecutionInput {
559
+
560
+ QueryExecutionId: string | undefined;
561
+ }
562
+ export declare namespace GetQueryExecutionInput {
563
+
564
+ const filterSensitiveLog: (obj: GetQueryExecutionInput) => any;
565
+ }
566
+ export interface GetQueryExecutionOutput {
567
+
568
+ QueryExecution?: QueryExecution;
569
+ }
570
+ export declare namespace GetQueryExecutionOutput {
571
+
572
+ const filterSensitiveLog: (obj: GetQueryExecutionOutput) => any;
573
+ }
574
+ export interface GetQueryResultsInput {
575
+
576
+ QueryExecutionId: string | undefined;
577
+
578
+ NextToken?: string;
579
+
580
+ MaxResults?: number;
581
+ }
582
+ export declare namespace GetQueryResultsInput {
583
+
584
+ const filterSensitiveLog: (obj: GetQueryResultsInput) => any;
585
+ }
586
+ export declare enum ColumnNullable {
587
+ NOT_NULL = "NOT_NULL",
588
+ NULLABLE = "NULLABLE",
589
+ UNKNOWN = "UNKNOWN"
590
+ }
591
+
592
+ export interface ColumnInfo {
593
+
594
+ CatalogName?: string;
595
+
596
+ SchemaName?: string;
597
+
598
+ TableName?: string;
599
+
600
+ Name: string | undefined;
601
+
602
+ Label?: string;
603
+
604
+ Type: string | undefined;
605
+
606
+ Precision?: number;
607
+
608
+ Scale?: number;
609
+
610
+ Nullable?: ColumnNullable | string;
611
+
612
+ CaseSensitive?: boolean;
613
+ }
614
+ export declare namespace ColumnInfo {
615
+
616
+ const filterSensitiveLog: (obj: ColumnInfo) => any;
617
+ }
618
+
619
+ export interface ResultSetMetadata {
620
+
621
+ ColumnInfo?: ColumnInfo[];
622
+ }
623
+ export declare namespace ResultSetMetadata {
624
+
625
+ const filterSensitiveLog: (obj: ResultSetMetadata) => any;
626
+ }
627
+
628
+ export interface Datum {
629
+
630
+ VarCharValue?: string;
631
+ }
632
+ export declare namespace Datum {
633
+
634
+ const filterSensitiveLog: (obj: Datum) => any;
635
+ }
636
+
637
+ export interface Row {
638
+
639
+ Data?: Datum[];
640
+ }
641
+ export declare namespace Row {
642
+
643
+ const filterSensitiveLog: (obj: Row) => any;
644
+ }
645
+
646
+ export interface ResultSet {
647
+
648
+ Rows?: Row[];
649
+
650
+ ResultSetMetadata?: ResultSetMetadata;
651
+ }
652
+ export declare namespace ResultSet {
653
+
654
+ const filterSensitiveLog: (obj: ResultSet) => any;
655
+ }
656
+ export interface GetQueryResultsOutput {
657
+
658
+ UpdateCount?: number;
659
+
660
+ ResultSet?: ResultSet;
661
+
662
+ NextToken?: string;
663
+ }
664
+ export declare namespace GetQueryResultsOutput {
665
+
666
+ const filterSensitiveLog: (obj: GetQueryResultsOutput) => any;
667
+ }
668
+ export interface GetTableMetadataInput {
669
+
670
+ CatalogName: string | undefined;
671
+
672
+ DatabaseName: string | undefined;
673
+
674
+ TableName: string | undefined;
675
+ }
676
+ export declare namespace GetTableMetadataInput {
677
+
678
+ const filterSensitiveLog: (obj: GetTableMetadataInput) => any;
679
+ }
680
+
681
+ export interface Column {
682
+
683
+ Name: string | undefined;
684
+
685
+ Type?: string;
686
+
687
+ Comment?: string;
688
+ }
689
+ export declare namespace Column {
690
+
691
+ const filterSensitiveLog: (obj: Column) => any;
692
+ }
693
+
694
+ export interface TableMetadata {
695
+
696
+ Name: string | undefined;
697
+
698
+ CreateTime?: Date;
699
+
700
+ LastAccessTime?: Date;
701
+
702
+ TableType?: string;
703
+
704
+ Columns?: Column[];
705
+
706
+ PartitionKeys?: Column[];
707
+
708
+ Parameters?: {
709
+ [key: string]: string;
710
+ };
711
+ }
712
+ export declare namespace TableMetadata {
713
+
714
+ const filterSensitiveLog: (obj: TableMetadata) => any;
715
+ }
716
+ export interface GetTableMetadataOutput {
717
+
718
+ TableMetadata?: TableMetadata;
719
+ }
720
+ export declare namespace GetTableMetadataOutput {
721
+
722
+ const filterSensitiveLog: (obj: GetTableMetadataOutput) => any;
723
+ }
724
+ export interface GetWorkGroupInput {
725
+
726
+ WorkGroup: string | undefined;
727
+ }
728
+ export declare namespace GetWorkGroupInput {
729
+
730
+ const filterSensitiveLog: (obj: GetWorkGroupInput) => any;
731
+ }
732
+ export declare enum WorkGroupState {
733
+ DISABLED = "DISABLED",
734
+ ENABLED = "ENABLED"
735
+ }
736
+
737
+ export interface WorkGroup {
738
+
739
+ Name: string | undefined;
740
+
741
+ State?: WorkGroupState | string;
742
+
743
+ Configuration?: WorkGroupConfiguration;
744
+
745
+ Description?: string;
746
+
747
+ CreationTime?: Date;
748
+ }
749
+ export declare namespace WorkGroup {
750
+
751
+ const filterSensitiveLog: (obj: WorkGroup) => any;
752
+ }
753
+ export interface GetWorkGroupOutput {
754
+
755
+ WorkGroup?: WorkGroup;
756
+ }
757
+ export declare namespace GetWorkGroupOutput {
758
+
759
+ const filterSensitiveLog: (obj: GetWorkGroupOutput) => any;
760
+ }
761
+ export interface ListDatabasesInput {
762
+
763
+ CatalogName: string | undefined;
764
+
765
+ NextToken?: string;
766
+
767
+ MaxResults?: number;
768
+ }
769
+ export declare namespace ListDatabasesInput {
770
+
771
+ const filterSensitiveLog: (obj: ListDatabasesInput) => any;
772
+ }
773
+ export interface ListDatabasesOutput {
774
+
775
+ DatabaseList?: Database[];
776
+
777
+ NextToken?: string;
778
+ }
779
+ export declare namespace ListDatabasesOutput {
780
+
781
+ const filterSensitiveLog: (obj: ListDatabasesOutput) => any;
782
+ }
783
+ export interface ListDataCatalogsInput {
784
+
785
+ NextToken?: string;
786
+
787
+ MaxResults?: number;
788
+ }
789
+ export declare namespace ListDataCatalogsInput {
790
+
791
+ const filterSensitiveLog: (obj: ListDataCatalogsInput) => any;
792
+ }
793
+
794
+ export interface DataCatalogSummary {
795
+
796
+ CatalogName?: string;
797
+
798
+ Type?: DataCatalogType | string;
799
+ }
800
+ export declare namespace DataCatalogSummary {
801
+
802
+ const filterSensitiveLog: (obj: DataCatalogSummary) => any;
803
+ }
804
+ export interface ListDataCatalogsOutput {
805
+
806
+ DataCatalogsSummary?: DataCatalogSummary[];
807
+
808
+ NextToken?: string;
809
+ }
810
+ export declare namespace ListDataCatalogsOutput {
811
+
812
+ const filterSensitiveLog: (obj: ListDataCatalogsOutput) => any;
813
+ }
814
+ export interface ListEngineVersionsInput {
815
+
816
+ NextToken?: string;
817
+
818
+ MaxResults?: number;
819
+ }
820
+ export declare namespace ListEngineVersionsInput {
821
+
822
+ const filterSensitiveLog: (obj: ListEngineVersionsInput) => any;
823
+ }
824
+ export interface ListEngineVersionsOutput {
825
+
826
+ EngineVersions?: EngineVersion[];
827
+
828
+ NextToken?: string;
829
+ }
830
+ export declare namespace ListEngineVersionsOutput {
831
+
832
+ const filterSensitiveLog: (obj: ListEngineVersionsOutput) => any;
833
+ }
834
+ export interface ListNamedQueriesInput {
835
+
836
+ NextToken?: string;
837
+
838
+ MaxResults?: number;
839
+
840
+ WorkGroup?: string;
841
+ }
842
+ export declare namespace ListNamedQueriesInput {
843
+
844
+ const filterSensitiveLog: (obj: ListNamedQueriesInput) => any;
845
+ }
846
+ export interface ListNamedQueriesOutput {
847
+
848
+ NamedQueryIds?: string[];
849
+
850
+ NextToken?: string;
851
+ }
852
+ export declare namespace ListNamedQueriesOutput {
853
+
854
+ const filterSensitiveLog: (obj: ListNamedQueriesOutput) => any;
855
+ }
856
+ export interface ListPreparedStatementsInput {
857
+
858
+ WorkGroup: string | undefined;
859
+
860
+ NextToken?: string;
861
+
862
+ MaxResults?: number;
863
+ }
864
+ export declare namespace ListPreparedStatementsInput {
865
+
866
+ const filterSensitiveLog: (obj: ListPreparedStatementsInput) => any;
867
+ }
868
+
869
+ export interface PreparedStatementSummary {
870
+
871
+ StatementName?: string;
872
+
873
+ LastModifiedTime?: Date;
874
+ }
875
+ export declare namespace PreparedStatementSummary {
876
+
877
+ const filterSensitiveLog: (obj: PreparedStatementSummary) => any;
878
+ }
879
+ export interface ListPreparedStatementsOutput {
880
+
881
+ PreparedStatements?: PreparedStatementSummary[];
882
+
883
+ NextToken?: string;
884
+ }
885
+ export declare namespace ListPreparedStatementsOutput {
886
+
887
+ const filterSensitiveLog: (obj: ListPreparedStatementsOutput) => any;
888
+ }
889
+ export interface ListQueryExecutionsInput {
890
+
891
+ NextToken?: string;
892
+
893
+ MaxResults?: number;
894
+
895
+ WorkGroup?: string;
896
+ }
897
+ export declare namespace ListQueryExecutionsInput {
898
+
899
+ const filterSensitiveLog: (obj: ListQueryExecutionsInput) => any;
900
+ }
901
+ export interface ListQueryExecutionsOutput {
902
+
903
+ QueryExecutionIds?: string[];
904
+
905
+ NextToken?: string;
906
+ }
907
+ export declare namespace ListQueryExecutionsOutput {
908
+
909
+ const filterSensitiveLog: (obj: ListQueryExecutionsOutput) => any;
910
+ }
911
+ export interface ListTableMetadataInput {
912
+
913
+ CatalogName: string | undefined;
914
+
915
+ DatabaseName: string | undefined;
916
+
917
+ Expression?: string;
918
+
919
+ NextToken?: string;
920
+
921
+ MaxResults?: number;
922
+ }
923
+ export declare namespace ListTableMetadataInput {
924
+
925
+ const filterSensitiveLog: (obj: ListTableMetadataInput) => any;
926
+ }
927
+ export interface ListTableMetadataOutput {
928
+
929
+ TableMetadataList?: TableMetadata[];
930
+
931
+ NextToken?: string;
932
+ }
933
+ export declare namespace ListTableMetadataOutput {
934
+
935
+ const filterSensitiveLog: (obj: ListTableMetadataOutput) => any;
936
+ }
937
+ export interface ListTagsForResourceInput {
938
+
939
+ ResourceARN: string | undefined;
940
+
941
+ NextToken?: string;
942
+
943
+ MaxResults?: number;
944
+ }
945
+ export declare namespace ListTagsForResourceInput {
946
+
947
+ const filterSensitiveLog: (obj: ListTagsForResourceInput) => any;
948
+ }
949
+ export interface ListTagsForResourceOutput {
950
+
951
+ Tags?: Tag[];
952
+
953
+ NextToken?: string;
954
+ }
955
+ export declare namespace ListTagsForResourceOutput {
956
+
957
+ const filterSensitiveLog: (obj: ListTagsForResourceOutput) => any;
958
+ }
959
+ export interface ListWorkGroupsInput {
960
+
961
+ NextToken?: string;
962
+
963
+ MaxResults?: number;
964
+ }
965
+ export declare namespace ListWorkGroupsInput {
966
+
967
+ const filterSensitiveLog: (obj: ListWorkGroupsInput) => any;
968
+ }
969
+
970
+ export interface WorkGroupSummary {
971
+
972
+ Name?: string;
973
+
974
+ State?: WorkGroupState | string;
975
+
976
+ Description?: string;
977
+
978
+ CreationTime?: Date;
979
+
980
+ EngineVersion?: EngineVersion;
981
+ }
982
+ export declare namespace WorkGroupSummary {
983
+
984
+ const filterSensitiveLog: (obj: WorkGroupSummary) => any;
985
+ }
986
+ export interface ListWorkGroupsOutput {
987
+
988
+ WorkGroups?: WorkGroupSummary[];
989
+
990
+ NextToken?: string;
991
+ }
992
+ export declare namespace ListWorkGroupsOutput {
993
+
994
+ const filterSensitiveLog: (obj: ListWorkGroupsOutput) => any;
995
+ }
996
+ export interface StartQueryExecutionInput {
997
+
998
+ QueryString: string | undefined;
999
+
1000
+ ClientRequestToken?: string;
1001
+
1002
+ QueryExecutionContext?: QueryExecutionContext;
1003
+
1004
+ ResultConfiguration?: ResultConfiguration;
1005
+
1006
+ WorkGroup?: string;
1007
+ }
1008
+ export declare namespace StartQueryExecutionInput {
1009
+
1010
+ const filterSensitiveLog: (obj: StartQueryExecutionInput) => any;
1011
+ }
1012
+ export interface StartQueryExecutionOutput {
1013
+
1014
+ QueryExecutionId?: string;
1015
+ }
1016
+ export declare namespace StartQueryExecutionOutput {
1017
+
1018
+ const filterSensitiveLog: (obj: StartQueryExecutionOutput) => any;
1019
+ }
1020
+ export declare enum ThrottleReason {
1021
+ CONCURRENT_QUERY_LIMIT_EXCEEDED = "CONCURRENT_QUERY_LIMIT_EXCEEDED"
1022
+ }
1023
+
1024
+ export declare class TooManyRequestsException extends __BaseException {
1025
+ readonly name: "TooManyRequestsException";
1026
+ readonly $fault: "client";
1027
+ Message?: string;
1028
+
1029
+ Reason?: ThrottleReason | string;
1030
+
1031
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
1032
+ }
1033
+ export interface StopQueryExecutionInput {
1034
+
1035
+ QueryExecutionId?: string;
1036
+ }
1037
+ export declare namespace StopQueryExecutionInput {
1038
+
1039
+ const filterSensitiveLog: (obj: StopQueryExecutionInput) => any;
1040
+ }
1041
+ export interface StopQueryExecutionOutput {
1042
+ }
1043
+ export declare namespace StopQueryExecutionOutput {
1044
+
1045
+ const filterSensitiveLog: (obj: StopQueryExecutionOutput) => any;
1046
+ }
1047
+ export interface TagResourceInput {
1048
+
1049
+ ResourceARN: string | undefined;
1050
+
1051
+ Tags: Tag[] | undefined;
1052
+ }
1053
+ export declare namespace TagResourceInput {
1054
+
1055
+ const filterSensitiveLog: (obj: TagResourceInput) => any;
1056
+ }
1057
+ export interface TagResourceOutput {
1058
+ }
1059
+ export declare namespace TagResourceOutput {
1060
+
1061
+ const filterSensitiveLog: (obj: TagResourceOutput) => any;
1062
+ }
1063
+ export interface UntagResourceInput {
1064
+
1065
+ ResourceARN: string | undefined;
1066
+
1067
+ TagKeys: string[] | undefined;
1068
+ }
1069
+ export declare namespace UntagResourceInput {
1070
+
1071
+ const filterSensitiveLog: (obj: UntagResourceInput) => any;
1072
+ }
1073
+ export interface UntagResourceOutput {
1074
+ }
1075
+ export declare namespace UntagResourceOutput {
1076
+
1077
+ const filterSensitiveLog: (obj: UntagResourceOutput) => any;
1078
+ }
1079
+ export interface UpdateDataCatalogInput {
1080
+
1081
+ Name: string | undefined;
1082
+
1083
+ Type: DataCatalogType | string | undefined;
1084
+
1085
+ Description?: string;
1086
+
1087
+ Parameters?: {
1088
+ [key: string]: string;
1089
+ };
1090
+ }
1091
+ export declare namespace UpdateDataCatalogInput {
1092
+
1093
+ const filterSensitiveLog: (obj: UpdateDataCatalogInput) => any;
1094
+ }
1095
+ export interface UpdateDataCatalogOutput {
1096
+ }
1097
+ export declare namespace UpdateDataCatalogOutput {
1098
+
1099
+ const filterSensitiveLog: (obj: UpdateDataCatalogOutput) => any;
1100
+ }
1101
+ export interface UpdatePreparedStatementInput {
1102
+
1103
+ StatementName: string | undefined;
1104
+
1105
+ WorkGroup: string | undefined;
1106
+
1107
+ QueryStatement: string | undefined;
1108
+
1109
+ Description?: string;
1110
+ }
1111
+ export declare namespace UpdatePreparedStatementInput {
1112
+
1113
+ const filterSensitiveLog: (obj: UpdatePreparedStatementInput) => any;
1114
+ }
1115
+ export interface UpdatePreparedStatementOutput {
1116
+ }
1117
+ export declare namespace UpdatePreparedStatementOutput {
1118
+
1119
+ const filterSensitiveLog: (obj: UpdatePreparedStatementOutput) => any;
1120
+ }
1121
+
1122
+ export interface ResultConfigurationUpdates {
1123
+
1124
+ OutputLocation?: string;
1125
+
1126
+ RemoveOutputLocation?: boolean;
1127
+
1128
+ EncryptionConfiguration?: EncryptionConfiguration;
1129
+
1130
+ RemoveEncryptionConfiguration?: boolean;
1131
+
1132
+ ExpectedBucketOwner?: string;
1133
+
1134
+ RemoveExpectedBucketOwner?: boolean;
1135
+ }
1136
+ export declare namespace ResultConfigurationUpdates {
1137
+
1138
+ const filterSensitiveLog: (obj: ResultConfigurationUpdates) => any;
1139
+ }
1140
+
1141
+ export interface WorkGroupConfigurationUpdates {
1142
+
1143
+ EnforceWorkGroupConfiguration?: boolean;
1144
+
1145
+ ResultConfigurationUpdates?: ResultConfigurationUpdates;
1146
+
1147
+ PublishCloudWatchMetricsEnabled?: boolean;
1148
+
1149
+ BytesScannedCutoffPerQuery?: number;
1150
+
1151
+ RemoveBytesScannedCutoffPerQuery?: boolean;
1152
+
1153
+ RequesterPaysEnabled?: boolean;
1154
+
1155
+ EngineVersion?: EngineVersion;
1156
+ }
1157
+ export declare namespace WorkGroupConfigurationUpdates {
1158
+
1159
+ const filterSensitiveLog: (obj: WorkGroupConfigurationUpdates) => any;
1160
+ }
1161
+ export interface UpdateWorkGroupInput {
1162
+
1163
+ WorkGroup: string | undefined;
1164
+
1165
+ Description?: string;
1166
+
1167
+ ConfigurationUpdates?: WorkGroupConfigurationUpdates;
1168
+
1169
+ State?: WorkGroupState | string;
1170
+ }
1171
+ export declare namespace UpdateWorkGroupInput {
1172
+
1173
+ const filterSensitiveLog: (obj: UpdateWorkGroupInput) => any;
1174
+ }
1175
+ export interface UpdateWorkGroupOutput {
1176
+ }
1177
+ export declare namespace UpdateWorkGroupOutput {
1178
+
1179
+ const filterSensitiveLog: (obj: UpdateWorkGroupOutput) => any;
1180
+ }