@aws-sdk/client-athena 3.687.0 → 3.691.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,25 +12,25 @@ export interface BatchGetNamedQueryInput {
12
12
  }
13
13
  export interface NamedQuery {
14
14
  Name: string | undefined;
15
- Description?: string;
15
+ Description?: string | undefined;
16
16
  Database: string | undefined;
17
17
  QueryString: string | undefined;
18
- NamedQueryId?: string;
19
- WorkGroup?: string;
18
+ NamedQueryId?: string | undefined;
19
+ WorkGroup?: string | undefined;
20
20
  }
21
21
  export interface UnprocessedNamedQueryId {
22
- NamedQueryId?: string;
23
- ErrorCode?: string;
24
- ErrorMessage?: string;
22
+ NamedQueryId?: string | undefined;
23
+ ErrorCode?: string | undefined;
24
+ ErrorMessage?: string | undefined;
25
25
  }
26
26
  export interface BatchGetNamedQueryOutput {
27
- NamedQueries?: NamedQuery[];
28
- UnprocessedNamedQueryIds?: UnprocessedNamedQueryId[];
27
+ NamedQueries?: NamedQuery[] | undefined;
28
+ UnprocessedNamedQueryIds?: UnprocessedNamedQueryId[] | undefined;
29
29
  }
30
30
  export declare class InternalServerException extends __BaseException {
31
31
  readonly name: "InternalServerException";
32
32
  readonly $fault: "server";
33
- Message?: string;
33
+ Message?: string | undefined;
34
34
  constructor(
35
35
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
36
36
  );
@@ -38,8 +38,8 @@ export declare class InternalServerException extends __BaseException {
38
38
  export declare class InvalidRequestException extends __BaseException {
39
39
  readonly name: "InvalidRequestException";
40
40
  readonly $fault: "client";
41
- AthenaErrorCode?: string;
42
- Message?: string;
41
+ AthenaErrorCode?: string | undefined;
42
+ Message?: string | undefined;
43
43
  constructor(
44
44
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
45
45
  );
@@ -49,31 +49,33 @@ export interface BatchGetPreparedStatementInput {
49
49
  WorkGroup: string | undefined;
50
50
  }
51
51
  export interface PreparedStatement {
52
- StatementName?: string;
53
- QueryStatement?: string;
54
- WorkGroupName?: string;
55
- Description?: string;
56
- LastModifiedTime?: Date;
52
+ StatementName?: string | undefined;
53
+ QueryStatement?: string | undefined;
54
+ WorkGroupName?: string | undefined;
55
+ Description?: string | undefined;
56
+ LastModifiedTime?: Date | undefined;
57
57
  }
58
58
  export interface UnprocessedPreparedStatementName {
59
- StatementName?: string;
60
- ErrorCode?: string;
61
- ErrorMessage?: string;
59
+ StatementName?: string | undefined;
60
+ ErrorCode?: string | undefined;
61
+ ErrorMessage?: string | undefined;
62
62
  }
63
63
  export interface BatchGetPreparedStatementOutput {
64
- PreparedStatements?: PreparedStatement[];
65
- UnprocessedPreparedStatementNames?: UnprocessedPreparedStatementName[];
64
+ PreparedStatements?: PreparedStatement[] | undefined;
65
+ UnprocessedPreparedStatementNames?:
66
+ | UnprocessedPreparedStatementName[]
67
+ | undefined;
66
68
  }
67
69
  export interface BatchGetQueryExecutionInput {
68
70
  QueryExecutionIds: string[] | undefined;
69
71
  }
70
72
  export interface EngineVersion {
71
- SelectedEngineVersion?: string;
72
- EffectiveEngineVersion?: string;
73
+ SelectedEngineVersion?: string | undefined;
74
+ EffectiveEngineVersion?: string | undefined;
73
75
  }
74
76
  export interface QueryExecutionContext {
75
- Database?: string;
76
- Catalog?: string;
77
+ Database?: string | undefined;
78
+ Catalog?: string | undefined;
77
79
  }
78
80
  export declare const AuthenticationType: {
79
81
  readonly DIRECTORY_IDENTITY: "DIRECTORY_IDENTITY";
@@ -82,7 +84,7 @@ export type AuthenticationType =
82
84
  (typeof AuthenticationType)[keyof typeof AuthenticationType];
83
85
  export interface QueryResultsS3AccessGrantsConfiguration {
84
86
  EnableS3AccessGrants: boolean | undefined;
85
- CreateUserLevelPrefix?: boolean;
87
+ CreateUserLevelPrefix?: boolean | undefined;
86
88
  AuthenticationType: AuthenticationType | undefined;
87
89
  }
88
90
  export declare const EncryptionOption: {
@@ -94,20 +96,20 @@ export type EncryptionOption =
94
96
  (typeof EncryptionOption)[keyof typeof EncryptionOption];
95
97
  export interface EncryptionConfiguration {
96
98
  EncryptionOption: EncryptionOption | undefined;
97
- KmsKey?: string;
99
+ KmsKey?: string | undefined;
98
100
  }
99
101
  export interface ResultConfiguration {
100
- OutputLocation?: string;
101
- EncryptionConfiguration?: EncryptionConfiguration;
102
- ExpectedBucketOwner?: string;
103
- AclConfiguration?: AclConfiguration;
102
+ OutputLocation?: string | undefined;
103
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
104
+ ExpectedBucketOwner?: string | undefined;
105
+ AclConfiguration?: AclConfiguration | undefined;
104
106
  }
105
107
  export interface ResultReuseByAgeConfiguration {
106
108
  Enabled: boolean | undefined;
107
- MaxAgeInMinutes?: number;
109
+ MaxAgeInMinutes?: number | undefined;
108
110
  }
109
111
  export interface ResultReuseConfiguration {
110
- ResultReuseByAgeConfiguration?: ResultReuseByAgeConfiguration;
112
+ ResultReuseByAgeConfiguration?: ResultReuseByAgeConfiguration | undefined;
111
113
  }
112
114
  export declare const StatementType: {
113
115
  readonly DDL: "DDL";
@@ -119,21 +121,21 @@ export interface ResultReuseInformation {
119
121
  ReusedPreviousResult: boolean | undefined;
120
122
  }
121
123
  export interface QueryExecutionStatistics {
122
- EngineExecutionTimeInMillis?: number;
123
- DataScannedInBytes?: number;
124
- DataManifestLocation?: string;
125
- TotalExecutionTimeInMillis?: number;
126
- QueryQueueTimeInMillis?: number;
127
- ServicePreProcessingTimeInMillis?: number;
128
- QueryPlanningTimeInMillis?: number;
129
- ServiceProcessingTimeInMillis?: number;
130
- ResultReuseInformation?: ResultReuseInformation;
124
+ EngineExecutionTimeInMillis?: number | undefined;
125
+ DataScannedInBytes?: number | undefined;
126
+ DataManifestLocation?: string | undefined;
127
+ TotalExecutionTimeInMillis?: number | undefined;
128
+ QueryQueueTimeInMillis?: number | undefined;
129
+ ServicePreProcessingTimeInMillis?: number | undefined;
130
+ QueryPlanningTimeInMillis?: number | undefined;
131
+ ServiceProcessingTimeInMillis?: number | undefined;
132
+ ResultReuseInformation?: ResultReuseInformation | undefined;
131
133
  }
132
134
  export interface AthenaError {
133
- ErrorCategory?: number;
134
- ErrorType?: number;
135
- Retryable?: boolean;
136
- ErrorMessage?: string;
135
+ ErrorCategory?: number | undefined;
136
+ ErrorType?: number | undefined;
137
+ Retryable?: boolean | undefined;
138
+ ErrorMessage?: string | undefined;
137
139
  }
138
140
  export declare const QueryExecutionState: {
139
141
  readonly CANCELLED: "CANCELLED";
@@ -145,48 +147,50 @@ export declare const QueryExecutionState: {
145
147
  export type QueryExecutionState =
146
148
  (typeof QueryExecutionState)[keyof typeof QueryExecutionState];
147
149
  export interface QueryExecutionStatus {
148
- State?: QueryExecutionState;
149
- StateChangeReason?: string;
150
- SubmissionDateTime?: Date;
151
- CompletionDateTime?: Date;
152
- AthenaError?: AthenaError;
150
+ State?: QueryExecutionState | undefined;
151
+ StateChangeReason?: string | undefined;
152
+ SubmissionDateTime?: Date | undefined;
153
+ CompletionDateTime?: Date | undefined;
154
+ AthenaError?: AthenaError | undefined;
153
155
  }
154
156
  export interface QueryExecution {
155
- QueryExecutionId?: string;
156
- Query?: string;
157
- StatementType?: StatementType;
158
- ResultConfiguration?: ResultConfiguration;
159
- ResultReuseConfiguration?: ResultReuseConfiguration;
160
- QueryExecutionContext?: QueryExecutionContext;
161
- Status?: QueryExecutionStatus;
162
- Statistics?: QueryExecutionStatistics;
163
- WorkGroup?: string;
164
- EngineVersion?: EngineVersion;
165
- ExecutionParameters?: string[];
166
- SubstatementType?: string;
167
- QueryResultsS3AccessGrantsConfiguration?: QueryResultsS3AccessGrantsConfiguration;
157
+ QueryExecutionId?: string | undefined;
158
+ Query?: string | undefined;
159
+ StatementType?: StatementType | undefined;
160
+ ResultConfiguration?: ResultConfiguration | undefined;
161
+ ResultReuseConfiguration?: ResultReuseConfiguration | undefined;
162
+ QueryExecutionContext?: QueryExecutionContext | undefined;
163
+ Status?: QueryExecutionStatus | undefined;
164
+ Statistics?: QueryExecutionStatistics | undefined;
165
+ WorkGroup?: string | undefined;
166
+ EngineVersion?: EngineVersion | undefined;
167
+ ExecutionParameters?: string[] | undefined;
168
+ SubstatementType?: string | undefined;
169
+ QueryResultsS3AccessGrantsConfiguration?:
170
+ | QueryResultsS3AccessGrantsConfiguration
171
+ | undefined;
168
172
  }
169
173
  export interface UnprocessedQueryExecutionId {
170
- QueryExecutionId?: string;
171
- ErrorCode?: string;
172
- ErrorMessage?: string;
174
+ QueryExecutionId?: string | undefined;
175
+ ErrorCode?: string | undefined;
176
+ ErrorMessage?: string | undefined;
173
177
  }
174
178
  export interface BatchGetQueryExecutionOutput {
175
- QueryExecutions?: QueryExecution[];
176
- UnprocessedQueryExecutionIds?: UnprocessedQueryExecutionId[];
179
+ QueryExecutions?: QueryExecution[] | undefined;
180
+ UnprocessedQueryExecutionIds?: UnprocessedQueryExecutionId[] | undefined;
177
181
  }
178
182
  export interface CancelCapacityReservationInput {
179
183
  Name: string | undefined;
180
184
  }
181
185
  export interface CancelCapacityReservationOutput {}
182
186
  export interface Tag {
183
- Key?: string;
184
- Value?: string;
187
+ Key?: string | undefined;
188
+ Value?: string | undefined;
185
189
  }
186
190
  export interface CreateCapacityReservationInput {
187
191
  TargetDpus: number | undefined;
188
192
  Name: string | undefined;
189
- Tags?: Tag[];
193
+ Tags?: Tag[] | undefined;
190
194
  }
191
195
  export interface CreateCapacityReservationOutput {}
192
196
  export declare const DataCatalogType: {
@@ -199,29 +203,29 @@ export type DataCatalogType =
199
203
  export interface CreateDataCatalogInput {
200
204
  Name: string | undefined;
201
205
  Type: DataCatalogType | undefined;
202
- Description?: string;
203
- Parameters?: Record<string, string>;
204
- Tags?: Tag[];
206
+ Description?: string | undefined;
207
+ Parameters?: Record<string, string> | undefined;
208
+ Tags?: Tag[] | undefined;
205
209
  }
206
210
  export interface CreateDataCatalogOutput {}
207
211
  export interface CreateNamedQueryInput {
208
212
  Name: string | undefined;
209
- Description?: string;
213
+ Description?: string | undefined;
210
214
  Database: string | undefined;
211
215
  QueryString: string | undefined;
212
- ClientRequestToken?: string;
213
- WorkGroup?: string;
216
+ ClientRequestToken?: string | undefined;
217
+ WorkGroup?: string | undefined;
214
218
  }
215
219
  export interface CreateNamedQueryOutput {
216
- NamedQueryId?: string;
220
+ NamedQueryId?: string | undefined;
217
221
  }
218
222
  export interface CreateNotebookInput {
219
223
  WorkGroup: string | undefined;
220
224
  Name: string | undefined;
221
- ClientRequestToken?: string;
225
+ ClientRequestToken?: string | undefined;
222
226
  }
223
227
  export interface CreateNotebookOutput {
224
- NotebookId?: string;
228
+ NotebookId?: string | undefined;
225
229
  }
226
230
  export declare const ThrottleReason: {
227
231
  readonly CONCURRENT_QUERY_LIMIT_EXCEEDED: "CONCURRENT_QUERY_LIMIT_EXCEEDED";
@@ -231,8 +235,8 @@ export type ThrottleReason =
231
235
  export declare class TooManyRequestsException extends __BaseException {
232
236
  readonly name: "TooManyRequestsException";
233
237
  readonly $fault: "client";
234
- Message?: string;
235
- Reason?: ThrottleReason;
238
+ Message?: string | undefined;
239
+ Reason?: ThrottleReason | undefined;
236
240
  constructor(
237
241
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
238
242
  );
@@ -241,7 +245,7 @@ export interface CreatePreparedStatementInput {
241
245
  StatementName: string | undefined;
242
246
  WorkGroup: string | undefined;
243
247
  QueryStatement: string | undefined;
244
- Description?: string;
248
+ Description?: string | undefined;
245
249
  }
246
250
  export interface CreatePreparedStatementOutput {}
247
251
  export interface CreatePresignedNotebookUrlRequest {
@@ -255,8 +259,8 @@ export interface CreatePresignedNotebookUrlResponse {
255
259
  export declare class ResourceNotFoundException extends __BaseException {
256
260
  readonly name: "ResourceNotFoundException";
257
261
  readonly $fault: "client";
258
- Message?: string;
259
- ResourceName?: string;
262
+ Message?: string | undefined;
263
+ ResourceName?: string | undefined;
260
264
  constructor(
261
265
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
262
266
  );
@@ -265,28 +269,32 @@ export interface CustomerContentEncryptionConfiguration {
265
269
  KmsKey: string | undefined;
266
270
  }
267
271
  export interface IdentityCenterConfiguration {
268
- EnableIdentityCenter?: boolean;
269
- IdentityCenterInstanceArn?: string;
272
+ EnableIdentityCenter?: boolean | undefined;
273
+ IdentityCenterInstanceArn?: string | undefined;
270
274
  }
271
275
  export interface WorkGroupConfiguration {
272
- ResultConfiguration?: ResultConfiguration;
273
- EnforceWorkGroupConfiguration?: boolean;
274
- PublishCloudWatchMetricsEnabled?: boolean;
275
- BytesScannedCutoffPerQuery?: number;
276
- RequesterPaysEnabled?: boolean;
277
- EngineVersion?: EngineVersion;
278
- AdditionalConfiguration?: string;
279
- ExecutionRole?: string;
280
- CustomerContentEncryptionConfiguration?: CustomerContentEncryptionConfiguration;
281
- EnableMinimumEncryptionConfiguration?: boolean;
282
- IdentityCenterConfiguration?: IdentityCenterConfiguration;
283
- QueryResultsS3AccessGrantsConfiguration?: QueryResultsS3AccessGrantsConfiguration;
276
+ ResultConfiguration?: ResultConfiguration | undefined;
277
+ EnforceWorkGroupConfiguration?: boolean | undefined;
278
+ PublishCloudWatchMetricsEnabled?: boolean | undefined;
279
+ BytesScannedCutoffPerQuery?: number | undefined;
280
+ RequesterPaysEnabled?: boolean | undefined;
281
+ EngineVersion?: EngineVersion | undefined;
282
+ AdditionalConfiguration?: string | undefined;
283
+ ExecutionRole?: string | undefined;
284
+ CustomerContentEncryptionConfiguration?:
285
+ | CustomerContentEncryptionConfiguration
286
+ | undefined;
287
+ EnableMinimumEncryptionConfiguration?: boolean | undefined;
288
+ IdentityCenterConfiguration?: IdentityCenterConfiguration | undefined;
289
+ QueryResultsS3AccessGrantsConfiguration?:
290
+ | QueryResultsS3AccessGrantsConfiguration
291
+ | undefined;
284
292
  }
285
293
  export interface CreateWorkGroupInput {
286
294
  Name: string | undefined;
287
- Configuration?: WorkGroupConfiguration;
288
- Description?: string;
289
- Tags?: Tag[];
295
+ Configuration?: WorkGroupConfiguration | undefined;
296
+ Description?: string | undefined;
297
+ Tags?: Tag[] | undefined;
290
298
  }
291
299
  export interface CreateWorkGroupOutput {}
292
300
  export interface DeleteCapacityReservationInput {
@@ -298,7 +306,7 @@ export interface DeleteDataCatalogInput {
298
306
  }
299
307
  export interface DeleteDataCatalogOutput {}
300
308
  export interface DeleteNamedQueryInput {
301
- NamedQueryId?: string;
309
+ NamedQueryId?: string | undefined;
302
310
  }
303
311
  export interface DeleteNamedQueryOutput {}
304
312
  export interface DeleteNotebookInput {
@@ -312,7 +320,7 @@ export interface DeletePreparedStatementInput {
312
320
  export interface DeletePreparedStatementOutput {}
313
321
  export interface DeleteWorkGroupInput {
314
322
  WorkGroup: string | undefined;
315
- RecursiveDeleteOption?: boolean;
323
+ RecursiveDeleteOption?: boolean | undefined;
316
324
  }
317
325
  export interface DeleteWorkGroupOutput {}
318
326
  export interface ExportNotebookInput {
@@ -323,29 +331,29 @@ export declare const NotebookType: {
323
331
  };
324
332
  export type NotebookType = (typeof NotebookType)[keyof typeof NotebookType];
325
333
  export interface NotebookMetadata {
326
- NotebookId?: string;
327
- Name?: string;
328
- WorkGroup?: string;
329
- CreationTime?: Date;
330
- Type?: NotebookType;
331
- LastModifiedTime?: Date;
334
+ NotebookId?: string | undefined;
335
+ Name?: string | undefined;
336
+ WorkGroup?: string | undefined;
337
+ CreationTime?: Date | undefined;
338
+ Type?: NotebookType | undefined;
339
+ LastModifiedTime?: Date | undefined;
332
340
  }
333
341
  export interface ExportNotebookOutput {
334
- NotebookMetadata?: NotebookMetadata;
335
- Payload?: string;
342
+ NotebookMetadata?: NotebookMetadata | undefined;
343
+ Payload?: string | undefined;
336
344
  }
337
345
  export interface GetCalculationExecutionRequest {
338
346
  CalculationExecutionId: string | undefined;
339
347
  }
340
348
  export interface CalculationResult {
341
- StdOutS3Uri?: string;
342
- StdErrorS3Uri?: string;
343
- ResultS3Uri?: string;
344
- ResultType?: string;
349
+ StdOutS3Uri?: string | undefined;
350
+ StdErrorS3Uri?: string | undefined;
351
+ ResultS3Uri?: string | undefined;
352
+ ResultType?: string | undefined;
345
353
  }
346
354
  export interface CalculationStatistics {
347
- DpuExecutionInMillis?: number;
348
- Progress?: string;
355
+ DpuExecutionInMillis?: number | undefined;
356
+ Progress?: string | undefined;
349
357
  }
350
358
  export declare const CalculationExecutionState: {
351
359
  readonly CANCELED: "CANCELED";
@@ -360,42 +368,42 @@ export declare const CalculationExecutionState: {
360
368
  export type CalculationExecutionState =
361
369
  (typeof CalculationExecutionState)[keyof typeof CalculationExecutionState];
362
370
  export interface CalculationStatus {
363
- SubmissionDateTime?: Date;
364
- CompletionDateTime?: Date;
365
- State?: CalculationExecutionState;
366
- StateChangeReason?: string;
371
+ SubmissionDateTime?: Date | undefined;
372
+ CompletionDateTime?: Date | undefined;
373
+ State?: CalculationExecutionState | undefined;
374
+ StateChangeReason?: string | undefined;
367
375
  }
368
376
  export interface GetCalculationExecutionResponse {
369
- CalculationExecutionId?: string;
370
- SessionId?: string;
371
- Description?: string;
372
- WorkingDirectory?: string;
373
- Status?: CalculationStatus;
374
- Statistics?: CalculationStatistics;
375
- Result?: CalculationResult;
377
+ CalculationExecutionId?: string | undefined;
378
+ SessionId?: string | undefined;
379
+ Description?: string | undefined;
380
+ WorkingDirectory?: string | undefined;
381
+ Status?: CalculationStatus | undefined;
382
+ Statistics?: CalculationStatistics | undefined;
383
+ Result?: CalculationResult | undefined;
376
384
  }
377
385
  export interface GetCalculationExecutionCodeRequest {
378
386
  CalculationExecutionId: string | undefined;
379
387
  }
380
388
  export interface GetCalculationExecutionCodeResponse {
381
- CodeBlock?: string;
389
+ CodeBlock?: string | undefined;
382
390
  }
383
391
  export interface GetCalculationExecutionStatusRequest {
384
392
  CalculationExecutionId: string | undefined;
385
393
  }
386
394
  export interface GetCalculationExecutionStatusResponse {
387
- Status?: CalculationStatus;
388
- Statistics?: CalculationStatistics;
395
+ Status?: CalculationStatus | undefined;
396
+ Statistics?: CalculationStatistics | undefined;
389
397
  }
390
398
  export interface GetCapacityAssignmentConfigurationInput {
391
399
  CapacityReservationName: string | undefined;
392
400
  }
393
401
  export interface CapacityAssignment {
394
- WorkGroupNames?: string[];
402
+ WorkGroupNames?: string[] | undefined;
395
403
  }
396
404
  export interface CapacityAssignmentConfiguration {
397
- CapacityReservationName?: string;
398
- CapacityAssignments?: CapacityAssignment[];
405
+ CapacityReservationName?: string | undefined;
406
+ CapacityAssignments?: CapacityAssignment[] | undefined;
399
407
  }
400
408
  export interface GetCapacityAssignmentConfigurationOutput {
401
409
  CapacityAssignmentConfiguration: CapacityAssignmentConfiguration | undefined;
@@ -412,9 +420,9 @@ export type CapacityAllocationStatus =
412
420
  (typeof CapacityAllocationStatus)[keyof typeof CapacityAllocationStatus];
413
421
  export interface CapacityAllocation {
414
422
  Status: CapacityAllocationStatus | undefined;
415
- StatusMessage?: string;
423
+ StatusMessage?: string | undefined;
416
424
  RequestTime: Date | undefined;
417
- RequestCompletionTime?: Date;
425
+ RequestCompletionTime?: Date | undefined;
418
426
  }
419
427
  export declare const CapacityReservationStatus: {
420
428
  readonly ACTIVE: "ACTIVE";
@@ -431,8 +439,8 @@ export interface CapacityReservation {
431
439
  Status: CapacityReservationStatus | undefined;
432
440
  TargetDpus: number | undefined;
433
441
  AllocatedDpus: number | undefined;
434
- LastAllocation?: CapacityAllocation;
435
- LastSuccessfulAllocationTime?: Date;
442
+ LastAllocation?: CapacityAllocation | undefined;
443
+ LastSuccessfulAllocationTime?: Date | undefined;
436
444
  CreationTime: Date | undefined;
437
445
  }
438
446
  export interface GetCapacityReservationOutput {
@@ -441,64 +449,64 @@ export interface GetCapacityReservationOutput {
441
449
  export interface GetDatabaseInput {
442
450
  CatalogName: string | undefined;
443
451
  DatabaseName: string | undefined;
444
- WorkGroup?: string;
452
+ WorkGroup?: string | undefined;
445
453
  }
446
454
  export interface Database {
447
455
  Name: string | undefined;
448
- Description?: string;
449
- Parameters?: Record<string, string>;
456
+ Description?: string | undefined;
457
+ Parameters?: Record<string, string> | undefined;
450
458
  }
451
459
  export interface GetDatabaseOutput {
452
- Database?: Database;
460
+ Database?: Database | undefined;
453
461
  }
454
462
  export declare class MetadataException extends __BaseException {
455
463
  readonly name: "MetadataException";
456
464
  readonly $fault: "client";
457
- Message?: string;
465
+ Message?: string | undefined;
458
466
  constructor(opts: __ExceptionOptionType<MetadataException, __BaseException>);
459
467
  }
460
468
  export interface GetDataCatalogInput {
461
469
  Name: string | undefined;
462
- WorkGroup?: string;
470
+ WorkGroup?: string | undefined;
463
471
  }
464
472
  export interface DataCatalog {
465
473
  Name: string | undefined;
466
- Description?: string;
474
+ Description?: string | undefined;
467
475
  Type: DataCatalogType | undefined;
468
- Parameters?: Record<string, string>;
476
+ Parameters?: Record<string, string> | undefined;
469
477
  }
470
478
  export interface GetDataCatalogOutput {
471
- DataCatalog?: DataCatalog;
479
+ DataCatalog?: DataCatalog | undefined;
472
480
  }
473
481
  export interface GetNamedQueryInput {
474
482
  NamedQueryId: string | undefined;
475
483
  }
476
484
  export interface GetNamedQueryOutput {
477
- NamedQuery?: NamedQuery;
485
+ NamedQuery?: NamedQuery | undefined;
478
486
  }
479
487
  export interface GetNotebookMetadataInput {
480
488
  NotebookId: string | undefined;
481
489
  }
482
490
  export interface GetNotebookMetadataOutput {
483
- NotebookMetadata?: NotebookMetadata;
491
+ NotebookMetadata?: NotebookMetadata | undefined;
484
492
  }
485
493
  export interface GetPreparedStatementInput {
486
494
  StatementName: string | undefined;
487
495
  WorkGroup: string | undefined;
488
496
  }
489
497
  export interface GetPreparedStatementOutput {
490
- PreparedStatement?: PreparedStatement;
498
+ PreparedStatement?: PreparedStatement | undefined;
491
499
  }
492
500
  export interface GetQueryExecutionInput {
493
501
  QueryExecutionId: string | undefined;
494
502
  }
495
503
  export interface GetQueryExecutionOutput {
496
- QueryExecution?: QueryExecution;
504
+ QueryExecution?: QueryExecution | undefined;
497
505
  }
498
506
  export interface GetQueryResultsInput {
499
507
  QueryExecutionId: string | undefined;
500
- NextToken?: string;
501
- MaxResults?: number;
508
+ NextToken?: string | undefined;
509
+ MaxResults?: number | undefined;
502
510
  }
503
511
  export declare const ColumnNullable: {
504
512
  readonly NOT_NULL: "NOT_NULL";
@@ -508,70 +516,70 @@ export declare const ColumnNullable: {
508
516
  export type ColumnNullable =
509
517
  (typeof ColumnNullable)[keyof typeof ColumnNullable];
510
518
  export interface ColumnInfo {
511
- CatalogName?: string;
512
- SchemaName?: string;
513
- TableName?: string;
519
+ CatalogName?: string | undefined;
520
+ SchemaName?: string | undefined;
521
+ TableName?: string | undefined;
514
522
  Name: string | undefined;
515
- Label?: string;
523
+ Label?: string | undefined;
516
524
  Type: string | undefined;
517
- Precision?: number;
518
- Scale?: number;
519
- Nullable?: ColumnNullable;
520
- CaseSensitive?: boolean;
525
+ Precision?: number | undefined;
526
+ Scale?: number | undefined;
527
+ Nullable?: ColumnNullable | undefined;
528
+ CaseSensitive?: boolean | undefined;
521
529
  }
522
530
  export interface ResultSetMetadata {
523
- ColumnInfo?: ColumnInfo[];
531
+ ColumnInfo?: ColumnInfo[] | undefined;
524
532
  }
525
533
  export interface Datum {
526
- VarCharValue?: string;
534
+ VarCharValue?: string | undefined;
527
535
  }
528
536
  export interface Row {
529
- Data?: Datum[];
537
+ Data?: Datum[] | undefined;
530
538
  }
531
539
  export interface ResultSet {
532
- Rows?: Row[];
533
- ResultSetMetadata?: ResultSetMetadata;
540
+ Rows?: Row[] | undefined;
541
+ ResultSetMetadata?: ResultSetMetadata | undefined;
534
542
  }
535
543
  export interface GetQueryResultsOutput {
536
- UpdateCount?: number;
537
- ResultSet?: ResultSet;
538
- NextToken?: string;
544
+ UpdateCount?: number | undefined;
545
+ ResultSet?: ResultSet | undefined;
546
+ NextToken?: string | undefined;
539
547
  }
540
548
  export interface GetQueryRuntimeStatisticsInput {
541
549
  QueryExecutionId: string | undefined;
542
550
  }
543
551
  export interface QueryRuntimeStatisticsRows {
544
- InputRows?: number;
545
- InputBytes?: number;
546
- OutputBytes?: number;
547
- OutputRows?: number;
552
+ InputRows?: number | undefined;
553
+ InputBytes?: number | undefined;
554
+ OutputBytes?: number | undefined;
555
+ OutputRows?: number | undefined;
548
556
  }
549
557
  export interface QueryRuntimeStatisticsTimeline {
550
- QueryQueueTimeInMillis?: number;
551
- ServicePreProcessingTimeInMillis?: number;
552
- QueryPlanningTimeInMillis?: number;
553
- EngineExecutionTimeInMillis?: number;
554
- ServiceProcessingTimeInMillis?: number;
555
- TotalExecutionTimeInMillis?: number;
558
+ QueryQueueTimeInMillis?: number | undefined;
559
+ ServicePreProcessingTimeInMillis?: number | undefined;
560
+ QueryPlanningTimeInMillis?: number | undefined;
561
+ EngineExecutionTimeInMillis?: number | undefined;
562
+ ServiceProcessingTimeInMillis?: number | undefined;
563
+ TotalExecutionTimeInMillis?: number | undefined;
556
564
  }
557
565
  export interface GetSessionRequest {
558
566
  SessionId: string | undefined;
559
567
  }
560
568
  export interface EngineConfiguration {
561
- CoordinatorDpuSize?: number;
569
+ CoordinatorDpuSize?: number | undefined;
562
570
  MaxConcurrentDpus: number | undefined;
563
- DefaultExecutorDpuSize?: number;
564
- AdditionalConfigs?: Record<string, string>;
565
- SparkProperties?: Record<string, string>;
571
+ DefaultExecutorDpuSize?: number | undefined;
572
+ AdditionalConfigs?: Record<string, string> | undefined;
573
+ SparkProperties?: Record<string, string> | undefined;
566
574
  }
567
575
  export interface SessionConfiguration {
568
- ExecutionRole?: string;
569
- WorkingDirectory?: string;
570
- IdleTimeoutSeconds?: number;
571
- EncryptionConfiguration?: EncryptionConfiguration;
576
+ ExecutionRole?: string | undefined;
577
+ WorkingDirectory?: string | undefined;
578
+ IdleTimeoutSeconds?: number | undefined;
579
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
572
580
  }
573
581
  export interface SessionStatistics {
574
- DpuExecutionInMillis?: number;
582
+ DpuExecutionInMillis?: number | undefined;
575
583
  }
576
584
  export declare const SessionState: {
577
585
  readonly BUSY: "BUSY";
@@ -585,53 +593,53 @@ export declare const SessionState: {
585
593
  };
586
594
  export type SessionState = (typeof SessionState)[keyof typeof SessionState];
587
595
  export interface SessionStatus {
588
- StartDateTime?: Date;
589
- LastModifiedDateTime?: Date;
590
- EndDateTime?: Date;
591
- IdleSinceDateTime?: Date;
592
- State?: SessionState;
593
- StateChangeReason?: string;
596
+ StartDateTime?: Date | undefined;
597
+ LastModifiedDateTime?: Date | undefined;
598
+ EndDateTime?: Date | undefined;
599
+ IdleSinceDateTime?: Date | undefined;
600
+ State?: SessionState | undefined;
601
+ StateChangeReason?: string | undefined;
594
602
  }
595
603
  export interface GetSessionResponse {
596
- SessionId?: string;
597
- Description?: string;
598
- WorkGroup?: string;
599
- EngineVersion?: string;
600
- EngineConfiguration?: EngineConfiguration;
601
- NotebookVersion?: string;
602
- SessionConfiguration?: SessionConfiguration;
603
- Status?: SessionStatus;
604
- Statistics?: SessionStatistics;
604
+ SessionId?: string | undefined;
605
+ Description?: string | undefined;
606
+ WorkGroup?: string | undefined;
607
+ EngineVersion?: string | undefined;
608
+ EngineConfiguration?: EngineConfiguration | undefined;
609
+ NotebookVersion?: string | undefined;
610
+ SessionConfiguration?: SessionConfiguration | undefined;
611
+ Status?: SessionStatus | undefined;
612
+ Statistics?: SessionStatistics | undefined;
605
613
  }
606
614
  export interface GetSessionStatusRequest {
607
615
  SessionId: string | undefined;
608
616
  }
609
617
  export interface GetSessionStatusResponse {
610
- SessionId?: string;
611
- Status?: SessionStatus;
618
+ SessionId?: string | undefined;
619
+ Status?: SessionStatus | undefined;
612
620
  }
613
621
  export interface GetTableMetadataInput {
614
622
  CatalogName: string | undefined;
615
623
  DatabaseName: string | undefined;
616
624
  TableName: string | undefined;
617
- WorkGroup?: string;
625
+ WorkGroup?: string | undefined;
618
626
  }
619
627
  export interface Column {
620
628
  Name: string | undefined;
621
- Type?: string;
622
- Comment?: string;
629
+ Type?: string | undefined;
630
+ Comment?: string | undefined;
623
631
  }
624
632
  export interface TableMetadata {
625
633
  Name: string | undefined;
626
- CreateTime?: Date;
627
- LastAccessTime?: Date;
628
- TableType?: string;
629
- Columns?: Column[];
630
- PartitionKeys?: Column[];
631
- Parameters?: Record<string, string>;
634
+ CreateTime?: Date | undefined;
635
+ LastAccessTime?: Date | undefined;
636
+ TableType?: string | undefined;
637
+ Columns?: Column[] | undefined;
638
+ PartitionKeys?: Column[] | undefined;
639
+ Parameters?: Record<string, string> | undefined;
632
640
  }
633
641
  export interface GetTableMetadataOutput {
634
- TableMetadata?: TableMetadata;
642
+ TableMetadata?: TableMetadata | undefined;
635
643
  }
636
644
  export interface GetWorkGroupInput {
637
645
  WorkGroup: string | undefined;
@@ -644,91 +652,91 @@ export type WorkGroupState =
644
652
  (typeof WorkGroupState)[keyof typeof WorkGroupState];
645
653
  export interface WorkGroup {
646
654
  Name: string | undefined;
647
- State?: WorkGroupState;
648
- Configuration?: WorkGroupConfiguration;
649
- Description?: string;
650
- CreationTime?: Date;
651
- IdentityCenterApplicationArn?: string;
655
+ State?: WorkGroupState | undefined;
656
+ Configuration?: WorkGroupConfiguration | undefined;
657
+ Description?: string | undefined;
658
+ CreationTime?: Date | undefined;
659
+ IdentityCenterApplicationArn?: string | undefined;
652
660
  }
653
661
  export interface GetWorkGroupOutput {
654
- WorkGroup?: WorkGroup;
662
+ WorkGroup?: WorkGroup | undefined;
655
663
  }
656
664
  export interface ImportNotebookInput {
657
665
  WorkGroup: string | undefined;
658
666
  Name: string | undefined;
659
- Payload?: string;
667
+ Payload?: string | undefined;
660
668
  Type: NotebookType | undefined;
661
- NotebookS3LocationUri?: string;
662
- ClientRequestToken?: string;
669
+ NotebookS3LocationUri?: string | undefined;
670
+ ClientRequestToken?: string | undefined;
663
671
  }
664
672
  export interface ImportNotebookOutput {
665
- NotebookId?: string;
673
+ NotebookId?: string | undefined;
666
674
  }
667
675
  export interface ListApplicationDPUSizesInput {
668
- MaxResults?: number;
669
- NextToken?: string;
676
+ MaxResults?: number | undefined;
677
+ NextToken?: string | undefined;
670
678
  }
671
679
  export interface ApplicationDPUSizes {
672
- ApplicationRuntimeId?: string;
673
- SupportedDPUSizes?: number[];
680
+ ApplicationRuntimeId?: string | undefined;
681
+ SupportedDPUSizes?: number[] | undefined;
674
682
  }
675
683
  export interface ListApplicationDPUSizesOutput {
676
- ApplicationDPUSizes?: ApplicationDPUSizes[];
677
- NextToken?: string;
684
+ ApplicationDPUSizes?: ApplicationDPUSizes[] | undefined;
685
+ NextToken?: string | undefined;
678
686
  }
679
687
  export interface ListCalculationExecutionsRequest {
680
688
  SessionId: string | undefined;
681
- StateFilter?: CalculationExecutionState;
682
- MaxResults?: number;
683
- NextToken?: string;
689
+ StateFilter?: CalculationExecutionState | undefined;
690
+ MaxResults?: number | undefined;
691
+ NextToken?: string | undefined;
684
692
  }
685
693
  export interface CalculationSummary {
686
- CalculationExecutionId?: string;
687
- Description?: string;
688
- Status?: CalculationStatus;
694
+ CalculationExecutionId?: string | undefined;
695
+ Description?: string | undefined;
696
+ Status?: CalculationStatus | undefined;
689
697
  }
690
698
  export interface ListCalculationExecutionsResponse {
691
- NextToken?: string;
692
- Calculations?: CalculationSummary[];
699
+ NextToken?: string | undefined;
700
+ Calculations?: CalculationSummary[] | undefined;
693
701
  }
694
702
  export interface ListCapacityReservationsInput {
695
- NextToken?: string;
696
- MaxResults?: number;
703
+ NextToken?: string | undefined;
704
+ MaxResults?: number | undefined;
697
705
  }
698
706
  export interface ListCapacityReservationsOutput {
699
- NextToken?: string;
707
+ NextToken?: string | undefined;
700
708
  CapacityReservations: CapacityReservation[] | undefined;
701
709
  }
702
710
  export interface ListDatabasesInput {
703
711
  CatalogName: string | undefined;
704
- NextToken?: string;
705
- MaxResults?: number;
706
- WorkGroup?: string;
712
+ NextToken?: string | undefined;
713
+ MaxResults?: number | undefined;
714
+ WorkGroup?: string | undefined;
707
715
  }
708
716
  export interface ListDatabasesOutput {
709
- DatabaseList?: Database[];
710
- NextToken?: string;
717
+ DatabaseList?: Database[] | undefined;
718
+ NextToken?: string | undefined;
711
719
  }
712
720
  export interface ListDataCatalogsInput {
713
- NextToken?: string;
714
- MaxResults?: number;
715
- WorkGroup?: string;
721
+ NextToken?: string | undefined;
722
+ MaxResults?: number | undefined;
723
+ WorkGroup?: string | undefined;
716
724
  }
717
725
  export interface DataCatalogSummary {
718
- CatalogName?: string;
719
- Type?: DataCatalogType;
726
+ CatalogName?: string | undefined;
727
+ Type?: DataCatalogType | undefined;
720
728
  }
721
729
  export interface ListDataCatalogsOutput {
722
- DataCatalogsSummary?: DataCatalogSummary[];
723
- NextToken?: string;
730
+ DataCatalogsSummary?: DataCatalogSummary[] | undefined;
731
+ NextToken?: string | undefined;
724
732
  }
725
733
  export interface ListEngineVersionsInput {
726
- NextToken?: string;
727
- MaxResults?: number;
734
+ NextToken?: string | undefined;
735
+ MaxResults?: number | undefined;
728
736
  }
729
737
  export interface ListEngineVersionsOutput {
730
- EngineVersions?: EngineVersion[];
731
- NextToken?: string;
738
+ EngineVersions?: EngineVersion[] | undefined;
739
+ NextToken?: string | undefined;
732
740
  }
733
741
  export declare const ExecutorState: {
734
742
  readonly CREATED: "CREATED";
@@ -741,9 +749,9 @@ export declare const ExecutorState: {
741
749
  export type ExecutorState = (typeof ExecutorState)[keyof typeof ExecutorState];
742
750
  export interface ListExecutorsRequest {
743
751
  SessionId: string | undefined;
744
- ExecutorStateFilter?: ExecutorState;
745
- MaxResults?: number;
746
- NextToken?: string;
752
+ ExecutorStateFilter?: ExecutorState | undefined;
753
+ MaxResults?: number | undefined;
754
+ NextToken?: string | undefined;
747
755
  }
748
756
  export declare const ExecutorType: {
749
757
  readonly COORDINATOR: "COORDINATOR";
@@ -753,127 +761,127 @@ export declare const ExecutorType: {
753
761
  export type ExecutorType = (typeof ExecutorType)[keyof typeof ExecutorType];
754
762
  export interface ExecutorsSummary {
755
763
  ExecutorId: string | undefined;
756
- ExecutorType?: ExecutorType;
757
- StartDateTime?: number;
758
- TerminationDateTime?: number;
759
- ExecutorState?: ExecutorState;
760
- ExecutorSize?: number;
764
+ ExecutorType?: ExecutorType | undefined;
765
+ StartDateTime?: number | undefined;
766
+ TerminationDateTime?: number | undefined;
767
+ ExecutorState?: ExecutorState | undefined;
768
+ ExecutorSize?: number | undefined;
761
769
  }
762
770
  export interface ListExecutorsResponse {
763
771
  SessionId: string | undefined;
764
- NextToken?: string;
765
- ExecutorsSummary?: ExecutorsSummary[];
772
+ NextToken?: string | undefined;
773
+ ExecutorsSummary?: ExecutorsSummary[] | undefined;
766
774
  }
767
775
  export interface ListNamedQueriesInput {
768
- NextToken?: string;
769
- MaxResults?: number;
770
- WorkGroup?: string;
776
+ NextToken?: string | undefined;
777
+ MaxResults?: number | undefined;
778
+ WorkGroup?: string | undefined;
771
779
  }
772
780
  export interface ListNamedQueriesOutput {
773
- NamedQueryIds?: string[];
774
- NextToken?: string;
781
+ NamedQueryIds?: string[] | undefined;
782
+ NextToken?: string | undefined;
775
783
  }
776
784
  export interface FilterDefinition {
777
- Name?: string;
785
+ Name?: string | undefined;
778
786
  }
779
787
  export interface ListNotebookMetadataInput {
780
- Filters?: FilterDefinition;
781
- NextToken?: string;
782
- MaxResults?: number;
788
+ Filters?: FilterDefinition | undefined;
789
+ NextToken?: string | undefined;
790
+ MaxResults?: number | undefined;
783
791
  WorkGroup: string | undefined;
784
792
  }
785
793
  export interface ListNotebookMetadataOutput {
786
- NextToken?: string;
787
- NotebookMetadataList?: NotebookMetadata[];
794
+ NextToken?: string | undefined;
795
+ NotebookMetadataList?: NotebookMetadata[] | undefined;
788
796
  }
789
797
  export interface ListNotebookSessionsRequest {
790
798
  NotebookId: string | undefined;
791
- MaxResults?: number;
792
- NextToken?: string;
799
+ MaxResults?: number | undefined;
800
+ NextToken?: string | undefined;
793
801
  }
794
802
  export interface NotebookSessionSummary {
795
- SessionId?: string;
796
- CreationTime?: Date;
803
+ SessionId?: string | undefined;
804
+ CreationTime?: Date | undefined;
797
805
  }
798
806
  export interface ListNotebookSessionsResponse {
799
807
  NotebookSessionsList: NotebookSessionSummary[] | undefined;
800
- NextToken?: string;
808
+ NextToken?: string | undefined;
801
809
  }
802
810
  export interface ListPreparedStatementsInput {
803
811
  WorkGroup: string | undefined;
804
- NextToken?: string;
805
- MaxResults?: number;
812
+ NextToken?: string | undefined;
813
+ MaxResults?: number | undefined;
806
814
  }
807
815
  export interface PreparedStatementSummary {
808
- StatementName?: string;
809
- LastModifiedTime?: Date;
816
+ StatementName?: string | undefined;
817
+ LastModifiedTime?: Date | undefined;
810
818
  }
811
819
  export interface ListPreparedStatementsOutput {
812
- PreparedStatements?: PreparedStatementSummary[];
813
- NextToken?: string;
820
+ PreparedStatements?: PreparedStatementSummary[] | undefined;
821
+ NextToken?: string | undefined;
814
822
  }
815
823
  export interface ListQueryExecutionsInput {
816
- NextToken?: string;
817
- MaxResults?: number;
818
- WorkGroup?: string;
824
+ NextToken?: string | undefined;
825
+ MaxResults?: number | undefined;
826
+ WorkGroup?: string | undefined;
819
827
  }
820
828
  export interface ListQueryExecutionsOutput {
821
- QueryExecutionIds?: string[];
822
- NextToken?: string;
829
+ QueryExecutionIds?: string[] | undefined;
830
+ NextToken?: string | undefined;
823
831
  }
824
832
  export interface ListSessionsRequest {
825
833
  WorkGroup: string | undefined;
826
- StateFilter?: SessionState;
827
- MaxResults?: number;
828
- NextToken?: string;
834
+ StateFilter?: SessionState | undefined;
835
+ MaxResults?: number | undefined;
836
+ NextToken?: string | undefined;
829
837
  }
830
838
  export interface SessionSummary {
831
- SessionId?: string;
832
- Description?: string;
833
- EngineVersion?: EngineVersion;
834
- NotebookVersion?: string;
835
- Status?: SessionStatus;
839
+ SessionId?: string | undefined;
840
+ Description?: string | undefined;
841
+ EngineVersion?: EngineVersion | undefined;
842
+ NotebookVersion?: string | undefined;
843
+ Status?: SessionStatus | undefined;
836
844
  }
837
845
  export interface ListSessionsResponse {
838
- NextToken?: string;
839
- Sessions?: SessionSummary[];
846
+ NextToken?: string | undefined;
847
+ Sessions?: SessionSummary[] | undefined;
840
848
  }
841
849
  export interface ListTableMetadataInput {
842
850
  CatalogName: string | undefined;
843
851
  DatabaseName: string | undefined;
844
- Expression?: string;
845
- NextToken?: string;
846
- MaxResults?: number;
847
- WorkGroup?: string;
852
+ Expression?: string | undefined;
853
+ NextToken?: string | undefined;
854
+ MaxResults?: number | undefined;
855
+ WorkGroup?: string | undefined;
848
856
  }
849
857
  export interface ListTableMetadataOutput {
850
- TableMetadataList?: TableMetadata[];
851
- NextToken?: string;
858
+ TableMetadataList?: TableMetadata[] | undefined;
859
+ NextToken?: string | undefined;
852
860
  }
853
861
  export interface ListTagsForResourceInput {
854
862
  ResourceARN: string | undefined;
855
- NextToken?: string;
856
- MaxResults?: number;
863
+ NextToken?: string | undefined;
864
+ MaxResults?: number | undefined;
857
865
  }
858
866
  export interface ListTagsForResourceOutput {
859
- Tags?: Tag[];
860
- NextToken?: string;
867
+ Tags?: Tag[] | undefined;
868
+ NextToken?: string | undefined;
861
869
  }
862
870
  export interface ListWorkGroupsInput {
863
- NextToken?: string;
864
- MaxResults?: number;
871
+ NextToken?: string | undefined;
872
+ MaxResults?: number | undefined;
865
873
  }
866
874
  export interface WorkGroupSummary {
867
- Name?: string;
868
- State?: WorkGroupState;
869
- Description?: string;
870
- CreationTime?: Date;
871
- EngineVersion?: EngineVersion;
872
- IdentityCenterApplicationArn?: string;
875
+ Name?: string | undefined;
876
+ State?: WorkGroupState | undefined;
877
+ Description?: string | undefined;
878
+ CreationTime?: Date | undefined;
879
+ EngineVersion?: EngineVersion | undefined;
880
+ IdentityCenterApplicationArn?: string | undefined;
873
881
  }
874
882
  export interface ListWorkGroupsOutput {
875
- WorkGroups?: WorkGroupSummary[];
876
- NextToken?: string;
883
+ WorkGroups?: WorkGroupSummary[] | undefined;
884
+ NextToken?: string | undefined;
877
885
  }
878
886
  export interface PutCapacityAssignmentConfigurationInput {
879
887
  CapacityReservationName: string | undefined;
@@ -881,59 +889,59 @@ export interface PutCapacityAssignmentConfigurationInput {
881
889
  }
882
890
  export interface PutCapacityAssignmentConfigurationOutput {}
883
891
  export interface CalculationConfiguration {
884
- CodeBlock?: string;
892
+ CodeBlock?: string | undefined;
885
893
  }
886
894
  export interface StartCalculationExecutionRequest {
887
895
  SessionId: string | undefined;
888
- Description?: string;
889
- CalculationConfiguration?: CalculationConfiguration;
890
- CodeBlock?: string;
891
- ClientRequestToken?: string;
896
+ Description?: string | undefined;
897
+ CalculationConfiguration?: CalculationConfiguration | undefined;
898
+ CodeBlock?: string | undefined;
899
+ ClientRequestToken?: string | undefined;
892
900
  }
893
901
  export interface StartCalculationExecutionResponse {
894
- CalculationExecutionId?: string;
895
- State?: CalculationExecutionState;
902
+ CalculationExecutionId?: string | undefined;
903
+ State?: CalculationExecutionState | undefined;
896
904
  }
897
905
  export interface StartQueryExecutionInput {
898
906
  QueryString: string | undefined;
899
- ClientRequestToken?: string;
900
- QueryExecutionContext?: QueryExecutionContext;
901
- ResultConfiguration?: ResultConfiguration;
902
- WorkGroup?: string;
903
- ExecutionParameters?: string[];
904
- ResultReuseConfiguration?: ResultReuseConfiguration;
907
+ ClientRequestToken?: string | undefined;
908
+ QueryExecutionContext?: QueryExecutionContext | undefined;
909
+ ResultConfiguration?: ResultConfiguration | undefined;
910
+ WorkGroup?: string | undefined;
911
+ ExecutionParameters?: string[] | undefined;
912
+ ResultReuseConfiguration?: ResultReuseConfiguration | undefined;
905
913
  }
906
914
  export interface StartQueryExecutionOutput {
907
- QueryExecutionId?: string;
915
+ QueryExecutionId?: string | undefined;
908
916
  }
909
917
  export declare class SessionAlreadyExistsException extends __BaseException {
910
918
  readonly name: "SessionAlreadyExistsException";
911
919
  readonly $fault: "client";
912
- Message?: string;
920
+ Message?: string | undefined;
913
921
  constructor(
914
922
  opts: __ExceptionOptionType<SessionAlreadyExistsException, __BaseException>
915
923
  );
916
924
  }
917
925
  export interface StartSessionRequest {
918
- Description?: string;
926
+ Description?: string | undefined;
919
927
  WorkGroup: string | undefined;
920
928
  EngineConfiguration: EngineConfiguration | undefined;
921
- NotebookVersion?: string;
922
- SessionIdleTimeoutInMinutes?: number;
923
- ClientRequestToken?: string;
929
+ NotebookVersion?: string | undefined;
930
+ SessionIdleTimeoutInMinutes?: number | undefined;
931
+ ClientRequestToken?: string | undefined;
924
932
  }
925
933
  export interface StartSessionResponse {
926
- SessionId?: string;
927
- State?: SessionState;
934
+ SessionId?: string | undefined;
935
+ State?: SessionState | undefined;
928
936
  }
929
937
  export interface StopCalculationExecutionRequest {
930
938
  CalculationExecutionId: string | undefined;
931
939
  }
932
940
  export interface StopCalculationExecutionResponse {
933
- State?: CalculationExecutionState;
941
+ State?: CalculationExecutionState | undefined;
934
942
  }
935
943
  export interface StopQueryExecutionInput {
936
- QueryExecutionId?: string;
944
+ QueryExecutionId?: string | undefined;
937
945
  }
938
946
  export interface StopQueryExecutionOutput {}
939
947
  export interface TagResourceInput {
@@ -945,7 +953,7 @@ export interface TerminateSessionRequest {
945
953
  SessionId: string | undefined;
946
954
  }
947
955
  export interface TerminateSessionResponse {
948
- State?: SessionState;
956
+ State?: SessionState | undefined;
949
957
  }
950
958
  export interface UntagResourceInput {
951
959
  ResourceARN: string | undefined;
@@ -960,14 +968,14 @@ export interface UpdateCapacityReservationOutput {}
960
968
  export interface UpdateDataCatalogInput {
961
969
  Name: string | undefined;
962
970
  Type: DataCatalogType | undefined;
963
- Description?: string;
964
- Parameters?: Record<string, string>;
971
+ Description?: string | undefined;
972
+ Parameters?: Record<string, string> | undefined;
965
973
  }
966
974
  export interface UpdateDataCatalogOutput {}
967
975
  export interface UpdateNamedQueryInput {
968
976
  NamedQueryId: string | undefined;
969
977
  Name: string | undefined;
970
- Description?: string;
978
+ Description?: string | undefined;
971
979
  QueryString: string | undefined;
972
980
  }
973
981
  export interface UpdateNamedQueryOutput {}
@@ -975,13 +983,13 @@ export interface UpdateNotebookInput {
975
983
  NotebookId: string | undefined;
976
984
  Payload: string | undefined;
977
985
  Type: NotebookType | undefined;
978
- SessionId?: string;
979
- ClientRequestToken?: string;
986
+ SessionId?: string | undefined;
987
+ ClientRequestToken?: string | undefined;
980
988
  }
981
989
  export interface UpdateNotebookOutput {}
982
990
  export interface UpdateNotebookMetadataInput {
983
991
  NotebookId: string | undefined;
984
- ClientRequestToken?: string;
992
+ ClientRequestToken?: string | undefined;
985
993
  Name: string | undefined;
986
994
  }
987
995
  export interface UpdateNotebookMetadataOutput {}
@@ -989,63 +997,67 @@ export interface UpdatePreparedStatementInput {
989
997
  StatementName: string | undefined;
990
998
  WorkGroup: string | undefined;
991
999
  QueryStatement: string | undefined;
992
- Description?: string;
1000
+ Description?: string | undefined;
993
1001
  }
994
1002
  export interface UpdatePreparedStatementOutput {}
995
1003
  export interface ResultConfigurationUpdates {
996
- OutputLocation?: string;
997
- RemoveOutputLocation?: boolean;
998
- EncryptionConfiguration?: EncryptionConfiguration;
999
- RemoveEncryptionConfiguration?: boolean;
1000
- ExpectedBucketOwner?: string;
1001
- RemoveExpectedBucketOwner?: boolean;
1002
- AclConfiguration?: AclConfiguration;
1003
- RemoveAclConfiguration?: boolean;
1004
+ OutputLocation?: string | undefined;
1005
+ RemoveOutputLocation?: boolean | undefined;
1006
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
1007
+ RemoveEncryptionConfiguration?: boolean | undefined;
1008
+ ExpectedBucketOwner?: string | undefined;
1009
+ RemoveExpectedBucketOwner?: boolean | undefined;
1010
+ AclConfiguration?: AclConfiguration | undefined;
1011
+ RemoveAclConfiguration?: boolean | undefined;
1004
1012
  }
1005
1013
  export interface WorkGroupConfigurationUpdates {
1006
- EnforceWorkGroupConfiguration?: boolean;
1007
- ResultConfigurationUpdates?: ResultConfigurationUpdates;
1008
- PublishCloudWatchMetricsEnabled?: boolean;
1009
- BytesScannedCutoffPerQuery?: number;
1010
- RemoveBytesScannedCutoffPerQuery?: boolean;
1011
- RequesterPaysEnabled?: boolean;
1012
- EngineVersion?: EngineVersion;
1013
- RemoveCustomerContentEncryptionConfiguration?: boolean;
1014
- AdditionalConfiguration?: string;
1015
- ExecutionRole?: string;
1016
- CustomerContentEncryptionConfiguration?: CustomerContentEncryptionConfiguration;
1017
- EnableMinimumEncryptionConfiguration?: boolean;
1018
- QueryResultsS3AccessGrantsConfiguration?: QueryResultsS3AccessGrantsConfiguration;
1014
+ EnforceWorkGroupConfiguration?: boolean | undefined;
1015
+ ResultConfigurationUpdates?: ResultConfigurationUpdates | undefined;
1016
+ PublishCloudWatchMetricsEnabled?: boolean | undefined;
1017
+ BytesScannedCutoffPerQuery?: number | undefined;
1018
+ RemoveBytesScannedCutoffPerQuery?: boolean | undefined;
1019
+ RequesterPaysEnabled?: boolean | undefined;
1020
+ EngineVersion?: EngineVersion | undefined;
1021
+ RemoveCustomerContentEncryptionConfiguration?: boolean | undefined;
1022
+ AdditionalConfiguration?: string | undefined;
1023
+ ExecutionRole?: string | undefined;
1024
+ CustomerContentEncryptionConfiguration?:
1025
+ | CustomerContentEncryptionConfiguration
1026
+ | undefined;
1027
+ EnableMinimumEncryptionConfiguration?: boolean | undefined;
1028
+ QueryResultsS3AccessGrantsConfiguration?:
1029
+ | QueryResultsS3AccessGrantsConfiguration
1030
+ | undefined;
1019
1031
  }
1020
1032
  export interface UpdateWorkGroupInput {
1021
1033
  WorkGroup: string | undefined;
1022
- Description?: string;
1023
- ConfigurationUpdates?: WorkGroupConfigurationUpdates;
1024
- State?: WorkGroupState;
1034
+ Description?: string | undefined;
1035
+ ConfigurationUpdates?: WorkGroupConfigurationUpdates | undefined;
1036
+ State?: WorkGroupState | undefined;
1025
1037
  }
1026
1038
  export interface UpdateWorkGroupOutput {}
1027
1039
  export interface QueryStagePlanNode {
1028
- Name?: string;
1029
- Identifier?: string;
1030
- Children?: QueryStagePlanNode[];
1031
- RemoteSources?: string[];
1040
+ Name?: string | undefined;
1041
+ Identifier?: string | undefined;
1042
+ Children?: QueryStagePlanNode[] | undefined;
1043
+ RemoteSources?: string[] | undefined;
1032
1044
  }
1033
1045
  export interface QueryStage {
1034
- StageId?: number;
1035
- State?: string;
1036
- OutputBytes?: number;
1037
- OutputRows?: number;
1038
- InputBytes?: number;
1039
- InputRows?: number;
1040
- ExecutionTime?: number;
1041
- QueryStagePlan?: QueryStagePlanNode;
1042
- SubStages?: QueryStage[];
1046
+ StageId?: number | undefined;
1047
+ State?: string | undefined;
1048
+ OutputBytes?: number | undefined;
1049
+ OutputRows?: number | undefined;
1050
+ InputBytes?: number | undefined;
1051
+ InputRows?: number | undefined;
1052
+ ExecutionTime?: number | undefined;
1053
+ QueryStagePlan?: QueryStagePlanNode | undefined;
1054
+ SubStages?: QueryStage[] | undefined;
1043
1055
  }
1044
1056
  export interface QueryRuntimeStatistics {
1045
- Timeline?: QueryRuntimeStatisticsTimeline;
1046
- Rows?: QueryRuntimeStatisticsRows;
1047
- OutputStage?: QueryStage;
1057
+ Timeline?: QueryRuntimeStatisticsTimeline | undefined;
1058
+ Rows?: QueryRuntimeStatisticsRows | undefined;
1059
+ OutputStage?: QueryStage | undefined;
1048
1060
  }
1049
1061
  export interface GetQueryRuntimeStatisticsOutput {
1050
- QueryRuntimeStatistics?: QueryRuntimeStatistics;
1062
+ QueryRuntimeStatistics?: QueryRuntimeStatistics | undefined;
1051
1063
  }