@aws-sdk/client-cloudtrail 3.934.0 → 3.936.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 (44) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +183 -127
  3. package/dist-es/CloudTrail.js +2 -0
  4. package/dist-es/commands/ListInsightsDataCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/index.js +2 -1
  7. package/dist-es/models/enums.js +118 -0
  8. package/dist-es/models/errors.js +1205 -0
  9. package/dist-es/models/models_0.js +1 -1311
  10. package/dist-es/pagination/ListInsightsDataPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +33 -8
  13. package/dist-types/CloudTrail.d.ts +7 -0
  14. package/dist-types/CloudTrailClient.d.ts +3 -2
  15. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +5 -0
  16. package/dist-types/commands/DeleteTrailCommand.d.ts +12 -0
  17. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +5 -2
  18. package/dist-types/commands/ListInsightsDataCommand.d.ts +126 -0
  19. package/dist-types/commands/ListInsightsMetricDataCommand.d.ts +35 -1
  20. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +26 -2
  21. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +11 -0
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/index.d.ts +3 -1
  24. package/dist-types/models/enums.d.ts +294 -0
  25. package/dist-types/models/errors.d.ts +1615 -0
  26. package/dist-types/models/models_0.d.ts +239 -2023
  27. package/dist-types/pagination/ListInsightsDataPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/schemas/schemas_0.d.ts +5 -0
  30. package/dist-types/ts3.4/CloudTrail.d.ts +17 -0
  31. package/dist-types/ts3.4/CloudTrailClient.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/ListInsightsDataCommand.d.ts +50 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  34. package/dist-types/ts3.4/index.d.ts +3 -1
  35. package/dist-types/ts3.4/models/enums.d.ts +153 -0
  36. package/dist-types/ts3.4/models/errors.d.ts +794 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +57 -944
  38. package/dist-types/ts3.4/pagination/ListInsightsDataPaginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  41. package/package.json +19 -19
  42. package/dist-es/models/index.js +0 -1
  43. package/dist-types/models/index.d.ts +0 -1
  44. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -1,48 +1,27 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CloudTrailServiceException as __BaseException } from "./CloudTrailServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare class AccountHasOngoingImportException extends __BaseException {
12
- readonly name: "AccountHasOngoingImportException";
13
- readonly $fault: "client";
14
- Message?: string | undefined;
15
- constructor(
16
- opts: __ExceptionOptionType<
17
- AccountHasOngoingImportException,
18
- __BaseException
19
- >
20
- );
21
- }
22
- export declare class AccountNotFoundException extends __BaseException {
23
- readonly name: "AccountNotFoundException";
24
- readonly $fault: "client";
25
- Message?: string | undefined;
26
- constructor(
27
- opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>
28
- );
29
- }
30
- export declare class AccountNotRegisteredException extends __BaseException {
31
- readonly name: "AccountNotRegisteredException";
32
- readonly $fault: "client";
33
- Message?: string | undefined;
34
- constructor(
35
- opts: __ExceptionOptionType<AccountNotRegisteredException, __BaseException>
36
- );
37
- }
38
- export declare class AccountRegisteredException extends __BaseException {
39
- readonly name: "AccountRegisteredException";
40
- readonly $fault: "client";
41
- Message?: string | undefined;
42
- constructor(
43
- opts: __ExceptionOptionType<AccountRegisteredException, __BaseException>
44
- );
45
- }
1
+ import {
2
+ BillingMode,
3
+ DashboardStatus,
4
+ DashboardType,
5
+ DeliveryStatus,
6
+ DestinationType,
7
+ EventCategory,
8
+ EventDataStoreStatus,
9
+ FederationStatus,
10
+ ImportFailureStatus,
11
+ ImportStatus,
12
+ InsightsMetricDataType,
13
+ InsightType,
14
+ ListInsightsDataDimensionKey,
15
+ ListInsightsDataType,
16
+ LookupAttributeKey,
17
+ MaxEventSize,
18
+ QueryStatus,
19
+ ReadWriteType,
20
+ RefreshScheduleFrequencyUnit,
21
+ RefreshScheduleStatus,
22
+ SourceEventCategory,
23
+ Type,
24
+ } from "./enums";
46
25
  export interface Tag {
47
26
  Key: string | undefined;
48
27
  Value?: string | undefined;
@@ -52,150 +31,6 @@ export interface AddTagsRequest {
52
31
  TagsList: Tag[] | undefined;
53
32
  }
54
33
  export interface AddTagsResponse {}
55
- export declare class ChannelARNInvalidException extends __BaseException {
56
- readonly name: "ChannelARNInvalidException";
57
- readonly $fault: "client";
58
- Message?: string | undefined;
59
- constructor(
60
- opts: __ExceptionOptionType<ChannelARNInvalidException, __BaseException>
61
- );
62
- }
63
- export declare class ChannelNotFoundException extends __BaseException {
64
- readonly name: "ChannelNotFoundException";
65
- readonly $fault: "client";
66
- Message?: string | undefined;
67
- constructor(
68
- opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>
69
- );
70
- }
71
- export declare class CloudTrailARNInvalidException extends __BaseException {
72
- readonly name: "CloudTrailARNInvalidException";
73
- readonly $fault: "client";
74
- Message?: string | undefined;
75
- constructor(
76
- opts: __ExceptionOptionType<CloudTrailARNInvalidException, __BaseException>
77
- );
78
- }
79
- export declare class ConflictException extends __BaseException {
80
- readonly name: "ConflictException";
81
- readonly $fault: "client";
82
- Message?: string | undefined;
83
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
84
- }
85
- export declare class EventDataStoreARNInvalidException extends __BaseException {
86
- readonly name: "EventDataStoreARNInvalidException";
87
- readonly $fault: "client";
88
- Message?: string | undefined;
89
- constructor(
90
- opts: __ExceptionOptionType<
91
- EventDataStoreARNInvalidException,
92
- __BaseException
93
- >
94
- );
95
- }
96
- export declare class EventDataStoreNotFoundException extends __BaseException {
97
- readonly name: "EventDataStoreNotFoundException";
98
- readonly $fault: "client";
99
- Message?: string | undefined;
100
- constructor(
101
- opts: __ExceptionOptionType<
102
- EventDataStoreNotFoundException,
103
- __BaseException
104
- >
105
- );
106
- }
107
- export declare class InactiveEventDataStoreException extends __BaseException {
108
- readonly name: "InactiveEventDataStoreException";
109
- readonly $fault: "client";
110
- Message?: string | undefined;
111
- constructor(
112
- opts: __ExceptionOptionType<
113
- InactiveEventDataStoreException,
114
- __BaseException
115
- >
116
- );
117
- }
118
- export declare class InvalidTagParameterException extends __BaseException {
119
- readonly name: "InvalidTagParameterException";
120
- readonly $fault: "client";
121
- Message?: string | undefined;
122
- constructor(
123
- opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>
124
- );
125
- }
126
- export declare class InvalidTrailNameException extends __BaseException {
127
- readonly name: "InvalidTrailNameException";
128
- readonly $fault: "client";
129
- Message?: string | undefined;
130
- constructor(
131
- opts: __ExceptionOptionType<InvalidTrailNameException, __BaseException>
132
- );
133
- }
134
- export declare class NoManagementAccountSLRExistsException extends __BaseException {
135
- readonly name: "NoManagementAccountSLRExistsException";
136
- readonly $fault: "client";
137
- Message?: string | undefined;
138
- constructor(
139
- opts: __ExceptionOptionType<
140
- NoManagementAccountSLRExistsException,
141
- __BaseException
142
- >
143
- );
144
- }
145
- export declare class NotOrganizationMasterAccountException extends __BaseException {
146
- readonly name: "NotOrganizationMasterAccountException";
147
- readonly $fault: "client";
148
- Message?: string | undefined;
149
- constructor(
150
- opts: __ExceptionOptionType<
151
- NotOrganizationMasterAccountException,
152
- __BaseException
153
- >
154
- );
155
- }
156
- export declare class OperationNotPermittedException extends __BaseException {
157
- readonly name: "OperationNotPermittedException";
158
- readonly $fault: "client";
159
- Message?: string | undefined;
160
- constructor(
161
- opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>
162
- );
163
- }
164
- export declare class ResourceNotFoundException extends __BaseException {
165
- readonly name: "ResourceNotFoundException";
166
- readonly $fault: "client";
167
- Message?: string | undefined;
168
- constructor(
169
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
170
- );
171
- }
172
- export declare class ResourceTypeNotSupportedException extends __BaseException {
173
- readonly name: "ResourceTypeNotSupportedException";
174
- readonly $fault: "client";
175
- Message?: string | undefined;
176
- constructor(
177
- opts: __ExceptionOptionType<
178
- ResourceTypeNotSupportedException,
179
- __BaseException
180
- >
181
- );
182
- }
183
- export declare class TagsLimitExceededException extends __BaseException {
184
- readonly name: "TagsLimitExceededException";
185
- readonly $fault: "client";
186
- Message?: string | undefined;
187
- constructor(
188
- opts: __ExceptionOptionType<TagsLimitExceededException, __BaseException>
189
- );
190
- }
191
- export declare class UnsupportedOperationException extends __BaseException {
192
- readonly name: "UnsupportedOperationException";
193
- readonly $fault: "client";
194
- Message?: string | undefined;
195
- constructor(
196
- opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
197
- );
198
- }
199
34
  export interface AdvancedFieldSelector {
200
35
  Field: string | undefined;
201
36
  Equals?: string[] | undefined;
@@ -209,102 +44,20 @@ export interface AdvancedEventSelector {
209
44
  Name?: string | undefined;
210
45
  FieldSelectors: AdvancedFieldSelector[] | undefined;
211
46
  }
212
- export declare const BillingMode: {
213
- readonly EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING";
214
- readonly FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING";
215
- };
216
- export type BillingMode = (typeof BillingMode)[keyof typeof BillingMode];
217
47
  export interface CancelQueryRequest {
218
48
  EventDataStore?: string | undefined;
219
49
  QueryId: string | undefined;
220
50
  EventDataStoreOwnerAccountId?: string | undefined;
221
51
  }
222
- export declare const QueryStatus: {
223
- readonly CANCELLED: "CANCELLED";
224
- readonly FAILED: "FAILED";
225
- readonly FINISHED: "FINISHED";
226
- readonly QUEUED: "QUEUED";
227
- readonly RUNNING: "RUNNING";
228
- readonly TIMED_OUT: "TIMED_OUT";
229
- };
230
- export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
231
52
  export interface CancelQueryResponse {
232
53
  QueryId: string | undefined;
233
54
  QueryStatus: QueryStatus | undefined;
234
55
  EventDataStoreOwnerAccountId?: string | undefined;
235
56
  }
236
- export declare class InactiveQueryException extends __BaseException {
237
- readonly name: "InactiveQueryException";
238
- readonly $fault: "client";
239
- Message?: string | undefined;
240
- constructor(
241
- opts: __ExceptionOptionType<InactiveQueryException, __BaseException>
242
- );
243
- }
244
- export declare class InvalidParameterException extends __BaseException {
245
- readonly name: "InvalidParameterException";
246
- readonly $fault: "client";
247
- Message?: string | undefined;
248
- constructor(
249
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
250
- );
251
- }
252
- export declare class QueryIdNotFoundException extends __BaseException {
253
- readonly name: "QueryIdNotFoundException";
254
- readonly $fault: "client";
255
- Message?: string | undefined;
256
- constructor(
257
- opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>
258
- );
259
- }
260
- export declare class CannotDelegateManagementAccountException extends __BaseException {
261
- readonly name: "CannotDelegateManagementAccountException";
262
- readonly $fault: "client";
263
- Message?: string | undefined;
264
- constructor(
265
- opts: __ExceptionOptionType<
266
- CannotDelegateManagementAccountException,
267
- __BaseException
268
- >
269
- );
270
- }
271
57
  export interface Channel {
272
58
  ChannelArn?: string | undefined;
273
59
  Name?: string | undefined;
274
60
  }
275
- export declare class ChannelAlreadyExistsException extends __BaseException {
276
- readonly name: "ChannelAlreadyExistsException";
277
- readonly $fault: "client";
278
- Message?: string | undefined;
279
- constructor(
280
- opts: __ExceptionOptionType<ChannelAlreadyExistsException, __BaseException>
281
- );
282
- }
283
- export declare class ChannelExistsForEDSException extends __BaseException {
284
- readonly name: "ChannelExistsForEDSException";
285
- readonly $fault: "client";
286
- Message?: string | undefined;
287
- constructor(
288
- opts: __ExceptionOptionType<ChannelExistsForEDSException, __BaseException>
289
- );
290
- }
291
- export declare class ChannelMaxLimitExceededException extends __BaseException {
292
- readonly name: "ChannelMaxLimitExceededException";
293
- readonly $fault: "client";
294
- Message?: string | undefined;
295
- constructor(
296
- opts: __ExceptionOptionType<
297
- ChannelMaxLimitExceededException,
298
- __BaseException
299
- >
300
- );
301
- }
302
- export declare const DestinationType: {
303
- readonly AWS_SERVICE: "AWS_SERVICE";
304
- readonly EVENT_DATA_STORE: "EVENT_DATA_STORE";
305
- };
306
- export type DestinationType =
307
- (typeof DestinationType)[keyof typeof DestinationType];
308
61
  export interface Destination {
309
62
  Type: DestinationType | undefined;
310
63
  Location: string | undefined;
@@ -322,41 +75,10 @@ export interface CreateChannelResponse {
322
75
  Destinations?: Destination[] | undefined;
323
76
  Tags?: Tag[] | undefined;
324
77
  }
325
- export declare class InvalidEventDataStoreCategoryException extends __BaseException {
326
- readonly name: "InvalidEventDataStoreCategoryException";
327
- readonly $fault: "client";
328
- Message?: string | undefined;
329
- constructor(
330
- opts: __ExceptionOptionType<
331
- InvalidEventDataStoreCategoryException,
332
- __BaseException
333
- >
334
- );
335
- }
336
- export declare class InvalidSourceException extends __BaseException {
337
- readonly name: "InvalidSourceException";
338
- readonly $fault: "client";
339
- Message?: string | undefined;
340
- constructor(
341
- opts: __ExceptionOptionType<InvalidSourceException, __BaseException>
342
- );
343
- }
344
- export declare const RefreshScheduleFrequencyUnit: {
345
- readonly DAYS: "DAYS";
346
- readonly HOURS: "HOURS";
347
- };
348
- export type RefreshScheduleFrequencyUnit =
349
- (typeof RefreshScheduleFrequencyUnit)[keyof typeof RefreshScheduleFrequencyUnit];
350
78
  export interface RefreshScheduleFrequency {
351
79
  Unit?: RefreshScheduleFrequencyUnit | undefined;
352
80
  Value?: number | undefined;
353
81
  }
354
- export declare const RefreshScheduleStatus: {
355
- readonly DISABLED: "DISABLED";
356
- readonly ENABLED: "ENABLED";
357
- };
358
- export type RefreshScheduleStatus =
359
- (typeof RefreshScheduleStatus)[keyof typeof RefreshScheduleStatus];
360
82
  export interface RefreshSchedule {
361
83
  Frequency?: RefreshScheduleFrequency | undefined;
362
84
  Status?: RefreshScheduleStatus | undefined;
@@ -374,11 +96,6 @@ export interface CreateDashboardRequest {
374
96
  TerminationProtectionEnabled?: boolean | undefined;
375
97
  Widgets?: RequestWidget[] | undefined;
376
98
  }
377
- export declare const DashboardType: {
378
- readonly CUSTOM: "CUSTOM";
379
- readonly MANAGED: "MANAGED";
380
- };
381
- export type DashboardType = (typeof DashboardType)[keyof typeof DashboardType];
382
99
  export interface Widget {
383
100
  QueryAlias?: string | undefined;
384
101
  QueryStatement?: string | undefined;
@@ -394,44 +111,6 @@ export interface CreateDashboardResponse {
394
111
  RefreshSchedule?: RefreshSchedule | undefined;
395
112
  TerminationProtectionEnabled?: boolean | undefined;
396
113
  }
397
- export declare class InsufficientEncryptionPolicyException extends __BaseException {
398
- readonly name: "InsufficientEncryptionPolicyException";
399
- readonly $fault: "client";
400
- Message?: string | undefined;
401
- constructor(
402
- opts: __ExceptionOptionType<
403
- InsufficientEncryptionPolicyException,
404
- __BaseException
405
- >
406
- );
407
- }
408
- export declare class InvalidQueryStatementException extends __BaseException {
409
- readonly name: "InvalidQueryStatementException";
410
- readonly $fault: "client";
411
- Message?: string | undefined;
412
- constructor(
413
- opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>
414
- );
415
- }
416
- export declare class ServiceQuotaExceededException extends __BaseException {
417
- readonly name: "ServiceQuotaExceededException";
418
- readonly $fault: "client";
419
- Message?: string | undefined;
420
- constructor(
421
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
422
- );
423
- }
424
- export declare class CloudTrailAccessNotEnabledException extends __BaseException {
425
- readonly name: "CloudTrailAccessNotEnabledException";
426
- readonly $fault: "client";
427
- Message?: string | undefined;
428
- constructor(
429
- opts: __ExceptionOptionType<
430
- CloudTrailAccessNotEnabledException,
431
- __BaseException
432
- >
433
- );
434
- }
435
114
  export interface CreateEventDataStoreRequest {
436
115
  Name: string | undefined;
437
116
  AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
@@ -444,16 +123,6 @@ export interface CreateEventDataStoreRequest {
444
123
  StartIngestion?: boolean | undefined;
445
124
  BillingMode?: BillingMode | undefined;
446
125
  }
447
- export declare const EventDataStoreStatus: {
448
- readonly CREATED: "CREATED";
449
- readonly ENABLED: "ENABLED";
450
- readonly PENDING_DELETION: "PENDING_DELETION";
451
- readonly STARTING_INGESTION: "STARTING_INGESTION";
452
- readonly STOPPED_INGESTION: "STOPPED_INGESTION";
453
- readonly STOPPING_INGESTION: "STOPPING_INGESTION";
454
- };
455
- export type EventDataStoreStatus =
456
- (typeof EventDataStoreStatus)[keyof typeof EventDataStoreStatus];
457
126
  export interface CreateEventDataStoreResponse {
458
127
  EventDataStoreArn?: string | undefined;
459
128
  Name?: string | undefined;
@@ -469,110 +138,6 @@ export interface CreateEventDataStoreResponse {
469
138
  KmsKeyId?: string | undefined;
470
139
  BillingMode?: BillingMode | undefined;
471
140
  }
472
- export declare class EventDataStoreAlreadyExistsException extends __BaseException {
473
- readonly name: "EventDataStoreAlreadyExistsException";
474
- readonly $fault: "client";
475
- Message?: string | undefined;
476
- constructor(
477
- opts: __ExceptionOptionType<
478
- EventDataStoreAlreadyExistsException,
479
- __BaseException
480
- >
481
- );
482
- }
483
- export declare class EventDataStoreMaxLimitExceededException extends __BaseException {
484
- readonly name: "EventDataStoreMaxLimitExceededException";
485
- readonly $fault: "client";
486
- Message?: string | undefined;
487
- constructor(
488
- opts: __ExceptionOptionType<
489
- EventDataStoreMaxLimitExceededException,
490
- __BaseException
491
- >
492
- );
493
- }
494
- export declare class InsufficientDependencyServiceAccessPermissionException extends __BaseException {
495
- readonly name: "InsufficientDependencyServiceAccessPermissionException";
496
- readonly $fault: "client";
497
- Message?: string | undefined;
498
- constructor(
499
- opts: __ExceptionOptionType<
500
- InsufficientDependencyServiceAccessPermissionException,
501
- __BaseException
502
- >
503
- );
504
- }
505
- export declare class InvalidEventSelectorsException extends __BaseException {
506
- readonly name: "InvalidEventSelectorsException";
507
- readonly $fault: "client";
508
- Message?: string | undefined;
509
- constructor(
510
- opts: __ExceptionOptionType<InvalidEventSelectorsException, __BaseException>
511
- );
512
- }
513
- export declare class InvalidKmsKeyIdException extends __BaseException {
514
- readonly name: "InvalidKmsKeyIdException";
515
- readonly $fault: "client";
516
- Message?: string | undefined;
517
- constructor(
518
- opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>
519
- );
520
- }
521
- export declare class KmsException extends __BaseException {
522
- readonly name: "KmsException";
523
- readonly $fault: "client";
524
- Message?: string | undefined;
525
- constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
526
- }
527
- export declare class KmsKeyNotFoundException extends __BaseException {
528
- readonly name: "KmsKeyNotFoundException";
529
- readonly $fault: "client";
530
- Message?: string | undefined;
531
- constructor(
532
- opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>
533
- );
534
- }
535
- export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
536
- readonly name: "OrganizationNotInAllFeaturesModeException";
537
- readonly $fault: "client";
538
- Message?: string | undefined;
539
- constructor(
540
- opts: __ExceptionOptionType<
541
- OrganizationNotInAllFeaturesModeException,
542
- __BaseException
543
- >
544
- );
545
- }
546
- export declare class OrganizationsNotInUseException extends __BaseException {
547
- readonly name: "OrganizationsNotInUseException";
548
- readonly $fault: "client";
549
- Message?: string | undefined;
550
- constructor(
551
- opts: __ExceptionOptionType<OrganizationsNotInUseException, __BaseException>
552
- );
553
- }
554
- export declare class CloudTrailInvalidClientTokenIdException extends __BaseException {
555
- readonly name: "CloudTrailInvalidClientTokenIdException";
556
- readonly $fault: "client";
557
- Message?: string | undefined;
558
- constructor(
559
- opts: __ExceptionOptionType<
560
- CloudTrailInvalidClientTokenIdException,
561
- __BaseException
562
- >
563
- );
564
- }
565
- export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
566
- readonly name: "CloudWatchLogsDeliveryUnavailableException";
567
- readonly $fault: "client";
568
- Message?: string | undefined;
569
- constructor(
570
- opts: __ExceptionOptionType<
571
- CloudWatchLogsDeliveryUnavailableException,
572
- __BaseException
573
- >
574
- );
575
- }
576
141
  export interface CreateTrailRequest {
577
142
  Name: string | undefined;
578
143
  S3BucketName: string | undefined;
@@ -602,136 +167,6 @@ export interface CreateTrailResponse {
602
167
  KmsKeyId?: string | undefined;
603
168
  IsOrganizationTrail?: boolean | undefined;
604
169
  }
605
- export declare class InsufficientS3BucketPolicyException extends __BaseException {
606
- readonly name: "InsufficientS3BucketPolicyException";
607
- readonly $fault: "client";
608
- Message?: string | undefined;
609
- constructor(
610
- opts: __ExceptionOptionType<
611
- InsufficientS3BucketPolicyException,
612
- __BaseException
613
- >
614
- );
615
- }
616
- export declare class InsufficientSnsTopicPolicyException extends __BaseException {
617
- readonly name: "InsufficientSnsTopicPolicyException";
618
- readonly $fault: "client";
619
- Message?: string | undefined;
620
- constructor(
621
- opts: __ExceptionOptionType<
622
- InsufficientSnsTopicPolicyException,
623
- __BaseException
624
- >
625
- );
626
- }
627
- export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseException {
628
- readonly name: "InvalidCloudWatchLogsLogGroupArnException";
629
- readonly $fault: "client";
630
- Message?: string | undefined;
631
- constructor(
632
- opts: __ExceptionOptionType<
633
- InvalidCloudWatchLogsLogGroupArnException,
634
- __BaseException
635
- >
636
- );
637
- }
638
- export declare class InvalidCloudWatchLogsRoleArnException extends __BaseException {
639
- readonly name: "InvalidCloudWatchLogsRoleArnException";
640
- readonly $fault: "client";
641
- Message?: string | undefined;
642
- constructor(
643
- opts: __ExceptionOptionType<
644
- InvalidCloudWatchLogsRoleArnException,
645
- __BaseException
646
- >
647
- );
648
- }
649
- export declare class InvalidParameterCombinationException extends __BaseException {
650
- readonly name: "InvalidParameterCombinationException";
651
- readonly $fault: "client";
652
- Message?: string | undefined;
653
- constructor(
654
- opts: __ExceptionOptionType<
655
- InvalidParameterCombinationException,
656
- __BaseException
657
- >
658
- );
659
- }
660
- export declare class InvalidS3BucketNameException extends __BaseException {
661
- readonly name: "InvalidS3BucketNameException";
662
- readonly $fault: "client";
663
- Message?: string | undefined;
664
- constructor(
665
- opts: __ExceptionOptionType<InvalidS3BucketNameException, __BaseException>
666
- );
667
- }
668
- export declare class InvalidS3PrefixException extends __BaseException {
669
- readonly name: "InvalidS3PrefixException";
670
- readonly $fault: "client";
671
- Message?: string | undefined;
672
- constructor(
673
- opts: __ExceptionOptionType<InvalidS3PrefixException, __BaseException>
674
- );
675
- }
676
- export declare class InvalidSnsTopicNameException extends __BaseException {
677
- readonly name: "InvalidSnsTopicNameException";
678
- readonly $fault: "client";
679
- Message?: string | undefined;
680
- constructor(
681
- opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>
682
- );
683
- }
684
- export declare class KmsKeyDisabledException extends __BaseException {
685
- readonly name: "KmsKeyDisabledException";
686
- readonly $fault: "client";
687
- Message?: string | undefined;
688
- constructor(
689
- opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>
690
- );
691
- }
692
- export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
693
- readonly name: "MaximumNumberOfTrailsExceededException";
694
- readonly $fault: "client";
695
- Message?: string | undefined;
696
- constructor(
697
- opts: __ExceptionOptionType<
698
- MaximumNumberOfTrailsExceededException,
699
- __BaseException
700
- >
701
- );
702
- }
703
- export declare class S3BucketDoesNotExistException extends __BaseException {
704
- readonly name: "S3BucketDoesNotExistException";
705
- readonly $fault: "client";
706
- Message?: string | undefined;
707
- constructor(
708
- opts: __ExceptionOptionType<S3BucketDoesNotExistException, __BaseException>
709
- );
710
- }
711
- export declare class ThrottlingException extends __BaseException {
712
- readonly name: "ThrottlingException";
713
- readonly $fault: "client";
714
- Message?: string | undefined;
715
- constructor(
716
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
717
- );
718
- }
719
- export declare class TrailAlreadyExistsException extends __BaseException {
720
- readonly name: "TrailAlreadyExistsException";
721
- readonly $fault: "client";
722
- Message?: string | undefined;
723
- constructor(
724
- opts: __ExceptionOptionType<TrailAlreadyExistsException, __BaseException>
725
- );
726
- }
727
- export declare class TrailNotProvidedException extends __BaseException {
728
- readonly name: "TrailNotProvidedException";
729
- readonly $fault: "client";
730
- Message?: string | undefined;
731
- constructor(
732
- opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>
733
- );
734
- }
735
170
  export interface DeleteChannelRequest {
736
171
  Channel: string | undefined;
737
172
  }
@@ -744,97 +179,18 @@ export interface DeleteEventDataStoreRequest {
744
179
  EventDataStore: string | undefined;
745
180
  }
746
181
  export interface DeleteEventDataStoreResponse {}
747
- export declare class EventDataStoreFederationEnabledException extends __BaseException {
748
- readonly name: "EventDataStoreFederationEnabledException";
749
- readonly $fault: "client";
750
- Message?: string | undefined;
751
- constructor(
752
- opts: __ExceptionOptionType<
753
- EventDataStoreFederationEnabledException,
754
- __BaseException
755
- >
756
- );
757
- }
758
- export declare class EventDataStoreHasOngoingImportException extends __BaseException {
759
- readonly name: "EventDataStoreHasOngoingImportException";
760
- readonly $fault: "client";
761
- Message?: string | undefined;
762
- constructor(
763
- opts: __ExceptionOptionType<
764
- EventDataStoreHasOngoingImportException,
765
- __BaseException
766
- >
767
- );
768
- }
769
- export declare class EventDataStoreTerminationProtectedException extends __BaseException {
770
- readonly name: "EventDataStoreTerminationProtectedException";
771
- readonly $fault: "client";
772
- Message?: string | undefined;
773
- constructor(
774
- opts: __ExceptionOptionType<
775
- EventDataStoreTerminationProtectedException,
776
- __BaseException
777
- >
778
- );
779
- }
780
182
  export interface DeleteResourcePolicyRequest {
781
183
  ResourceArn: string | undefined;
782
184
  }
783
185
  export interface DeleteResourcePolicyResponse {}
784
- export declare class ResourceARNNotValidException extends __BaseException {
785
- readonly name: "ResourceARNNotValidException";
786
- readonly $fault: "client";
787
- Message?: string | undefined;
788
- constructor(
789
- opts: __ExceptionOptionType<ResourceARNNotValidException, __BaseException>
790
- );
791
- }
792
- export declare class ResourcePolicyNotFoundException extends __BaseException {
793
- readonly name: "ResourcePolicyNotFoundException";
794
- readonly $fault: "client";
795
- Message?: string | undefined;
796
- constructor(
797
- opts: __ExceptionOptionType<
798
- ResourcePolicyNotFoundException,
799
- __BaseException
800
- >
801
- );
802
- }
803
186
  export interface DeleteTrailRequest {
804
187
  Name: string | undefined;
805
188
  }
806
189
  export interface DeleteTrailResponse {}
807
- export declare class InvalidHomeRegionException extends __BaseException {
808
- readonly name: "InvalidHomeRegionException";
809
- readonly $fault: "client";
810
- Message?: string | undefined;
811
- constructor(
812
- opts: __ExceptionOptionType<InvalidHomeRegionException, __BaseException>
813
- );
814
- }
815
- export declare class TrailNotFoundException extends __BaseException {
816
- readonly name: "TrailNotFoundException";
817
- readonly $fault: "client";
818
- Message?: string | undefined;
819
- constructor(
820
- opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>
821
- );
822
- }
823
190
  export interface DeregisterOrganizationDelegatedAdminRequest {
824
191
  DelegatedAdminAccountId: string | undefined;
825
192
  }
826
193
  export interface DeregisterOrganizationDelegatedAdminResponse {}
827
- export declare class NotOrganizationManagementAccountException extends __BaseException {
828
- readonly name: "NotOrganizationManagementAccountException";
829
- readonly $fault: "client";
830
- Message?: string | undefined;
831
- constructor(
832
- opts: __ExceptionOptionType<
833
- NotOrganizationManagementAccountException,
834
- __BaseException
835
- >
836
- );
837
- }
838
194
  export interface DescribeQueryRequest {
839
195
  EventDataStore?: string | undefined;
840
196
  QueryId?: string | undefined;
@@ -842,19 +198,6 @@ export interface DescribeQueryRequest {
842
198
  RefreshId?: string | undefined;
843
199
  EventDataStoreOwnerAccountId?: string | undefined;
844
200
  }
845
- export declare const DeliveryStatus: {
846
- readonly ACCESS_DENIED: "ACCESS_DENIED";
847
- readonly ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE";
848
- readonly CANCELLED: "CANCELLED";
849
- readonly FAILED: "FAILED";
850
- readonly FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE";
851
- readonly PENDING: "PENDING";
852
- readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
853
- readonly SUCCESS: "SUCCESS";
854
- readonly UNKNOWN: "UNKNOWN";
855
- };
856
- export type DeliveryStatus =
857
- (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
858
201
  export interface QueryStatisticsForDescribeQuery {
859
202
  EventsMatched?: number | undefined;
860
203
  EventsScanned?: number | undefined;
@@ -898,28 +241,9 @@ export interface Trail {
898
241
  export interface DescribeTrailsResponse {
899
242
  trailList?: Trail[] | undefined;
900
243
  }
901
- export declare class ConcurrentModificationException extends __BaseException {
902
- readonly name: "ConcurrentModificationException";
903
- readonly $fault: "client";
904
- Message?: string | undefined;
905
- constructor(
906
- opts: __ExceptionOptionType<
907
- ConcurrentModificationException,
908
- __BaseException
909
- >
910
- );
911
- }
912
244
  export interface DisableFederationRequest {
913
245
  EventDataStore: string | undefined;
914
246
  }
915
- export declare const FederationStatus: {
916
- readonly DISABLED: "DISABLED";
917
- readonly DISABLING: "DISABLING";
918
- readonly ENABLED: "ENABLED";
919
- readonly ENABLING: "ENABLING";
920
- };
921
- export type FederationStatus =
922
- (typeof FederationStatus)[keyof typeof FederationStatus];
923
247
  export interface DisableFederationResponse {
924
248
  EventDataStoreArn?: string | undefined;
925
249
  FederationStatus?: FederationStatus | undefined;
@@ -942,14 +266,6 @@ export interface GenerateQueryResponse {
942
266
  QueryAlias?: string | undefined;
943
267
  EventDataStoreOwnerAccountId?: string | undefined;
944
268
  }
945
- export declare class GenerateResponseException extends __BaseException {
946
- readonly name: "GenerateResponseException";
947
- readonly $fault: "client";
948
- Message?: string | undefined;
949
- constructor(
950
- opts: __ExceptionOptionType<GenerateResponseException, __BaseException>
951
- );
952
- }
953
269
  export interface GetChannelRequest {
954
270
  Channel: string | undefined;
955
271
  }
@@ -975,15 +291,6 @@ export interface GetChannelResponse {
975
291
  export interface GetDashboardRequest {
976
292
  DashboardId: string | undefined;
977
293
  }
978
- export declare const DashboardStatus: {
979
- readonly CREATED: "CREATED";
980
- readonly CREATING: "CREATING";
981
- readonly DELETING: "DELETING";
982
- readonly UPDATED: "UPDATED";
983
- readonly UPDATING: "UPDATING";
984
- };
985
- export type DashboardStatus =
986
- (typeof DashboardStatus)[keyof typeof DashboardStatus];
987
294
  export interface GetDashboardResponse {
988
295
  DashboardArn?: string | undefined;
989
296
  Type?: DashboardType | undefined;
@@ -999,36 +306,15 @@ export interface GetDashboardResponse {
999
306
  export interface GetEventConfigurationRequest {
1000
307
  EventDataStore?: string | undefined;
1001
308
  }
1002
- export declare const Type: {
1003
- readonly RequestContext: "RequestContext";
1004
- readonly TagContext: "TagContext";
1005
- };
1006
- export type Type = (typeof Type)[keyof typeof Type];
1007
309
  export interface ContextKeySelector {
1008
310
  Type: Type | undefined;
1009
311
  Equals: string[] | undefined;
1010
312
  }
1011
- export declare const MaxEventSize: {
1012
- readonly Large: "Large";
1013
- readonly Standard: "Standard";
1014
- };
1015
- export type MaxEventSize = (typeof MaxEventSize)[keyof typeof MaxEventSize];
1016
313
  export interface GetEventConfigurationResponse {
1017
314
  EventDataStoreArn?: string | undefined;
1018
315
  MaxEventSize?: MaxEventSize | undefined;
1019
316
  ContextKeySelectors?: ContextKeySelector[] | undefined;
1020
317
  }
1021
- export declare class InvalidEventDataStoreStatusException extends __BaseException {
1022
- readonly name: "InvalidEventDataStoreStatusException";
1023
- readonly $fault: "client";
1024
- Message?: string | undefined;
1025
- constructor(
1026
- opts: __ExceptionOptionType<
1027
- InvalidEventDataStoreStatusException,
1028
- __BaseException
1029
- >
1030
- );
1031
- }
1032
318
  export interface GetEventDataStoreRequest {
1033
319
  EventDataStore: string | undefined;
1034
320
  }
@@ -1060,12 +346,6 @@ export interface DataResource {
1060
346
  Type?: string | undefined;
1061
347
  Values?: string[] | undefined;
1062
348
  }
1063
- export declare const ReadWriteType: {
1064
- readonly All: "All";
1065
- readonly ReadOnly: "ReadOnly";
1066
- readonly WriteOnly: "WriteOnly";
1067
- };
1068
- export type ReadWriteType = (typeof ReadWriteType)[keyof typeof ReadWriteType];
1069
349
  export interface EventSelector {
1070
350
  ReadWriteType?: ReadWriteType | undefined;
1071
351
  IncludeManagementEvents?: boolean | undefined;
@@ -1095,14 +375,6 @@ export interface ImportStatistics {
1095
375
  EventsCompleted?: number | undefined;
1096
376
  FailedEntries?: number | undefined;
1097
377
  }
1098
- export declare const ImportStatus: {
1099
- readonly COMPLETED: "COMPLETED";
1100
- readonly FAILED: "FAILED";
1101
- readonly INITIALIZING: "INITIALIZING";
1102
- readonly IN_PROGRESS: "IN_PROGRESS";
1103
- readonly STOPPED: "STOPPED";
1104
- };
1105
- export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
1106
378
  export interface GetImportResponse {
1107
379
  ImportId?: string | undefined;
1108
380
  Destinations?: string[] | undefined;
@@ -1114,25 +386,13 @@ export interface GetImportResponse {
1114
386
  UpdatedTimestamp?: Date | undefined;
1115
387
  ImportStatistics?: ImportStatistics | undefined;
1116
388
  }
1117
- export declare class ImportNotFoundException extends __BaseException {
1118
- readonly name: "ImportNotFoundException";
1119
- readonly $fault: "client";
1120
- Message?: string | undefined;
1121
- constructor(
1122
- opts: __ExceptionOptionType<ImportNotFoundException, __BaseException>
1123
- );
1124
- }
1125
389
  export interface GetInsightSelectorsRequest {
1126
390
  TrailName?: string | undefined;
1127
391
  EventDataStore?: string | undefined;
1128
392
  }
1129
- export declare const InsightType: {
1130
- readonly ApiCallRateInsight: "ApiCallRateInsight";
1131
- readonly ApiErrorRateInsight: "ApiErrorRateInsight";
1132
- };
1133
- export type InsightType = (typeof InsightType)[keyof typeof InsightType];
1134
393
  export interface InsightSelector {
1135
394
  InsightType?: InsightType | undefined;
395
+ EventCategories?: SourceEventCategory[] | undefined;
1136
396
  }
1137
397
  export interface GetInsightSelectorsResponse {
1138
398
  TrailARN?: string | undefined;
@@ -1140,14 +400,6 @@ export interface GetInsightSelectorsResponse {
1140
400
  EventDataStoreArn?: string | undefined;
1141
401
  InsightsDestination?: string | undefined;
1142
402
  }
1143
- export declare class InsightNotEnabledException extends __BaseException {
1144
- readonly name: "InsightNotEnabledException";
1145
- readonly $fault: "client";
1146
- Message?: string | undefined;
1147
- constructor(
1148
- opts: __ExceptionOptionType<InsightNotEnabledException, __BaseException>
1149
- );
1150
- }
1151
403
  export interface GetQueryResultsRequest {
1152
404
  EventDataStore?: string | undefined;
1153
405
  QueryId: string | undefined;
@@ -1167,22 +419,6 @@ export interface GetQueryResultsResponse {
1167
419
  NextToken?: string | undefined;
1168
420
  ErrorMessage?: string | undefined;
1169
421
  }
1170
- export declare class InvalidMaxResultsException extends __BaseException {
1171
- readonly name: "InvalidMaxResultsException";
1172
- readonly $fault: "client";
1173
- Message?: string | undefined;
1174
- constructor(
1175
- opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>
1176
- );
1177
- }
1178
- export declare class InvalidNextTokenException extends __BaseException {
1179
- readonly name: "InvalidNextTokenException";
1180
- readonly $fault: "client";
1181
- Message?: string | undefined;
1182
- constructor(
1183
- opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
1184
- );
1185
- }
1186
422
  export interface GetResourcePolicyRequest {
1187
423
  ResourceArn: string | undefined;
1188
424
  }
@@ -1266,13 +502,6 @@ export interface ListImportFailuresRequest {
1266
502
  MaxResults?: number | undefined;
1267
503
  NextToken?: string | undefined;
1268
504
  }
1269
- export declare const ImportFailureStatus: {
1270
- readonly FAILED: "FAILED";
1271
- readonly RETRY: "RETRY";
1272
- readonly SUCCEEDED: "SUCCEEDED";
1273
- };
1274
- export type ImportFailureStatus =
1275
- (typeof ImportFailureStatus)[keyof typeof ImportFailureStatus];
1276
505
  export interface ImportFailureListItem {
1277
506
  Location?: string | undefined;
1278
507
  Status?: ImportFailureStatus | undefined;
@@ -1301,13 +530,38 @@ export interface ListImportsResponse {
1301
530
  Imports?: ImportsListItem[] | undefined;
1302
531
  NextToken?: string | undefined;
1303
532
  }
1304
- export declare const InsightsMetricDataType: {
1305
- readonly FILL_WITH_ZEROS: "FillWithZeros";
1306
- readonly NON_ZERO_DATA: "NonZeroData";
1307
- };
1308
- export type InsightsMetricDataType =
1309
- (typeof InsightsMetricDataType)[keyof typeof InsightsMetricDataType];
533
+ export interface ListInsightsDataRequest {
534
+ InsightSource: string | undefined;
535
+ DataType: ListInsightsDataType | undefined;
536
+ Dimensions?:
537
+ | Partial<Record<ListInsightsDataDimensionKey, string>>
538
+ | undefined;
539
+ StartTime?: Date | undefined;
540
+ EndTime?: Date | undefined;
541
+ MaxResults?: number | undefined;
542
+ NextToken?: string | undefined;
543
+ }
544
+ export interface Resource {
545
+ ResourceType?: string | undefined;
546
+ ResourceName?: string | undefined;
547
+ }
548
+ export interface Event {
549
+ EventId?: string | undefined;
550
+ EventName?: string | undefined;
551
+ ReadOnly?: string | undefined;
552
+ AccessKeyId?: string | undefined;
553
+ EventTime?: Date | undefined;
554
+ EventSource?: string | undefined;
555
+ Username?: string | undefined;
556
+ Resources?: Resource[] | undefined;
557
+ CloudTrailEvent?: string | undefined;
558
+ }
559
+ export interface ListInsightsDataResponse {
560
+ Events?: Event[] | undefined;
561
+ NextToken?: string | undefined;
562
+ }
1310
563
  export interface ListInsightsMetricDataRequest {
564
+ TrailName?: string | undefined;
1311
565
  EventSource: string | undefined;
1312
566
  EventName: string | undefined;
1313
567
  InsightType: InsightType | undefined;
@@ -1320,6 +574,7 @@ export interface ListInsightsMetricDataRequest {
1320
574
  NextToken?: string | undefined;
1321
575
  }
1322
576
  export interface ListInsightsMetricDataResponse {
577
+ TrailARN?: string | undefined;
1323
578
  EventSource?: string | undefined;
1324
579
  EventName?: string | undefined;
1325
580
  InsightType?: InsightType | undefined;
@@ -1328,22 +583,6 @@ export interface ListInsightsMetricDataResponse {
1328
583
  Values?: number[] | undefined;
1329
584
  NextToken?: string | undefined;
1330
585
  }
1331
- export declare class InvalidTimeRangeException extends __BaseException {
1332
- readonly name: "InvalidTimeRangeException";
1333
- readonly $fault: "client";
1334
- Message?: string | undefined;
1335
- constructor(
1336
- opts: __ExceptionOptionType<InvalidTimeRangeException, __BaseException>
1337
- );
1338
- }
1339
- export declare class InvalidTokenException extends __BaseException {
1340
- readonly name: "InvalidTokenException";
1341
- readonly $fault: "client";
1342
- Message?: string | undefined;
1343
- constructor(
1344
- opts: __ExceptionOptionType<InvalidTokenException, __BaseException>
1345
- );
1346
- }
1347
586
  export interface ListPublicKeysRequest {
1348
587
  StartTime?: Date | undefined;
1349
588
  EndTime?: Date | undefined;
@@ -1359,22 +598,6 @@ export interface ListPublicKeysResponse {
1359
598
  PublicKeyList?: PublicKey[] | undefined;
1360
599
  NextToken?: string | undefined;
1361
600
  }
1362
- export declare class InvalidDateRangeException extends __BaseException {
1363
- readonly name: "InvalidDateRangeException";
1364
- readonly $fault: "client";
1365
- Message?: string | undefined;
1366
- constructor(
1367
- opts: __ExceptionOptionType<InvalidDateRangeException, __BaseException>
1368
- );
1369
- }
1370
- export declare class InvalidQueryStatusException extends __BaseException {
1371
- readonly name: "InvalidQueryStatusException";
1372
- readonly $fault: "client";
1373
- Message?: string | undefined;
1374
- constructor(
1375
- opts: __ExceptionOptionType<InvalidQueryStatusException, __BaseException>
1376
- );
1377
- }
1378
601
  export interface ListQueriesRequest {
1379
602
  EventDataStore: string | undefined;
1380
603
  NextToken?: string | undefined;
@@ -1416,41 +639,6 @@ export interface ListTrailsResponse {
1416
639
  Trails?: TrailInfo[] | undefined;
1417
640
  NextToken?: string | undefined;
1418
641
  }
1419
- export declare class InvalidEventCategoryException extends __BaseException {
1420
- readonly name: "InvalidEventCategoryException";
1421
- readonly $fault: "client";
1422
- Message?: string | undefined;
1423
- constructor(
1424
- opts: __ExceptionOptionType<InvalidEventCategoryException, __BaseException>
1425
- );
1426
- }
1427
- export declare class InvalidLookupAttributesException extends __BaseException {
1428
- readonly name: "InvalidLookupAttributesException";
1429
- readonly $fault: "client";
1430
- Message?: string | undefined;
1431
- constructor(
1432
- opts: __ExceptionOptionType<
1433
- InvalidLookupAttributesException,
1434
- __BaseException
1435
- >
1436
- );
1437
- }
1438
- export declare const EventCategory: {
1439
- readonly Insight: "insight";
1440
- };
1441
- export type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
1442
- export declare const LookupAttributeKey: {
1443
- readonly ACCESS_KEY_ID: "AccessKeyId";
1444
- readonly EVENT_ID: "EventId";
1445
- readonly EVENT_NAME: "EventName";
1446
- readonly EVENT_SOURCE: "EventSource";
1447
- readonly READ_ONLY: "ReadOnly";
1448
- readonly RESOURCE_NAME: "ResourceName";
1449
- readonly RESOURCE_TYPE: "ResourceType";
1450
- readonly USERNAME: "Username";
1451
- };
1452
- export type LookupAttributeKey =
1453
- (typeof LookupAttributeKey)[keyof typeof LookupAttributeKey];
1454
642
  export interface LookupAttribute {
1455
643
  AttributeKey: LookupAttributeKey | undefined;
1456
644
  AttributeValue: string | undefined;
@@ -1463,36 +651,10 @@ export interface LookupEventsRequest {
1463
651
  MaxResults?: number | undefined;
1464
652
  NextToken?: string | undefined;
1465
653
  }
1466
- export interface Resource {
1467
- ResourceType?: string | undefined;
1468
- ResourceName?: string | undefined;
1469
- }
1470
- export interface Event {
1471
- EventId?: string | undefined;
1472
- EventName?: string | undefined;
1473
- ReadOnly?: string | undefined;
1474
- AccessKeyId?: string | undefined;
1475
- EventTime?: Date | undefined;
1476
- EventSource?: string | undefined;
1477
- Username?: string | undefined;
1478
- Resources?: Resource[] | undefined;
1479
- CloudTrailEvent?: string | undefined;
1480
- }
1481
654
  export interface LookupEventsResponse {
1482
655
  Events?: Event[] | undefined;
1483
656
  NextToken?: string | undefined;
1484
657
  }
1485
- export declare class InsufficientIAMAccessPermissionException extends __BaseException {
1486
- readonly name: "InsufficientIAMAccessPermissionException";
1487
- readonly $fault: "client";
1488
- Message?: string | undefined;
1489
- constructor(
1490
- opts: __ExceptionOptionType<
1491
- InsufficientIAMAccessPermissionException,
1492
- __BaseException
1493
- >
1494
- );
1495
- }
1496
658
  export interface PutEventConfigurationRequest {
1497
659
  EventDataStore?: string | undefined;
1498
660
  MaxEventSize: MaxEventSize | undefined;
@@ -1513,17 +675,6 @@ export interface PutEventSelectorsResponse {
1513
675
  EventSelectors?: EventSelector[] | undefined;
1514
676
  AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1515
677
  }
1516
- export declare class InvalidInsightSelectorsException extends __BaseException {
1517
- readonly name: "InvalidInsightSelectorsException";
1518
- readonly $fault: "client";
1519
- Message?: string | undefined;
1520
- constructor(
1521
- opts: __ExceptionOptionType<
1522
- InvalidInsightSelectorsException,
1523
- __BaseException
1524
- >
1525
- );
1526
- }
1527
678
  export interface PutInsightSelectorsRequest {
1528
679
  TrailName?: string | undefined;
1529
680
  InsightSelectors: InsightSelector[] | undefined;
@@ -1545,28 +696,6 @@ export interface PutResourcePolicyResponse {
1545
696
  ResourcePolicy?: string | undefined;
1546
697
  DelegatedAdminResourcePolicy?: string | undefined;
1547
698
  }
1548
- export declare class ResourcePolicyNotValidException extends __BaseException {
1549
- readonly name: "ResourcePolicyNotValidException";
1550
- readonly $fault: "client";
1551
- Message?: string | undefined;
1552
- constructor(
1553
- opts: __ExceptionOptionType<
1554
- ResourcePolicyNotValidException,
1555
- __BaseException
1556
- >
1557
- );
1558
- }
1559
- export declare class DelegatedAdminAccountLimitExceededException extends __BaseException {
1560
- readonly name: "DelegatedAdminAccountLimitExceededException";
1561
- readonly $fault: "client";
1562
- Message?: string | undefined;
1563
- constructor(
1564
- opts: __ExceptionOptionType<
1565
- DelegatedAdminAccountLimitExceededException,
1566
- __BaseException
1567
- >
1568
- );
1569
- }
1570
699
  export interface RegisterOrganizationDelegatedAdminRequest {
1571
700
  MemberAccountId: string | undefined;
1572
701
  }
@@ -1619,14 +748,6 @@ export interface StartEventDataStoreIngestionRequest {
1619
748
  EventDataStore: string | undefined;
1620
749
  }
1621
750
  export interface StartEventDataStoreIngestionResponse {}
1622
- export declare class InvalidImportSourceException extends __BaseException {
1623
- readonly name: "InvalidImportSourceException";
1624
- readonly $fault: "client";
1625
- Message?: string | undefined;
1626
- constructor(
1627
- opts: __ExceptionOptionType<InvalidImportSourceException, __BaseException>
1628
- );
1629
- }
1630
751
  export interface StartImportRequest {
1631
752
  Destinations?: string[] | undefined;
1632
753
  ImportSource?: ImportSource | undefined;
@@ -1648,14 +769,6 @@ export interface StartLoggingRequest {
1648
769
  Name: string | undefined;
1649
770
  }
1650
771
  export interface StartLoggingResponse {}
1651
- export declare class MaxConcurrentQueriesException extends __BaseException {
1652
- readonly name: "MaxConcurrentQueriesException";
1653
- readonly $fault: "client";
1654
- Message?: string | undefined;
1655
- constructor(
1656
- opts: __ExceptionOptionType<MaxConcurrentQueriesException, __BaseException>
1657
- );
1658
- }
1659
772
  export interface StartQueryRequest {
1660
773
  QueryStatement?: string | undefined;
1661
774
  DeliveryS3Uri?: string | undefined;