@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,95 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CloudTrailServiceException as __BaseException } from "./CloudTrailServiceException";
3
- /**
4
- * <p>
5
- * You do not have sufficient access to perform this action.
6
- * </p>
7
- * @public
8
- */
9
- export declare class AccessDeniedException extends __BaseException {
10
- readonly name: "AccessDeniedException";
11
- readonly $fault: "client";
12
- /**
13
- * <p>Brief description of the exception returned by the request.</p>
14
- * @public
15
- */
16
- Message?: string | undefined;
17
- /**
18
- * @internal
19
- */
20
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
21
- }
22
- /**
23
- * <p> This exception is thrown when you start a new import and a previous import is still in
24
- * progress. </p>
25
- * @public
26
- */
27
- export declare class AccountHasOngoingImportException extends __BaseException {
28
- readonly name: "AccountHasOngoingImportException";
29
- readonly $fault: "client";
30
- /**
31
- * <p>Brief description of the exception returned by the request.</p>
32
- * @public
33
- */
34
- Message?: string | undefined;
35
- /**
36
- * @internal
37
- */
38
- constructor(opts: __ExceptionOptionType<AccountHasOngoingImportException, __BaseException>);
39
- }
40
- /**
41
- * <p>This exception is thrown when the specified account is not found or not part of an
42
- * organization.</p>
43
- * @public
44
- */
45
- export declare class AccountNotFoundException extends __BaseException {
46
- readonly name: "AccountNotFoundException";
47
- readonly $fault: "client";
48
- /**
49
- * <p>Brief description of the exception returned by the request.</p>
50
- * @public
51
- */
52
- Message?: string | undefined;
53
- /**
54
- * @internal
55
- */
56
- constructor(opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>);
57
- }
58
- /**
59
- * <p>This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.</p>
60
- * @public
61
- */
62
- export declare class AccountNotRegisteredException extends __BaseException {
63
- readonly name: "AccountNotRegisteredException";
64
- readonly $fault: "client";
65
- /**
66
- * <p>Brief description of the exception returned by the request.</p>
67
- * @public
68
- */
69
- Message?: string | undefined;
70
- /**
71
- * @internal
72
- */
73
- constructor(opts: __ExceptionOptionType<AccountNotRegisteredException, __BaseException>);
74
- }
75
- /**
76
- * <p>This exception is thrown when the account is already registered as the CloudTrail
77
- * delegated administrator.</p>
78
- * @public
79
- */
80
- export declare class AccountRegisteredException extends __BaseException {
81
- readonly name: "AccountRegisteredException";
82
- readonly $fault: "client";
83
- /**
84
- * <p>Brief description of the exception returned by the request.</p>
85
- * @public
86
- */
87
- Message?: string | undefined;
88
- /**
89
- * @internal
90
- */
91
- constructor(opts: __ExceptionOptionType<AccountRegisteredException, __BaseException>);
92
- }
1
+ import { BillingMode, DashboardStatus, DashboardType, DeliveryStatus, DestinationType, EventCategory, EventDataStoreStatus, FederationStatus, ImportFailureStatus, ImportStatus, InsightsMetricDataType, InsightType, ListInsightsDataDimensionKey, ListInsightsDataType, LookupAttributeKey, MaxEventSize, QueryStatus, ReadWriteType, RefreshScheduleFrequencyUnit, RefreshScheduleStatus, SourceEventCategory, Type } from "./enums";
93
2
  /**
94
3
  * <p>A custom key-value pair associated with a resource such as a CloudTrail
95
4
  * trail, event data store, dashboard, or channel.</p>
@@ -143,318 +52,6 @@ export interface AddTagsRequest {
143
52
  */
144
53
  export interface AddTagsResponse {
145
54
  }
146
- /**
147
- * <p>This exception is thrown when the specified value of <code>ChannelARN</code> is not
148
- * valid.</p>
149
- * @public
150
- */
151
- export declare class ChannelARNInvalidException extends __BaseException {
152
- readonly name: "ChannelARNInvalidException";
153
- readonly $fault: "client";
154
- /**
155
- * <p>Brief description of the exception returned by the request.</p>
156
- * @public
157
- */
158
- Message?: string | undefined;
159
- /**
160
- * @internal
161
- */
162
- constructor(opts: __ExceptionOptionType<ChannelARNInvalidException, __BaseException>);
163
- }
164
- /**
165
- * <p>This exception is thrown when CloudTrail cannot find the specified channel.</p>
166
- * @public
167
- */
168
- export declare class ChannelNotFoundException extends __BaseException {
169
- readonly name: "ChannelNotFoundException";
170
- readonly $fault: "client";
171
- /**
172
- * <p>Brief description of the exception returned by the request.</p>
173
- * @public
174
- */
175
- Message?: string | undefined;
176
- /**
177
- * @internal
178
- */
179
- constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
180
- }
181
- /**
182
- * <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
183
- * <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
184
- * </p>
185
- * <p>The following is the format of an event data store ARN:
186
- * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
187
- * </p>
188
- * <p>The following is the format of a dashboard ARN: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
189
- * </p>
190
- * <p>The following is the format of a channel ARN:
191
- * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
192
- * </p>
193
- * @public
194
- */
195
- export declare class CloudTrailARNInvalidException extends __BaseException {
196
- readonly name: "CloudTrailARNInvalidException";
197
- readonly $fault: "client";
198
- /**
199
- * <p>Brief description of the exception returned by the request.</p>
200
- * @public
201
- */
202
- Message?: string | undefined;
203
- /**
204
- * @internal
205
- */
206
- constructor(opts: __ExceptionOptionType<CloudTrailARNInvalidException, __BaseException>);
207
- }
208
- /**
209
- * <p>This exception is thrown when the specified resource is not ready for an operation. This
210
- * can occur when you try to run an operation on a resource before CloudTrail has time
211
- * to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the
212
- * operation again.</p>
213
- * @public
214
- */
215
- export declare class ConflictException extends __BaseException {
216
- readonly name: "ConflictException";
217
- readonly $fault: "client";
218
- /**
219
- * <p>Brief description of the exception returned by the request.</p>
220
- * @public
221
- */
222
- Message?: string | undefined;
223
- /**
224
- * @internal
225
- */
226
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
227
- }
228
- /**
229
- * <p>The specified event data store ARN is not valid or does not map to an event data store
230
- * in your account.</p>
231
- * @public
232
- */
233
- export declare class EventDataStoreARNInvalidException extends __BaseException {
234
- readonly name: "EventDataStoreARNInvalidException";
235
- readonly $fault: "client";
236
- /**
237
- * <p>Brief description of the exception returned by the request.</p>
238
- * @public
239
- */
240
- Message?: string | undefined;
241
- /**
242
- * @internal
243
- */
244
- constructor(opts: __ExceptionOptionType<EventDataStoreARNInvalidException, __BaseException>);
245
- }
246
- /**
247
- * <p>The specified event data store was not found.</p>
248
- * @public
249
- */
250
- export declare class EventDataStoreNotFoundException extends __BaseException {
251
- readonly name: "EventDataStoreNotFoundException";
252
- readonly $fault: "client";
253
- /**
254
- * <p>Brief description of the exception returned by the request.</p>
255
- * @public
256
- */
257
- Message?: string | undefined;
258
- /**
259
- * @internal
260
- */
261
- constructor(opts: __ExceptionOptionType<EventDataStoreNotFoundException, __BaseException>);
262
- }
263
- /**
264
- * <p>The event data store is inactive.</p>
265
- * @public
266
- */
267
- export declare class InactiveEventDataStoreException extends __BaseException {
268
- readonly name: "InactiveEventDataStoreException";
269
- readonly $fault: "client";
270
- /**
271
- * <p>Brief description of the exception returned by the request.</p>
272
- * @public
273
- */
274
- Message?: string | undefined;
275
- /**
276
- * @internal
277
- */
278
- constructor(opts: __ExceptionOptionType<InactiveEventDataStoreException, __BaseException>);
279
- }
280
- /**
281
- * <p>This exception is thrown when the specified tag key or values are not valid. It can also
282
- * occur if there are duplicate tags or too many tags on the resource.</p>
283
- * @public
284
- */
285
- export declare class InvalidTagParameterException extends __BaseException {
286
- readonly name: "InvalidTagParameterException";
287
- readonly $fault: "client";
288
- /**
289
- * <p>Brief description of the exception returned by the request.</p>
290
- * @public
291
- */
292
- Message?: string | undefined;
293
- /**
294
- * @internal
295
- */
296
- constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
297
- }
298
- /**
299
- * <p>This exception is thrown when the provided trail name is not valid. Trail names must
300
- * meet the following requirements:</p>
301
- * <ul>
302
- * <li>
303
- * <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
304
- * (_), or dashes (-)</p>
305
- * </li>
306
- * <li>
307
- * <p>Start with a letter or number, and end with a letter or number</p>
308
- * </li>
309
- * <li>
310
- * <p>Be between 3 and 128 characters</p>
311
- * </li>
312
- * <li>
313
- * <p>Have no adjacent periods, underscores or dashes. Names like
314
- * <code>my-_namespace</code> and <code>my--namespace</code> are not valid.</p>
315
- * </li>
316
- * <li>
317
- * <p>Not be in IP address format (for example, 192.168.5.4)</p>
318
- * </li>
319
- * </ul>
320
- * @public
321
- */
322
- export declare class InvalidTrailNameException extends __BaseException {
323
- readonly name: "InvalidTrailNameException";
324
- readonly $fault: "client";
325
- /**
326
- * <p>Brief description of the exception returned by the request.</p>
327
- * @public
328
- */
329
- Message?: string | undefined;
330
- /**
331
- * @internal
332
- */
333
- constructor(opts: __ExceptionOptionType<InvalidTrailNameException, __BaseException>);
334
- }
335
- /**
336
- * <p> This exception is thrown when the management account does not have a service-linked
337
- * role. </p>
338
- * @public
339
- */
340
- export declare class NoManagementAccountSLRExistsException extends __BaseException {
341
- readonly name: "NoManagementAccountSLRExistsException";
342
- readonly $fault: "client";
343
- /**
344
- * <p>Brief description of the exception returned by the request.</p>
345
- * @public
346
- */
347
- Message?: string | undefined;
348
- /**
349
- * @internal
350
- */
351
- constructor(opts: __ExceptionOptionType<NoManagementAccountSLRExistsException, __BaseException>);
352
- }
353
- /**
354
- * <p>This exception is thrown when the Amazon Web Services account making the request to
355
- * create or update an organization trail or event data store is not the management account
356
- * for an organization in Organizations. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a> or <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html">Organization event data stores</a>.</p>
357
- * @public
358
- */
359
- export declare class NotOrganizationMasterAccountException extends __BaseException {
360
- readonly name: "NotOrganizationMasterAccountException";
361
- readonly $fault: "client";
362
- /**
363
- * <p>Brief description of the exception returned by the request.</p>
364
- * @public
365
- */
366
- Message?: string | undefined;
367
- /**
368
- * @internal
369
- */
370
- constructor(opts: __ExceptionOptionType<NotOrganizationMasterAccountException, __BaseException>);
371
- }
372
- /**
373
- * <p>This exception is thrown when the requested operation is not permitted.</p>
374
- * @public
375
- */
376
- export declare class OperationNotPermittedException extends __BaseException {
377
- readonly name: "OperationNotPermittedException";
378
- readonly $fault: "client";
379
- /**
380
- * <p>Brief description of the exception returned by the request.</p>
381
- * @public
382
- */
383
- Message?: string | undefined;
384
- /**
385
- * @internal
386
- */
387
- constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
388
- }
389
- /**
390
- * <p>This exception is thrown when the specified resource is not found.</p>
391
- * @public
392
- */
393
- export declare class ResourceNotFoundException extends __BaseException {
394
- readonly name: "ResourceNotFoundException";
395
- readonly $fault: "client";
396
- /**
397
- * <p>Brief description of the exception returned by the request.</p>
398
- * @public
399
- */
400
- Message?: string | undefined;
401
- /**
402
- * @internal
403
- */
404
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
405
- }
406
- /**
407
- * <p>This exception is thrown when the specified resource type is not supported by CloudTrail.</p>
408
- * @public
409
- */
410
- export declare class ResourceTypeNotSupportedException extends __BaseException {
411
- readonly name: "ResourceTypeNotSupportedException";
412
- readonly $fault: "client";
413
- /**
414
- * <p>Brief description of the exception returned by the request.</p>
415
- * @public
416
- */
417
- Message?: string | undefined;
418
- /**
419
- * @internal
420
- */
421
- constructor(opts: __ExceptionOptionType<ResourceTypeNotSupportedException, __BaseException>);
422
- }
423
- /**
424
- * <p>The number of tags per trail, event data store, dashboard, or channel has exceeded the permitted amount. Currently, the limit is
425
- * 50.</p>
426
- * @public
427
- */
428
- export declare class TagsLimitExceededException extends __BaseException {
429
- readonly name: "TagsLimitExceededException";
430
- readonly $fault: "client";
431
- /**
432
- * <p>Brief description of the exception returned by the request.</p>
433
- * @public
434
- */
435
- Message?: string | undefined;
436
- /**
437
- * @internal
438
- */
439
- constructor(opts: __ExceptionOptionType<TagsLimitExceededException, __BaseException>);
440
- }
441
- /**
442
- * <p>This exception is thrown when the requested operation is not supported.</p>
443
- * @public
444
- */
445
- export declare class UnsupportedOperationException extends __BaseException {
446
- readonly name: "UnsupportedOperationException";
447
- readonly $fault: "client";
448
- /**
449
- * <p>Brief description of the exception returned by the request.</p>
450
- * @public
451
- */
452
- Message?: string | undefined;
453
- /**
454
- * @internal
455
- */
456
- constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
457
- }
458
55
  /**
459
56
  * <p>A single selector statement in an advanced event selector.</p>
460
57
  * @public
@@ -536,18 +133,6 @@ export interface AdvancedEventSelector {
536
133
  */
537
134
  FieldSelectors: AdvancedFieldSelector[] | undefined;
538
135
  }
539
- /**
540
- * @public
541
- * @enum
542
- */
543
- export declare const BillingMode: {
544
- readonly EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING";
545
- readonly FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING";
546
- };
547
- /**
548
- * @public
549
- */
550
- export type BillingMode = (typeof BillingMode)[keyof typeof BillingMode];
551
136
  /**
552
137
  * @public
553
138
  */
@@ -574,22 +159,6 @@ export interface CancelQueryRequest {
574
159
  */
575
160
  EventDataStoreOwnerAccountId?: string | undefined;
576
161
  }
577
- /**
578
- * @public
579
- * @enum
580
- */
581
- export declare const QueryStatus: {
582
- readonly CANCELLED: "CANCELLED";
583
- readonly FAILED: "FAILED";
584
- readonly FINISHED: "FINISHED";
585
- readonly QUEUED: "QUEUED";
586
- readonly RUNNING: "RUNNING";
587
- readonly TIMED_OUT: "TIMED_OUT";
588
- };
589
- /**
590
- * @public
591
- */
592
- export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
593
162
  /**
594
163
  * @public
595
164
  */
@@ -613,76 +182,6 @@ export interface CancelQueryResponse {
613
182
  */
614
183
  EventDataStoreOwnerAccountId?: string | undefined;
615
184
  }
616
- /**
617
- * <p>The specified query cannot be canceled because it is in the <code>FINISHED</code>,
618
- * <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code> state.</p>
619
- * @public
620
- */
621
- export declare class InactiveQueryException extends __BaseException {
622
- readonly name: "InactiveQueryException";
623
- readonly $fault: "client";
624
- /**
625
- * <p>Brief description of the exception returned by the request.</p>
626
- * @public
627
- */
628
- Message?: string | undefined;
629
- /**
630
- * @internal
631
- */
632
- constructor(opts: __ExceptionOptionType<InactiveQueryException, __BaseException>);
633
- }
634
- /**
635
- * <p>The request includes a parameter that is not valid.</p>
636
- * @public
637
- */
638
- export declare class InvalidParameterException extends __BaseException {
639
- readonly name: "InvalidParameterException";
640
- readonly $fault: "client";
641
- /**
642
- * <p>Brief description of the exception returned by the request.</p>
643
- * @public
644
- */
645
- Message?: string | undefined;
646
- /**
647
- * @internal
648
- */
649
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
650
- }
651
- /**
652
- * <p>The query ID does not exist or does not map to a query.</p>
653
- * @public
654
- */
655
- export declare class QueryIdNotFoundException extends __BaseException {
656
- readonly name: "QueryIdNotFoundException";
657
- readonly $fault: "client";
658
- /**
659
- * <p>Brief description of the exception returned by the request.</p>
660
- * @public
661
- */
662
- Message?: string | undefined;
663
- /**
664
- * @internal
665
- */
666
- constructor(opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>);
667
- }
668
- /**
669
- * <p>This exception is thrown when the management account of an organization is registered as
670
- * the CloudTrail delegated administrator.</p>
671
- * @public
672
- */
673
- export declare class CannotDelegateManagementAccountException extends __BaseException {
674
- readonly name: "CannotDelegateManagementAccountException";
675
- readonly $fault: "client";
676
- /**
677
- * <p>Brief description of the exception returned by the request.</p>
678
- * @public
679
- */
680
- Message?: string | undefined;
681
- /**
682
- * @internal
683
- */
684
- constructor(opts: __ExceptionOptionType<CannotDelegateManagementAccountException, __BaseException>);
685
- }
686
185
  /**
687
186
  * <p>Contains information about a returned CloudTrail channel.</p>
688
187
  * @public
@@ -703,74 +202,6 @@ export interface Channel {
703
202
  */
704
203
  Name?: string | undefined;
705
204
  }
706
- /**
707
- * <p>
708
- * This exception is thrown when the provided channel already exists.
709
- * </p>
710
- * @public
711
- */
712
- export declare class ChannelAlreadyExistsException extends __BaseException {
713
- readonly name: "ChannelAlreadyExistsException";
714
- readonly $fault: "client";
715
- /**
716
- * <p>Brief description of the exception returned by the request.</p>
717
- * @public
718
- */
719
- Message?: string | undefined;
720
- /**
721
- * @internal
722
- */
723
- constructor(opts: __ExceptionOptionType<ChannelAlreadyExistsException, __BaseException>);
724
- }
725
- /**
726
- * <p>This exception is thrown when the specified event data store cannot yet be deleted because it
727
- * is in use by a channel.</p>
728
- * @public
729
- */
730
- export declare class ChannelExistsForEDSException extends __BaseException {
731
- readonly name: "ChannelExistsForEDSException";
732
- readonly $fault: "client";
733
- /**
734
- * <p>Brief description of the exception returned by the request.</p>
735
- * @public
736
- */
737
- Message?: string | undefined;
738
- /**
739
- * @internal
740
- */
741
- constructor(opts: __ExceptionOptionType<ChannelExistsForEDSException, __BaseException>);
742
- }
743
- /**
744
- * <p>
745
- * This exception is thrown when the maximum number of channels limit is exceeded.
746
- * </p>
747
- * @public
748
- */
749
- export declare class ChannelMaxLimitExceededException extends __BaseException {
750
- readonly name: "ChannelMaxLimitExceededException";
751
- readonly $fault: "client";
752
- /**
753
- * <p>Brief description of the exception returned by the request.</p>
754
- * @public
755
- */
756
- Message?: string | undefined;
757
- /**
758
- * @internal
759
- */
760
- constructor(opts: __ExceptionOptionType<ChannelMaxLimitExceededException, __BaseException>);
761
- }
762
- /**
763
- * @public
764
- * @enum
765
- */
766
- export declare const DestinationType: {
767
- readonly AWS_SERVICE: "AWS_SERVICE";
768
- readonly EVENT_DATA_STORE: "EVENT_DATA_STORE";
769
- };
770
- /**
771
- * @public
772
- */
773
- export type DestinationType = (typeof DestinationType)[keyof typeof DestinationType];
774
205
  /**
775
206
  * <p>Contains information about the destination receiving events.</p>
776
207
  * @public
@@ -849,53 +280,6 @@ export interface CreateChannelResponse {
849
280
  */
850
281
  Tags?: Tag[] | undefined;
851
282
  }
852
- /**
853
- * <p>This exception is thrown when event categories of specified event data stores are not
854
- * valid.</p>
855
- * @public
856
- */
857
- export declare class InvalidEventDataStoreCategoryException extends __BaseException {
858
- readonly name: "InvalidEventDataStoreCategoryException";
859
- readonly $fault: "client";
860
- /**
861
- * <p>Brief description of the exception returned by the request.</p>
862
- * @public
863
- */
864
- Message?: string | undefined;
865
- /**
866
- * @internal
867
- */
868
- constructor(opts: __ExceptionOptionType<InvalidEventDataStoreCategoryException, __BaseException>);
869
- }
870
- /**
871
- * <p>This exception is thrown when the specified value of <code>Source</code> is not valid.</p>
872
- * @public
873
- */
874
- export declare class InvalidSourceException extends __BaseException {
875
- readonly name: "InvalidSourceException";
876
- readonly $fault: "client";
877
- /**
878
- * <p>Brief description of the exception returned by the request.</p>
879
- * @public
880
- */
881
- Message?: string | undefined;
882
- /**
883
- * @internal
884
- */
885
- constructor(opts: __ExceptionOptionType<InvalidSourceException, __BaseException>);
886
- }
887
- /**
888
- * @public
889
- * @enum
890
- */
891
- export declare const RefreshScheduleFrequencyUnit: {
892
- readonly DAYS: "DAYS";
893
- readonly HOURS: "HOURS";
894
- };
895
- /**
896
- * @public
897
- */
898
- export type RefreshScheduleFrequencyUnit = (typeof RefreshScheduleFrequencyUnit)[keyof typeof RefreshScheduleFrequencyUnit];
899
283
  /**
900
284
  * <p>
901
285
  * Specifies the frequency for a dashboard refresh schedule.
@@ -928,18 +312,6 @@ export interface RefreshScheduleFrequency {
928
312
  */
929
313
  Value?: number | undefined;
930
314
  }
931
- /**
932
- * @public
933
- * @enum
934
- */
935
- export declare const RefreshScheduleStatus: {
936
- readonly DISABLED: "DISABLED";
937
- readonly ENABLED: "ENABLED";
938
- };
939
- /**
940
- * @public
941
- */
942
- export type RefreshScheduleStatus = (typeof RefreshScheduleStatus)[keyof typeof RefreshScheduleStatus];
943
315
  /**
944
316
  * <p>
945
317
  * The schedule for a dashboard refresh.
@@ -1045,18 +417,6 @@ export interface CreateDashboardRequest {
1045
417
  */
1046
418
  Widgets?: RequestWidget[] | undefined;
1047
419
  }
1048
- /**
1049
- * @public
1050
- * @enum
1051
- */
1052
- export declare const DashboardType: {
1053
- readonly CUSTOM: "CUSTOM";
1054
- readonly MANAGED: "MANAGED";
1055
- };
1056
- /**
1057
- * @public
1058
- */
1059
- export type DashboardType = (typeof DashboardType)[keyof typeof DashboardType];
1060
420
  /**
1061
421
  * <p>
1062
422
  * A widget on a CloudTrail Lake dashboard.
@@ -1146,84 +506,6 @@ export interface CreateDashboardResponse {
1146
506
  */
1147
507
  TerminationProtectionEnabled?: boolean | undefined;
1148
508
  }
1149
- /**
1150
- * <p>For the <code>CreateTrail</code>
1151
- * <code>PutInsightSelectors</code>, <code>UpdateTrail</code>, <code>StartQuery</code>, and <code>StartImport</code> operations, this exception is thrown
1152
- * when the policy on the S3 bucket or KMS key does
1153
- * not have sufficient permissions for the operation.</p>
1154
- * <p>For all other operations, this exception is thrown when the policy for the KMS key does
1155
- * not have sufficient permissions for the operation.</p>
1156
- * @public
1157
- */
1158
- export declare class InsufficientEncryptionPolicyException extends __BaseException {
1159
- readonly name: "InsufficientEncryptionPolicyException";
1160
- readonly $fault: "client";
1161
- /**
1162
- * <p>Brief description of the exception returned by the request.</p>
1163
- * @public
1164
- */
1165
- Message?: string | undefined;
1166
- /**
1167
- * @internal
1168
- */
1169
- constructor(opts: __ExceptionOptionType<InsufficientEncryptionPolicyException, __BaseException>);
1170
- }
1171
- /**
1172
- * <p>The query that was submitted has validation errors, or uses incorrect syntax or
1173
- * unsupported keywords. For more information about writing a query, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create or edit a query</a> in the <i>CloudTrail User
1174
- * Guide</i>.</p>
1175
- * @public
1176
- */
1177
- export declare class InvalidQueryStatementException extends __BaseException {
1178
- readonly name: "InvalidQueryStatementException";
1179
- readonly $fault: "client";
1180
- /**
1181
- * <p>Brief description of the exception returned by the request.</p>
1182
- * @public
1183
- */
1184
- Message?: string | undefined;
1185
- /**
1186
- * @internal
1187
- */
1188
- constructor(opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>);
1189
- }
1190
- /**
1191
- * <p>
1192
- * This exception is thrown when the quota is exceeded. For information about CloudTrail quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/ct.html#limits_cloudtrail">Service quotas</a>
1193
- * in the <i>Amazon Web Services General Reference</i>.
1194
- * </p>
1195
- * @public
1196
- */
1197
- export declare class ServiceQuotaExceededException extends __BaseException {
1198
- readonly name: "ServiceQuotaExceededException";
1199
- readonly $fault: "client";
1200
- /**
1201
- * <p>Brief description of the exception returned by the request.</p>
1202
- * @public
1203
- */
1204
- Message?: string | undefined;
1205
- /**
1206
- * @internal
1207
- */
1208
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1209
- }
1210
- /**
1211
- * <p>This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_how-to-enable-disable-trusted-access">How to enable or disable trusted access</a> in the <i>Organizations User Guide</i> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a> in the <i>CloudTrail User Guide</i>.</p>
1212
- * @public
1213
- */
1214
- export declare class CloudTrailAccessNotEnabledException extends __BaseException {
1215
- readonly name: "CloudTrailAccessNotEnabledException";
1216
- readonly $fault: "client";
1217
- /**
1218
- * <p>Brief description of the exception returned by the request.</p>
1219
- * @public
1220
- */
1221
- Message?: string | undefined;
1222
- /**
1223
- * @internal
1224
- */
1225
- constructor(opts: __ExceptionOptionType<CloudTrailAccessNotEnabledException, __BaseException>);
1226
- }
1227
509
  /**
1228
510
  * @public
1229
511
  */
@@ -1356,22 +638,6 @@ export interface CreateEventDataStoreRequest {
1356
638
  */
1357
639
  BillingMode?: BillingMode | undefined;
1358
640
  }
1359
- /**
1360
- * @public
1361
- * @enum
1362
- */
1363
- export declare const EventDataStoreStatus: {
1364
- readonly CREATED: "CREATED";
1365
- readonly ENABLED: "ENABLED";
1366
- readonly PENDING_DELETION: "PENDING_DELETION";
1367
- readonly STARTING_INGESTION: "STARTING_INGESTION";
1368
- readonly STOPPED_INGESTION: "STOPPED_INGESTION";
1369
- readonly STOPPING_INGESTION: "STOPPING_INGESTION";
1370
- };
1371
- /**
1372
- * @public
1373
- */
1374
- export type EventDataStoreStatus = (typeof EventDataStoreStatus)[keyof typeof EventDataStoreStatus];
1375
641
  /**
1376
642
  * @public
1377
643
  */
@@ -1392,289 +658,64 @@ export interface CreateEventDataStoreResponse {
1392
658
  */
1393
659
  Status?: EventDataStoreStatus | undefined;
1394
660
  /**
1395
- * <p>The advanced event selectors that were used to select the events for the data
1396
- * store.</p>
1397
- * @public
1398
- */
1399
- AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1400
- /**
1401
- * <p>Indicates whether the event data store collects events from all Regions, or only from
1402
- * the Region in which it was created.</p>
1403
- * @public
1404
- */
1405
- MultiRegionEnabled?: boolean | undefined;
1406
- /**
1407
- * <p>Indicates whether an event data store is collecting logged events for an organization in
1408
- * Organizations.</p>
1409
- * @public
1410
- */
1411
- OrganizationEnabled?: boolean | undefined;
1412
- /**
1413
- * <p>The retention period of an event data store, in days.</p>
1414
- * @public
1415
- */
1416
- RetentionPeriod?: number | undefined;
1417
- /**
1418
- * <p>Indicates whether termination protection is enabled for the event data store.</p>
1419
- * @public
1420
- */
1421
- TerminationProtectionEnabled?: boolean | undefined;
1422
- /**
1423
- * <p>A list of tags.</p>
1424
- * @public
1425
- */
1426
- TagsList?: Tag[] | undefined;
1427
- /**
1428
- * <p>The timestamp that shows when the event data store was created.</p>
1429
- * @public
1430
- */
1431
- CreatedTimestamp?: Date | undefined;
1432
- /**
1433
- * <p>The timestamp that shows when an event data store was updated, if applicable.
1434
- * <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in
1435
- * <code>CreatedTimestamp</code>.</p>
1436
- * @public
1437
- */
1438
- UpdatedTimestamp?: Date | undefined;
1439
- /**
1440
- * <p>Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
1441
- * following format.</p>
1442
- * <p>
1443
- * <code>arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012</code>
1444
- * </p>
1445
- * @public
1446
- */
1447
- KmsKeyId?: string | undefined;
1448
- /**
1449
- * <p>The billing mode for the event data store.</p>
1450
- * @public
1451
- */
1452
- BillingMode?: BillingMode | undefined;
1453
- }
1454
- /**
1455
- * <p>An event data store with that name already exists.</p>
1456
- * @public
1457
- */
1458
- export declare class EventDataStoreAlreadyExistsException extends __BaseException {
1459
- readonly name: "EventDataStoreAlreadyExistsException";
1460
- readonly $fault: "client";
1461
- /**
1462
- * <p>Brief description of the exception returned by the request.</p>
1463
- * @public
1464
- */
1465
- Message?: string | undefined;
1466
- /**
1467
- * @internal
1468
- */
1469
- constructor(opts: __ExceptionOptionType<EventDataStoreAlreadyExistsException, __BaseException>);
1470
- }
1471
- /**
1472
- * <p>Your account has used the maximum number of event data stores.</p>
1473
- * @public
1474
- */
1475
- export declare class EventDataStoreMaxLimitExceededException extends __BaseException {
1476
- readonly name: "EventDataStoreMaxLimitExceededException";
1477
- readonly $fault: "client";
1478
- /**
1479
- * <p>Brief description of the exception returned by the request.</p>
1480
- * @public
1481
- */
1482
- Message?: string | undefined;
1483
- /**
1484
- * @internal
1485
- */
1486
- constructor(opts: __ExceptionOptionType<EventDataStoreMaxLimitExceededException, __BaseException>);
1487
- }
1488
- /**
1489
- * <p>This exception is thrown when the IAM identity that is used to create
1490
- * the organization resource lacks one or more required permissions for creating an
1491
- * organization resource in a required service.</p>
1492
- * @public
1493
- */
1494
- export declare class InsufficientDependencyServiceAccessPermissionException extends __BaseException {
1495
- readonly name: "InsufficientDependencyServiceAccessPermissionException";
1496
- readonly $fault: "client";
1497
- /**
1498
- * <p>Brief description of the exception returned by the request.</p>
1499
- * @public
1500
- */
1501
- Message?: string | undefined;
1502
- /**
1503
- * @internal
1504
- */
1505
- constructor(opts: __ExceptionOptionType<InsufficientDependencyServiceAccessPermissionException, __BaseException>);
1506
- }
1507
- /**
1508
- * <p>This exception is thrown when the <code>PutEventSelectors</code> operation is called
1509
- * with a number of event selectors, advanced event selectors, or data resources that is not
1510
- * valid. The combination of event selectors or advanced event selectors and data resources is
1511
- * not valid. A trail can have up to 5 event selectors. If a trail uses advanced event
1512
- * selectors, a maximum of 500 total values for all conditions in all advanced event selectors
1513
- * is allowed. A trail is limited to 250 data resources. These data resources can be
1514
- * distributed across event selectors, but the overall total cannot exceed 250.</p>
1515
- * <p>You can:</p>
1516
- * <ul>
1517
- * <li>
1518
- * <p>Specify a valid number of event selectors (1 to 5) for a trail.</p>
1519
- * </li>
1520
- * <li>
1521
- * <p>Specify a valid number of data resources (1 to 250) for an event selector. The
1522
- * limit of number of resources on an individual event selector is configurable up to
1523
- * 250. However, this upper limit is allowed only if the total number of data resources
1524
- * does not exceed 250 across all event selectors for a trail.</p>
1525
- * </li>
1526
- * <li>
1527
- * <p>Specify up to 500 values for all conditions in all advanced event selectors for a
1528
- * trail.</p>
1529
- * </li>
1530
- * <li>
1531
- * <p>Specify a valid value for a parameter. For example, specifying the
1532
- * <code>ReadWriteType</code> parameter with a value of <code>read-only</code> is not
1533
- * valid.</p>
1534
- * </li>
1535
- * </ul>
1536
- * @public
1537
- */
1538
- export declare class InvalidEventSelectorsException extends __BaseException {
1539
- readonly name: "InvalidEventSelectorsException";
1540
- readonly $fault: "client";
1541
- /**
1542
- * <p>Brief description of the exception returned by the request.</p>
1543
- * @public
1544
- */
1545
- Message?: string | undefined;
1546
- /**
1547
- * @internal
1548
- */
1549
- constructor(opts: __ExceptionOptionType<InvalidEventSelectorsException, __BaseException>);
1550
- }
1551
- /**
1552
- * <p>This exception is thrown when the KMS key ARN is not valid.</p>
1553
- * @public
1554
- */
1555
- export declare class InvalidKmsKeyIdException extends __BaseException {
1556
- readonly name: "InvalidKmsKeyIdException";
1557
- readonly $fault: "client";
1558
- /**
1559
- * <p>Brief description of the exception returned by the request.</p>
1560
- * @public
1561
- */
1562
- Message?: string | undefined;
1563
- /**
1564
- * @internal
1565
- */
1566
- constructor(opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>);
1567
- }
1568
- /**
1569
- * <p>This exception is thrown when there is an issue with the specified KMS
1570
- * key and the trail or event data store can't be updated.</p>
1571
- * @public
1572
- */
1573
- export declare class KmsException extends __BaseException {
1574
- readonly name: "KmsException";
1575
- readonly $fault: "client";
1576
- /**
1577
- * <p>Brief description of the exception returned by the request.</p>
1578
- * @public
1579
- */
1580
- Message?: string | undefined;
1581
- /**
1582
- * @internal
1583
- */
1584
- constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
1585
- }
1586
- /**
1587
- * <p>This exception is thrown when the KMS key does not exist, when the S3
1588
- * bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is
1589
- * not in the same Region.</p>
1590
- * @public
1591
- */
1592
- export declare class KmsKeyNotFoundException extends __BaseException {
1593
- readonly name: "KmsKeyNotFoundException";
1594
- readonly $fault: "client";
1595
- /**
1596
- * <p>Brief description of the exception returned by the request.</p>
661
+ * <p>The advanced event selectors that were used to select the events for the data
662
+ * store.</p>
1597
663
  * @public
1598
664
  */
1599
- Message?: string | undefined;
665
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1600
666
  /**
1601
- * @internal
667
+ * <p>Indicates whether the event data store collects events from all Regions, or only from
668
+ * the Region in which it was created.</p>
669
+ * @public
1602
670
  */
1603
- constructor(opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>);
1604
- }
1605
- /**
1606
- * <p>This exception is thrown when Organizations is not configured to support all
1607
- * features. All features must be enabled in Organizations to support creating an
1608
- * organization trail or event data store.</p>
1609
- * @public
1610
- */
1611
- export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
1612
- readonly name: "OrganizationNotInAllFeaturesModeException";
1613
- readonly $fault: "client";
671
+ MultiRegionEnabled?: boolean | undefined;
1614
672
  /**
1615
- * <p>Brief description of the exception returned by the request.</p>
673
+ * <p>Indicates whether an event data store is collecting logged events for an organization in
674
+ * Organizations.</p>
1616
675
  * @public
1617
676
  */
1618
- Message?: string | undefined;
677
+ OrganizationEnabled?: boolean | undefined;
1619
678
  /**
1620
- * @internal
679
+ * <p>The retention period of an event data store, in days.</p>
680
+ * @public
1621
681
  */
1622
- constructor(opts: __ExceptionOptionType<OrganizationNotInAllFeaturesModeException, __BaseException>);
1623
- }
1624
- /**
1625
- * <p>This exception is thrown when the request is made from an Amazon Web Services account
1626
- * that is not a member of an organization. To make this request, sign in using the
1627
- * credentials of an account that belongs to an organization.</p>
1628
- * @public
1629
- */
1630
- export declare class OrganizationsNotInUseException extends __BaseException {
1631
- readonly name: "OrganizationsNotInUseException";
1632
- readonly $fault: "client";
682
+ RetentionPeriod?: number | undefined;
1633
683
  /**
1634
- * <p>Brief description of the exception returned by the request.</p>
684
+ * <p>Indicates whether termination protection is enabled for the event data store.</p>
1635
685
  * @public
1636
686
  */
1637
- Message?: string | undefined;
687
+ TerminationProtectionEnabled?: boolean | undefined;
1638
688
  /**
1639
- * @internal
689
+ * <p>A list of tags.</p>
690
+ * @public
1640
691
  */
1641
- constructor(opts: __ExceptionOptionType<OrganizationsNotInUseException, __BaseException>);
1642
- }
1643
- /**
1644
- * <p>This exception is thrown when a call results in the <code>InvalidClientTokenId</code>
1645
- * error code. This can occur when you are creating or updating a trail to send notifications
1646
- * to an Amazon SNS topic that is in a suspended Amazon Web Services account.</p>
1647
- * @public
1648
- */
1649
- export declare class CloudTrailInvalidClientTokenIdException extends __BaseException {
1650
- readonly name: "CloudTrailInvalidClientTokenIdException";
1651
- readonly $fault: "client";
692
+ TagsList?: Tag[] | undefined;
1652
693
  /**
1653
- * <p>Brief description of the exception returned by the request.</p>
694
+ * <p>The timestamp that shows when the event data store was created.</p>
1654
695
  * @public
1655
696
  */
1656
- Message?: string | undefined;
697
+ CreatedTimestamp?: Date | undefined;
1657
698
  /**
1658
- * @internal
699
+ * <p>The timestamp that shows when an event data store was updated, if applicable.
700
+ * <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in
701
+ * <code>CreatedTimestamp</code>.</p>
702
+ * @public
1659
703
  */
1660
- constructor(opts: __ExceptionOptionType<CloudTrailInvalidClientTokenIdException, __BaseException>);
1661
- }
1662
- /**
1663
- * <p>Cannot set a CloudWatch Logs delivery for this Region.</p>
1664
- * @public
1665
- */
1666
- export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
1667
- readonly name: "CloudWatchLogsDeliveryUnavailableException";
1668
- readonly $fault: "client";
704
+ UpdatedTimestamp?: Date | undefined;
1669
705
  /**
1670
- * <p>Brief description of the exception returned by the request.</p>
706
+ * <p>Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
707
+ * following format.</p>
708
+ * <p>
709
+ * <code>arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012</code>
710
+ * </p>
1671
711
  * @public
1672
712
  */
1673
- Message?: string | undefined;
713
+ KmsKeyId?: string | undefined;
1674
714
  /**
1675
- * @internal
715
+ * <p>The billing mode for the event data store.</p>
716
+ * @public
1676
717
  */
1677
- constructor(opts: __ExceptionOptionType<CloudWatchLogsDeliveryUnavailableException, __BaseException>);
718
+ BillingMode?: BillingMode | undefined;
1678
719
  }
1679
720
  /**
1680
721
  * <p>Specifies the settings for each trail.</p>
@@ -1768,7 +809,7 @@ export interface CreateTrailRequest {
1768
809
  */
1769
810
  CloudWatchLogsRoleArn?: string | undefined;
1770
811
  /**
1771
- * <p>Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by <code>alias/</code>, a fully
812
+ * <p>Specifies the KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail. The value can be an alias name prefixed by <code>alias/</code>, a fully
1772
813
  * specified ARN to an alias, a fully specified ARN to a key, or a globally unique
1773
814
  * identifier.</p>
1774
815
  * <p>CloudTrail also supports KMS multi-Region keys. For more
@@ -1903,251 +944,6 @@ export interface CreateTrailResponse {
1903
944
  */
1904
945
  IsOrganizationTrail?: boolean | undefined;
1905
946
  }
1906
- /**
1907
- * <p>This exception is thrown when the policy on the S3 bucket is not sufficient.</p>
1908
- * @public
1909
- */
1910
- export declare class InsufficientS3BucketPolicyException extends __BaseException {
1911
- readonly name: "InsufficientS3BucketPolicyException";
1912
- readonly $fault: "client";
1913
- /**
1914
- * <p>Brief description of the exception returned by the request.</p>
1915
- * @public
1916
- */
1917
- Message?: string | undefined;
1918
- /**
1919
- * @internal
1920
- */
1921
- constructor(opts: __ExceptionOptionType<InsufficientS3BucketPolicyException, __BaseException>);
1922
- }
1923
- /**
1924
- * <p>This exception is thrown when the policy on the Amazon SNS topic is not
1925
- * sufficient.</p>
1926
- * @public
1927
- */
1928
- export declare class InsufficientSnsTopicPolicyException extends __BaseException {
1929
- readonly name: "InsufficientSnsTopicPolicyException";
1930
- readonly $fault: "client";
1931
- /**
1932
- * <p>Brief description of the exception returned by the request.</p>
1933
- * @public
1934
- */
1935
- Message?: string | undefined;
1936
- /**
1937
- * @internal
1938
- */
1939
- constructor(opts: __ExceptionOptionType<InsufficientSnsTopicPolicyException, __BaseException>);
1940
- }
1941
- /**
1942
- * <p>This exception is thrown when the provided CloudWatch Logs log group is not
1943
- * valid.</p>
1944
- * @public
1945
- */
1946
- export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseException {
1947
- readonly name: "InvalidCloudWatchLogsLogGroupArnException";
1948
- readonly $fault: "client";
1949
- /**
1950
- * <p>Brief description of the exception returned by the request.</p>
1951
- * @public
1952
- */
1953
- Message?: string | undefined;
1954
- /**
1955
- * @internal
1956
- */
1957
- constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsLogGroupArnException, __BaseException>);
1958
- }
1959
- /**
1960
- * <p>This exception is thrown when the provided role is not valid.</p>
1961
- * @public
1962
- */
1963
- export declare class InvalidCloudWatchLogsRoleArnException extends __BaseException {
1964
- readonly name: "InvalidCloudWatchLogsRoleArnException";
1965
- readonly $fault: "client";
1966
- /**
1967
- * <p>Brief description of the exception returned by the request.</p>
1968
- * @public
1969
- */
1970
- Message?: string | undefined;
1971
- /**
1972
- * @internal
1973
- */
1974
- constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsRoleArnException, __BaseException>);
1975
- }
1976
- /**
1977
- * <p>This exception is thrown when the combination of parameters provided is not
1978
- * valid.</p>
1979
- * @public
1980
- */
1981
- export declare class InvalidParameterCombinationException extends __BaseException {
1982
- readonly name: "InvalidParameterCombinationException";
1983
- readonly $fault: "client";
1984
- /**
1985
- * <p>Brief description of the exception returned by the request.</p>
1986
- * @public
1987
- */
1988
- Message?: string | undefined;
1989
- /**
1990
- * @internal
1991
- */
1992
- constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
1993
- }
1994
- /**
1995
- * <p>This exception is thrown when the provided S3 bucket name is not valid.</p>
1996
- * @public
1997
- */
1998
- export declare class InvalidS3BucketNameException extends __BaseException {
1999
- readonly name: "InvalidS3BucketNameException";
2000
- readonly $fault: "client";
2001
- /**
2002
- * <p>Brief description of the exception returned by the request.</p>
2003
- * @public
2004
- */
2005
- Message?: string | undefined;
2006
- /**
2007
- * @internal
2008
- */
2009
- constructor(opts: __ExceptionOptionType<InvalidS3BucketNameException, __BaseException>);
2010
- }
2011
- /**
2012
- * <p>This exception is thrown when the provided S3 prefix is not valid.</p>
2013
- * @public
2014
- */
2015
- export declare class InvalidS3PrefixException extends __BaseException {
2016
- readonly name: "InvalidS3PrefixException";
2017
- readonly $fault: "client";
2018
- /**
2019
- * <p>Brief description of the exception returned by the request.</p>
2020
- * @public
2021
- */
2022
- Message?: string | undefined;
2023
- /**
2024
- * @internal
2025
- */
2026
- constructor(opts: __ExceptionOptionType<InvalidS3PrefixException, __BaseException>);
2027
- }
2028
- /**
2029
- * <p>This exception is thrown when the provided SNS topic name is not valid.</p>
2030
- * @public
2031
- */
2032
- export declare class InvalidSnsTopicNameException extends __BaseException {
2033
- readonly name: "InvalidSnsTopicNameException";
2034
- readonly $fault: "client";
2035
- /**
2036
- * <p>Brief description of the exception returned by the request.</p>
2037
- * @public
2038
- */
2039
- Message?: string | undefined;
2040
- /**
2041
- * @internal
2042
- */
2043
- constructor(opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>);
2044
- }
2045
- /**
2046
- * <p>This exception is no longer in use.</p>
2047
- *
2048
- * @deprecated deprecated
2049
- * @public
2050
- */
2051
- export declare class KmsKeyDisabledException extends __BaseException {
2052
- readonly name: "KmsKeyDisabledException";
2053
- readonly $fault: "client";
2054
- /**
2055
- * <p>Brief description of the exception returned by the request.</p>
2056
- * @public
2057
- */
2058
- Message?: string | undefined;
2059
- /**
2060
- * @internal
2061
- */
2062
- constructor(opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>);
2063
- }
2064
- /**
2065
- * <p>This exception is thrown when the maximum number of trails is reached.</p>
2066
- * @public
2067
- */
2068
- export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
2069
- readonly name: "MaximumNumberOfTrailsExceededException";
2070
- readonly $fault: "client";
2071
- /**
2072
- * <p>Brief description of the exception returned by the request.</p>
2073
- * @public
2074
- */
2075
- Message?: string | undefined;
2076
- /**
2077
- * @internal
2078
- */
2079
- constructor(opts: __ExceptionOptionType<MaximumNumberOfTrailsExceededException, __BaseException>);
2080
- }
2081
- /**
2082
- * <p>This exception is thrown when the specified S3 bucket does not exist.</p>
2083
- * @public
2084
- */
2085
- export declare class S3BucketDoesNotExistException extends __BaseException {
2086
- readonly name: "S3BucketDoesNotExistException";
2087
- readonly $fault: "client";
2088
- /**
2089
- * <p>Brief description of the exception returned by the request.</p>
2090
- * @public
2091
- */
2092
- Message?: string | undefined;
2093
- /**
2094
- * @internal
2095
- */
2096
- constructor(opts: __ExceptionOptionType<S3BucketDoesNotExistException, __BaseException>);
2097
- }
2098
- /**
2099
- * <p>
2100
- * This exception is thrown when the request rate exceeds the limit.
2101
- * </p>
2102
- * @public
2103
- */
2104
- export declare class ThrottlingException extends __BaseException {
2105
- readonly name: "ThrottlingException";
2106
- readonly $fault: "client";
2107
- /**
2108
- * <p>Brief description of the exception returned by the request.</p>
2109
- * @public
2110
- */
2111
- Message?: string | undefined;
2112
- /**
2113
- * @internal
2114
- */
2115
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
2116
- }
2117
- /**
2118
- * <p>This exception is thrown when the specified trail already exists.</p>
2119
- * @public
2120
- */
2121
- export declare class TrailAlreadyExistsException extends __BaseException {
2122
- readonly name: "TrailAlreadyExistsException";
2123
- readonly $fault: "client";
2124
- /**
2125
- * <p>Brief description of the exception returned by the request.</p>
2126
- * @public
2127
- */
2128
- Message?: string | undefined;
2129
- /**
2130
- * @internal
2131
- */
2132
- constructor(opts: __ExceptionOptionType<TrailAlreadyExistsException, __BaseException>);
2133
- }
2134
- /**
2135
- * <p>This exception is no longer in use.</p>
2136
- * @public
2137
- */
2138
- export declare class TrailNotProvidedException extends __BaseException {
2139
- readonly name: "TrailNotProvidedException";
2140
- readonly $fault: "client";
2141
- /**
2142
- * <p>Brief description of the exception returned by the request.</p>
2143
- * @public
2144
- */
2145
- Message?: string | undefined;
2146
- /**
2147
- * @internal
2148
- */
2149
- constructor(opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>);
2150
- }
2151
947
  /**
2152
948
  * @public
2153
949
  */
@@ -2195,62 +991,6 @@ export interface DeleteEventDataStoreRequest {
2195
991
  */
2196
992
  export interface DeleteEventDataStoreResponse {
2197
993
  }
2198
- /**
2199
- * <p>
2200
- * You cannot delete the event data store because Lake query federation is enabled. To delete the event data store, run the <code>DisableFederation</code> operation to
2201
- * disable Lake query federation on the event data store.
2202
- * </p>
2203
- * @public
2204
- */
2205
- export declare class EventDataStoreFederationEnabledException extends __BaseException {
2206
- readonly name: "EventDataStoreFederationEnabledException";
2207
- readonly $fault: "client";
2208
- /**
2209
- * <p>Brief description of the exception returned by the request.</p>
2210
- * @public
2211
- */
2212
- Message?: string | undefined;
2213
- /**
2214
- * @internal
2215
- */
2216
- constructor(opts: __ExceptionOptionType<EventDataStoreFederationEnabledException, __BaseException>);
2217
- }
2218
- /**
2219
- * <p> This exception is thrown when you try to update or delete an event data store that
2220
- * currently has an import in progress. </p>
2221
- * @public
2222
- */
2223
- export declare class EventDataStoreHasOngoingImportException extends __BaseException {
2224
- readonly name: "EventDataStoreHasOngoingImportException";
2225
- readonly $fault: "client";
2226
- /**
2227
- * <p>Brief description of the exception returned by the request.</p>
2228
- * @public
2229
- */
2230
- Message?: string | undefined;
2231
- /**
2232
- * @internal
2233
- */
2234
- constructor(opts: __ExceptionOptionType<EventDataStoreHasOngoingImportException, __BaseException>);
2235
- }
2236
- /**
2237
- * <p>The event data store cannot be deleted because termination protection is enabled for
2238
- * it.</p>
2239
- * @public
2240
- */
2241
- export declare class EventDataStoreTerminationProtectedException extends __BaseException {
2242
- readonly name: "EventDataStoreTerminationProtectedException";
2243
- readonly $fault: "client";
2244
- /**
2245
- * <p>Brief description of the exception returned by the request.</p>
2246
- * @public
2247
- */
2248
- Message?: string | undefined;
2249
- /**
2250
- * @internal
2251
- */
2252
- constructor(opts: __ExceptionOptionType<EventDataStoreTerminationProtectedException, __BaseException>);
2253
- }
2254
994
  /**
2255
995
  * @public
2256
996
  */
@@ -2275,52 +1015,6 @@ export interface DeleteResourcePolicyRequest {
2275
1015
  */
2276
1016
  export interface DeleteResourcePolicyResponse {
2277
1017
  }
2278
- /**
2279
- * <p>
2280
- * This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid.
2281
- * </p>
2282
- * <p>The following is the format of an event data store ARN:
2283
- * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
2284
- * </p>
2285
- * <p>The following is the format of a dashboard ARN: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
2286
- * </p>
2287
- * <p>The following is the format of a channel ARN:
2288
- * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
2289
- * </p>
2290
- * @public
2291
- */
2292
- export declare class ResourceARNNotValidException extends __BaseException {
2293
- readonly name: "ResourceARNNotValidException";
2294
- readonly $fault: "client";
2295
- /**
2296
- * <p>Brief description of the exception returned by the request.</p>
2297
- * @public
2298
- */
2299
- Message?: string | undefined;
2300
- /**
2301
- * @internal
2302
- */
2303
- constructor(opts: __ExceptionOptionType<ResourceARNNotValidException, __BaseException>);
2304
- }
2305
- /**
2306
- * <p>
2307
- * This exception is thrown when the specified resource policy is not found.
2308
- * </p>
2309
- * @public
2310
- */
2311
- export declare class ResourcePolicyNotFoundException extends __BaseException {
2312
- readonly name: "ResourcePolicyNotFoundException";
2313
- readonly $fault: "client";
2314
- /**
2315
- * <p>Brief description of the exception returned by the request.</p>
2316
- * @public
2317
- */
2318
- Message?: string | undefined;
2319
- /**
2320
- * @internal
2321
- */
2322
- constructor(opts: __ExceptionOptionType<ResourcePolicyNotFoundException, __BaseException>);
2323
- }
2324
1018
  /**
2325
1019
  * <p>The request that specifies the name of a trail to delete.</p>
2326
1020
  * @public
@@ -2342,41 +1036,6 @@ export interface DeleteTrailRequest {
2342
1036
  */
2343
1037
  export interface DeleteTrailResponse {
2344
1038
  }
2345
- /**
2346
- * <p>This exception is thrown when an operation is called on a trail from a Region other than
2347
- * the Region in which the trail was created.</p>
2348
- * @public
2349
- */
2350
- export declare class InvalidHomeRegionException extends __BaseException {
2351
- readonly name: "InvalidHomeRegionException";
2352
- readonly $fault: "client";
2353
- /**
2354
- * <p>Brief description of the exception returned by the request.</p>
2355
- * @public
2356
- */
2357
- Message?: string | undefined;
2358
- /**
2359
- * @internal
2360
- */
2361
- constructor(opts: __ExceptionOptionType<InvalidHomeRegionException, __BaseException>);
2362
- }
2363
- /**
2364
- * <p>This exception is thrown when the trail with the given name is not found.</p>
2365
- * @public
2366
- */
2367
- export declare class TrailNotFoundException extends __BaseException {
2368
- readonly name: "TrailNotFoundException";
2369
- readonly $fault: "client";
2370
- /**
2371
- * <p>Brief description of the exception returned by the request.</p>
2372
- * @public
2373
- */
2374
- Message?: string | undefined;
2375
- /**
2376
- * @internal
2377
- */
2378
- constructor(opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>);
2379
- }
2380
1039
  /**
2381
1040
  * <p>Removes CloudTrail delegated administrator permissions from a specified member
2382
1041
  * account in an organization that is currently designated as a delegated
@@ -2397,24 +1056,6 @@ export interface DeregisterOrganizationDelegatedAdminRequest {
2397
1056
  */
2398
1057
  export interface DeregisterOrganizationDelegatedAdminResponse {
2399
1058
  }
2400
- /**
2401
- * <p> This exception is thrown when the account making the request is not the organization's
2402
- * management account. </p>
2403
- * @public
2404
- */
2405
- export declare class NotOrganizationManagementAccountException extends __BaseException {
2406
- readonly name: "NotOrganizationManagementAccountException";
2407
- readonly $fault: "client";
2408
- /**
2409
- * <p>Brief description of the exception returned by the request.</p>
2410
- * @public
2411
- */
2412
- Message?: string | undefined;
2413
- /**
2414
- * @internal
2415
- */
2416
- constructor(opts: __ExceptionOptionType<NotOrganizationManagementAccountException, __BaseException>);
2417
- }
2418
1059
  /**
2419
1060
  * @public
2420
1061
  */
@@ -2454,25 +1095,6 @@ export interface DescribeQueryRequest {
2454
1095
  */
2455
1096
  EventDataStoreOwnerAccountId?: string | undefined;
2456
1097
  }
2457
- /**
2458
- * @public
2459
- * @enum
2460
- */
2461
- export declare const DeliveryStatus: {
2462
- readonly ACCESS_DENIED: "ACCESS_DENIED";
2463
- readonly ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE";
2464
- readonly CANCELLED: "CANCELLED";
2465
- readonly FAILED: "FAILED";
2466
- readonly FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE";
2467
- readonly PENDING: "PENDING";
2468
- readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
2469
- readonly SUCCESS: "SUCCESS";
2470
- readonly UNKNOWN: "UNKNOWN";
2471
- };
2472
- /**
2473
- * @public
2474
- */
2475
- export type DeliveryStatus = (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
2476
1098
  /**
2477
1099
  * <p>Gets metadata about a query, including the number of events that were matched, the total
2478
1100
  * number of events scanned, the query run time in milliseconds, and the query's creation
@@ -2697,7 +1319,7 @@ export interface Trail {
2697
1319
  */
2698
1320
  CloudWatchLogsRoleArn?: string | undefined;
2699
1321
  /**
2700
- * <p>Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
1322
+ * <p>Specifies the KMS key ID that encrypts the logs and digest files delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
2701
1323
  * following format.</p>
2702
1324
  * <p>
2703
1325
  * <code>arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012</code>
@@ -2739,25 +1361,6 @@ export interface DescribeTrailsResponse {
2739
1361
  */
2740
1362
  trailList?: Trail[] | undefined;
2741
1363
  }
2742
- /**
2743
- * <p>
2744
- * You are trying to update a resource when another request is in progress. Allow sufficient wait time for the previous request to complete, then retry your request.
2745
- * </p>
2746
- * @public
2747
- */
2748
- export declare class ConcurrentModificationException extends __BaseException {
2749
- readonly name: "ConcurrentModificationException";
2750
- readonly $fault: "client";
2751
- /**
2752
- * <p>Brief description of the exception returned by the request.</p>
2753
- * @public
2754
- */
2755
- Message?: string | undefined;
2756
- /**
2757
- * @internal
2758
- */
2759
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
2760
- }
2761
1364
  /**
2762
1365
  * @public
2763
1366
  */
@@ -2770,20 +1373,6 @@ export interface DisableFederationRequest {
2770
1373
  */
2771
1374
  EventDataStore: string | undefined;
2772
1375
  }
2773
- /**
2774
- * @public
2775
- * @enum
2776
- */
2777
- export declare const FederationStatus: {
2778
- readonly DISABLED: "DISABLED";
2779
- readonly DISABLING: "DISABLING";
2780
- readonly ENABLED: "ENABLED";
2781
- readonly ENABLING: "ENABLING";
2782
- };
2783
- /**
2784
- * @public
2785
- */
2786
- export type FederationStatus = (typeof FederationStatus)[keyof typeof FederationStatus];
2787
1376
  /**
2788
1377
  * @public
2789
1378
  */
@@ -2896,25 +1485,6 @@ export interface GenerateQueryResponse {
2896
1485
  */
2897
1486
  EventDataStoreOwnerAccountId?: string | undefined;
2898
1487
  }
2899
- /**
2900
- * <p>
2901
- * This exception is thrown when a valid query could not be generated for the provided prompt.
2902
- * </p>
2903
- * @public
2904
- */
2905
- export declare class GenerateResponseException extends __BaseException {
2906
- readonly name: "GenerateResponseException";
2907
- readonly $fault: "client";
2908
- /**
2909
- * <p>Brief description of the exception returned by the request.</p>
2910
- * @public
2911
- */
2912
- Message?: string | undefined;
2913
- /**
2914
- * @internal
2915
- */
2916
- constructor(opts: __ExceptionOptionType<GenerateResponseException, __BaseException>);
2917
- }
2918
1488
  /**
2919
1489
  * @public
2920
1490
  */
@@ -3028,21 +1598,6 @@ export interface GetDashboardRequest {
3028
1598
  */
3029
1599
  DashboardId: string | undefined;
3030
1600
  }
3031
- /**
3032
- * @public
3033
- * @enum
3034
- */
3035
- export declare const DashboardStatus: {
3036
- readonly CREATED: "CREATED";
3037
- readonly CREATING: "CREATING";
3038
- readonly DELETING: "DELETING";
3039
- readonly UPDATED: "UPDATED";
3040
- readonly UPDATING: "UPDATING";
3041
- };
3042
- /**
3043
- * @public
3044
- */
3045
- export type DashboardStatus = (typeof DashboardStatus)[keyof typeof DashboardStatus];
3046
1601
  /**
3047
1602
  * @public
3048
1603
  */
@@ -3128,18 +1683,6 @@ export interface GetEventConfigurationRequest {
3128
1683
  */
3129
1684
  EventDataStore?: string | undefined;
3130
1685
  }
3131
- /**
3132
- * @public
3133
- * @enum
3134
- */
3135
- export declare const Type: {
3136
- readonly RequestContext: "RequestContext";
3137
- readonly TagContext: "TagContext";
3138
- };
3139
- /**
3140
- * @public
3141
- */
3142
- export type Type = (typeof Type)[keyof typeof Type];
3143
1686
  /**
3144
1687
  * <p>An object that contains information types to be included in CloudTrail enriched events.</p>
3145
1688
  * @public
@@ -3156,18 +1699,6 @@ export interface ContextKeySelector {
3156
1699
  */
3157
1700
  Equals: string[] | undefined;
3158
1701
  }
3159
- /**
3160
- * @public
3161
- * @enum
3162
- */
3163
- export declare const MaxEventSize: {
3164
- readonly Large: "Large";
3165
- readonly Standard: "Standard";
3166
- };
3167
- /**
3168
- * @public
3169
- */
3170
- export type MaxEventSize = (typeof MaxEventSize)[keyof typeof MaxEventSize];
3171
1702
  /**
3172
1703
  * @public
3173
1704
  */
@@ -3188,23 +1719,6 @@ export interface GetEventConfigurationResponse {
3188
1719
  */
3189
1720
  ContextKeySelectors?: ContextKeySelector[] | undefined;
3190
1721
  }
3191
- /**
3192
- * <p>The event data store is not in a status that supports the operation.</p>
3193
- * @public
3194
- */
3195
- export declare class InvalidEventDataStoreStatusException extends __BaseException {
3196
- readonly name: "InvalidEventDataStoreStatusException";
3197
- readonly $fault: "client";
3198
- /**
3199
- * <p>Brief description of the exception returned by the request.</p>
3200
- * @public
3201
- */
3202
- Message?: string | undefined;
3203
- /**
3204
- * @internal
3205
- */
3206
- constructor(opts: __ExceptionOptionType<InvalidEventDataStoreStatusException, __BaseException>);
3207
- }
3208
1722
  /**
3209
1723
  * @public
3210
1724
  */
@@ -3516,19 +2030,6 @@ export interface DataResource {
3516
2030
  */
3517
2031
  Values?: string[] | undefined;
3518
2032
  }
3519
- /**
3520
- * @public
3521
- * @enum
3522
- */
3523
- export declare const ReadWriteType: {
3524
- readonly All: "All";
3525
- readonly ReadOnly: "ReadOnly";
3526
- readonly WriteOnly: "WriteOnly";
3527
- };
3528
- /**
3529
- * @public
3530
- */
3531
- export type ReadWriteType = (typeof ReadWriteType)[keyof typeof ReadWriteType];
3532
2033
  /**
3533
2034
  * <p>Use event selectors to further specify the management and data event settings for your
3534
2035
  * trail. By default, trails created without specific event selectors will be configured to
@@ -3684,21 +2185,6 @@ export interface ImportStatistics {
3684
2185
  */
3685
2186
  FailedEntries?: number | undefined;
3686
2187
  }
3687
- /**
3688
- * @public
3689
- * @enum
3690
- */
3691
- export declare const ImportStatus: {
3692
- readonly COMPLETED: "COMPLETED";
3693
- readonly FAILED: "FAILED";
3694
- readonly INITIALIZING: "INITIALIZING";
3695
- readonly IN_PROGRESS: "IN_PROGRESS";
3696
- readonly STOPPED: "STOPPED";
3697
- };
3698
- /**
3699
- * @public
3700
- */
3701
- export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
3702
2188
  /**
3703
2189
  * @public
3704
2190
  */
@@ -3756,23 +2242,6 @@ export interface GetImportResponse {
3756
2242
  */
3757
2243
  ImportStatistics?: ImportStatistics | undefined;
3758
2244
  }
3759
- /**
3760
- * <p> The specified import was not found. </p>
3761
- * @public
3762
- */
3763
- export declare class ImportNotFoundException extends __BaseException {
3764
- readonly name: "ImportNotFoundException";
3765
- readonly $fault: "client";
3766
- /**
3767
- * <p>Brief description of the exception returned by the request.</p>
3768
- * @public
3769
- */
3770
- Message?: string | undefined;
3771
- /**
3772
- * @internal
3773
- */
3774
- constructor(opts: __ExceptionOptionType<ImportNotFoundException, __BaseException>);
3775
- }
3776
2245
  /**
3777
2246
  * @public
3778
2247
  */
@@ -3817,18 +2286,6 @@ export interface GetInsightSelectorsRequest {
3817
2286
  */
3818
2287
  EventDataStore?: string | undefined;
3819
2288
  }
3820
- /**
3821
- * @public
3822
- * @enum
3823
- */
3824
- export declare const InsightType: {
3825
- readonly ApiCallRateInsight: "ApiCallRateInsight";
3826
- readonly ApiErrorRateInsight: "ApiErrorRateInsight";
3827
- };
3828
- /**
3829
- * @public
3830
- */
3831
- export type InsightType = (typeof InsightType)[keyof typeof InsightType];
3832
2289
  /**
3833
2290
  * <p>A JSON string that contains a list of Insights types that are logged on a trail or event data store.</p>
3834
2291
  * @public
@@ -3838,13 +2295,28 @@ export interface InsightSelector {
3838
2295
  * <p>The type of Insights events to log on a trail or event data store. <code>ApiCallRateInsight</code> and
3839
2296
  * <code>ApiErrorRateInsight</code> are valid Insight types.</p>
3840
2297
  * <p>The <code>ApiCallRateInsight</code> Insights type analyzes write-only
3841
- * management API calls that are aggregated per minute against a baseline API call volume.</p>
3842
- * <p>The <code>ApiErrorRateInsight</code> Insights type analyzes management
2298
+ * management API calls or read and write data API calls that are aggregated per minute against a baseline API call volume.</p>
2299
+ * <p>The <code>ApiErrorRateInsight</code> Insights type analyzes management and data
3843
2300
  * API calls that result in error codes. The error is shown if the API call is
3844
2301
  * unsuccessful.</p>
3845
2302
  * @public
3846
2303
  */
3847
2304
  InsightType?: InsightType | undefined;
2305
+ /**
2306
+ * <p>Select the event category on which Insights should be enabled. </p>
2307
+ * <ul>
2308
+ * <li>
2309
+ * <p>If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.</p>
2310
+ * </li>
2311
+ * <li>
2312
+ * <p>If EventCategories is provided, the given event categories will overwrite the existing ones. For example,
2313
+ * if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
2314
+ * </p>
2315
+ * </li>
2316
+ * </ul>
2317
+ * @public
2318
+ */
2319
+ EventCategories?: SourceEventCategory[] | undefined;
3848
2320
  }
3849
2321
  /**
3850
2322
  * @public
@@ -3857,8 +2329,9 @@ export interface GetInsightSelectorsResponse {
3857
2329
  */
3858
2330
  TrailARN?: string | undefined;
3859
2331
  /**
3860
- * <p>A JSON string that contains the Insight types you want to log on a trail or event data store. <code>ApiErrorRateInsight</code> and <code>ApiCallRateInsight</code> are supported
3861
- * as Insights types.</p>
2332
+ * <p>Contains the Insights types that are enabled on a trail or event data store. It also specifies the event categories on which a particular Insight type is enabled.
2333
+ * <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code> are valid Insight
2334
+ * types.The EventCategory field can specify <code>Management</code> or <code>Data</code> events or both. For event data store, you can log Insights for management events only.</p>
3862
2335
  * @public
3863
2336
  */
3864
2337
  InsightSelectors?: InsightSelector[] | undefined;
@@ -3877,25 +2350,6 @@ export interface GetInsightSelectorsResponse {
3877
2350
  */
3878
2351
  InsightsDestination?: string | undefined;
3879
2352
  }
3880
- /**
3881
- * <p>If you run <code>GetInsightSelectors</code> on a trail or event data store that does not have Insights
3882
- * events enabled, the operation throws the exception
3883
- * <code>InsightNotEnabledException</code>.</p>
3884
- * @public
3885
- */
3886
- export declare class InsightNotEnabledException extends __BaseException {
3887
- readonly name: "InsightNotEnabledException";
3888
- readonly $fault: "client";
3889
- /**
3890
- * <p>Brief description of the exception returned by the request.</p>
3891
- * @public
3892
- */
3893
- Message?: string | undefined;
3894
- /**
3895
- * @internal
3896
- */
3897
- constructor(opts: __ExceptionOptionType<InsightNotEnabledException, __BaseException>);
3898
- }
3899
2353
  /**
3900
2354
  * @public
3901
2355
  */
@@ -3986,41 +2440,6 @@ export interface GetQueryResultsResponse {
3986
2440
  */
3987
2441
  ErrorMessage?: string | undefined;
3988
2442
  }
3989
- /**
3990
- * <p>This exception is thrown if the limit specified is not valid.</p>
3991
- * @public
3992
- */
3993
- export declare class InvalidMaxResultsException extends __BaseException {
3994
- readonly name: "InvalidMaxResultsException";
3995
- readonly $fault: "client";
3996
- /**
3997
- * <p>Brief description of the exception returned by the request.</p>
3998
- * @public
3999
- */
4000
- Message?: string | undefined;
4001
- /**
4002
- * @internal
4003
- */
4004
- constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
4005
- }
4006
- /**
4007
- * <p>A token that is not valid, or a token that was previously used in a request with
4008
- * different parameters. This exception is thrown if the token is not valid.</p>
4009
- * @public
4010
- */
4011
- export declare class InvalidNextTokenException extends __BaseException {
4012
- readonly name: "InvalidNextTokenException";
4013
- readonly $fault: "client";
4014
- /**
4015
- * <p>Brief description of the exception returned by the request.</p>
4016
- * @public
4017
- */
4018
- Message?: string | undefined;
4019
- /**
4020
- * @internal
4021
- */
4022
- constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
4023
- }
4024
2443
  /**
4025
2444
  * @public
4026
2445
  */
@@ -4474,19 +2893,6 @@ export interface ListImportFailuresRequest {
4474
2893
  */
4475
2894
  NextToken?: string | undefined;
4476
2895
  }
4477
- /**
4478
- * @public
4479
- * @enum
4480
- */
4481
- export declare const ImportFailureStatus: {
4482
- readonly FAILED: "FAILED";
4483
- readonly RETRY: "RETRY";
4484
- readonly SUCCEEDED: "SUCCEEDED";
4485
- };
4486
- /**
4487
- * @public
4488
- */
4489
- export type ImportFailureStatus = (typeof ImportFailureStatus)[keyof typeof ImportFailureStatus];
4490
2896
  /**
4491
2897
  * <p> Provides information about an import failure. </p>
4492
2898
  * @public
@@ -4553,73 +2959,204 @@ export interface ListImportsRequest {
4553
2959
  */
4554
2960
  ImportStatus?: ImportStatus | undefined;
4555
2961
  /**
4556
- * <p> A token you can use to get the next page of import results. </p>
2962
+ * <p> A token you can use to get the next page of import results. </p>
2963
+ * @public
2964
+ */
2965
+ NextToken?: string | undefined;
2966
+ }
2967
+ /**
2968
+ * <p> Contains information about an import that was returned by a lookup request. </p>
2969
+ * @public
2970
+ */
2971
+ export interface ImportsListItem {
2972
+ /**
2973
+ * <p> The ID of the import. </p>
2974
+ * @public
2975
+ */
2976
+ ImportId?: string | undefined;
2977
+ /**
2978
+ * <p> The status of the import. </p>
2979
+ * @public
2980
+ */
2981
+ ImportStatus?: ImportStatus | undefined;
2982
+ /**
2983
+ * <p> The ARN of the destination event data store. </p>
2984
+ * @public
2985
+ */
2986
+ Destinations?: string[] | undefined;
2987
+ /**
2988
+ * <p> The timestamp of the import's creation. </p>
2989
+ * @public
2990
+ */
2991
+ CreatedTimestamp?: Date | undefined;
2992
+ /**
2993
+ * <p> The timestamp of the import's last update. </p>
2994
+ * @public
2995
+ */
2996
+ UpdatedTimestamp?: Date | undefined;
2997
+ }
2998
+ /**
2999
+ * @public
3000
+ */
3001
+ export interface ListImportsResponse {
3002
+ /**
3003
+ * <p> The list of returned imports. </p>
3004
+ * @public
3005
+ */
3006
+ Imports?: ImportsListItem[] | undefined;
3007
+ /**
3008
+ * <p> A token you can use to get the next page of import results. </p>
3009
+ * @public
3010
+ */
3011
+ NextToken?: string | undefined;
3012
+ }
3013
+ /**
3014
+ * @public
3015
+ */
3016
+ export interface ListInsightsDataRequest {
3017
+ /**
3018
+ * <p>The Amazon Resource Name(ARN) of the trail for which you want to retrieve Insights events.</p>
3019
+ * @public
3020
+ */
3021
+ InsightSource: string | undefined;
3022
+ /**
3023
+ * <p>Specifies the category of events returned. To fetch Insights events, specify <code>InsightsEvents</code> as the value of <code>DataType</code>
3024
+ * </p>
3025
+ * @public
3026
+ */
3027
+ DataType: ListInsightsDataType | undefined;
3028
+ /**
3029
+ * <p>Contains a map of dimensions. Currently the map can contain only one item.</p>
3030
+ * @public
3031
+ */
3032
+ Dimensions?: Partial<Record<ListInsightsDataDimensionKey, string>> | undefined;
3033
+ /**
3034
+ * <p>Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.</p>
3035
+ * @public
3036
+ */
3037
+ StartTime?: Date | undefined;
3038
+ /**
3039
+ * <p>Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.</p>
3040
+ * @public
3041
+ */
3042
+ EndTime?: Date | undefined;
3043
+ /**
3044
+ * <p>The number of events to return. Possible values are 1 through 50. The default is 50.</p>
3045
+ * @public
3046
+ */
3047
+ MaxResults?: number | undefined;
3048
+ /**
3049
+ * <p>The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call.
3050
+ * For example, if the original call specified a EventName as a dimension with <code>PutObject</code> as a value, the call with NextToken should include those same parameters.
3051
+ * </p>
3052
+ * @public
3053
+ */
3054
+ NextToken?: string | undefined;
3055
+ }
3056
+ /**
3057
+ * <p>Specifies the type and name of a resource referenced by an event.</p>
3058
+ * @public
3059
+ */
3060
+ export interface Resource {
3061
+ /**
3062
+ * <p>The type of a resource referenced by the event returned. When the resource type cannot
3063
+ * be determined, null is returned. Some examples of resource types are: <b>Instance</b> for EC2, <b>Trail</b> for CloudTrail, <b>DBInstance</b> for Amazon RDS, and <b>AccessKey</b> for IAM. To learn more about how to look up and filter
3064
+ * events by the resource types supported for a service, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events">Filtering CloudTrail Events</a>.</p>
3065
+ * @public
3066
+ */
3067
+ ResourceType?: string | undefined;
3068
+ /**
3069
+ * <p>The name of the resource referenced by the event returned. These are user-created names
3070
+ * whose values will depend on the environment. For example, the resource name might be
3071
+ * "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2
3072
+ * Instance.</p>
3073
+ * @public
3074
+ */
3075
+ ResourceName?: string | undefined;
3076
+ }
3077
+ /**
3078
+ * <p>Contains information about an event that was returned by a lookup request. The result
3079
+ * includes a representation of a CloudTrail event.</p>
3080
+ * @public
3081
+ */
3082
+ export interface Event {
3083
+ /**
3084
+ * <p>The CloudTrail ID of the event returned.</p>
3085
+ * @public
3086
+ */
3087
+ EventId?: string | undefined;
3088
+ /**
3089
+ * <p>The name of the event returned.</p>
3090
+ * @public
3091
+ */
3092
+ EventName?: string | undefined;
3093
+ /**
3094
+ * <p>Information about whether the event is a write event or a read event. </p>
3095
+ * @public
3096
+ */
3097
+ ReadOnly?: string | undefined;
3098
+ /**
3099
+ * <p>The Amazon Web Services access key ID that was used to sign the request. If the request
3100
+ * was made with temporary security credentials, this is the access key ID of the temporary
3101
+ * credentials.</p>
4557
3102
  * @public
4558
3103
  */
4559
- NextToken?: string | undefined;
4560
- }
4561
- /**
4562
- * <p> Contains information about an import that was returned by a lookup request. </p>
4563
- * @public
4564
- */
4565
- export interface ImportsListItem {
3104
+ AccessKeyId?: string | undefined;
4566
3105
  /**
4567
- * <p> The ID of the import. </p>
3106
+ * <p>The date and time of the event returned.</p>
4568
3107
  * @public
4569
3108
  */
4570
- ImportId?: string | undefined;
3109
+ EventTime?: Date | undefined;
4571
3110
  /**
4572
- * <p> The status of the import. </p>
3111
+ * <p>The Amazon Web Services service to which the request was made.</p>
4573
3112
  * @public
4574
3113
  */
4575
- ImportStatus?: ImportStatus | undefined;
3114
+ EventSource?: string | undefined;
4576
3115
  /**
4577
- * <p> The ARN of the destination event data store. </p>
3116
+ * <p>A user name or role name of the requester that called the API in the event
3117
+ * returned.</p>
4578
3118
  * @public
4579
3119
  */
4580
- Destinations?: string[] | undefined;
3120
+ Username?: string | undefined;
4581
3121
  /**
4582
- * <p> The timestamp of the import's creation. </p>
3122
+ * <p>A list of resources referenced by the event returned.</p>
4583
3123
  * @public
4584
3124
  */
4585
- CreatedTimestamp?: Date | undefined;
3125
+ Resources?: Resource[] | undefined;
4586
3126
  /**
4587
- * <p> The timestamp of the import's last update. </p>
3127
+ * <p>A JSON string that contains a representation of the event returned.</p>
4588
3128
  * @public
4589
3129
  */
4590
- UpdatedTimestamp?: Date | undefined;
3130
+ CloudTrailEvent?: string | undefined;
4591
3131
  }
4592
3132
  /**
4593
3133
  * @public
4594
3134
  */
4595
- export interface ListImportsResponse {
3135
+ export interface ListInsightsDataResponse {
4596
3136
  /**
4597
- * <p> The list of returned imports. </p>
3137
+ * <p>A list of events returned based on the InsightSource, DataType or Dimensions specified. The events list is sorted by time. The most recent event is listed first.</p>
4598
3138
  * @public
4599
3139
  */
4600
- Imports?: ImportsListItem[] | undefined;
3140
+ Events?: Event[] | undefined;
4601
3141
  /**
4602
- * <p> A token you can use to get the next page of import results. </p>
3142
+ * <p>The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call.
3143
+ * For example, if the original call specified a EventName as a dimension with <code>PutObject</code> as a value, the call with NextToken should include those same parameters.
3144
+ * </p>
4603
3145
  * @public
4604
3146
  */
4605
3147
  NextToken?: string | undefined;
4606
3148
  }
4607
- /**
4608
- * @public
4609
- * @enum
4610
- */
4611
- export declare const InsightsMetricDataType: {
4612
- readonly FILL_WITH_ZEROS: "FillWithZeros";
4613
- readonly NON_ZERO_DATA: "NonZeroData";
4614
- };
4615
- /**
4616
- * @public
4617
- */
4618
- export type InsightsMetricDataType = (typeof InsightsMetricDataType)[keyof typeof InsightsMetricDataType];
4619
3149
  /**
4620
3150
  * @public
4621
3151
  */
4622
3152
  export interface ListInsightsMetricDataRequest {
3153
+ /**
3154
+ * <p>The Amazon Resource Name(ARN) or name of the trail for which you want to retrieve Insights metrics data.
3155
+ * This parameter should only be provided to fetch Insights metrics data generated on trails logging data events.
3156
+ * This parameter is not required for Insights metric data generated on trails logging management events.</p>
3157
+ * @public
3158
+ */
3159
+ TrailName?: string | undefined;
4623
3160
  /**
4624
3161
  * <p>The Amazon Web Services service to which the request was made, such as <code>iam.amazonaws.com</code> or <code>s3.amazonaws.com</code>.</p>
4625
3162
  * @public
@@ -4685,6 +3222,11 @@ export interface ListInsightsMetricDataRequest {
4685
3222
  * @public
4686
3223
  */
4687
3224
  export interface ListInsightsMetricDataResponse {
3225
+ /**
3226
+ * <p>Specifies the ARN of the trail. This is only returned when Insights is enabled on a trail logging data events. </p>
3227
+ * @public
3228
+ */
3229
+ TrailARN?: string | undefined;
4688
3230
  /**
4689
3231
  * <p>The Amazon Web Services service to which the request was made, such as <code>iam.amazonaws.com</code> or <code>s3.amazonaws.com</code>.</p>
4690
3232
  * @public
@@ -4725,41 +3267,6 @@ export interface ListInsightsMetricDataResponse {
4725
3267
  */
4726
3268
  NextToken?: string | undefined;
4727
3269
  }
4728
- /**
4729
- * <p>Occurs if the timestamp values are not valid. Either the start time occurs after the end
4730
- * time, or the time range is outside the range of possible values.</p>
4731
- * @public
4732
- */
4733
- export declare class InvalidTimeRangeException extends __BaseException {
4734
- readonly name: "InvalidTimeRangeException";
4735
- readonly $fault: "client";
4736
- /**
4737
- * <p>Brief description of the exception returned by the request.</p>
4738
- * @public
4739
- */
4740
- Message?: string | undefined;
4741
- /**
4742
- * @internal
4743
- */
4744
- constructor(opts: __ExceptionOptionType<InvalidTimeRangeException, __BaseException>);
4745
- }
4746
- /**
4747
- * <p>Reserved for future use.</p>
4748
- * @public
4749
- */
4750
- export declare class InvalidTokenException extends __BaseException {
4751
- readonly name: "InvalidTokenException";
4752
- readonly $fault: "client";
4753
- /**
4754
- * <p>Brief description of the exception returned by the request.</p>
4755
- * @public
4756
- */
4757
- Message?: string | undefined;
4758
- /**
4759
- * @internal
4760
- */
4761
- constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
4762
- }
4763
3270
  /**
4764
3271
  * <p>Requests the public keys for a specified time range.</p>
4765
3272
  * @public
@@ -4830,42 +3337,6 @@ export interface ListPublicKeysResponse {
4830
3337
  */
4831
3338
  NextToken?: string | undefined;
4832
3339
  }
4833
- /**
4834
- * <p>A date range for the query was specified that is not valid. Be sure that the start time
4835
- * is chronologically before the end time. For more information about writing a query, see
4836
- * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create or edit a query</a> in the <i>CloudTrail User Guide</i>.</p>
4837
- * @public
4838
- */
4839
- export declare class InvalidDateRangeException extends __BaseException {
4840
- readonly name: "InvalidDateRangeException";
4841
- readonly $fault: "client";
4842
- /**
4843
- * <p>Brief description of the exception returned by the request.</p>
4844
- * @public
4845
- */
4846
- Message?: string | undefined;
4847
- /**
4848
- * @internal
4849
- */
4850
- constructor(opts: __ExceptionOptionType<InvalidDateRangeException, __BaseException>);
4851
- }
4852
- /**
4853
- * <p>The query status is not valid for the operation.</p>
4854
- * @public
4855
- */
4856
- export declare class InvalidQueryStatusException extends __BaseException {
4857
- readonly name: "InvalidQueryStatusException";
4858
- readonly $fault: "client";
4859
- /**
4860
- * <p>Brief description of the exception returned by the request.</p>
4861
- * @public
4862
- */
4863
- Message?: string | undefined;
4864
- /**
4865
- * @internal
4866
- */
4867
- constructor(opts: __ExceptionOptionType<InvalidQueryStatusException, __BaseException>);
4868
- }
4869
3340
  /**
4870
3341
  * @public
4871
3342
  */
@@ -5062,70 +3533,6 @@ export interface ListTrailsResponse {
5062
3533
  */
5063
3534
  NextToken?: string | undefined;
5064
3535
  }
5065
- /**
5066
- * <p>Occurs if an event category that is not valid is specified as a value of
5067
- * <code>EventCategory</code>.</p>
5068
- * @public
5069
- */
5070
- export declare class InvalidEventCategoryException extends __BaseException {
5071
- readonly name: "InvalidEventCategoryException";
5072
- readonly $fault: "client";
5073
- /**
5074
- * <p>Brief description of the exception returned by the request.</p>
5075
- * @public
5076
- */
5077
- Message?: string | undefined;
5078
- /**
5079
- * @internal
5080
- */
5081
- constructor(opts: __ExceptionOptionType<InvalidEventCategoryException, __BaseException>);
5082
- }
5083
- /**
5084
- * <p>Occurs when a lookup attribute is specified that is not valid.</p>
5085
- * @public
5086
- */
5087
- export declare class InvalidLookupAttributesException extends __BaseException {
5088
- readonly name: "InvalidLookupAttributesException";
5089
- readonly $fault: "client";
5090
- /**
5091
- * <p>Brief description of the exception returned by the request.</p>
5092
- * @public
5093
- */
5094
- Message?: string | undefined;
5095
- /**
5096
- * @internal
5097
- */
5098
- constructor(opts: __ExceptionOptionType<InvalidLookupAttributesException, __BaseException>);
5099
- }
5100
- /**
5101
- * @public
5102
- * @enum
5103
- */
5104
- export declare const EventCategory: {
5105
- readonly Insight: "insight";
5106
- };
5107
- /**
5108
- * @public
5109
- */
5110
- export type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
5111
- /**
5112
- * @public
5113
- * @enum
5114
- */
5115
- export declare const LookupAttributeKey: {
5116
- readonly ACCESS_KEY_ID: "AccessKeyId";
5117
- readonly EVENT_ID: "EventId";
5118
- readonly EVENT_NAME: "EventName";
5119
- readonly EVENT_SOURCE: "EventSource";
5120
- readonly READ_ONLY: "ReadOnly";
5121
- readonly RESOURCE_NAME: "ResourceName";
5122
- readonly RESOURCE_TYPE: "ResourceType";
5123
- readonly USERNAME: "Username";
5124
- };
5125
- /**
5126
- * @public
5127
- */
5128
- export type LookupAttributeKey = (typeof LookupAttributeKey)[keyof typeof LookupAttributeKey];
5129
3536
  /**
5130
3537
  * <p>Specifies an attribute and value that filter the events returned.</p>
5131
3538
  * @public
@@ -5191,82 +3598,6 @@ export interface LookupEventsRequest {
5191
3598
  */
5192
3599
  NextToken?: string | undefined;
5193
3600
  }
5194
- /**
5195
- * <p>Specifies the type and name of a resource referenced by an event.</p>
5196
- * @public
5197
- */
5198
- export interface Resource {
5199
- /**
5200
- * <p>The type of a resource referenced by the event returned. When the resource type cannot
5201
- * be determined, null is returned. Some examples of resource types are: <b>Instance</b> for EC2, <b>Trail</b> for CloudTrail, <b>DBInstance</b> for Amazon RDS, and <b>AccessKey</b> for IAM. To learn more about how to look up and filter
5202
- * events by the resource types supported for a service, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events">Filtering CloudTrail Events</a>.</p>
5203
- * @public
5204
- */
5205
- ResourceType?: string | undefined;
5206
- /**
5207
- * <p>The name of the resource referenced by the event returned. These are user-created names
5208
- * whose values will depend on the environment. For example, the resource name might be
5209
- * "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2
5210
- * Instance.</p>
5211
- * @public
5212
- */
5213
- ResourceName?: string | undefined;
5214
- }
5215
- /**
5216
- * <p>Contains information about an event that was returned by a lookup request. The result
5217
- * includes a representation of a CloudTrail event.</p>
5218
- * @public
5219
- */
5220
- export interface Event {
5221
- /**
5222
- * <p>The CloudTrail ID of the event returned.</p>
5223
- * @public
5224
- */
5225
- EventId?: string | undefined;
5226
- /**
5227
- * <p>The name of the event returned.</p>
5228
- * @public
5229
- */
5230
- EventName?: string | undefined;
5231
- /**
5232
- * <p>Information about whether the event is a write event or a read event. </p>
5233
- * @public
5234
- */
5235
- ReadOnly?: string | undefined;
5236
- /**
5237
- * <p>The Amazon Web Services access key ID that was used to sign the request. If the request
5238
- * was made with temporary security credentials, this is the access key ID of the temporary
5239
- * credentials.</p>
5240
- * @public
5241
- */
5242
- AccessKeyId?: string | undefined;
5243
- /**
5244
- * <p>The date and time of the event returned.</p>
5245
- * @public
5246
- */
5247
- EventTime?: Date | undefined;
5248
- /**
5249
- * <p>The Amazon Web Services service to which the request was made.</p>
5250
- * @public
5251
- */
5252
- EventSource?: string | undefined;
5253
- /**
5254
- * <p>A user name or role name of the requester that called the API in the event
5255
- * returned.</p>
5256
- * @public
5257
- */
5258
- Username?: string | undefined;
5259
- /**
5260
- * <p>A list of resources referenced by the event returned.</p>
5261
- * @public
5262
- */
5263
- Resources?: Resource[] | undefined;
5264
- /**
5265
- * <p>A JSON string that contains a representation of the event returned.</p>
5266
- * @public
5267
- */
5268
- CloudTrailEvent?: string | undefined;
5269
- }
5270
3601
  /**
5271
3602
  * <p>Contains a response to a LookupEvents action.</p>
5272
3603
  * @public
@@ -5288,23 +3619,6 @@ export interface LookupEventsResponse {
5288
3619
  */
5289
3620
  NextToken?: string | undefined;
5290
3621
  }
5291
- /**
5292
- * <p>The task can't be completed because you are signed in with an account that lacks permissions to view or create a service-linked role. Sign in with an account that has the required permissions and then try again.</p>
5293
- * @public
5294
- */
5295
- export declare class InsufficientIAMAccessPermissionException extends __BaseException {
5296
- readonly name: "InsufficientIAMAccessPermissionException";
5297
- readonly $fault: "client";
5298
- /**
5299
- * <p>Brief description of the exception returned by the request.</p>
5300
- * @public
5301
- */
5302
- Message?: string | undefined;
5303
- /**
5304
- * @internal
5305
- */
5306
- constructor(opts: __ExceptionOptionType<InsufficientIAMAccessPermissionException, __BaseException>);
5307
- }
5308
3622
  /**
5309
3623
  * @public
5310
3624
  */
@@ -5446,31 +3760,6 @@ export interface PutEventSelectorsResponse {
5446
3760
  */
5447
3761
  AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
5448
3762
  }
5449
- /**
5450
- * <p>For <code>PutInsightSelectors</code>, this exception is thrown when the formatting or syntax of the <code>InsightSelectors</code> JSON statement is not
5451
- * valid, or the specified <code>InsightType</code> in the <code>InsightSelectors</code> statement is not
5452
- * valid. Valid values for <code>InsightType</code> are <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code>. To enable Insights on an event data store, the destination event data store specified by the
5453
- * <code>InsightsDestination</code> parameter must log Insights events and the source event data
5454
- * store specified by the <code>EventDataStore</code> parameter must log management events.</p>
5455
- * <p>For <code>UpdateEventDataStore</code>, this exception is thrown if Insights are enabled on the event data store and the updated
5456
- * advanced event selectors are not compatible with the configured <code>InsightSelectors</code>.
5457
- * If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiCallRateInsight</code>, the source event data store must log <code>write</code> management events.
5458
- * If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiErrorRateInsight</code>, the source event data store must log management events.</p>
5459
- * @public
5460
- */
5461
- export declare class InvalidInsightSelectorsException extends __BaseException {
5462
- readonly name: "InvalidInsightSelectorsException";
5463
- readonly $fault: "client";
5464
- /**
5465
- * <p>Brief description of the exception returned by the request.</p>
5466
- * @public
5467
- */
5468
- Message?: string | undefined;
5469
- /**
5470
- * @internal
5471
- */
5472
- constructor(opts: __ExceptionOptionType<InvalidInsightSelectorsException, __BaseException>);
5473
- }
5474
3763
  /**
5475
3764
  * @public
5476
3765
  */
@@ -5483,14 +3772,14 @@ export interface PutInsightSelectorsRequest {
5483
3772
  */
5484
3773
  TrailName?: string | undefined;
5485
3774
  /**
5486
- * <p>A JSON string that contains the Insights types you want to log on a trail or event data store.
3775
+ * <p>Contains the Insights types you want to log on a specific category of events on a trail or event data store.
5487
3776
  * <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code> are valid Insight
5488
- * types.</p>
5489
- * <p>The <code>ApiCallRateInsight</code> Insights type analyzes write-only
5490
- * management API calls that are aggregated per minute against a baseline API call volume.</p>
5491
- * <p>The <code>ApiErrorRateInsight</code> Insights type analyzes management
5492
- * API calls that result in error codes. The error is shown if the API call is
5493
- * unsuccessful.</p>
3777
+ * types.The EventCategory field can specify <code>Management</code> or <code>Data</code> events or both. For event data store, you can log Insights for management events only.</p>
3778
+ * <p>The <code>ApiCallRateInsight</code> Insights type analyzes write-only management
3779
+ * API calls or read and write data API calls that are aggregated per minute against a baseline API call volume.</p>
3780
+ * <p>The <code>ApiErrorRateInsight</code> Insights type analyzes management and data
3781
+ * API calls that result in error codes. The error is shown if the API call is
3782
+ * unsuccessful.</p>
5494
3783
  * @public
5495
3784
  */
5496
3785
  InsightSelectors: InsightSelector[] | undefined;
@@ -5523,9 +3812,9 @@ export interface PutInsightSelectorsResponse {
5523
3812
  */
5524
3813
  TrailARN?: string | undefined;
5525
3814
  /**
5526
- * <p>A JSON string that contains the Insights event types that you want to log on a trail or event data store.
5527
- * The valid Insights types are <code>ApiErrorRateInsight</code> and
5528
- * <code>ApiCallRateInsight</code>.</p>
3815
+ * <p>Contains the Insights types you want to log on a specific category of events in a trail or event data store.
3816
+ * <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code> are valid Insight
3817
+ * types.The EventCategory field can specify <code>Management</code> or <code>Data</code> events or both. For event data store, you can only log Insights for management events only.</p>
5529
3818
  * @public
5530
3819
  */
5531
3820
  InsightSelectors?: InsightSelector[] | undefined;
@@ -5608,43 +3897,6 @@ export interface PutResourcePolicyResponse {
5608
3897
  */
5609
3898
  DelegatedAdminResourcePolicy?: string | undefined;
5610
3899
  }
5611
- /**
5612
- * <p>
5613
- * This exception is thrown when the resouce-based policy has syntax errors, or contains a principal that is not valid.
5614
- * </p>
5615
- * @public
5616
- */
5617
- export declare class ResourcePolicyNotValidException extends __BaseException {
5618
- readonly name: "ResourcePolicyNotValidException";
5619
- readonly $fault: "client";
5620
- /**
5621
- * <p>Brief description of the exception returned by the request.</p>
5622
- * @public
5623
- */
5624
- Message?: string | undefined;
5625
- /**
5626
- * @internal
5627
- */
5628
- constructor(opts: __ExceptionOptionType<ResourcePolicyNotValidException, __BaseException>);
5629
- }
5630
- /**
5631
- * <p>This exception is thrown when the maximum number of CloudTrail delegated
5632
- * administrators is reached.</p>
5633
- * @public
5634
- */
5635
- export declare class DelegatedAdminAccountLimitExceededException extends __BaseException {
5636
- readonly name: "DelegatedAdminAccountLimitExceededException";
5637
- readonly $fault: "client";
5638
- /**
5639
- * <p>Brief description of the exception returned by the request.</p>
5640
- * @public
5641
- */
5642
- Message?: string | undefined;
5643
- /**
5644
- * @internal
5645
- */
5646
- constructor(opts: __ExceptionOptionType<DelegatedAdminAccountLimitExceededException, __BaseException>);
5647
- }
5648
3900
  /**
5649
3901
  * <p>Specifies an organization member account ID as a CloudTrail delegated
5650
3902
  * administrator.</p>
@@ -5913,24 +4165,6 @@ export interface StartEventDataStoreIngestionRequest {
5913
4165
  */
5914
4166
  export interface StartEventDataStoreIngestionResponse {
5915
4167
  }
5916
- /**
5917
- * <p> This exception is thrown when the provided source S3 bucket is not valid for import.
5918
- * </p>
5919
- * @public
5920
- */
5921
- export declare class InvalidImportSourceException extends __BaseException {
5922
- readonly name: "InvalidImportSourceException";
5923
- readonly $fault: "client";
5924
- /**
5925
- * <p>Brief description of the exception returned by the request.</p>
5926
- * @public
5927
- */
5928
- Message?: string | undefined;
5929
- /**
5930
- * @internal
5931
- */
5932
- constructor(opts: __ExceptionOptionType<InvalidImportSourceException, __BaseException>);
5933
- }
5934
4168
  /**
5935
4169
  * @public
5936
4170
  */
@@ -6044,24 +4278,6 @@ export interface StartLoggingRequest {
6044
4278
  */
6045
4279
  export interface StartLoggingResponse {
6046
4280
  }
6047
- /**
6048
- * <p>You are already running the maximum number of concurrent queries. The maximum number of concurrent queries is 10. Wait a minute for some
6049
- * queries to finish, and then run the query again.</p>
6050
- * @public
6051
- */
6052
- export declare class MaxConcurrentQueriesException extends __BaseException {
6053
- readonly name: "MaxConcurrentQueriesException";
6054
- readonly $fault: "client";
6055
- /**
6056
- * <p>Brief description of the exception returned by the request.</p>
6057
- * @public
6058
- */
6059
- Message?: string | undefined;
6060
- /**
6061
- * @internal
6062
- */
6063
- constructor(opts: __ExceptionOptionType<MaxConcurrentQueriesException, __BaseException>);
6064
- }
6065
4281
  /**
6066
4282
  * @public
6067
4283
  */
@@ -6673,7 +4889,7 @@ export interface UpdateTrailRequest {
6673
4889
  */
6674
4890
  CloudWatchLogsRoleArn?: string | undefined;
6675
4891
  /**
6676
- * <p>Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to
4892
+ * <p>Specifies the KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to
6677
4893
  * an alias, a fully specified ARN to a key, or a globally unique identifier.</p>
6678
4894
  * <p>CloudTrail also supports KMS multi-Region keys. For more
6679
4895
  * information about multi-Region keys, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html">Using multi-Region
@@ -6789,7 +5005,7 @@ export interface UpdateTrailResponse {
6789
5005
  */
6790
5006
  CloudWatchLogsRoleArn?: string | undefined;
6791
5007
  /**
6792
- * <p>Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
5008
+ * <p>Specifies the KMS key ID that encrypts the logs and digest files delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
6793
5009
  * following format.</p>
6794
5010
  * <p>
6795
5011
  * <code>arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012</code>