@aws-sdk/client-cloudtrail 3.52.0 → 3.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CloudTrailServiceException as __BaseException } from "./CloudTrailServiceException";
2
3
 
3
4
  export interface Tag {
4
5
 
@@ -29,88 +30,112 @@ export declare namespace AddTagsResponse {
29
30
  const filterSensitiveLog: (obj: AddTagsResponse) => any;
30
31
  }
31
32
 
32
- export interface CloudTrailARNInvalidException extends __SmithyException, $MetadataBearer {
33
- name: "CloudTrailARNInvalidException";
34
- $fault: "client";
33
+ export declare class CloudTrailARNInvalidException extends __BaseException {
34
+ readonly name: "CloudTrailARNInvalidException";
35
+ readonly $fault: "client";
35
36
 
36
37
  Message?: string;
38
+
39
+ constructor(opts: __ExceptionOptionType<CloudTrailARNInvalidException, __BaseException>);
37
40
  }
38
41
 
39
- export interface ConflictException extends __SmithyException, $MetadataBearer {
40
- name: "ConflictException";
41
- $fault: "client";
42
+ export declare class ConflictException extends __BaseException {
43
+ readonly name: "ConflictException";
44
+ readonly $fault: "client";
42
45
 
43
46
  Message?: string;
47
+
48
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
44
49
  }
45
50
 
46
- export interface EventDataStoreNotFoundException extends __SmithyException, $MetadataBearer {
47
- name: "EventDataStoreNotFoundException";
48
- $fault: "client";
51
+ export declare class EventDataStoreNotFoundException extends __BaseException {
52
+ readonly name: "EventDataStoreNotFoundException";
53
+ readonly $fault: "client";
49
54
 
50
55
  Message?: string;
56
+
57
+ constructor(opts: __ExceptionOptionType<EventDataStoreNotFoundException, __BaseException>);
51
58
  }
52
59
 
53
- export interface InactiveEventDataStoreException extends __SmithyException, $MetadataBearer {
54
- name: "InactiveEventDataStoreException";
55
- $fault: "client";
60
+ export declare class InactiveEventDataStoreException extends __BaseException {
61
+ readonly name: "InactiveEventDataStoreException";
62
+ readonly $fault: "client";
56
63
 
57
64
  Message?: string;
65
+
66
+ constructor(opts: __ExceptionOptionType<InactiveEventDataStoreException, __BaseException>);
58
67
  }
59
68
 
60
- export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
61
- name: "InvalidTagParameterException";
62
- $fault: "client";
69
+ export declare class InvalidTagParameterException extends __BaseException {
70
+ readonly name: "InvalidTagParameterException";
71
+ readonly $fault: "client";
63
72
 
64
73
  Message?: string;
74
+
75
+ constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
65
76
  }
66
77
 
67
- export interface InvalidTrailNameException extends __SmithyException, $MetadataBearer {
68
- name: "InvalidTrailNameException";
69
- $fault: "client";
78
+ export declare class InvalidTrailNameException extends __BaseException {
79
+ readonly name: "InvalidTrailNameException";
80
+ readonly $fault: "client";
70
81
 
71
82
  Message?: string;
83
+
84
+ constructor(opts: __ExceptionOptionType<InvalidTrailNameException, __BaseException>);
72
85
  }
73
86
 
74
- export interface NotOrganizationMasterAccountException extends __SmithyException, $MetadataBearer {
75
- name: "NotOrganizationMasterAccountException";
76
- $fault: "client";
87
+ export declare class NotOrganizationMasterAccountException extends __BaseException {
88
+ readonly name: "NotOrganizationMasterAccountException";
89
+ readonly $fault: "client";
77
90
 
78
91
  Message?: string;
92
+
93
+ constructor(opts: __ExceptionOptionType<NotOrganizationMasterAccountException, __BaseException>);
79
94
  }
80
95
 
81
- export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
82
- name: "OperationNotPermittedException";
83
- $fault: "client";
96
+ export declare class OperationNotPermittedException extends __BaseException {
97
+ readonly name: "OperationNotPermittedException";
98
+ readonly $fault: "client";
84
99
 
85
100
  Message?: string;
101
+
102
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
86
103
  }
87
104
 
88
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
89
- name: "ResourceNotFoundException";
90
- $fault: "client";
105
+ export declare class ResourceNotFoundException extends __BaseException {
106
+ readonly name: "ResourceNotFoundException";
107
+ readonly $fault: "client";
91
108
 
92
109
  Message?: string;
110
+
111
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
93
112
  }
94
113
 
95
- export interface ResourceTypeNotSupportedException extends __SmithyException, $MetadataBearer {
96
- name: "ResourceTypeNotSupportedException";
97
- $fault: "client";
114
+ export declare class ResourceTypeNotSupportedException extends __BaseException {
115
+ readonly name: "ResourceTypeNotSupportedException";
116
+ readonly $fault: "client";
98
117
 
99
118
  Message?: string;
119
+
120
+ constructor(opts: __ExceptionOptionType<ResourceTypeNotSupportedException, __BaseException>);
100
121
  }
101
122
 
102
- export interface TagsLimitExceededException extends __SmithyException, $MetadataBearer {
103
- name: "TagsLimitExceededException";
104
- $fault: "client";
123
+ export declare class TagsLimitExceededException extends __BaseException {
124
+ readonly name: "TagsLimitExceededException";
125
+ readonly $fault: "client";
105
126
 
106
127
  Message?: string;
128
+
129
+ constructor(opts: __ExceptionOptionType<TagsLimitExceededException, __BaseException>);
107
130
  }
108
131
 
109
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
110
- name: "UnsupportedOperationException";
111
- $fault: "client";
132
+ export declare class UnsupportedOperationException extends __BaseException {
133
+ readonly name: "UnsupportedOperationException";
134
+ readonly $fault: "client";
112
135
 
113
136
  Message?: string;
137
+
138
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
114
139
  }
115
140
 
116
141
  export interface AdvancedFieldSelector {
@@ -159,7 +184,8 @@ export declare enum QueryStatus {
159
184
  FAILED = "FAILED",
160
185
  FINISHED = "FINISHED",
161
186
  QUEUED = "QUEUED",
162
- RUNNING = "RUNNING"
187
+ RUNNING = "RUNNING",
188
+ TIMED_OUT = "TIMED_OUT"
163
189
  }
164
190
  export interface CancelQueryResponse {
165
191
 
@@ -172,39 +198,49 @@ export declare namespace CancelQueryResponse {
172
198
  const filterSensitiveLog: (obj: CancelQueryResponse) => any;
173
199
  }
174
200
 
175
- export interface EventDataStoreARNInvalidException extends __SmithyException, $MetadataBearer {
176
- name: "EventDataStoreARNInvalidException";
177
- $fault: "client";
201
+ export declare class EventDataStoreARNInvalidException extends __BaseException {
202
+ readonly name: "EventDataStoreARNInvalidException";
203
+ readonly $fault: "client";
178
204
 
179
205
  Message?: string;
206
+
207
+ constructor(opts: __ExceptionOptionType<EventDataStoreARNInvalidException, __BaseException>);
180
208
  }
181
209
 
182
- export interface InactiveQueryException extends __SmithyException, $MetadataBearer {
183
- name: "InactiveQueryException";
184
- $fault: "client";
210
+ export declare class InactiveQueryException extends __BaseException {
211
+ readonly name: "InactiveQueryException";
212
+ readonly $fault: "client";
185
213
 
186
214
  Message?: string;
215
+
216
+ constructor(opts: __ExceptionOptionType<InactiveQueryException, __BaseException>);
187
217
  }
188
218
 
189
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
190
- name: "InvalidParameterException";
191
- $fault: "client";
219
+ export declare class InvalidParameterException extends __BaseException {
220
+ readonly name: "InvalidParameterException";
221
+ readonly $fault: "client";
192
222
 
193
223
  Message?: string;
224
+
225
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
194
226
  }
195
227
 
196
- export interface QueryIdNotFoundException extends __SmithyException, $MetadataBearer {
197
- name: "QueryIdNotFoundException";
198
- $fault: "client";
228
+ export declare class QueryIdNotFoundException extends __BaseException {
229
+ readonly name: "QueryIdNotFoundException";
230
+ readonly $fault: "client";
199
231
 
200
232
  Message?: string;
233
+
234
+ constructor(opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>);
201
235
  }
202
236
 
203
- export interface CloudTrailAccessNotEnabledException extends __SmithyException, $MetadataBearer {
204
- name: "CloudTrailAccessNotEnabledException";
205
- $fault: "client";
237
+ export declare class CloudTrailAccessNotEnabledException extends __BaseException {
238
+ readonly name: "CloudTrailAccessNotEnabledException";
239
+ readonly $fault: "client";
206
240
 
207
241
  Message?: string;
242
+
243
+ constructor(opts: __ExceptionOptionType<CloudTrailAccessNotEnabledException, __BaseException>);
208
244
  }
209
245
  export interface CreateEventDataStoreRequest {
210
246
 
@@ -260,53 +296,67 @@ export declare namespace CreateEventDataStoreResponse {
260
296
  const filterSensitiveLog: (obj: CreateEventDataStoreResponse) => any;
261
297
  }
262
298
 
263
- export interface EventDataStoreAlreadyExistsException extends __SmithyException, $MetadataBearer {
264
- name: "EventDataStoreAlreadyExistsException";
265
- $fault: "client";
299
+ export declare class EventDataStoreAlreadyExistsException extends __BaseException {
300
+ readonly name: "EventDataStoreAlreadyExistsException";
301
+ readonly $fault: "client";
266
302
 
267
303
  Message?: string;
304
+
305
+ constructor(opts: __ExceptionOptionType<EventDataStoreAlreadyExistsException, __BaseException>);
268
306
  }
269
307
 
270
- export interface EventDataStoreMaxLimitExceededException extends __SmithyException, $MetadataBearer {
271
- name: "EventDataStoreMaxLimitExceededException";
272
- $fault: "client";
308
+ export declare class EventDataStoreMaxLimitExceededException extends __BaseException {
309
+ readonly name: "EventDataStoreMaxLimitExceededException";
310
+ readonly $fault: "client";
273
311
 
274
312
  Message?: string;
313
+
314
+ constructor(opts: __ExceptionOptionType<EventDataStoreMaxLimitExceededException, __BaseException>);
275
315
  }
276
316
 
277
- export interface InsufficientDependencyServiceAccessPermissionException extends __SmithyException, $MetadataBearer {
278
- name: "InsufficientDependencyServiceAccessPermissionException";
279
- $fault: "client";
317
+ export declare class InsufficientDependencyServiceAccessPermissionException extends __BaseException {
318
+ readonly name: "InsufficientDependencyServiceAccessPermissionException";
319
+ readonly $fault: "client";
280
320
 
281
321
  Message?: string;
322
+
323
+ constructor(opts: __ExceptionOptionType<InsufficientDependencyServiceAccessPermissionException, __BaseException>);
282
324
  }
283
325
 
284
- export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
285
- name: "OrganizationNotInAllFeaturesModeException";
286
- $fault: "client";
326
+ export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
327
+ readonly name: "OrganizationNotInAllFeaturesModeException";
328
+ readonly $fault: "client";
287
329
 
288
330
  Message?: string;
331
+
332
+ constructor(opts: __ExceptionOptionType<OrganizationNotInAllFeaturesModeException, __BaseException>);
289
333
  }
290
334
 
291
- export interface OrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
292
- name: "OrganizationsNotInUseException";
293
- $fault: "client";
335
+ export declare class OrganizationsNotInUseException extends __BaseException {
336
+ readonly name: "OrganizationsNotInUseException";
337
+ readonly $fault: "client";
294
338
 
295
339
  Message?: string;
340
+
341
+ constructor(opts: __ExceptionOptionType<OrganizationsNotInUseException, __BaseException>);
296
342
  }
297
343
 
298
- export interface CloudTrailInvalidClientTokenIdException extends __SmithyException, $MetadataBearer {
299
- name: "CloudTrailInvalidClientTokenIdException";
300
- $fault: "client";
344
+ export declare class CloudTrailInvalidClientTokenIdException extends __BaseException {
345
+ readonly name: "CloudTrailInvalidClientTokenIdException";
346
+ readonly $fault: "client";
301
347
 
302
348
  Message?: string;
349
+
350
+ constructor(opts: __ExceptionOptionType<CloudTrailInvalidClientTokenIdException, __BaseException>);
303
351
  }
304
352
 
305
- export interface CloudWatchLogsDeliveryUnavailableException extends __SmithyException, $MetadataBearer {
306
- name: "CloudWatchLogsDeliveryUnavailableException";
307
- $fault: "client";
353
+ export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
354
+ readonly name: "CloudWatchLogsDeliveryUnavailableException";
355
+ readonly $fault: "client";
308
356
 
309
357
  Message?: string;
358
+
359
+ constructor(opts: __ExceptionOptionType<CloudWatchLogsDeliveryUnavailableException, __BaseException>);
310
360
  }
311
361
 
312
362
  export interface CreateTrailRequest {
@@ -373,123 +423,157 @@ export declare namespace CreateTrailResponse {
373
423
  const filterSensitiveLog: (obj: CreateTrailResponse) => any;
374
424
  }
375
425
 
376
- export interface InsufficientEncryptionPolicyException extends __SmithyException, $MetadataBearer {
377
- name: "InsufficientEncryptionPolicyException";
378
- $fault: "client";
426
+ export declare class InsufficientEncryptionPolicyException extends __BaseException {
427
+ readonly name: "InsufficientEncryptionPolicyException";
428
+ readonly $fault: "client";
379
429
 
380
430
  Message?: string;
431
+
432
+ constructor(opts: __ExceptionOptionType<InsufficientEncryptionPolicyException, __BaseException>);
381
433
  }
382
434
 
383
- export interface InsufficientS3BucketPolicyException extends __SmithyException, $MetadataBearer {
384
- name: "InsufficientS3BucketPolicyException";
385
- $fault: "client";
435
+ export declare class InsufficientS3BucketPolicyException extends __BaseException {
436
+ readonly name: "InsufficientS3BucketPolicyException";
437
+ readonly $fault: "client";
386
438
 
387
439
  Message?: string;
440
+
441
+ constructor(opts: __ExceptionOptionType<InsufficientS3BucketPolicyException, __BaseException>);
388
442
  }
389
443
 
390
- export interface InsufficientSnsTopicPolicyException extends __SmithyException, $MetadataBearer {
391
- name: "InsufficientSnsTopicPolicyException";
392
- $fault: "client";
444
+ export declare class InsufficientSnsTopicPolicyException extends __BaseException {
445
+ readonly name: "InsufficientSnsTopicPolicyException";
446
+ readonly $fault: "client";
393
447
 
394
448
  Message?: string;
449
+
450
+ constructor(opts: __ExceptionOptionType<InsufficientSnsTopicPolicyException, __BaseException>);
395
451
  }
396
452
 
397
- export interface InvalidCloudWatchLogsLogGroupArnException extends __SmithyException, $MetadataBearer {
398
- name: "InvalidCloudWatchLogsLogGroupArnException";
399
- $fault: "client";
453
+ export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseException {
454
+ readonly name: "InvalidCloudWatchLogsLogGroupArnException";
455
+ readonly $fault: "client";
400
456
 
401
457
  Message?: string;
458
+
459
+ constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsLogGroupArnException, __BaseException>);
402
460
  }
403
461
 
404
- export interface InvalidCloudWatchLogsRoleArnException extends __SmithyException, $MetadataBearer {
405
- name: "InvalidCloudWatchLogsRoleArnException";
406
- $fault: "client";
462
+ export declare class InvalidCloudWatchLogsRoleArnException extends __BaseException {
463
+ readonly name: "InvalidCloudWatchLogsRoleArnException";
464
+ readonly $fault: "client";
407
465
 
408
466
  Message?: string;
467
+
468
+ constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsRoleArnException, __BaseException>);
409
469
  }
410
470
 
411
- export interface InvalidKmsKeyIdException extends __SmithyException, $MetadataBearer {
412
- name: "InvalidKmsKeyIdException";
413
- $fault: "client";
471
+ export declare class InvalidKmsKeyIdException extends __BaseException {
472
+ readonly name: "InvalidKmsKeyIdException";
473
+ readonly $fault: "client";
414
474
 
415
475
  Message?: string;
476
+
477
+ constructor(opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>);
416
478
  }
417
479
 
418
- export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
419
- name: "InvalidParameterCombinationException";
420
- $fault: "client";
480
+ export declare class InvalidParameterCombinationException extends __BaseException {
481
+ readonly name: "InvalidParameterCombinationException";
482
+ readonly $fault: "client";
421
483
 
422
484
  Message?: string;
485
+
486
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
423
487
  }
424
488
 
425
- export interface InvalidS3BucketNameException extends __SmithyException, $MetadataBearer {
426
- name: "InvalidS3BucketNameException";
427
- $fault: "client";
489
+ export declare class InvalidS3BucketNameException extends __BaseException {
490
+ readonly name: "InvalidS3BucketNameException";
491
+ readonly $fault: "client";
428
492
 
429
493
  Message?: string;
494
+
495
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketNameException, __BaseException>);
430
496
  }
431
497
 
432
- export interface InvalidS3PrefixException extends __SmithyException, $MetadataBearer {
433
- name: "InvalidS3PrefixException";
434
- $fault: "client";
498
+ export declare class InvalidS3PrefixException extends __BaseException {
499
+ readonly name: "InvalidS3PrefixException";
500
+ readonly $fault: "client";
435
501
 
436
502
  Message?: string;
503
+
504
+ constructor(opts: __ExceptionOptionType<InvalidS3PrefixException, __BaseException>);
437
505
  }
438
506
 
439
- export interface InvalidSnsTopicNameException extends __SmithyException, $MetadataBearer {
440
- name: "InvalidSnsTopicNameException";
441
- $fault: "client";
507
+ export declare class InvalidSnsTopicNameException extends __BaseException {
508
+ readonly name: "InvalidSnsTopicNameException";
509
+ readonly $fault: "client";
442
510
 
443
511
  Message?: string;
512
+
513
+ constructor(opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>);
444
514
  }
445
515
 
446
- export interface KmsException extends __SmithyException, $MetadataBearer {
447
- name: "KmsException";
448
- $fault: "client";
516
+ export declare class KmsException extends __BaseException {
517
+ readonly name: "KmsException";
518
+ readonly $fault: "client";
449
519
 
450
520
  Message?: string;
521
+
522
+ constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
451
523
  }
452
524
 
453
- export interface KmsKeyDisabledException extends __SmithyException, $MetadataBearer {
454
- name: "KmsKeyDisabledException";
455
- $fault: "client";
525
+ export declare class KmsKeyDisabledException extends __BaseException {
526
+ readonly name: "KmsKeyDisabledException";
527
+ readonly $fault: "client";
456
528
 
457
529
  Message?: string;
530
+
531
+ constructor(opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>);
458
532
  }
459
533
 
460
- export interface KmsKeyNotFoundException extends __SmithyException, $MetadataBearer {
461
- name: "KmsKeyNotFoundException";
462
- $fault: "client";
534
+ export declare class KmsKeyNotFoundException extends __BaseException {
535
+ readonly name: "KmsKeyNotFoundException";
536
+ readonly $fault: "client";
463
537
 
464
538
  Message?: string;
539
+
540
+ constructor(opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>);
465
541
  }
466
542
 
467
- export interface MaximumNumberOfTrailsExceededException extends __SmithyException, $MetadataBearer {
468
- name: "MaximumNumberOfTrailsExceededException";
469
- $fault: "client";
543
+ export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
544
+ readonly name: "MaximumNumberOfTrailsExceededException";
545
+ readonly $fault: "client";
470
546
 
471
547
  Message?: string;
548
+
549
+ constructor(opts: __ExceptionOptionType<MaximumNumberOfTrailsExceededException, __BaseException>);
472
550
  }
473
551
 
474
- export interface S3BucketDoesNotExistException extends __SmithyException, $MetadataBearer {
475
- name: "S3BucketDoesNotExistException";
476
- $fault: "client";
552
+ export declare class S3BucketDoesNotExistException extends __BaseException {
553
+ readonly name: "S3BucketDoesNotExistException";
554
+ readonly $fault: "client";
477
555
 
478
556
  Message?: string;
557
+
558
+ constructor(opts: __ExceptionOptionType<S3BucketDoesNotExistException, __BaseException>);
479
559
  }
480
560
 
481
- export interface TrailAlreadyExistsException extends __SmithyException, $MetadataBearer {
482
- name: "TrailAlreadyExistsException";
483
- $fault: "client";
561
+ export declare class TrailAlreadyExistsException extends __BaseException {
562
+ readonly name: "TrailAlreadyExistsException";
563
+ readonly $fault: "client";
484
564
 
485
565
  Message?: string;
566
+
567
+ constructor(opts: __ExceptionOptionType<TrailAlreadyExistsException, __BaseException>);
486
568
  }
487
569
 
488
- export interface TrailNotProvidedException extends __SmithyException, $MetadataBearer {
489
- name: "TrailNotProvidedException";
490
- $fault: "client";
570
+ export declare class TrailNotProvidedException extends __BaseException {
571
+ readonly name: "TrailNotProvidedException";
572
+ readonly $fault: "client";
491
573
 
492
574
  Message?: string;
575
+
576
+ constructor(opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>);
493
577
  }
494
578
  export interface DeleteEventDataStoreRequest {
495
579
 
@@ -506,11 +590,13 @@ export declare namespace DeleteEventDataStoreResponse {
506
590
  const filterSensitiveLog: (obj: DeleteEventDataStoreResponse) => any;
507
591
  }
508
592
 
509
- export interface EventDataStoreTerminationProtectedException extends __SmithyException, $MetadataBearer {
510
- name: "EventDataStoreTerminationProtectedException";
511
- $fault: "client";
593
+ export declare class EventDataStoreTerminationProtectedException extends __BaseException {
594
+ readonly name: "EventDataStoreTerminationProtectedException";
595
+ readonly $fault: "client";
512
596
 
513
597
  Message?: string;
598
+
599
+ constructor(opts: __ExceptionOptionType<EventDataStoreTerminationProtectedException, __BaseException>);
514
600
  }
515
601
 
516
602
  export interface DeleteTrailRequest {
@@ -529,18 +615,22 @@ export declare namespace DeleteTrailResponse {
529
615
  const filterSensitiveLog: (obj: DeleteTrailResponse) => any;
530
616
  }
531
617
 
532
- export interface InvalidHomeRegionException extends __SmithyException, $MetadataBearer {
533
- name: "InvalidHomeRegionException";
534
- $fault: "client";
618
+ export declare class InvalidHomeRegionException extends __BaseException {
619
+ readonly name: "InvalidHomeRegionException";
620
+ readonly $fault: "client";
535
621
 
536
622
  Message?: string;
623
+
624
+ constructor(opts: __ExceptionOptionType<InvalidHomeRegionException, __BaseException>);
537
625
  }
538
626
 
539
- export interface TrailNotFoundException extends __SmithyException, $MetadataBearer {
540
- name: "TrailNotFoundException";
541
- $fault: "client";
627
+ export declare class TrailNotFoundException extends __BaseException {
628
+ readonly name: "TrailNotFoundException";
629
+ readonly $fault: "client";
542
630
 
543
631
  Message?: string;
632
+
633
+ constructor(opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>);
544
634
  }
545
635
  export interface DescribeQueryRequest {
546
636
 
@@ -559,6 +649,8 @@ export interface QueryStatisticsForDescribeQuery {
559
649
 
560
650
  EventsScanned?: number;
561
651
 
652
+ BytesScanned?: number;
653
+
562
654
  ExecutionTimeInMillis?: number;
563
655
 
564
656
  CreationTime?: Date;
@@ -759,11 +851,13 @@ export declare namespace GetInsightSelectorsResponse {
759
851
  const filterSensitiveLog: (obj: GetInsightSelectorsResponse) => any;
760
852
  }
761
853
 
762
- export interface InsightNotEnabledException extends __SmithyException, $MetadataBearer {
763
- name: "InsightNotEnabledException";
764
- $fault: "client";
854
+ export declare class InsightNotEnabledException extends __BaseException {
855
+ readonly name: "InsightNotEnabledException";
856
+ readonly $fault: "client";
765
857
 
766
858
  Message?: string;
859
+
860
+ constructor(opts: __ExceptionOptionType<InsightNotEnabledException, __BaseException>);
767
861
  }
768
862
  export interface GetQueryResultsRequest {
769
863
 
@@ -785,6 +879,8 @@ export interface QueryStatistics {
785
879
  ResultsCount?: number;
786
880
 
787
881
  TotalResultsCount?: number;
882
+
883
+ BytesScanned?: number;
788
884
  }
789
885
  export declare namespace QueryStatistics {
790
886
 
@@ -809,18 +905,22 @@ export declare namespace GetQueryResultsResponse {
809
905
  const filterSensitiveLog: (obj: GetQueryResultsResponse) => any;
810
906
  }
811
907
 
812
- export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
813
- name: "InvalidMaxResultsException";
814
- $fault: "client";
908
+ export declare class InvalidMaxResultsException extends __BaseException {
909
+ readonly name: "InvalidMaxResultsException";
910
+ readonly $fault: "client";
815
911
 
816
912
  Message?: string;
913
+
914
+ constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
817
915
  }
818
916
 
819
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
820
- name: "InvalidNextTokenException";
821
- $fault: "client";
917
+ export declare class InvalidNextTokenException extends __BaseException {
918
+ readonly name: "InvalidNextTokenException";
919
+ readonly $fault: "client";
822
920
 
823
921
  Message?: string;
922
+
923
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
824
924
  }
825
925
  export interface GetTrailRequest {
826
926
 
@@ -936,18 +1036,22 @@ export declare namespace ListEventDataStoresResponse {
936
1036
  const filterSensitiveLog: (obj: ListEventDataStoresResponse) => any;
937
1037
  }
938
1038
 
939
- export interface InvalidTimeRangeException extends __SmithyException, $MetadataBearer {
940
- name: "InvalidTimeRangeException";
941
- $fault: "client";
1039
+ export declare class InvalidTimeRangeException extends __BaseException {
1040
+ readonly name: "InvalidTimeRangeException";
1041
+ readonly $fault: "client";
942
1042
 
943
1043
  Message?: string;
1044
+
1045
+ constructor(opts: __ExceptionOptionType<InvalidTimeRangeException, __BaseException>);
944
1046
  }
945
1047
 
946
- export interface InvalidTokenException extends __SmithyException, $MetadataBearer {
947
- name: "InvalidTokenException";
948
- $fault: "client";
1048
+ export declare class InvalidTokenException extends __BaseException {
1049
+ readonly name: "InvalidTokenException";
1050
+ readonly $fault: "client";
949
1051
 
950
1052
  Message?: string;
1053
+
1054
+ constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
951
1055
  }
952
1056
 
953
1057
  export interface ListPublicKeysRequest {
@@ -989,18 +1093,22 @@ export declare namespace ListPublicKeysResponse {
989
1093
  const filterSensitiveLog: (obj: ListPublicKeysResponse) => any;
990
1094
  }
991
1095
 
992
- export interface InvalidDateRangeException extends __SmithyException, $MetadataBearer {
993
- name: "InvalidDateRangeException";
994
- $fault: "client";
1096
+ export declare class InvalidDateRangeException extends __BaseException {
1097
+ readonly name: "InvalidDateRangeException";
1098
+ readonly $fault: "client";
995
1099
 
996
1100
  Message?: string;
1101
+
1102
+ constructor(opts: __ExceptionOptionType<InvalidDateRangeException, __BaseException>);
997
1103
  }
998
1104
 
999
- export interface InvalidQueryStatusException extends __SmithyException, $MetadataBearer {
1000
- name: "InvalidQueryStatusException";
1001
- $fault: "client";
1105
+ export declare class InvalidQueryStatusException extends __BaseException {
1106
+ readonly name: "InvalidQueryStatusException";
1107
+ readonly $fault: "client";
1002
1108
 
1003
1109
  Message?: string;
1110
+
1111
+ constructor(opts: __ExceptionOptionType<InvalidQueryStatusException, __BaseException>);
1004
1112
  }
1005
1113
  export interface ListQueriesRequest {
1006
1114
 
@@ -1108,18 +1216,22 @@ export declare namespace ListTrailsResponse {
1108
1216
  const filterSensitiveLog: (obj: ListTrailsResponse) => any;
1109
1217
  }
1110
1218
 
1111
- export interface InvalidEventCategoryException extends __SmithyException, $MetadataBearer {
1112
- name: "InvalidEventCategoryException";
1113
- $fault: "client";
1219
+ export declare class InvalidEventCategoryException extends __BaseException {
1220
+ readonly name: "InvalidEventCategoryException";
1221
+ readonly $fault: "client";
1114
1222
 
1115
1223
  Message?: string;
1224
+
1225
+ constructor(opts: __ExceptionOptionType<InvalidEventCategoryException, __BaseException>);
1116
1226
  }
1117
1227
 
1118
- export interface InvalidLookupAttributesException extends __SmithyException, $MetadataBearer {
1119
- name: "InvalidLookupAttributesException";
1120
- $fault: "client";
1228
+ export declare class InvalidLookupAttributesException extends __BaseException {
1229
+ readonly name: "InvalidLookupAttributesException";
1230
+ readonly $fault: "client";
1121
1231
 
1122
1232
  Message?: string;
1233
+
1234
+ constructor(opts: __ExceptionOptionType<InvalidLookupAttributesException, __BaseException>);
1123
1235
  }
1124
1236
  export declare enum EventCategory {
1125
1237
  Insight = "insight"
@@ -1212,11 +1324,13 @@ export declare namespace LookupEventsResponse {
1212
1324
  const filterSensitiveLog: (obj: LookupEventsResponse) => any;
1213
1325
  }
1214
1326
 
1215
- export interface InvalidEventSelectorsException extends __SmithyException, $MetadataBearer {
1216
- name: "InvalidEventSelectorsException";
1217
- $fault: "client";
1327
+ export declare class InvalidEventSelectorsException extends __BaseException {
1328
+ readonly name: "InvalidEventSelectorsException";
1329
+ readonly $fault: "client";
1218
1330
 
1219
1331
  Message?: string;
1332
+
1333
+ constructor(opts: __ExceptionOptionType<InvalidEventSelectorsException, __BaseException>);
1220
1334
  }
1221
1335
  export interface PutEventSelectorsRequest {
1222
1336
 
@@ -1243,11 +1357,13 @@ export declare namespace PutEventSelectorsResponse {
1243
1357
  const filterSensitiveLog: (obj: PutEventSelectorsResponse) => any;
1244
1358
  }
1245
1359
 
1246
- export interface InvalidInsightSelectorsException extends __SmithyException, $MetadataBearer {
1247
- name: "InvalidInsightSelectorsException";
1248
- $fault: "client";
1360
+ export declare class InvalidInsightSelectorsException extends __BaseException {
1361
+ readonly name: "InvalidInsightSelectorsException";
1362
+ readonly $fault: "client";
1249
1363
 
1250
1364
  Message?: string;
1365
+
1366
+ constructor(opts: __ExceptionOptionType<InvalidInsightSelectorsException, __BaseException>);
1251
1367
  }
1252
1368
  export interface PutInsightSelectorsRequest {
1253
1369
 
@@ -1288,11 +1404,13 @@ export declare namespace RemoveTagsResponse {
1288
1404
  const filterSensitiveLog: (obj: RemoveTagsResponse) => any;
1289
1405
  }
1290
1406
 
1291
- export interface InvalidEventDataStoreStatusException extends __SmithyException, $MetadataBearer {
1292
- name: "InvalidEventDataStoreStatusException";
1293
- $fault: "client";
1407
+ export declare class InvalidEventDataStoreStatusException extends __BaseException {
1408
+ readonly name: "InvalidEventDataStoreStatusException";
1409
+ readonly $fault: "client";
1294
1410
 
1295
1411
  Message?: string;
1412
+
1413
+ constructor(opts: __ExceptionOptionType<InvalidEventDataStoreStatusException, __BaseException>);
1296
1414
  }
1297
1415
  export interface RestoreEventDataStoreRequest {
1298
1416
 
@@ -1345,18 +1463,22 @@ export declare namespace StartLoggingResponse {
1345
1463
  const filterSensitiveLog: (obj: StartLoggingResponse) => any;
1346
1464
  }
1347
1465
 
1348
- export interface InvalidQueryStatementException extends __SmithyException, $MetadataBearer {
1349
- name: "InvalidQueryStatementException";
1350
- $fault: "client";
1466
+ export declare class InvalidQueryStatementException extends __BaseException {
1467
+ readonly name: "InvalidQueryStatementException";
1468
+ readonly $fault: "client";
1351
1469
 
1352
1470
  Message?: string;
1471
+
1472
+ constructor(opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>);
1353
1473
  }
1354
1474
 
1355
- export interface MaxConcurrentQueriesException extends __SmithyException, $MetadataBearer {
1356
- name: "MaxConcurrentQueriesException";
1357
- $fault: "client";
1475
+ export declare class MaxConcurrentQueriesException extends __BaseException {
1476
+ readonly name: "MaxConcurrentQueriesException";
1477
+ readonly $fault: "client";
1358
1478
 
1359
1479
  Message?: string;
1480
+
1481
+ constructor(opts: __ExceptionOptionType<MaxConcurrentQueriesException, __BaseException>);
1360
1482
  }
1361
1483
  export interface StartQueryRequest {
1362
1484