@aws-sdk/client-cloudtrail 3.169.0 → 3.170.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 (56) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/CloudTrail.d.ts +562 -160
  3. package/dist-types/ts3.4/CloudTrailClient.d.ts +315 -104
  4. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +34 -17
  6. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +41 -17
  7. package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +34 -17
  8. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +41 -17
  9. package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +34 -17
  10. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +37 -17
  11. package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +37 -17
  12. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +34 -17
  13. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +38 -17
  14. package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +38 -17
  15. package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +38 -17
  16. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +37 -17
  17. package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +34 -17
  18. package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +37 -17
  19. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +34 -17
  20. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +38 -17
  21. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +37 -17
  22. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +34 -17
  23. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +34 -17
  24. package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +34 -17
  25. package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +34 -17
  26. package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +38 -17
  27. package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +38 -17
  28. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +34 -17
  29. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +41 -17
  30. package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +34 -17
  31. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +34 -17
  32. package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +34 -17
  33. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +41 -17
  34. package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +34 -17
  35. package/dist-types/ts3.4/commands/index.d.ts +31 -31
  36. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  37. package/dist-types/ts3.4/index.d.ts +6 -6
  38. package/dist-types/ts3.4/models/CloudTrailServiceException.d.ts +8 -6
  39. package/dist-types/ts3.4/models/index.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_0.d.ts +1798 -1555
  41. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +11 -4
  42. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  43. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -4
  44. package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +11 -4
  45. package/dist-types/ts3.4/pagination/ListPublicKeysPaginator.d.ts +11 -4
  46. package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +11 -4
  47. package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +11 -4
  48. package/dist-types/ts3.4/pagination/ListTrailsPaginator.d.ts +11 -4
  49. package/dist-types/ts3.4/pagination/LookupEventsPaginator.d.ts +11 -4
  50. package/dist-types/ts3.4/pagination/index.d.ts +9 -9
  51. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +377 -95
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  56. package/package.json +34 -34
@@ -1,1555 +1,1798 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { CloudTrailServiceException as __BaseException } from "./CloudTrailServiceException";
3
-
4
- export interface Tag {
5
-
6
- Key: string | undefined;
7
-
8
- Value?: string;
9
- }
10
-
11
- export interface AddTagsRequest {
12
-
13
- ResourceId: string | undefined;
14
-
15
- TagsList: Tag[] | undefined;
16
- }
17
-
18
- export interface AddTagsResponse {
19
- }
20
-
21
- export declare class CloudTrailARNInvalidException extends __BaseException {
22
- readonly name: "CloudTrailARNInvalidException";
23
- readonly $fault: "client";
24
-
25
- Message?: string;
26
-
27
- constructor(opts: __ExceptionOptionType<CloudTrailARNInvalidException, __BaseException>);
28
- }
29
-
30
- export declare class ConflictException extends __BaseException {
31
- readonly name: "ConflictException";
32
- readonly $fault: "client";
33
-
34
- Message?: string;
35
-
36
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
37
- }
38
-
39
- export declare class EventDataStoreNotFoundException extends __BaseException {
40
- readonly name: "EventDataStoreNotFoundException";
41
- readonly $fault: "client";
42
-
43
- Message?: string;
44
-
45
- constructor(opts: __ExceptionOptionType<EventDataStoreNotFoundException, __BaseException>);
46
- }
47
-
48
- export declare class InactiveEventDataStoreException extends __BaseException {
49
- readonly name: "InactiveEventDataStoreException";
50
- readonly $fault: "client";
51
-
52
- Message?: string;
53
-
54
- constructor(opts: __ExceptionOptionType<InactiveEventDataStoreException, __BaseException>);
55
- }
56
-
57
- export declare class InvalidTagParameterException extends __BaseException {
58
- readonly name: "InvalidTagParameterException";
59
- readonly $fault: "client";
60
-
61
- Message?: string;
62
-
63
- constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
64
- }
65
-
66
- export declare class InvalidTrailNameException extends __BaseException {
67
- readonly name: "InvalidTrailNameException";
68
- readonly $fault: "client";
69
-
70
- Message?: string;
71
-
72
- constructor(opts: __ExceptionOptionType<InvalidTrailNameException, __BaseException>);
73
- }
74
-
75
- export declare class NotOrganizationMasterAccountException extends __BaseException {
76
- readonly name: "NotOrganizationMasterAccountException";
77
- readonly $fault: "client";
78
-
79
- Message?: string;
80
-
81
- constructor(opts: __ExceptionOptionType<NotOrganizationMasterAccountException, __BaseException>);
82
- }
83
-
84
- export declare class OperationNotPermittedException extends __BaseException {
85
- readonly name: "OperationNotPermittedException";
86
- readonly $fault: "client";
87
-
88
- Message?: string;
89
-
90
- constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
91
- }
92
-
93
- export declare class ResourceNotFoundException extends __BaseException {
94
- readonly name: "ResourceNotFoundException";
95
- readonly $fault: "client";
96
-
97
- Message?: string;
98
-
99
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
100
- }
101
-
102
- export declare class ResourceTypeNotSupportedException extends __BaseException {
103
- readonly name: "ResourceTypeNotSupportedException";
104
- readonly $fault: "client";
105
-
106
- Message?: string;
107
-
108
- constructor(opts: __ExceptionOptionType<ResourceTypeNotSupportedException, __BaseException>);
109
- }
110
-
111
- export declare class TagsLimitExceededException extends __BaseException {
112
- readonly name: "TagsLimitExceededException";
113
- readonly $fault: "client";
114
-
115
- Message?: string;
116
-
117
- constructor(opts: __ExceptionOptionType<TagsLimitExceededException, __BaseException>);
118
- }
119
-
120
- export declare class UnsupportedOperationException extends __BaseException {
121
- readonly name: "UnsupportedOperationException";
122
- readonly $fault: "client";
123
-
124
- Message?: string;
125
-
126
- constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
127
- }
128
-
129
- export interface AdvancedFieldSelector {
130
-
131
- Field: string | undefined;
132
-
133
- Equals?: string[];
134
-
135
- StartsWith?: string[];
136
-
137
- EndsWith?: string[];
138
-
139
- NotEquals?: string[];
140
-
141
- NotStartsWith?: string[];
142
-
143
- NotEndsWith?: string[];
144
- }
145
-
146
- export interface AdvancedEventSelector {
147
-
148
- Name?: string;
149
-
150
- FieldSelectors: AdvancedFieldSelector[] | undefined;
151
- }
152
- export interface CancelQueryRequest {
153
-
154
- EventDataStore: string | undefined;
155
-
156
- QueryId: string | undefined;
157
- }
158
- export declare enum QueryStatus {
159
- CANCELLED = "CANCELLED",
160
- FAILED = "FAILED",
161
- FINISHED = "FINISHED",
162
- QUEUED = "QUEUED",
163
- RUNNING = "RUNNING",
164
- TIMED_OUT = "TIMED_OUT"
165
- }
166
- export interface CancelQueryResponse {
167
-
168
- QueryId: string | undefined;
169
-
170
- QueryStatus: QueryStatus | string | undefined;
171
- }
172
-
173
- export declare class EventDataStoreARNInvalidException extends __BaseException {
174
- readonly name: "EventDataStoreARNInvalidException";
175
- readonly $fault: "client";
176
-
177
- Message?: string;
178
-
179
- constructor(opts: __ExceptionOptionType<EventDataStoreARNInvalidException, __BaseException>);
180
- }
181
-
182
- export declare class InactiveQueryException extends __BaseException {
183
- readonly name: "InactiveQueryException";
184
- readonly $fault: "client";
185
-
186
- Message?: string;
187
-
188
- constructor(opts: __ExceptionOptionType<InactiveQueryException, __BaseException>);
189
- }
190
-
191
- export declare class InvalidParameterException extends __BaseException {
192
- readonly name: "InvalidParameterException";
193
- readonly $fault: "client";
194
-
195
- Message?: string;
196
-
197
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
198
- }
199
-
200
- export declare class QueryIdNotFoundException extends __BaseException {
201
- readonly name: "QueryIdNotFoundException";
202
- readonly $fault: "client";
203
-
204
- Message?: string;
205
-
206
- constructor(opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>);
207
- }
208
-
209
- export interface Channel {
210
-
211
- ChannelArn?: string;
212
-
213
- Name?: string;
214
- }
215
-
216
- export declare class ChannelARNInvalidException extends __BaseException {
217
- readonly name: "ChannelARNInvalidException";
218
- readonly $fault: "client";
219
-
220
- Message?: string;
221
-
222
- constructor(opts: __ExceptionOptionType<ChannelARNInvalidException, __BaseException>);
223
- }
224
-
225
- export declare class ChannelNotFoundException extends __BaseException {
226
- readonly name: "ChannelNotFoundException";
227
- readonly $fault: "client";
228
-
229
- Message?: string;
230
-
231
- constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
232
- }
233
-
234
- export declare class CloudTrailAccessNotEnabledException extends __BaseException {
235
- readonly name: "CloudTrailAccessNotEnabledException";
236
- readonly $fault: "client";
237
-
238
- Message?: string;
239
-
240
- constructor(opts: __ExceptionOptionType<CloudTrailAccessNotEnabledException, __BaseException>);
241
- }
242
- export interface CreateEventDataStoreRequest {
243
-
244
- Name: string | undefined;
245
-
246
- AdvancedEventSelectors?: AdvancedEventSelector[];
247
-
248
- MultiRegionEnabled?: boolean;
249
-
250
- OrganizationEnabled?: boolean;
251
-
252
- RetentionPeriod?: number;
253
-
254
- TerminationProtectionEnabled?: boolean;
255
-
256
- TagsList?: Tag[];
257
- }
258
- export declare enum EventDataStoreStatus {
259
- CREATED = "CREATED",
260
- ENABLED = "ENABLED",
261
- PENDING_DELETION = "PENDING_DELETION"
262
- }
263
- export interface CreateEventDataStoreResponse {
264
-
265
- EventDataStoreArn?: string;
266
-
267
- Name?: string;
268
-
269
- Status?: EventDataStoreStatus | string;
270
-
271
- AdvancedEventSelectors?: AdvancedEventSelector[];
272
-
273
- MultiRegionEnabled?: boolean;
274
-
275
- OrganizationEnabled?: boolean;
276
-
277
- RetentionPeriod?: number;
278
-
279
- TerminationProtectionEnabled?: boolean;
280
-
281
- TagsList?: Tag[];
282
-
283
- CreatedTimestamp?: Date;
284
-
285
- UpdatedTimestamp?: Date;
286
- }
287
-
288
- export declare class EventDataStoreAlreadyExistsException extends __BaseException {
289
- readonly name: "EventDataStoreAlreadyExistsException";
290
- readonly $fault: "client";
291
-
292
- Message?: string;
293
-
294
- constructor(opts: __ExceptionOptionType<EventDataStoreAlreadyExistsException, __BaseException>);
295
- }
296
-
297
- export declare class EventDataStoreMaxLimitExceededException extends __BaseException {
298
- readonly name: "EventDataStoreMaxLimitExceededException";
299
- readonly $fault: "client";
300
-
301
- Message?: string;
302
-
303
- constructor(opts: __ExceptionOptionType<EventDataStoreMaxLimitExceededException, __BaseException>);
304
- }
305
-
306
- export declare class InsufficientDependencyServiceAccessPermissionException extends __BaseException {
307
- readonly name: "InsufficientDependencyServiceAccessPermissionException";
308
- readonly $fault: "client";
309
-
310
- Message?: string;
311
-
312
- constructor(opts: __ExceptionOptionType<InsufficientDependencyServiceAccessPermissionException, __BaseException>);
313
- }
314
-
315
- export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
316
- readonly name: "OrganizationNotInAllFeaturesModeException";
317
- readonly $fault: "client";
318
-
319
- Message?: string;
320
-
321
- constructor(opts: __ExceptionOptionType<OrganizationNotInAllFeaturesModeException, __BaseException>);
322
- }
323
-
324
- export declare class OrganizationsNotInUseException extends __BaseException {
325
- readonly name: "OrganizationsNotInUseException";
326
- readonly $fault: "client";
327
-
328
- Message?: string;
329
-
330
- constructor(opts: __ExceptionOptionType<OrganizationsNotInUseException, __BaseException>);
331
- }
332
-
333
- export declare class CloudTrailInvalidClientTokenIdException extends __BaseException {
334
- readonly name: "CloudTrailInvalidClientTokenIdException";
335
- readonly $fault: "client";
336
-
337
- Message?: string;
338
-
339
- constructor(opts: __ExceptionOptionType<CloudTrailInvalidClientTokenIdException, __BaseException>);
340
- }
341
-
342
- export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
343
- readonly name: "CloudWatchLogsDeliveryUnavailableException";
344
- readonly $fault: "client";
345
-
346
- Message?: string;
347
-
348
- constructor(opts: __ExceptionOptionType<CloudWatchLogsDeliveryUnavailableException, __BaseException>);
349
- }
350
-
351
- export interface CreateTrailRequest {
352
-
353
- Name: string | undefined;
354
-
355
- S3BucketName: string | undefined;
356
-
357
- S3KeyPrefix?: string;
358
-
359
- SnsTopicName?: string;
360
-
361
- IncludeGlobalServiceEvents?: boolean;
362
-
363
- IsMultiRegionTrail?: boolean;
364
-
365
- EnableLogFileValidation?: boolean;
366
-
367
- CloudWatchLogsLogGroupArn?: string;
368
-
369
- CloudWatchLogsRoleArn?: string;
370
-
371
- KmsKeyId?: string;
372
-
373
- IsOrganizationTrail?: boolean;
374
-
375
- TagsList?: Tag[];
376
- }
377
-
378
- export interface CreateTrailResponse {
379
-
380
- Name?: string;
381
-
382
- S3BucketName?: string;
383
-
384
- S3KeyPrefix?: string;
385
-
386
- SnsTopicName?: string;
387
-
388
- SnsTopicARN?: string;
389
-
390
- IncludeGlobalServiceEvents?: boolean;
391
-
392
- IsMultiRegionTrail?: boolean;
393
-
394
- TrailARN?: string;
395
-
396
- LogFileValidationEnabled?: boolean;
397
-
398
- CloudWatchLogsLogGroupArn?: string;
399
-
400
- CloudWatchLogsRoleArn?: string;
401
-
402
- KmsKeyId?: string;
403
-
404
- IsOrganizationTrail?: boolean;
405
- }
406
-
407
- export declare class InsufficientEncryptionPolicyException extends __BaseException {
408
- readonly name: "InsufficientEncryptionPolicyException";
409
- readonly $fault: "client";
410
-
411
- Message?: string;
412
-
413
- constructor(opts: __ExceptionOptionType<InsufficientEncryptionPolicyException, __BaseException>);
414
- }
415
-
416
- export declare class InsufficientS3BucketPolicyException extends __BaseException {
417
- readonly name: "InsufficientS3BucketPolicyException";
418
- readonly $fault: "client";
419
-
420
- Message?: string;
421
-
422
- constructor(opts: __ExceptionOptionType<InsufficientS3BucketPolicyException, __BaseException>);
423
- }
424
-
425
- export declare class InsufficientSnsTopicPolicyException extends __BaseException {
426
- readonly name: "InsufficientSnsTopicPolicyException";
427
- readonly $fault: "client";
428
-
429
- Message?: string;
430
-
431
- constructor(opts: __ExceptionOptionType<InsufficientSnsTopicPolicyException, __BaseException>);
432
- }
433
-
434
- export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseException {
435
- readonly name: "InvalidCloudWatchLogsLogGroupArnException";
436
- readonly $fault: "client";
437
-
438
- Message?: string;
439
-
440
- constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsLogGroupArnException, __BaseException>);
441
- }
442
-
443
- export declare class InvalidCloudWatchLogsRoleArnException extends __BaseException {
444
- readonly name: "InvalidCloudWatchLogsRoleArnException";
445
- readonly $fault: "client";
446
-
447
- Message?: string;
448
-
449
- constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsRoleArnException, __BaseException>);
450
- }
451
-
452
- export declare class InvalidKmsKeyIdException extends __BaseException {
453
- readonly name: "InvalidKmsKeyIdException";
454
- readonly $fault: "client";
455
-
456
- Message?: string;
457
-
458
- constructor(opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>);
459
- }
460
-
461
- export declare class InvalidParameterCombinationException extends __BaseException {
462
- readonly name: "InvalidParameterCombinationException";
463
- readonly $fault: "client";
464
-
465
- Message?: string;
466
-
467
- constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
468
- }
469
-
470
- export declare class InvalidS3BucketNameException extends __BaseException {
471
- readonly name: "InvalidS3BucketNameException";
472
- readonly $fault: "client";
473
-
474
- Message?: string;
475
-
476
- constructor(opts: __ExceptionOptionType<InvalidS3BucketNameException, __BaseException>);
477
- }
478
-
479
- export declare class InvalidS3PrefixException extends __BaseException {
480
- readonly name: "InvalidS3PrefixException";
481
- readonly $fault: "client";
482
-
483
- Message?: string;
484
-
485
- constructor(opts: __ExceptionOptionType<InvalidS3PrefixException, __BaseException>);
486
- }
487
-
488
- export declare class InvalidSnsTopicNameException extends __BaseException {
489
- readonly name: "InvalidSnsTopicNameException";
490
- readonly $fault: "client";
491
-
492
- Message?: string;
493
-
494
- constructor(opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>);
495
- }
496
-
497
- export declare class KmsException extends __BaseException {
498
- readonly name: "KmsException";
499
- readonly $fault: "client";
500
-
501
- Message?: string;
502
-
503
- constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
504
- }
505
-
506
- export declare class KmsKeyDisabledException extends __BaseException {
507
- readonly name: "KmsKeyDisabledException";
508
- readonly $fault: "client";
509
-
510
- Message?: string;
511
-
512
- constructor(opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>);
513
- }
514
-
515
- export declare class KmsKeyNotFoundException extends __BaseException {
516
- readonly name: "KmsKeyNotFoundException";
517
- readonly $fault: "client";
518
-
519
- Message?: string;
520
-
521
- constructor(opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>);
522
- }
523
-
524
- export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
525
- readonly name: "MaximumNumberOfTrailsExceededException";
526
- readonly $fault: "client";
527
-
528
- Message?: string;
529
-
530
- constructor(opts: __ExceptionOptionType<MaximumNumberOfTrailsExceededException, __BaseException>);
531
- }
532
-
533
- export declare class S3BucketDoesNotExistException extends __BaseException {
534
- readonly name: "S3BucketDoesNotExistException";
535
- readonly $fault: "client";
536
-
537
- Message?: string;
538
-
539
- constructor(opts: __ExceptionOptionType<S3BucketDoesNotExistException, __BaseException>);
540
- }
541
-
542
- export declare class TrailAlreadyExistsException extends __BaseException {
543
- readonly name: "TrailAlreadyExistsException";
544
- readonly $fault: "client";
545
-
546
- Message?: string;
547
-
548
- constructor(opts: __ExceptionOptionType<TrailAlreadyExistsException, __BaseException>);
549
- }
550
-
551
- export declare class TrailNotProvidedException extends __BaseException {
552
- readonly name: "TrailNotProvidedException";
553
- readonly $fault: "client";
554
-
555
- Message?: string;
556
-
557
- constructor(opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>);
558
- }
559
- export interface DeleteEventDataStoreRequest {
560
-
561
- EventDataStore: string | undefined;
562
- }
563
- export interface DeleteEventDataStoreResponse {
564
- }
565
-
566
- export declare class EventDataStoreTerminationProtectedException extends __BaseException {
567
- readonly name: "EventDataStoreTerminationProtectedException";
568
- readonly $fault: "client";
569
-
570
- Message?: string;
571
-
572
- constructor(opts: __ExceptionOptionType<EventDataStoreTerminationProtectedException, __BaseException>);
573
- }
574
-
575
- export interface DeleteTrailRequest {
576
-
577
- Name: string | undefined;
578
- }
579
-
580
- export interface DeleteTrailResponse {
581
- }
582
-
583
- export declare class InvalidHomeRegionException extends __BaseException {
584
- readonly name: "InvalidHomeRegionException";
585
- readonly $fault: "client";
586
-
587
- Message?: string;
588
-
589
- constructor(opts: __ExceptionOptionType<InvalidHomeRegionException, __BaseException>);
590
- }
591
-
592
- export declare class TrailNotFoundException extends __BaseException {
593
- readonly name: "TrailNotFoundException";
594
- readonly $fault: "client";
595
-
596
- Message?: string;
597
-
598
- constructor(opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>);
599
- }
600
- export interface DescribeQueryRequest {
601
-
602
- EventDataStore: string | undefined;
603
-
604
- QueryId: string | undefined;
605
- }
606
-
607
- export interface QueryStatisticsForDescribeQuery {
608
-
609
- EventsMatched?: number;
610
-
611
- EventsScanned?: number;
612
-
613
- BytesScanned?: number;
614
-
615
- ExecutionTimeInMillis?: number;
616
-
617
- CreationTime?: Date;
618
- }
619
- export interface DescribeQueryResponse {
620
-
621
- QueryId?: string;
622
-
623
- QueryString?: string;
624
-
625
- QueryStatus?: QueryStatus | string;
626
-
627
- QueryStatistics?: QueryStatisticsForDescribeQuery;
628
-
629
- ErrorMessage?: string;
630
- }
631
-
632
- export interface DescribeTrailsRequest {
633
-
634
- trailNameList?: string[];
635
-
636
- includeShadowTrails?: boolean;
637
- }
638
-
639
- export interface Trail {
640
-
641
- Name?: string;
642
-
643
- S3BucketName?: string;
644
-
645
- S3KeyPrefix?: string;
646
-
647
- SnsTopicName?: string;
648
-
649
- SnsTopicARN?: string;
650
-
651
- IncludeGlobalServiceEvents?: boolean;
652
-
653
- IsMultiRegionTrail?: boolean;
654
-
655
- HomeRegion?: string;
656
-
657
- TrailARN?: string;
658
-
659
- LogFileValidationEnabled?: boolean;
660
-
661
- CloudWatchLogsLogGroupArn?: string;
662
-
663
- CloudWatchLogsRoleArn?: string;
664
-
665
- KmsKeyId?: string;
666
-
667
- HasCustomEventSelectors?: boolean;
668
-
669
- HasInsightSelectors?: boolean;
670
-
671
- IsOrganizationTrail?: boolean;
672
- }
673
-
674
- export interface DescribeTrailsResponse {
675
-
676
- trailList?: Trail[];
677
- }
678
- export interface GetChannelRequest {
679
-
680
- Channel: string | undefined;
681
- }
682
- export declare enum DestinationType {
683
- AWS_SERVICE = "AWS_SERVICE",
684
- EVENT_DATA_STORE = "EVENT_DATA_STORE"
685
- }
686
-
687
- export interface Destination {
688
-
689
- Type: DestinationType | string | undefined;
690
-
691
- Location: string | undefined;
692
- }
693
-
694
- export interface SourceConfig {
695
-
696
- ApplyToAllRegions?: boolean;
697
-
698
- AdvancedEventSelectors?: AdvancedEventSelector[];
699
- }
700
- export interface GetChannelResponse {
701
-
702
- ChannelArn?: string;
703
-
704
- Name?: string;
705
-
706
- Source?: string;
707
-
708
- SourceConfig?: SourceConfig;
709
-
710
- Destinations?: Destination[];
711
- }
712
- export interface GetEventDataStoreRequest {
713
-
714
- EventDataStore: string | undefined;
715
- }
716
- export interface GetEventDataStoreResponse {
717
-
718
- EventDataStoreArn?: string;
719
-
720
- Name?: string;
721
-
722
- Status?: EventDataStoreStatus | string;
723
-
724
- AdvancedEventSelectors?: AdvancedEventSelector[];
725
-
726
- MultiRegionEnabled?: boolean;
727
-
728
- OrganizationEnabled?: boolean;
729
-
730
- RetentionPeriod?: number;
731
-
732
- TerminationProtectionEnabled?: boolean;
733
-
734
- CreatedTimestamp?: Date;
735
-
736
- UpdatedTimestamp?: Date;
737
- }
738
- export interface GetEventSelectorsRequest {
739
-
740
- TrailName: string | undefined;
741
- }
742
-
743
- export interface DataResource {
744
-
745
- Type?: string;
746
-
747
- Values?: string[];
748
- }
749
- export declare enum ReadWriteType {
750
- All = "All",
751
- ReadOnly = "ReadOnly",
752
- WriteOnly = "WriteOnly"
753
- }
754
-
755
- export interface EventSelector {
756
-
757
- ReadWriteType?: ReadWriteType | string;
758
-
759
- IncludeManagementEvents?: boolean;
760
-
761
- DataResources?: DataResource[];
762
-
763
- ExcludeManagementEventSources?: string[];
764
- }
765
- export interface GetEventSelectorsResponse {
766
-
767
- TrailARN?: string;
768
-
769
- EventSelectors?: EventSelector[];
770
-
771
- AdvancedEventSelectors?: AdvancedEventSelector[];
772
- }
773
- export interface GetInsightSelectorsRequest {
774
-
775
- TrailName: string | undefined;
776
- }
777
- export declare enum InsightType {
778
- ApiCallRateInsight = "ApiCallRateInsight",
779
- ApiErrorRateInsight = "ApiErrorRateInsight"
780
- }
781
-
782
- export interface InsightSelector {
783
-
784
- InsightType?: InsightType | string;
785
- }
786
- export interface GetInsightSelectorsResponse {
787
-
788
- TrailARN?: string;
789
-
790
- InsightSelectors?: InsightSelector[];
791
- }
792
-
793
- export declare class InsightNotEnabledException extends __BaseException {
794
- readonly name: "InsightNotEnabledException";
795
- readonly $fault: "client";
796
-
797
- Message?: string;
798
-
799
- constructor(opts: __ExceptionOptionType<InsightNotEnabledException, __BaseException>);
800
- }
801
- export interface GetQueryResultsRequest {
802
-
803
- EventDataStore: string | undefined;
804
-
805
- QueryId: string | undefined;
806
-
807
- NextToken?: string;
808
-
809
- MaxQueryResults?: number;
810
- }
811
-
812
- export interface QueryStatistics {
813
-
814
- ResultsCount?: number;
815
-
816
- TotalResultsCount?: number;
817
-
818
- BytesScanned?: number;
819
- }
820
- export interface GetQueryResultsResponse {
821
-
822
- QueryStatus?: QueryStatus | string;
823
-
824
- QueryStatistics?: QueryStatistics;
825
-
826
- QueryResultRows?: Record<string, string>[][];
827
-
828
- NextToken?: string;
829
-
830
- ErrorMessage?: string;
831
- }
832
-
833
- export declare class InvalidMaxResultsException extends __BaseException {
834
- readonly name: "InvalidMaxResultsException";
835
- readonly $fault: "client";
836
-
837
- Message?: string;
838
-
839
- constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
840
- }
841
-
842
- export declare class InvalidNextTokenException extends __BaseException {
843
- readonly name: "InvalidNextTokenException";
844
- readonly $fault: "client";
845
-
846
- Message?: string;
847
-
848
- constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
849
- }
850
- export interface GetTrailRequest {
851
-
852
- Name: string | undefined;
853
- }
854
- export interface GetTrailResponse {
855
-
856
- Trail?: Trail;
857
- }
858
-
859
- export interface GetTrailStatusRequest {
860
-
861
- Name: string | undefined;
862
- }
863
-
864
- export interface GetTrailStatusResponse {
865
-
866
- IsLogging?: boolean;
867
-
868
- LatestDeliveryError?: string;
869
-
870
- LatestNotificationError?: string;
871
-
872
- LatestDeliveryTime?: Date;
873
-
874
- LatestNotificationTime?: Date;
875
-
876
- StartLoggingTime?: Date;
877
-
878
- StopLoggingTime?: Date;
879
-
880
- LatestCloudWatchLogsDeliveryError?: string;
881
-
882
- LatestCloudWatchLogsDeliveryTime?: Date;
883
-
884
- LatestDigestDeliveryTime?: Date;
885
-
886
- LatestDigestDeliveryError?: string;
887
-
888
- LatestDeliveryAttemptTime?: string;
889
-
890
- LatestNotificationAttemptTime?: string;
891
-
892
- LatestNotificationAttemptSucceeded?: string;
893
-
894
- LatestDeliveryAttemptSucceeded?: string;
895
-
896
- TimeLoggingStarted?: string;
897
-
898
- TimeLoggingStopped?: string;
899
- }
900
- export interface ListChannelsRequest {
901
-
902
- MaxResults?: number;
903
-
904
- NextToken?: string;
905
- }
906
- export interface ListChannelsResponse {
907
-
908
- Channels?: Channel[];
909
-
910
- NextToken?: string;
911
- }
912
- export interface ListEventDataStoresRequest {
913
-
914
- NextToken?: string;
915
-
916
- MaxResults?: number;
917
- }
918
-
919
- export interface EventDataStore {
920
-
921
- EventDataStoreArn?: string;
922
-
923
- Name?: string;
924
-
925
- TerminationProtectionEnabled?: boolean;
926
-
927
- Status?: EventDataStoreStatus | string;
928
-
929
- AdvancedEventSelectors?: AdvancedEventSelector[];
930
-
931
- MultiRegionEnabled?: boolean;
932
-
933
- OrganizationEnabled?: boolean;
934
-
935
- RetentionPeriod?: number;
936
-
937
- CreatedTimestamp?: Date;
938
-
939
- UpdatedTimestamp?: Date;
940
- }
941
- export interface ListEventDataStoresResponse {
942
-
943
- EventDataStores?: EventDataStore[];
944
-
945
- NextToken?: string;
946
- }
947
-
948
- export declare class InvalidTimeRangeException extends __BaseException {
949
- readonly name: "InvalidTimeRangeException";
950
- readonly $fault: "client";
951
-
952
- Message?: string;
953
-
954
- constructor(opts: __ExceptionOptionType<InvalidTimeRangeException, __BaseException>);
955
- }
956
-
957
- export declare class InvalidTokenException extends __BaseException {
958
- readonly name: "InvalidTokenException";
959
- readonly $fault: "client";
960
-
961
- Message?: string;
962
-
963
- constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
964
- }
965
-
966
- export interface ListPublicKeysRequest {
967
-
968
- StartTime?: Date;
969
-
970
- EndTime?: Date;
971
-
972
- NextToken?: string;
973
- }
974
-
975
- export interface PublicKey {
976
-
977
- Value?: Uint8Array;
978
-
979
- ValidityStartTime?: Date;
980
-
981
- ValidityEndTime?: Date;
982
-
983
- Fingerprint?: string;
984
- }
985
-
986
- export interface ListPublicKeysResponse {
987
-
988
- PublicKeyList?: PublicKey[];
989
-
990
- NextToken?: string;
991
- }
992
-
993
- export declare class InvalidDateRangeException extends __BaseException {
994
- readonly name: "InvalidDateRangeException";
995
- readonly $fault: "client";
996
-
997
- Message?: string;
998
-
999
- constructor(opts: __ExceptionOptionType<InvalidDateRangeException, __BaseException>);
1000
- }
1001
-
1002
- export declare class InvalidQueryStatusException extends __BaseException {
1003
- readonly name: "InvalidQueryStatusException";
1004
- readonly $fault: "client";
1005
-
1006
- Message?: string;
1007
-
1008
- constructor(opts: __ExceptionOptionType<InvalidQueryStatusException, __BaseException>);
1009
- }
1010
- export interface ListQueriesRequest {
1011
-
1012
- EventDataStore: string | undefined;
1013
-
1014
- NextToken?: string;
1015
-
1016
- MaxResults?: number;
1017
-
1018
- StartTime?: Date;
1019
-
1020
- EndTime?: Date;
1021
-
1022
- QueryStatus?: QueryStatus | string;
1023
- }
1024
-
1025
- export interface Query {
1026
-
1027
- QueryId?: string;
1028
-
1029
- QueryStatus?: QueryStatus | string;
1030
-
1031
- CreationTime?: Date;
1032
- }
1033
- export interface ListQueriesResponse {
1034
-
1035
- Queries?: Query[];
1036
-
1037
- NextToken?: string;
1038
- }
1039
-
1040
- export interface ListTagsRequest {
1041
-
1042
- ResourceIdList: string[] | undefined;
1043
-
1044
- NextToken?: string;
1045
- }
1046
-
1047
- export interface ResourceTag {
1048
-
1049
- ResourceId?: string;
1050
-
1051
- TagsList?: Tag[];
1052
- }
1053
-
1054
- export interface ListTagsResponse {
1055
-
1056
- ResourceTagList?: ResourceTag[];
1057
-
1058
- NextToken?: string;
1059
- }
1060
- export interface ListTrailsRequest {
1061
-
1062
- NextToken?: string;
1063
- }
1064
-
1065
- export interface TrailInfo {
1066
-
1067
- TrailARN?: string;
1068
-
1069
- Name?: string;
1070
-
1071
- HomeRegion?: string;
1072
- }
1073
- export interface ListTrailsResponse {
1074
-
1075
- Trails?: TrailInfo[];
1076
-
1077
- NextToken?: string;
1078
- }
1079
-
1080
- export declare class InvalidEventCategoryException extends __BaseException {
1081
- readonly name: "InvalidEventCategoryException";
1082
- readonly $fault: "client";
1083
-
1084
- Message?: string;
1085
-
1086
- constructor(opts: __ExceptionOptionType<InvalidEventCategoryException, __BaseException>);
1087
- }
1088
-
1089
- export declare class InvalidLookupAttributesException extends __BaseException {
1090
- readonly name: "InvalidLookupAttributesException";
1091
- readonly $fault: "client";
1092
-
1093
- Message?: string;
1094
-
1095
- constructor(opts: __ExceptionOptionType<InvalidLookupAttributesException, __BaseException>);
1096
- }
1097
- export declare enum EventCategory {
1098
- Insight = "insight"
1099
- }
1100
- export declare enum LookupAttributeKey {
1101
- ACCESS_KEY_ID = "AccessKeyId",
1102
- EVENT_ID = "EventId",
1103
- EVENT_NAME = "EventName",
1104
- EVENT_SOURCE = "EventSource",
1105
- READ_ONLY = "ReadOnly",
1106
- RESOURCE_NAME = "ResourceName",
1107
- RESOURCE_TYPE = "ResourceType",
1108
- USERNAME = "Username"
1109
- }
1110
-
1111
- export interface LookupAttribute {
1112
-
1113
- AttributeKey: LookupAttributeKey | string | undefined;
1114
-
1115
- AttributeValue: string | undefined;
1116
- }
1117
-
1118
- export interface LookupEventsRequest {
1119
-
1120
- LookupAttributes?: LookupAttribute[];
1121
-
1122
- StartTime?: Date;
1123
-
1124
- EndTime?: Date;
1125
-
1126
- EventCategory?: EventCategory | string;
1127
-
1128
- MaxResults?: number;
1129
-
1130
- NextToken?: string;
1131
- }
1132
-
1133
- export interface Resource {
1134
-
1135
- ResourceType?: string;
1136
-
1137
- ResourceName?: string;
1138
- }
1139
-
1140
- export interface Event {
1141
-
1142
- EventId?: string;
1143
-
1144
- EventName?: string;
1145
-
1146
- ReadOnly?: string;
1147
-
1148
- AccessKeyId?: string;
1149
-
1150
- EventTime?: Date;
1151
-
1152
- EventSource?: string;
1153
-
1154
- Username?: string;
1155
-
1156
- Resources?: Resource[];
1157
-
1158
- CloudTrailEvent?: string;
1159
- }
1160
-
1161
- export interface LookupEventsResponse {
1162
-
1163
- Events?: Event[];
1164
-
1165
- NextToken?: string;
1166
- }
1167
-
1168
- export declare class InvalidEventSelectorsException extends __BaseException {
1169
- readonly name: "InvalidEventSelectorsException";
1170
- readonly $fault: "client";
1171
-
1172
- Message?: string;
1173
-
1174
- constructor(opts: __ExceptionOptionType<InvalidEventSelectorsException, __BaseException>);
1175
- }
1176
- export interface PutEventSelectorsRequest {
1177
-
1178
- TrailName: string | undefined;
1179
-
1180
- EventSelectors?: EventSelector[];
1181
-
1182
- AdvancedEventSelectors?: AdvancedEventSelector[];
1183
- }
1184
- export interface PutEventSelectorsResponse {
1185
-
1186
- TrailARN?: string;
1187
-
1188
- EventSelectors?: EventSelector[];
1189
-
1190
- AdvancedEventSelectors?: AdvancedEventSelector[];
1191
- }
1192
-
1193
- export declare class InvalidInsightSelectorsException extends __BaseException {
1194
- readonly name: "InvalidInsightSelectorsException";
1195
- readonly $fault: "client";
1196
-
1197
- Message?: string;
1198
-
1199
- constructor(opts: __ExceptionOptionType<InvalidInsightSelectorsException, __BaseException>);
1200
- }
1201
- export interface PutInsightSelectorsRequest {
1202
-
1203
- TrailName: string | undefined;
1204
-
1205
- InsightSelectors: InsightSelector[] | undefined;
1206
- }
1207
- export interface PutInsightSelectorsResponse {
1208
-
1209
- TrailARN?: string;
1210
-
1211
- InsightSelectors?: InsightSelector[];
1212
- }
1213
-
1214
- export interface RemoveTagsRequest {
1215
-
1216
- ResourceId: string | undefined;
1217
-
1218
- TagsList: Tag[] | undefined;
1219
- }
1220
-
1221
- export interface RemoveTagsResponse {
1222
- }
1223
-
1224
- export declare class InvalidEventDataStoreStatusException extends __BaseException {
1225
- readonly name: "InvalidEventDataStoreStatusException";
1226
- readonly $fault: "client";
1227
-
1228
- Message?: string;
1229
-
1230
- constructor(opts: __ExceptionOptionType<InvalidEventDataStoreStatusException, __BaseException>);
1231
- }
1232
- export interface RestoreEventDataStoreRequest {
1233
-
1234
- EventDataStore: string | undefined;
1235
- }
1236
- export interface RestoreEventDataStoreResponse {
1237
-
1238
- EventDataStoreArn?: string;
1239
-
1240
- Name?: string;
1241
-
1242
- Status?: EventDataStoreStatus | string;
1243
-
1244
- AdvancedEventSelectors?: AdvancedEventSelector[];
1245
-
1246
- MultiRegionEnabled?: boolean;
1247
-
1248
- OrganizationEnabled?: boolean;
1249
-
1250
- RetentionPeriod?: number;
1251
-
1252
- TerminationProtectionEnabled?: boolean;
1253
-
1254
- CreatedTimestamp?: Date;
1255
-
1256
- UpdatedTimestamp?: Date;
1257
- }
1258
-
1259
- export interface StartLoggingRequest {
1260
-
1261
- Name: string | undefined;
1262
- }
1263
-
1264
- export interface StartLoggingResponse {
1265
- }
1266
-
1267
- export declare class InvalidQueryStatementException extends __BaseException {
1268
- readonly name: "InvalidQueryStatementException";
1269
- readonly $fault: "client";
1270
-
1271
- Message?: string;
1272
-
1273
- constructor(opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>);
1274
- }
1275
-
1276
- export declare class MaxConcurrentQueriesException extends __BaseException {
1277
- readonly name: "MaxConcurrentQueriesException";
1278
- readonly $fault: "client";
1279
-
1280
- Message?: string;
1281
-
1282
- constructor(opts: __ExceptionOptionType<MaxConcurrentQueriesException, __BaseException>);
1283
- }
1284
- export interface StartQueryRequest {
1285
-
1286
- QueryStatement: string | undefined;
1287
- }
1288
- export interface StartQueryResponse {
1289
-
1290
- QueryId?: string;
1291
- }
1292
-
1293
- export interface StopLoggingRequest {
1294
-
1295
- Name: string | undefined;
1296
- }
1297
-
1298
- export interface StopLoggingResponse {
1299
- }
1300
- export interface UpdateEventDataStoreRequest {
1301
-
1302
- EventDataStore: string | undefined;
1303
-
1304
- Name?: string;
1305
-
1306
- AdvancedEventSelectors?: AdvancedEventSelector[];
1307
-
1308
- MultiRegionEnabled?: boolean;
1309
-
1310
- OrganizationEnabled?: boolean;
1311
-
1312
- RetentionPeriod?: number;
1313
-
1314
- TerminationProtectionEnabled?: boolean;
1315
- }
1316
- export interface UpdateEventDataStoreResponse {
1317
-
1318
- EventDataStoreArn?: string;
1319
-
1320
- Name?: string;
1321
-
1322
- Status?: EventDataStoreStatus | string;
1323
-
1324
- AdvancedEventSelectors?: AdvancedEventSelector[];
1325
-
1326
- MultiRegionEnabled?: boolean;
1327
-
1328
- OrganizationEnabled?: boolean;
1329
-
1330
- RetentionPeriod?: number;
1331
-
1332
- TerminationProtectionEnabled?: boolean;
1333
-
1334
- CreatedTimestamp?: Date;
1335
-
1336
- UpdatedTimestamp?: Date;
1337
- }
1338
-
1339
- export interface UpdateTrailRequest {
1340
-
1341
- Name: string | undefined;
1342
-
1343
- S3BucketName?: string;
1344
-
1345
- S3KeyPrefix?: string;
1346
-
1347
- SnsTopicName?: string;
1348
-
1349
- IncludeGlobalServiceEvents?: boolean;
1350
-
1351
- IsMultiRegionTrail?: boolean;
1352
-
1353
- EnableLogFileValidation?: boolean;
1354
-
1355
- CloudWatchLogsLogGroupArn?: string;
1356
-
1357
- CloudWatchLogsRoleArn?: string;
1358
-
1359
- KmsKeyId?: string;
1360
-
1361
- IsOrganizationTrail?: boolean;
1362
- }
1363
-
1364
- export interface UpdateTrailResponse {
1365
-
1366
- Name?: string;
1367
-
1368
- S3BucketName?: string;
1369
-
1370
- S3KeyPrefix?: string;
1371
-
1372
- SnsTopicName?: string;
1373
-
1374
- SnsTopicARN?: string;
1375
-
1376
- IncludeGlobalServiceEvents?: boolean;
1377
-
1378
- IsMultiRegionTrail?: boolean;
1379
-
1380
- TrailARN?: string;
1381
-
1382
- LogFileValidationEnabled?: boolean;
1383
-
1384
- CloudWatchLogsLogGroupArn?: string;
1385
-
1386
- CloudWatchLogsRoleArn?: string;
1387
-
1388
- KmsKeyId?: string;
1389
-
1390
- IsOrganizationTrail?: boolean;
1391
- }
1392
-
1393
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
1394
-
1395
- export declare const AddTagsRequestFilterSensitiveLog: (obj: AddTagsRequest) => any;
1396
-
1397
- export declare const AddTagsResponseFilterSensitiveLog: (obj: AddTagsResponse) => any;
1398
-
1399
- export declare const AdvancedFieldSelectorFilterSensitiveLog: (obj: AdvancedFieldSelector) => any;
1400
-
1401
- export declare const AdvancedEventSelectorFilterSensitiveLog: (obj: AdvancedEventSelector) => any;
1402
-
1403
- export declare const CancelQueryRequestFilterSensitiveLog: (obj: CancelQueryRequest) => any;
1404
-
1405
- export declare const CancelQueryResponseFilterSensitiveLog: (obj: CancelQueryResponse) => any;
1406
-
1407
- export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
1408
-
1409
- export declare const CreateEventDataStoreRequestFilterSensitiveLog: (obj: CreateEventDataStoreRequest) => any;
1410
-
1411
- export declare const CreateEventDataStoreResponseFilterSensitiveLog: (obj: CreateEventDataStoreResponse) => any;
1412
-
1413
- export declare const CreateTrailRequestFilterSensitiveLog: (obj: CreateTrailRequest) => any;
1414
-
1415
- export declare const CreateTrailResponseFilterSensitiveLog: (obj: CreateTrailResponse) => any;
1416
-
1417
- export declare const DeleteEventDataStoreRequestFilterSensitiveLog: (obj: DeleteEventDataStoreRequest) => any;
1418
-
1419
- export declare const DeleteEventDataStoreResponseFilterSensitiveLog: (obj: DeleteEventDataStoreResponse) => any;
1420
-
1421
- export declare const DeleteTrailRequestFilterSensitiveLog: (obj: DeleteTrailRequest) => any;
1422
-
1423
- export declare const DeleteTrailResponseFilterSensitiveLog: (obj: DeleteTrailResponse) => any;
1424
-
1425
- export declare const DescribeQueryRequestFilterSensitiveLog: (obj: DescribeQueryRequest) => any;
1426
-
1427
- export declare const QueryStatisticsForDescribeQueryFilterSensitiveLog: (obj: QueryStatisticsForDescribeQuery) => any;
1428
-
1429
- export declare const DescribeQueryResponseFilterSensitiveLog: (obj: DescribeQueryResponse) => any;
1430
-
1431
- export declare const DescribeTrailsRequestFilterSensitiveLog: (obj: DescribeTrailsRequest) => any;
1432
-
1433
- export declare const TrailFilterSensitiveLog: (obj: Trail) => any;
1434
-
1435
- export declare const DescribeTrailsResponseFilterSensitiveLog: (obj: DescribeTrailsResponse) => any;
1436
-
1437
- export declare const GetChannelRequestFilterSensitiveLog: (obj: GetChannelRequest) => any;
1438
-
1439
- export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
1440
-
1441
- export declare const SourceConfigFilterSensitiveLog: (obj: SourceConfig) => any;
1442
-
1443
- export declare const GetChannelResponseFilterSensitiveLog: (obj: GetChannelResponse) => any;
1444
-
1445
- export declare const GetEventDataStoreRequestFilterSensitiveLog: (obj: GetEventDataStoreRequest) => any;
1446
-
1447
- export declare const GetEventDataStoreResponseFilterSensitiveLog: (obj: GetEventDataStoreResponse) => any;
1448
-
1449
- export declare const GetEventSelectorsRequestFilterSensitiveLog: (obj: GetEventSelectorsRequest) => any;
1450
-
1451
- export declare const DataResourceFilterSensitiveLog: (obj: DataResource) => any;
1452
-
1453
- export declare const EventSelectorFilterSensitiveLog: (obj: EventSelector) => any;
1454
-
1455
- export declare const GetEventSelectorsResponseFilterSensitiveLog: (obj: GetEventSelectorsResponse) => any;
1456
-
1457
- export declare const GetInsightSelectorsRequestFilterSensitiveLog: (obj: GetInsightSelectorsRequest) => any;
1458
-
1459
- export declare const InsightSelectorFilterSensitiveLog: (obj: InsightSelector) => any;
1460
-
1461
- export declare const GetInsightSelectorsResponseFilterSensitiveLog: (obj: GetInsightSelectorsResponse) => any;
1462
-
1463
- export declare const GetQueryResultsRequestFilterSensitiveLog: (obj: GetQueryResultsRequest) => any;
1464
-
1465
- export declare const QueryStatisticsFilterSensitiveLog: (obj: QueryStatistics) => any;
1466
-
1467
- export declare const GetQueryResultsResponseFilterSensitiveLog: (obj: GetQueryResultsResponse) => any;
1468
-
1469
- export declare const GetTrailRequestFilterSensitiveLog: (obj: GetTrailRequest) => any;
1470
-
1471
- export declare const GetTrailResponseFilterSensitiveLog: (obj: GetTrailResponse) => any;
1472
-
1473
- export declare const GetTrailStatusRequestFilterSensitiveLog: (obj: GetTrailStatusRequest) => any;
1474
-
1475
- export declare const GetTrailStatusResponseFilterSensitiveLog: (obj: GetTrailStatusResponse) => any;
1476
-
1477
- export declare const ListChannelsRequestFilterSensitiveLog: (obj: ListChannelsRequest) => any;
1478
-
1479
- export declare const ListChannelsResponseFilterSensitiveLog: (obj: ListChannelsResponse) => any;
1480
-
1481
- export declare const ListEventDataStoresRequestFilterSensitiveLog: (obj: ListEventDataStoresRequest) => any;
1482
-
1483
- export declare const EventDataStoreFilterSensitiveLog: (obj: EventDataStore) => any;
1484
-
1485
- export declare const ListEventDataStoresResponseFilterSensitiveLog: (obj: ListEventDataStoresResponse) => any;
1486
-
1487
- export declare const ListPublicKeysRequestFilterSensitiveLog: (obj: ListPublicKeysRequest) => any;
1488
-
1489
- export declare const PublicKeyFilterSensitiveLog: (obj: PublicKey) => any;
1490
-
1491
- export declare const ListPublicKeysResponseFilterSensitiveLog: (obj: ListPublicKeysResponse) => any;
1492
-
1493
- export declare const ListQueriesRequestFilterSensitiveLog: (obj: ListQueriesRequest) => any;
1494
-
1495
- export declare const QueryFilterSensitiveLog: (obj: Query) => any;
1496
-
1497
- export declare const ListQueriesResponseFilterSensitiveLog: (obj: ListQueriesResponse) => any;
1498
-
1499
- export declare const ListTagsRequestFilterSensitiveLog: (obj: ListTagsRequest) => any;
1500
-
1501
- export declare const ResourceTagFilterSensitiveLog: (obj: ResourceTag) => any;
1502
-
1503
- export declare const ListTagsResponseFilterSensitiveLog: (obj: ListTagsResponse) => any;
1504
-
1505
- export declare const ListTrailsRequestFilterSensitiveLog: (obj: ListTrailsRequest) => any;
1506
-
1507
- export declare const TrailInfoFilterSensitiveLog: (obj: TrailInfo) => any;
1508
-
1509
- export declare const ListTrailsResponseFilterSensitiveLog: (obj: ListTrailsResponse) => any;
1510
-
1511
- export declare const LookupAttributeFilterSensitiveLog: (obj: LookupAttribute) => any;
1512
-
1513
- export declare const LookupEventsRequestFilterSensitiveLog: (obj: LookupEventsRequest) => any;
1514
-
1515
- export declare const ResourceFilterSensitiveLog: (obj: Resource) => any;
1516
-
1517
- export declare const EventFilterSensitiveLog: (obj: Event) => any;
1518
-
1519
- export declare const LookupEventsResponseFilterSensitiveLog: (obj: LookupEventsResponse) => any;
1520
-
1521
- export declare const PutEventSelectorsRequestFilterSensitiveLog: (obj: PutEventSelectorsRequest) => any;
1522
-
1523
- export declare const PutEventSelectorsResponseFilterSensitiveLog: (obj: PutEventSelectorsResponse) => any;
1524
-
1525
- export declare const PutInsightSelectorsRequestFilterSensitiveLog: (obj: PutInsightSelectorsRequest) => any;
1526
-
1527
- export declare const PutInsightSelectorsResponseFilterSensitiveLog: (obj: PutInsightSelectorsResponse) => any;
1528
-
1529
- export declare const RemoveTagsRequestFilterSensitiveLog: (obj: RemoveTagsRequest) => any;
1530
-
1531
- export declare const RemoveTagsResponseFilterSensitiveLog: (obj: RemoveTagsResponse) => any;
1532
-
1533
- export declare const RestoreEventDataStoreRequestFilterSensitiveLog: (obj: RestoreEventDataStoreRequest) => any;
1534
-
1535
- export declare const RestoreEventDataStoreResponseFilterSensitiveLog: (obj: RestoreEventDataStoreResponse) => any;
1536
-
1537
- export declare const StartLoggingRequestFilterSensitiveLog: (obj: StartLoggingRequest) => any;
1538
-
1539
- export declare const StartLoggingResponseFilterSensitiveLog: (obj: StartLoggingResponse) => any;
1540
-
1541
- export declare const StartQueryRequestFilterSensitiveLog: (obj: StartQueryRequest) => any;
1542
-
1543
- export declare const StartQueryResponseFilterSensitiveLog: (obj: StartQueryResponse) => any;
1544
-
1545
- export declare const StopLoggingRequestFilterSensitiveLog: (obj: StopLoggingRequest) => any;
1546
-
1547
- export declare const StopLoggingResponseFilterSensitiveLog: (obj: StopLoggingResponse) => any;
1548
-
1549
- export declare const UpdateEventDataStoreRequestFilterSensitiveLog: (obj: UpdateEventDataStoreRequest) => any;
1550
-
1551
- export declare const UpdateEventDataStoreResponseFilterSensitiveLog: (obj: UpdateEventDataStoreResponse) => any;
1552
-
1553
- export declare const UpdateTrailRequestFilterSensitiveLog: (obj: UpdateTrailRequest) => any;
1554
-
1555
- export declare const UpdateTrailResponseFilterSensitiveLog: (obj: UpdateTrailResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CloudTrailServiceException as __BaseException } from "./CloudTrailServiceException";
3
+
4
+ export interface Tag {
5
+ Key: string | undefined;
6
+
7
+ Value?: string;
8
+ }
9
+
10
+ export interface AddTagsRequest {
11
+ ResourceId: string | undefined;
12
+
13
+ TagsList: Tag[] | undefined;
14
+ }
15
+
16
+ export interface AddTagsResponse {}
17
+
18
+ export declare class CloudTrailARNInvalidException extends __BaseException {
19
+ readonly name: "CloudTrailARNInvalidException";
20
+ readonly $fault: "client";
21
+
22
+ Message?: string;
23
+
24
+ constructor(
25
+ opts: __ExceptionOptionType<CloudTrailARNInvalidException, __BaseException>
26
+ );
27
+ }
28
+
29
+ export declare class ConflictException extends __BaseException {
30
+ readonly name: "ConflictException";
31
+ readonly $fault: "client";
32
+
33
+ Message?: string;
34
+
35
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
36
+ }
37
+
38
+ export declare class EventDataStoreNotFoundException extends __BaseException {
39
+ readonly name: "EventDataStoreNotFoundException";
40
+ readonly $fault: "client";
41
+
42
+ Message?: string;
43
+
44
+ constructor(
45
+ opts: __ExceptionOptionType<
46
+ EventDataStoreNotFoundException,
47
+ __BaseException
48
+ >
49
+ );
50
+ }
51
+
52
+ export declare class InactiveEventDataStoreException extends __BaseException {
53
+ readonly name: "InactiveEventDataStoreException";
54
+ readonly $fault: "client";
55
+
56
+ Message?: string;
57
+
58
+ constructor(
59
+ opts: __ExceptionOptionType<
60
+ InactiveEventDataStoreException,
61
+ __BaseException
62
+ >
63
+ );
64
+ }
65
+
66
+ export declare class InvalidTagParameterException extends __BaseException {
67
+ readonly name: "InvalidTagParameterException";
68
+ readonly $fault: "client";
69
+
70
+ Message?: string;
71
+
72
+ constructor(
73
+ opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>
74
+ );
75
+ }
76
+
77
+ export declare class InvalidTrailNameException extends __BaseException {
78
+ readonly name: "InvalidTrailNameException";
79
+ readonly $fault: "client";
80
+
81
+ Message?: string;
82
+
83
+ constructor(
84
+ opts: __ExceptionOptionType<InvalidTrailNameException, __BaseException>
85
+ );
86
+ }
87
+
88
+ export declare class NotOrganizationMasterAccountException extends __BaseException {
89
+ readonly name: "NotOrganizationMasterAccountException";
90
+ readonly $fault: "client";
91
+
92
+ Message?: string;
93
+
94
+ constructor(
95
+ opts: __ExceptionOptionType<
96
+ NotOrganizationMasterAccountException,
97
+ __BaseException
98
+ >
99
+ );
100
+ }
101
+
102
+ export declare class OperationNotPermittedException extends __BaseException {
103
+ readonly name: "OperationNotPermittedException";
104
+ readonly $fault: "client";
105
+
106
+ Message?: string;
107
+
108
+ constructor(
109
+ opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>
110
+ );
111
+ }
112
+
113
+ export declare class ResourceNotFoundException extends __BaseException {
114
+ readonly name: "ResourceNotFoundException";
115
+ readonly $fault: "client";
116
+
117
+ Message?: string;
118
+
119
+ constructor(
120
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
121
+ );
122
+ }
123
+
124
+ export declare class ResourceTypeNotSupportedException extends __BaseException {
125
+ readonly name: "ResourceTypeNotSupportedException";
126
+ readonly $fault: "client";
127
+
128
+ Message?: string;
129
+
130
+ constructor(
131
+ opts: __ExceptionOptionType<
132
+ ResourceTypeNotSupportedException,
133
+ __BaseException
134
+ >
135
+ );
136
+ }
137
+
138
+ export declare class TagsLimitExceededException extends __BaseException {
139
+ readonly name: "TagsLimitExceededException";
140
+ readonly $fault: "client";
141
+
142
+ Message?: string;
143
+
144
+ constructor(
145
+ opts: __ExceptionOptionType<TagsLimitExceededException, __BaseException>
146
+ );
147
+ }
148
+
149
+ export declare class UnsupportedOperationException extends __BaseException {
150
+ readonly name: "UnsupportedOperationException";
151
+ readonly $fault: "client";
152
+
153
+ Message?: string;
154
+
155
+ constructor(
156
+ opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
157
+ );
158
+ }
159
+
160
+ export interface AdvancedFieldSelector {
161
+ Field: string | undefined;
162
+
163
+ Equals?: string[];
164
+
165
+ StartsWith?: string[];
166
+
167
+ EndsWith?: string[];
168
+
169
+ NotEquals?: string[];
170
+
171
+ NotStartsWith?: string[];
172
+
173
+ NotEndsWith?: string[];
174
+ }
175
+
176
+ export interface AdvancedEventSelector {
177
+ Name?: string;
178
+
179
+ FieldSelectors: AdvancedFieldSelector[] | undefined;
180
+ }
181
+ export interface CancelQueryRequest {
182
+ EventDataStore: string | undefined;
183
+
184
+ QueryId: string | undefined;
185
+ }
186
+ export declare enum QueryStatus {
187
+ CANCELLED = "CANCELLED",
188
+ FAILED = "FAILED",
189
+ FINISHED = "FINISHED",
190
+ QUEUED = "QUEUED",
191
+ RUNNING = "RUNNING",
192
+ TIMED_OUT = "TIMED_OUT",
193
+ }
194
+ export interface CancelQueryResponse {
195
+ QueryId: string | undefined;
196
+
197
+ QueryStatus: QueryStatus | string | undefined;
198
+ }
199
+
200
+ export declare class EventDataStoreARNInvalidException extends __BaseException {
201
+ readonly name: "EventDataStoreARNInvalidException";
202
+ readonly $fault: "client";
203
+
204
+ Message?: string;
205
+
206
+ constructor(
207
+ opts: __ExceptionOptionType<
208
+ EventDataStoreARNInvalidException,
209
+ __BaseException
210
+ >
211
+ );
212
+ }
213
+
214
+ export declare class InactiveQueryException extends __BaseException {
215
+ readonly name: "InactiveQueryException";
216
+ readonly $fault: "client";
217
+
218
+ Message?: string;
219
+
220
+ constructor(
221
+ opts: __ExceptionOptionType<InactiveQueryException, __BaseException>
222
+ );
223
+ }
224
+
225
+ export declare class InvalidParameterException extends __BaseException {
226
+ readonly name: "InvalidParameterException";
227
+ readonly $fault: "client";
228
+
229
+ Message?: string;
230
+
231
+ constructor(
232
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
233
+ );
234
+ }
235
+
236
+ export declare class QueryIdNotFoundException extends __BaseException {
237
+ readonly name: "QueryIdNotFoundException";
238
+ readonly $fault: "client";
239
+
240
+ Message?: string;
241
+
242
+ constructor(
243
+ opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>
244
+ );
245
+ }
246
+
247
+ export interface Channel {
248
+ ChannelArn?: string;
249
+
250
+ Name?: string;
251
+ }
252
+
253
+ export declare class ChannelARNInvalidException extends __BaseException {
254
+ readonly name: "ChannelARNInvalidException";
255
+ readonly $fault: "client";
256
+
257
+ Message?: string;
258
+
259
+ constructor(
260
+ opts: __ExceptionOptionType<ChannelARNInvalidException, __BaseException>
261
+ );
262
+ }
263
+
264
+ export declare class ChannelNotFoundException extends __BaseException {
265
+ readonly name: "ChannelNotFoundException";
266
+ readonly $fault: "client";
267
+
268
+ Message?: string;
269
+
270
+ constructor(
271
+ opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>
272
+ );
273
+ }
274
+
275
+ export declare class CloudTrailAccessNotEnabledException extends __BaseException {
276
+ readonly name: "CloudTrailAccessNotEnabledException";
277
+ readonly $fault: "client";
278
+
279
+ Message?: string;
280
+
281
+ constructor(
282
+ opts: __ExceptionOptionType<
283
+ CloudTrailAccessNotEnabledException,
284
+ __BaseException
285
+ >
286
+ );
287
+ }
288
+ export interface CreateEventDataStoreRequest {
289
+ Name: string | undefined;
290
+
291
+ AdvancedEventSelectors?: AdvancedEventSelector[];
292
+
293
+ MultiRegionEnabled?: boolean;
294
+
295
+ OrganizationEnabled?: boolean;
296
+
297
+ RetentionPeriod?: number;
298
+
299
+ TerminationProtectionEnabled?: boolean;
300
+
301
+ TagsList?: Tag[];
302
+ }
303
+ export declare enum EventDataStoreStatus {
304
+ CREATED = "CREATED",
305
+ ENABLED = "ENABLED",
306
+ PENDING_DELETION = "PENDING_DELETION",
307
+ }
308
+ export interface CreateEventDataStoreResponse {
309
+ EventDataStoreArn?: string;
310
+
311
+ Name?: string;
312
+
313
+ Status?: EventDataStoreStatus | string;
314
+
315
+ AdvancedEventSelectors?: AdvancedEventSelector[];
316
+
317
+ MultiRegionEnabled?: boolean;
318
+
319
+ OrganizationEnabled?: boolean;
320
+
321
+ RetentionPeriod?: number;
322
+
323
+ TerminationProtectionEnabled?: boolean;
324
+
325
+ TagsList?: Tag[];
326
+
327
+ CreatedTimestamp?: Date;
328
+
329
+ UpdatedTimestamp?: Date;
330
+ }
331
+
332
+ export declare class EventDataStoreAlreadyExistsException extends __BaseException {
333
+ readonly name: "EventDataStoreAlreadyExistsException";
334
+ readonly $fault: "client";
335
+
336
+ Message?: string;
337
+
338
+ constructor(
339
+ opts: __ExceptionOptionType<
340
+ EventDataStoreAlreadyExistsException,
341
+ __BaseException
342
+ >
343
+ );
344
+ }
345
+
346
+ export declare class EventDataStoreMaxLimitExceededException extends __BaseException {
347
+ readonly name: "EventDataStoreMaxLimitExceededException";
348
+ readonly $fault: "client";
349
+
350
+ Message?: string;
351
+
352
+ constructor(
353
+ opts: __ExceptionOptionType<
354
+ EventDataStoreMaxLimitExceededException,
355
+ __BaseException
356
+ >
357
+ );
358
+ }
359
+
360
+ export declare class InsufficientDependencyServiceAccessPermissionException extends __BaseException {
361
+ readonly name: "InsufficientDependencyServiceAccessPermissionException";
362
+ readonly $fault: "client";
363
+
364
+ Message?: string;
365
+
366
+ constructor(
367
+ opts: __ExceptionOptionType<
368
+ InsufficientDependencyServiceAccessPermissionException,
369
+ __BaseException
370
+ >
371
+ );
372
+ }
373
+
374
+ export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
375
+ readonly name: "OrganizationNotInAllFeaturesModeException";
376
+ readonly $fault: "client";
377
+
378
+ Message?: string;
379
+
380
+ constructor(
381
+ opts: __ExceptionOptionType<
382
+ OrganizationNotInAllFeaturesModeException,
383
+ __BaseException
384
+ >
385
+ );
386
+ }
387
+
388
+ export declare class OrganizationsNotInUseException extends __BaseException {
389
+ readonly name: "OrganizationsNotInUseException";
390
+ readonly $fault: "client";
391
+
392
+ Message?: string;
393
+
394
+ constructor(
395
+ opts: __ExceptionOptionType<OrganizationsNotInUseException, __BaseException>
396
+ );
397
+ }
398
+
399
+ export declare class CloudTrailInvalidClientTokenIdException extends __BaseException {
400
+ readonly name: "CloudTrailInvalidClientTokenIdException";
401
+ readonly $fault: "client";
402
+
403
+ Message?: string;
404
+
405
+ constructor(
406
+ opts: __ExceptionOptionType<
407
+ CloudTrailInvalidClientTokenIdException,
408
+ __BaseException
409
+ >
410
+ );
411
+ }
412
+
413
+ export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
414
+ readonly name: "CloudWatchLogsDeliveryUnavailableException";
415
+ readonly $fault: "client";
416
+
417
+ Message?: string;
418
+
419
+ constructor(
420
+ opts: __ExceptionOptionType<
421
+ CloudWatchLogsDeliveryUnavailableException,
422
+ __BaseException
423
+ >
424
+ );
425
+ }
426
+
427
+ export interface CreateTrailRequest {
428
+ Name: string | undefined;
429
+
430
+ S3BucketName: string | undefined;
431
+
432
+ S3KeyPrefix?: string;
433
+
434
+ SnsTopicName?: string;
435
+
436
+ IncludeGlobalServiceEvents?: boolean;
437
+
438
+ IsMultiRegionTrail?: boolean;
439
+
440
+ EnableLogFileValidation?: boolean;
441
+
442
+ CloudWatchLogsLogGroupArn?: string;
443
+
444
+ CloudWatchLogsRoleArn?: string;
445
+
446
+ KmsKeyId?: string;
447
+
448
+ IsOrganizationTrail?: boolean;
449
+
450
+ TagsList?: Tag[];
451
+ }
452
+
453
+ export interface CreateTrailResponse {
454
+ Name?: string;
455
+
456
+ S3BucketName?: string;
457
+
458
+ S3KeyPrefix?: string;
459
+
460
+ SnsTopicName?: string;
461
+
462
+ SnsTopicARN?: string;
463
+
464
+ IncludeGlobalServiceEvents?: boolean;
465
+
466
+ IsMultiRegionTrail?: boolean;
467
+
468
+ TrailARN?: string;
469
+
470
+ LogFileValidationEnabled?: boolean;
471
+
472
+ CloudWatchLogsLogGroupArn?: string;
473
+
474
+ CloudWatchLogsRoleArn?: string;
475
+
476
+ KmsKeyId?: string;
477
+
478
+ IsOrganizationTrail?: boolean;
479
+ }
480
+
481
+ export declare class InsufficientEncryptionPolicyException extends __BaseException {
482
+ readonly name: "InsufficientEncryptionPolicyException";
483
+ readonly $fault: "client";
484
+
485
+ Message?: string;
486
+
487
+ constructor(
488
+ opts: __ExceptionOptionType<
489
+ InsufficientEncryptionPolicyException,
490
+ __BaseException
491
+ >
492
+ );
493
+ }
494
+
495
+ export declare class InsufficientS3BucketPolicyException extends __BaseException {
496
+ readonly name: "InsufficientS3BucketPolicyException";
497
+ readonly $fault: "client";
498
+
499
+ Message?: string;
500
+
501
+ constructor(
502
+ opts: __ExceptionOptionType<
503
+ InsufficientS3BucketPolicyException,
504
+ __BaseException
505
+ >
506
+ );
507
+ }
508
+
509
+ export declare class InsufficientSnsTopicPolicyException extends __BaseException {
510
+ readonly name: "InsufficientSnsTopicPolicyException";
511
+ readonly $fault: "client";
512
+
513
+ Message?: string;
514
+
515
+ constructor(
516
+ opts: __ExceptionOptionType<
517
+ InsufficientSnsTopicPolicyException,
518
+ __BaseException
519
+ >
520
+ );
521
+ }
522
+
523
+ export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseException {
524
+ readonly name: "InvalidCloudWatchLogsLogGroupArnException";
525
+ readonly $fault: "client";
526
+
527
+ Message?: string;
528
+
529
+ constructor(
530
+ opts: __ExceptionOptionType<
531
+ InvalidCloudWatchLogsLogGroupArnException,
532
+ __BaseException
533
+ >
534
+ );
535
+ }
536
+
537
+ export declare class InvalidCloudWatchLogsRoleArnException extends __BaseException {
538
+ readonly name: "InvalidCloudWatchLogsRoleArnException";
539
+ readonly $fault: "client";
540
+
541
+ Message?: string;
542
+
543
+ constructor(
544
+ opts: __ExceptionOptionType<
545
+ InvalidCloudWatchLogsRoleArnException,
546
+ __BaseException
547
+ >
548
+ );
549
+ }
550
+
551
+ export declare class InvalidKmsKeyIdException extends __BaseException {
552
+ readonly name: "InvalidKmsKeyIdException";
553
+ readonly $fault: "client";
554
+
555
+ Message?: string;
556
+
557
+ constructor(
558
+ opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>
559
+ );
560
+ }
561
+
562
+ export declare class InvalidParameterCombinationException extends __BaseException {
563
+ readonly name: "InvalidParameterCombinationException";
564
+ readonly $fault: "client";
565
+
566
+ Message?: string;
567
+
568
+ constructor(
569
+ opts: __ExceptionOptionType<
570
+ InvalidParameterCombinationException,
571
+ __BaseException
572
+ >
573
+ );
574
+ }
575
+
576
+ export declare class InvalidS3BucketNameException extends __BaseException {
577
+ readonly name: "InvalidS3BucketNameException";
578
+ readonly $fault: "client";
579
+
580
+ Message?: string;
581
+
582
+ constructor(
583
+ opts: __ExceptionOptionType<InvalidS3BucketNameException, __BaseException>
584
+ );
585
+ }
586
+
587
+ export declare class InvalidS3PrefixException extends __BaseException {
588
+ readonly name: "InvalidS3PrefixException";
589
+ readonly $fault: "client";
590
+
591
+ Message?: string;
592
+
593
+ constructor(
594
+ opts: __ExceptionOptionType<InvalidS3PrefixException, __BaseException>
595
+ );
596
+ }
597
+
598
+ export declare class InvalidSnsTopicNameException extends __BaseException {
599
+ readonly name: "InvalidSnsTopicNameException";
600
+ readonly $fault: "client";
601
+
602
+ Message?: string;
603
+
604
+ constructor(
605
+ opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>
606
+ );
607
+ }
608
+
609
+ export declare class KmsException extends __BaseException {
610
+ readonly name: "KmsException";
611
+ readonly $fault: "client";
612
+
613
+ Message?: string;
614
+
615
+ constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
616
+ }
617
+
618
+ export declare class KmsKeyDisabledException extends __BaseException {
619
+ readonly name: "KmsKeyDisabledException";
620
+ readonly $fault: "client";
621
+
622
+ Message?: string;
623
+
624
+ constructor(
625
+ opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>
626
+ );
627
+ }
628
+
629
+ export declare class KmsKeyNotFoundException extends __BaseException {
630
+ readonly name: "KmsKeyNotFoundException";
631
+ readonly $fault: "client";
632
+
633
+ Message?: string;
634
+
635
+ constructor(
636
+ opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>
637
+ );
638
+ }
639
+
640
+ export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
641
+ readonly name: "MaximumNumberOfTrailsExceededException";
642
+ readonly $fault: "client";
643
+
644
+ Message?: string;
645
+
646
+ constructor(
647
+ opts: __ExceptionOptionType<
648
+ MaximumNumberOfTrailsExceededException,
649
+ __BaseException
650
+ >
651
+ );
652
+ }
653
+
654
+ export declare class S3BucketDoesNotExistException extends __BaseException {
655
+ readonly name: "S3BucketDoesNotExistException";
656
+ readonly $fault: "client";
657
+
658
+ Message?: string;
659
+
660
+ constructor(
661
+ opts: __ExceptionOptionType<S3BucketDoesNotExistException, __BaseException>
662
+ );
663
+ }
664
+
665
+ export declare class TrailAlreadyExistsException extends __BaseException {
666
+ readonly name: "TrailAlreadyExistsException";
667
+ readonly $fault: "client";
668
+
669
+ Message?: string;
670
+
671
+ constructor(
672
+ opts: __ExceptionOptionType<TrailAlreadyExistsException, __BaseException>
673
+ );
674
+ }
675
+
676
+ export declare class TrailNotProvidedException extends __BaseException {
677
+ readonly name: "TrailNotProvidedException";
678
+ readonly $fault: "client";
679
+
680
+ Message?: string;
681
+
682
+ constructor(
683
+ opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>
684
+ );
685
+ }
686
+ export interface DeleteEventDataStoreRequest {
687
+ EventDataStore: string | undefined;
688
+ }
689
+ export interface DeleteEventDataStoreResponse {}
690
+
691
+ export declare class EventDataStoreTerminationProtectedException extends __BaseException {
692
+ readonly name: "EventDataStoreTerminationProtectedException";
693
+ readonly $fault: "client";
694
+
695
+ Message?: string;
696
+
697
+ constructor(
698
+ opts: __ExceptionOptionType<
699
+ EventDataStoreTerminationProtectedException,
700
+ __BaseException
701
+ >
702
+ );
703
+ }
704
+
705
+ export interface DeleteTrailRequest {
706
+ Name: string | undefined;
707
+ }
708
+
709
+ export interface DeleteTrailResponse {}
710
+
711
+ export declare class InvalidHomeRegionException extends __BaseException {
712
+ readonly name: "InvalidHomeRegionException";
713
+ readonly $fault: "client";
714
+
715
+ Message?: string;
716
+
717
+ constructor(
718
+ opts: __ExceptionOptionType<InvalidHomeRegionException, __BaseException>
719
+ );
720
+ }
721
+
722
+ export declare class TrailNotFoundException extends __BaseException {
723
+ readonly name: "TrailNotFoundException";
724
+ readonly $fault: "client";
725
+
726
+ Message?: string;
727
+
728
+ constructor(
729
+ opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>
730
+ );
731
+ }
732
+ export interface DescribeQueryRequest {
733
+ EventDataStore: string | undefined;
734
+
735
+ QueryId: string | undefined;
736
+ }
737
+
738
+ export interface QueryStatisticsForDescribeQuery {
739
+ EventsMatched?: number;
740
+
741
+ EventsScanned?: number;
742
+
743
+ BytesScanned?: number;
744
+
745
+ ExecutionTimeInMillis?: number;
746
+
747
+ CreationTime?: Date;
748
+ }
749
+ export interface DescribeQueryResponse {
750
+ QueryId?: string;
751
+
752
+ QueryString?: string;
753
+
754
+ QueryStatus?: QueryStatus | string;
755
+
756
+ QueryStatistics?: QueryStatisticsForDescribeQuery;
757
+
758
+ ErrorMessage?: string;
759
+ }
760
+
761
+ export interface DescribeTrailsRequest {
762
+ trailNameList?: string[];
763
+
764
+ includeShadowTrails?: boolean;
765
+ }
766
+
767
+ export interface Trail {
768
+ Name?: string;
769
+
770
+ S3BucketName?: string;
771
+
772
+ S3KeyPrefix?: string;
773
+
774
+ SnsTopicName?: string;
775
+
776
+ SnsTopicARN?: string;
777
+
778
+ IncludeGlobalServiceEvents?: boolean;
779
+
780
+ IsMultiRegionTrail?: boolean;
781
+
782
+ HomeRegion?: string;
783
+
784
+ TrailARN?: string;
785
+
786
+ LogFileValidationEnabled?: boolean;
787
+
788
+ CloudWatchLogsLogGroupArn?: string;
789
+
790
+ CloudWatchLogsRoleArn?: string;
791
+
792
+ KmsKeyId?: string;
793
+
794
+ HasCustomEventSelectors?: boolean;
795
+
796
+ HasInsightSelectors?: boolean;
797
+
798
+ IsOrganizationTrail?: boolean;
799
+ }
800
+
801
+ export interface DescribeTrailsResponse {
802
+ trailList?: Trail[];
803
+ }
804
+ export interface GetChannelRequest {
805
+ Channel: string | undefined;
806
+ }
807
+ export declare enum DestinationType {
808
+ AWS_SERVICE = "AWS_SERVICE",
809
+ EVENT_DATA_STORE = "EVENT_DATA_STORE",
810
+ }
811
+
812
+ export interface Destination {
813
+ Type: DestinationType | string | undefined;
814
+
815
+ Location: string | undefined;
816
+ }
817
+
818
+ export interface SourceConfig {
819
+ ApplyToAllRegions?: boolean;
820
+
821
+ AdvancedEventSelectors?: AdvancedEventSelector[];
822
+ }
823
+ export interface GetChannelResponse {
824
+ ChannelArn?: string;
825
+
826
+ Name?: string;
827
+
828
+ Source?: string;
829
+
830
+ SourceConfig?: SourceConfig;
831
+
832
+ Destinations?: Destination[];
833
+ }
834
+ export interface GetEventDataStoreRequest {
835
+ EventDataStore: string | undefined;
836
+ }
837
+ export interface GetEventDataStoreResponse {
838
+ EventDataStoreArn?: string;
839
+
840
+ Name?: string;
841
+
842
+ Status?: EventDataStoreStatus | string;
843
+
844
+ AdvancedEventSelectors?: AdvancedEventSelector[];
845
+
846
+ MultiRegionEnabled?: boolean;
847
+
848
+ OrganizationEnabled?: boolean;
849
+
850
+ RetentionPeriod?: number;
851
+
852
+ TerminationProtectionEnabled?: boolean;
853
+
854
+ CreatedTimestamp?: Date;
855
+
856
+ UpdatedTimestamp?: Date;
857
+ }
858
+ export interface GetEventSelectorsRequest {
859
+ TrailName: string | undefined;
860
+ }
861
+
862
+ export interface DataResource {
863
+ Type?: string;
864
+
865
+ Values?: string[];
866
+ }
867
+ export declare enum ReadWriteType {
868
+ All = "All",
869
+ ReadOnly = "ReadOnly",
870
+ WriteOnly = "WriteOnly",
871
+ }
872
+
873
+ export interface EventSelector {
874
+ ReadWriteType?: ReadWriteType | string;
875
+
876
+ IncludeManagementEvents?: boolean;
877
+
878
+ DataResources?: DataResource[];
879
+
880
+ ExcludeManagementEventSources?: string[];
881
+ }
882
+ export interface GetEventSelectorsResponse {
883
+ TrailARN?: string;
884
+
885
+ EventSelectors?: EventSelector[];
886
+
887
+ AdvancedEventSelectors?: AdvancedEventSelector[];
888
+ }
889
+ export interface GetInsightSelectorsRequest {
890
+ TrailName: string | undefined;
891
+ }
892
+ export declare enum InsightType {
893
+ ApiCallRateInsight = "ApiCallRateInsight",
894
+ ApiErrorRateInsight = "ApiErrorRateInsight",
895
+ }
896
+
897
+ export interface InsightSelector {
898
+ InsightType?: InsightType | string;
899
+ }
900
+ export interface GetInsightSelectorsResponse {
901
+ TrailARN?: string;
902
+
903
+ InsightSelectors?: InsightSelector[];
904
+ }
905
+
906
+ export declare class InsightNotEnabledException extends __BaseException {
907
+ readonly name: "InsightNotEnabledException";
908
+ readonly $fault: "client";
909
+
910
+ Message?: string;
911
+
912
+ constructor(
913
+ opts: __ExceptionOptionType<InsightNotEnabledException, __BaseException>
914
+ );
915
+ }
916
+ export interface GetQueryResultsRequest {
917
+ EventDataStore: string | undefined;
918
+
919
+ QueryId: string | undefined;
920
+
921
+ NextToken?: string;
922
+
923
+ MaxQueryResults?: number;
924
+ }
925
+
926
+ export interface QueryStatistics {
927
+ ResultsCount?: number;
928
+
929
+ TotalResultsCount?: number;
930
+
931
+ BytesScanned?: number;
932
+ }
933
+ export interface GetQueryResultsResponse {
934
+ QueryStatus?: QueryStatus | string;
935
+
936
+ QueryStatistics?: QueryStatistics;
937
+
938
+ QueryResultRows?: Record<string, string>[][];
939
+
940
+ NextToken?: string;
941
+
942
+ ErrorMessage?: string;
943
+ }
944
+
945
+ export declare class InvalidMaxResultsException extends __BaseException {
946
+ readonly name: "InvalidMaxResultsException";
947
+ readonly $fault: "client";
948
+
949
+ Message?: string;
950
+
951
+ constructor(
952
+ opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>
953
+ );
954
+ }
955
+
956
+ export declare class InvalidNextTokenException extends __BaseException {
957
+ readonly name: "InvalidNextTokenException";
958
+ readonly $fault: "client";
959
+
960
+ Message?: string;
961
+
962
+ constructor(
963
+ opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
964
+ );
965
+ }
966
+ export interface GetTrailRequest {
967
+ Name: string | undefined;
968
+ }
969
+ export interface GetTrailResponse {
970
+ Trail?: Trail;
971
+ }
972
+
973
+ export interface GetTrailStatusRequest {
974
+ Name: string | undefined;
975
+ }
976
+
977
+ export interface GetTrailStatusResponse {
978
+ IsLogging?: boolean;
979
+
980
+ LatestDeliveryError?: string;
981
+
982
+ LatestNotificationError?: string;
983
+
984
+ LatestDeliveryTime?: Date;
985
+
986
+ LatestNotificationTime?: Date;
987
+
988
+ StartLoggingTime?: Date;
989
+
990
+ StopLoggingTime?: Date;
991
+
992
+ LatestCloudWatchLogsDeliveryError?: string;
993
+
994
+ LatestCloudWatchLogsDeliveryTime?: Date;
995
+
996
+ LatestDigestDeliveryTime?: Date;
997
+
998
+ LatestDigestDeliveryError?: string;
999
+
1000
+ LatestDeliveryAttemptTime?: string;
1001
+
1002
+ LatestNotificationAttemptTime?: string;
1003
+
1004
+ LatestNotificationAttemptSucceeded?: string;
1005
+
1006
+ LatestDeliveryAttemptSucceeded?: string;
1007
+
1008
+ TimeLoggingStarted?: string;
1009
+
1010
+ TimeLoggingStopped?: string;
1011
+ }
1012
+ export interface ListChannelsRequest {
1013
+ MaxResults?: number;
1014
+
1015
+ NextToken?: string;
1016
+ }
1017
+ export interface ListChannelsResponse {
1018
+ Channels?: Channel[];
1019
+
1020
+ NextToken?: string;
1021
+ }
1022
+ export interface ListEventDataStoresRequest {
1023
+ NextToken?: string;
1024
+
1025
+ MaxResults?: number;
1026
+ }
1027
+
1028
+ export interface EventDataStore {
1029
+ EventDataStoreArn?: string;
1030
+
1031
+ Name?: string;
1032
+
1033
+ TerminationProtectionEnabled?: boolean;
1034
+
1035
+ Status?: EventDataStoreStatus | string;
1036
+
1037
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1038
+
1039
+ MultiRegionEnabled?: boolean;
1040
+
1041
+ OrganizationEnabled?: boolean;
1042
+
1043
+ RetentionPeriod?: number;
1044
+
1045
+ CreatedTimestamp?: Date;
1046
+
1047
+ UpdatedTimestamp?: Date;
1048
+ }
1049
+ export interface ListEventDataStoresResponse {
1050
+ EventDataStores?: EventDataStore[];
1051
+
1052
+ NextToken?: string;
1053
+ }
1054
+
1055
+ export declare class InvalidTimeRangeException extends __BaseException {
1056
+ readonly name: "InvalidTimeRangeException";
1057
+ readonly $fault: "client";
1058
+
1059
+ Message?: string;
1060
+
1061
+ constructor(
1062
+ opts: __ExceptionOptionType<InvalidTimeRangeException, __BaseException>
1063
+ );
1064
+ }
1065
+
1066
+ export declare class InvalidTokenException extends __BaseException {
1067
+ readonly name: "InvalidTokenException";
1068
+ readonly $fault: "client";
1069
+
1070
+ Message?: string;
1071
+
1072
+ constructor(
1073
+ opts: __ExceptionOptionType<InvalidTokenException, __BaseException>
1074
+ );
1075
+ }
1076
+
1077
+ export interface ListPublicKeysRequest {
1078
+ StartTime?: Date;
1079
+
1080
+ EndTime?: Date;
1081
+
1082
+ NextToken?: string;
1083
+ }
1084
+
1085
+ export interface PublicKey {
1086
+ Value?: Uint8Array;
1087
+
1088
+ ValidityStartTime?: Date;
1089
+
1090
+ ValidityEndTime?: Date;
1091
+
1092
+ Fingerprint?: string;
1093
+ }
1094
+
1095
+ export interface ListPublicKeysResponse {
1096
+ PublicKeyList?: PublicKey[];
1097
+
1098
+ NextToken?: string;
1099
+ }
1100
+
1101
+ export declare class InvalidDateRangeException extends __BaseException {
1102
+ readonly name: "InvalidDateRangeException";
1103
+ readonly $fault: "client";
1104
+
1105
+ Message?: string;
1106
+
1107
+ constructor(
1108
+ opts: __ExceptionOptionType<InvalidDateRangeException, __BaseException>
1109
+ );
1110
+ }
1111
+
1112
+ export declare class InvalidQueryStatusException extends __BaseException {
1113
+ readonly name: "InvalidQueryStatusException";
1114
+ readonly $fault: "client";
1115
+
1116
+ Message?: string;
1117
+
1118
+ constructor(
1119
+ opts: __ExceptionOptionType<InvalidQueryStatusException, __BaseException>
1120
+ );
1121
+ }
1122
+ export interface ListQueriesRequest {
1123
+ EventDataStore: string | undefined;
1124
+
1125
+ NextToken?: string;
1126
+
1127
+ MaxResults?: number;
1128
+
1129
+ StartTime?: Date;
1130
+
1131
+ EndTime?: Date;
1132
+
1133
+ QueryStatus?: QueryStatus | string;
1134
+ }
1135
+
1136
+ export interface Query {
1137
+ QueryId?: string;
1138
+
1139
+ QueryStatus?: QueryStatus | string;
1140
+
1141
+ CreationTime?: Date;
1142
+ }
1143
+ export interface ListQueriesResponse {
1144
+ Queries?: Query[];
1145
+
1146
+ NextToken?: string;
1147
+ }
1148
+
1149
+ export interface ListTagsRequest {
1150
+ ResourceIdList: string[] | undefined;
1151
+
1152
+ NextToken?: string;
1153
+ }
1154
+
1155
+ export interface ResourceTag {
1156
+ ResourceId?: string;
1157
+
1158
+ TagsList?: Tag[];
1159
+ }
1160
+
1161
+ export interface ListTagsResponse {
1162
+ ResourceTagList?: ResourceTag[];
1163
+
1164
+ NextToken?: string;
1165
+ }
1166
+ export interface ListTrailsRequest {
1167
+ NextToken?: string;
1168
+ }
1169
+
1170
+ export interface TrailInfo {
1171
+ TrailARN?: string;
1172
+
1173
+ Name?: string;
1174
+
1175
+ HomeRegion?: string;
1176
+ }
1177
+ export interface ListTrailsResponse {
1178
+ Trails?: TrailInfo[];
1179
+
1180
+ NextToken?: string;
1181
+ }
1182
+
1183
+ export declare class InvalidEventCategoryException extends __BaseException {
1184
+ readonly name: "InvalidEventCategoryException";
1185
+ readonly $fault: "client";
1186
+
1187
+ Message?: string;
1188
+
1189
+ constructor(
1190
+ opts: __ExceptionOptionType<InvalidEventCategoryException, __BaseException>
1191
+ );
1192
+ }
1193
+
1194
+ export declare class InvalidLookupAttributesException extends __BaseException {
1195
+ readonly name: "InvalidLookupAttributesException";
1196
+ readonly $fault: "client";
1197
+
1198
+ Message?: string;
1199
+
1200
+ constructor(
1201
+ opts: __ExceptionOptionType<
1202
+ InvalidLookupAttributesException,
1203
+ __BaseException
1204
+ >
1205
+ );
1206
+ }
1207
+ export declare enum EventCategory {
1208
+ Insight = "insight",
1209
+ }
1210
+ export declare enum LookupAttributeKey {
1211
+ ACCESS_KEY_ID = "AccessKeyId",
1212
+ EVENT_ID = "EventId",
1213
+ EVENT_NAME = "EventName",
1214
+ EVENT_SOURCE = "EventSource",
1215
+ READ_ONLY = "ReadOnly",
1216
+ RESOURCE_NAME = "ResourceName",
1217
+ RESOURCE_TYPE = "ResourceType",
1218
+ USERNAME = "Username",
1219
+ }
1220
+
1221
+ export interface LookupAttribute {
1222
+ AttributeKey: LookupAttributeKey | string | undefined;
1223
+
1224
+ AttributeValue: string | undefined;
1225
+ }
1226
+
1227
+ export interface LookupEventsRequest {
1228
+ LookupAttributes?: LookupAttribute[];
1229
+
1230
+ StartTime?: Date;
1231
+
1232
+ EndTime?: Date;
1233
+
1234
+ EventCategory?: EventCategory | string;
1235
+
1236
+ MaxResults?: number;
1237
+
1238
+ NextToken?: string;
1239
+ }
1240
+
1241
+ export interface Resource {
1242
+ ResourceType?: string;
1243
+
1244
+ ResourceName?: string;
1245
+ }
1246
+
1247
+ export interface Event {
1248
+ EventId?: string;
1249
+
1250
+ EventName?: string;
1251
+
1252
+ ReadOnly?: string;
1253
+
1254
+ AccessKeyId?: string;
1255
+
1256
+ EventTime?: Date;
1257
+
1258
+ EventSource?: string;
1259
+
1260
+ Username?: string;
1261
+
1262
+ Resources?: Resource[];
1263
+
1264
+ CloudTrailEvent?: string;
1265
+ }
1266
+
1267
+ export interface LookupEventsResponse {
1268
+ Events?: Event[];
1269
+
1270
+ NextToken?: string;
1271
+ }
1272
+
1273
+ export declare class InvalidEventSelectorsException extends __BaseException {
1274
+ readonly name: "InvalidEventSelectorsException";
1275
+ readonly $fault: "client";
1276
+
1277
+ Message?: string;
1278
+
1279
+ constructor(
1280
+ opts: __ExceptionOptionType<InvalidEventSelectorsException, __BaseException>
1281
+ );
1282
+ }
1283
+ export interface PutEventSelectorsRequest {
1284
+ TrailName: string | undefined;
1285
+
1286
+ EventSelectors?: EventSelector[];
1287
+
1288
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1289
+ }
1290
+ export interface PutEventSelectorsResponse {
1291
+ TrailARN?: string;
1292
+
1293
+ EventSelectors?: EventSelector[];
1294
+
1295
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1296
+ }
1297
+
1298
+ export declare class InvalidInsightSelectorsException extends __BaseException {
1299
+ readonly name: "InvalidInsightSelectorsException";
1300
+ readonly $fault: "client";
1301
+
1302
+ Message?: string;
1303
+
1304
+ constructor(
1305
+ opts: __ExceptionOptionType<
1306
+ InvalidInsightSelectorsException,
1307
+ __BaseException
1308
+ >
1309
+ );
1310
+ }
1311
+ export interface PutInsightSelectorsRequest {
1312
+ TrailName: string | undefined;
1313
+
1314
+ InsightSelectors: InsightSelector[] | undefined;
1315
+ }
1316
+ export interface PutInsightSelectorsResponse {
1317
+ TrailARN?: string;
1318
+
1319
+ InsightSelectors?: InsightSelector[];
1320
+ }
1321
+
1322
+ export interface RemoveTagsRequest {
1323
+ ResourceId: string | undefined;
1324
+
1325
+ TagsList: Tag[] | undefined;
1326
+ }
1327
+
1328
+ export interface RemoveTagsResponse {}
1329
+
1330
+ export declare class InvalidEventDataStoreStatusException extends __BaseException {
1331
+ readonly name: "InvalidEventDataStoreStatusException";
1332
+ readonly $fault: "client";
1333
+
1334
+ Message?: string;
1335
+
1336
+ constructor(
1337
+ opts: __ExceptionOptionType<
1338
+ InvalidEventDataStoreStatusException,
1339
+ __BaseException
1340
+ >
1341
+ );
1342
+ }
1343
+ export interface RestoreEventDataStoreRequest {
1344
+ EventDataStore: string | undefined;
1345
+ }
1346
+ export interface RestoreEventDataStoreResponse {
1347
+ EventDataStoreArn?: string;
1348
+
1349
+ Name?: string;
1350
+
1351
+ Status?: EventDataStoreStatus | string;
1352
+
1353
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1354
+
1355
+ MultiRegionEnabled?: boolean;
1356
+
1357
+ OrganizationEnabled?: boolean;
1358
+
1359
+ RetentionPeriod?: number;
1360
+
1361
+ TerminationProtectionEnabled?: boolean;
1362
+
1363
+ CreatedTimestamp?: Date;
1364
+
1365
+ UpdatedTimestamp?: Date;
1366
+ }
1367
+
1368
+ export interface StartLoggingRequest {
1369
+ Name: string | undefined;
1370
+ }
1371
+
1372
+ export interface StartLoggingResponse {}
1373
+
1374
+ export declare class InvalidQueryStatementException extends __BaseException {
1375
+ readonly name: "InvalidQueryStatementException";
1376
+ readonly $fault: "client";
1377
+
1378
+ Message?: string;
1379
+
1380
+ constructor(
1381
+ opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>
1382
+ );
1383
+ }
1384
+
1385
+ export declare class MaxConcurrentQueriesException extends __BaseException {
1386
+ readonly name: "MaxConcurrentQueriesException";
1387
+ readonly $fault: "client";
1388
+
1389
+ Message?: string;
1390
+
1391
+ constructor(
1392
+ opts: __ExceptionOptionType<MaxConcurrentQueriesException, __BaseException>
1393
+ );
1394
+ }
1395
+ export interface StartQueryRequest {
1396
+ QueryStatement: string | undefined;
1397
+ }
1398
+ export interface StartQueryResponse {
1399
+ QueryId?: string;
1400
+ }
1401
+
1402
+ export interface StopLoggingRequest {
1403
+ Name: string | undefined;
1404
+ }
1405
+
1406
+ export interface StopLoggingResponse {}
1407
+ export interface UpdateEventDataStoreRequest {
1408
+ EventDataStore: string | undefined;
1409
+
1410
+ Name?: string;
1411
+
1412
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1413
+
1414
+ MultiRegionEnabled?: boolean;
1415
+
1416
+ OrganizationEnabled?: boolean;
1417
+
1418
+ RetentionPeriod?: number;
1419
+
1420
+ TerminationProtectionEnabled?: boolean;
1421
+ }
1422
+ export interface UpdateEventDataStoreResponse {
1423
+ EventDataStoreArn?: string;
1424
+
1425
+ Name?: string;
1426
+
1427
+ Status?: EventDataStoreStatus | string;
1428
+
1429
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1430
+
1431
+ MultiRegionEnabled?: boolean;
1432
+
1433
+ OrganizationEnabled?: boolean;
1434
+
1435
+ RetentionPeriod?: number;
1436
+
1437
+ TerminationProtectionEnabled?: boolean;
1438
+
1439
+ CreatedTimestamp?: Date;
1440
+
1441
+ UpdatedTimestamp?: Date;
1442
+ }
1443
+
1444
+ export interface UpdateTrailRequest {
1445
+ Name: string | undefined;
1446
+
1447
+ S3BucketName?: string;
1448
+
1449
+ S3KeyPrefix?: string;
1450
+
1451
+ SnsTopicName?: string;
1452
+
1453
+ IncludeGlobalServiceEvents?: boolean;
1454
+
1455
+ IsMultiRegionTrail?: boolean;
1456
+
1457
+ EnableLogFileValidation?: boolean;
1458
+
1459
+ CloudWatchLogsLogGroupArn?: string;
1460
+
1461
+ CloudWatchLogsRoleArn?: string;
1462
+
1463
+ KmsKeyId?: string;
1464
+
1465
+ IsOrganizationTrail?: boolean;
1466
+ }
1467
+
1468
+ export interface UpdateTrailResponse {
1469
+ Name?: string;
1470
+
1471
+ S3BucketName?: string;
1472
+
1473
+ S3KeyPrefix?: string;
1474
+
1475
+ SnsTopicName?: string;
1476
+
1477
+ SnsTopicARN?: string;
1478
+
1479
+ IncludeGlobalServiceEvents?: boolean;
1480
+
1481
+ IsMultiRegionTrail?: boolean;
1482
+
1483
+ TrailARN?: string;
1484
+
1485
+ LogFileValidationEnabled?: boolean;
1486
+
1487
+ CloudWatchLogsLogGroupArn?: string;
1488
+
1489
+ CloudWatchLogsRoleArn?: string;
1490
+
1491
+ KmsKeyId?: string;
1492
+
1493
+ IsOrganizationTrail?: boolean;
1494
+ }
1495
+
1496
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
1497
+
1498
+ export declare const AddTagsRequestFilterSensitiveLog: (
1499
+ obj: AddTagsRequest
1500
+ ) => any;
1501
+
1502
+ export declare const AddTagsResponseFilterSensitiveLog: (
1503
+ obj: AddTagsResponse
1504
+ ) => any;
1505
+
1506
+ export declare const AdvancedFieldSelectorFilterSensitiveLog: (
1507
+ obj: AdvancedFieldSelector
1508
+ ) => any;
1509
+
1510
+ export declare const AdvancedEventSelectorFilterSensitiveLog: (
1511
+ obj: AdvancedEventSelector
1512
+ ) => any;
1513
+
1514
+ export declare const CancelQueryRequestFilterSensitiveLog: (
1515
+ obj: CancelQueryRequest
1516
+ ) => any;
1517
+
1518
+ export declare const CancelQueryResponseFilterSensitiveLog: (
1519
+ obj: CancelQueryResponse
1520
+ ) => any;
1521
+
1522
+ export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
1523
+
1524
+ export declare const CreateEventDataStoreRequestFilterSensitiveLog: (
1525
+ obj: CreateEventDataStoreRequest
1526
+ ) => any;
1527
+
1528
+ export declare const CreateEventDataStoreResponseFilterSensitiveLog: (
1529
+ obj: CreateEventDataStoreResponse
1530
+ ) => any;
1531
+
1532
+ export declare const CreateTrailRequestFilterSensitiveLog: (
1533
+ obj: CreateTrailRequest
1534
+ ) => any;
1535
+
1536
+ export declare const CreateTrailResponseFilterSensitiveLog: (
1537
+ obj: CreateTrailResponse
1538
+ ) => any;
1539
+
1540
+ export declare const DeleteEventDataStoreRequestFilterSensitiveLog: (
1541
+ obj: DeleteEventDataStoreRequest
1542
+ ) => any;
1543
+
1544
+ export declare const DeleteEventDataStoreResponseFilterSensitiveLog: (
1545
+ obj: DeleteEventDataStoreResponse
1546
+ ) => any;
1547
+
1548
+ export declare const DeleteTrailRequestFilterSensitiveLog: (
1549
+ obj: DeleteTrailRequest
1550
+ ) => any;
1551
+
1552
+ export declare const DeleteTrailResponseFilterSensitiveLog: (
1553
+ obj: DeleteTrailResponse
1554
+ ) => any;
1555
+
1556
+ export declare const DescribeQueryRequestFilterSensitiveLog: (
1557
+ obj: DescribeQueryRequest
1558
+ ) => any;
1559
+
1560
+ export declare const QueryStatisticsForDescribeQueryFilterSensitiveLog: (
1561
+ obj: QueryStatisticsForDescribeQuery
1562
+ ) => any;
1563
+
1564
+ export declare const DescribeQueryResponseFilterSensitiveLog: (
1565
+ obj: DescribeQueryResponse
1566
+ ) => any;
1567
+
1568
+ export declare const DescribeTrailsRequestFilterSensitiveLog: (
1569
+ obj: DescribeTrailsRequest
1570
+ ) => any;
1571
+
1572
+ export declare const TrailFilterSensitiveLog: (obj: Trail) => any;
1573
+
1574
+ export declare const DescribeTrailsResponseFilterSensitiveLog: (
1575
+ obj: DescribeTrailsResponse
1576
+ ) => any;
1577
+
1578
+ export declare const GetChannelRequestFilterSensitiveLog: (
1579
+ obj: GetChannelRequest
1580
+ ) => any;
1581
+
1582
+ export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
1583
+
1584
+ export declare const SourceConfigFilterSensitiveLog: (obj: SourceConfig) => any;
1585
+
1586
+ export declare const GetChannelResponseFilterSensitiveLog: (
1587
+ obj: GetChannelResponse
1588
+ ) => any;
1589
+
1590
+ export declare const GetEventDataStoreRequestFilterSensitiveLog: (
1591
+ obj: GetEventDataStoreRequest
1592
+ ) => any;
1593
+
1594
+ export declare const GetEventDataStoreResponseFilterSensitiveLog: (
1595
+ obj: GetEventDataStoreResponse
1596
+ ) => any;
1597
+
1598
+ export declare const GetEventSelectorsRequestFilterSensitiveLog: (
1599
+ obj: GetEventSelectorsRequest
1600
+ ) => any;
1601
+
1602
+ export declare const DataResourceFilterSensitiveLog: (obj: DataResource) => any;
1603
+
1604
+ export declare const EventSelectorFilterSensitiveLog: (
1605
+ obj: EventSelector
1606
+ ) => any;
1607
+
1608
+ export declare const GetEventSelectorsResponseFilterSensitiveLog: (
1609
+ obj: GetEventSelectorsResponse
1610
+ ) => any;
1611
+
1612
+ export declare const GetInsightSelectorsRequestFilterSensitiveLog: (
1613
+ obj: GetInsightSelectorsRequest
1614
+ ) => any;
1615
+
1616
+ export declare const InsightSelectorFilterSensitiveLog: (
1617
+ obj: InsightSelector
1618
+ ) => any;
1619
+
1620
+ export declare const GetInsightSelectorsResponseFilterSensitiveLog: (
1621
+ obj: GetInsightSelectorsResponse
1622
+ ) => any;
1623
+
1624
+ export declare const GetQueryResultsRequestFilterSensitiveLog: (
1625
+ obj: GetQueryResultsRequest
1626
+ ) => any;
1627
+
1628
+ export declare const QueryStatisticsFilterSensitiveLog: (
1629
+ obj: QueryStatistics
1630
+ ) => any;
1631
+
1632
+ export declare const GetQueryResultsResponseFilterSensitiveLog: (
1633
+ obj: GetQueryResultsResponse
1634
+ ) => any;
1635
+
1636
+ export declare const GetTrailRequestFilterSensitiveLog: (
1637
+ obj: GetTrailRequest
1638
+ ) => any;
1639
+
1640
+ export declare const GetTrailResponseFilterSensitiveLog: (
1641
+ obj: GetTrailResponse
1642
+ ) => any;
1643
+
1644
+ export declare const GetTrailStatusRequestFilterSensitiveLog: (
1645
+ obj: GetTrailStatusRequest
1646
+ ) => any;
1647
+
1648
+ export declare const GetTrailStatusResponseFilterSensitiveLog: (
1649
+ obj: GetTrailStatusResponse
1650
+ ) => any;
1651
+
1652
+ export declare const ListChannelsRequestFilterSensitiveLog: (
1653
+ obj: ListChannelsRequest
1654
+ ) => any;
1655
+
1656
+ export declare const ListChannelsResponseFilterSensitiveLog: (
1657
+ obj: ListChannelsResponse
1658
+ ) => any;
1659
+
1660
+ export declare const ListEventDataStoresRequestFilterSensitiveLog: (
1661
+ obj: ListEventDataStoresRequest
1662
+ ) => any;
1663
+
1664
+ export declare const EventDataStoreFilterSensitiveLog: (
1665
+ obj: EventDataStore
1666
+ ) => any;
1667
+
1668
+ export declare const ListEventDataStoresResponseFilterSensitiveLog: (
1669
+ obj: ListEventDataStoresResponse
1670
+ ) => any;
1671
+
1672
+ export declare const ListPublicKeysRequestFilterSensitiveLog: (
1673
+ obj: ListPublicKeysRequest
1674
+ ) => any;
1675
+
1676
+ export declare const PublicKeyFilterSensitiveLog: (obj: PublicKey) => any;
1677
+
1678
+ export declare const ListPublicKeysResponseFilterSensitiveLog: (
1679
+ obj: ListPublicKeysResponse
1680
+ ) => any;
1681
+
1682
+ export declare const ListQueriesRequestFilterSensitiveLog: (
1683
+ obj: ListQueriesRequest
1684
+ ) => any;
1685
+
1686
+ export declare const QueryFilterSensitiveLog: (obj: Query) => any;
1687
+
1688
+ export declare const ListQueriesResponseFilterSensitiveLog: (
1689
+ obj: ListQueriesResponse
1690
+ ) => any;
1691
+
1692
+ export declare const ListTagsRequestFilterSensitiveLog: (
1693
+ obj: ListTagsRequest
1694
+ ) => any;
1695
+
1696
+ export declare const ResourceTagFilterSensitiveLog: (obj: ResourceTag) => any;
1697
+
1698
+ export declare const ListTagsResponseFilterSensitiveLog: (
1699
+ obj: ListTagsResponse
1700
+ ) => any;
1701
+
1702
+ export declare const ListTrailsRequestFilterSensitiveLog: (
1703
+ obj: ListTrailsRequest
1704
+ ) => any;
1705
+
1706
+ export declare const TrailInfoFilterSensitiveLog: (obj: TrailInfo) => any;
1707
+
1708
+ export declare const ListTrailsResponseFilterSensitiveLog: (
1709
+ obj: ListTrailsResponse
1710
+ ) => any;
1711
+
1712
+ export declare const LookupAttributeFilterSensitiveLog: (
1713
+ obj: LookupAttribute
1714
+ ) => any;
1715
+
1716
+ export declare const LookupEventsRequestFilterSensitiveLog: (
1717
+ obj: LookupEventsRequest
1718
+ ) => any;
1719
+
1720
+ export declare const ResourceFilterSensitiveLog: (obj: Resource) => any;
1721
+
1722
+ export declare const EventFilterSensitiveLog: (obj: Event) => any;
1723
+
1724
+ export declare const LookupEventsResponseFilterSensitiveLog: (
1725
+ obj: LookupEventsResponse
1726
+ ) => any;
1727
+
1728
+ export declare const PutEventSelectorsRequestFilterSensitiveLog: (
1729
+ obj: PutEventSelectorsRequest
1730
+ ) => any;
1731
+
1732
+ export declare const PutEventSelectorsResponseFilterSensitiveLog: (
1733
+ obj: PutEventSelectorsResponse
1734
+ ) => any;
1735
+
1736
+ export declare const PutInsightSelectorsRequestFilterSensitiveLog: (
1737
+ obj: PutInsightSelectorsRequest
1738
+ ) => any;
1739
+
1740
+ export declare const PutInsightSelectorsResponseFilterSensitiveLog: (
1741
+ obj: PutInsightSelectorsResponse
1742
+ ) => any;
1743
+
1744
+ export declare const RemoveTagsRequestFilterSensitiveLog: (
1745
+ obj: RemoveTagsRequest
1746
+ ) => any;
1747
+
1748
+ export declare const RemoveTagsResponseFilterSensitiveLog: (
1749
+ obj: RemoveTagsResponse
1750
+ ) => any;
1751
+
1752
+ export declare const RestoreEventDataStoreRequestFilterSensitiveLog: (
1753
+ obj: RestoreEventDataStoreRequest
1754
+ ) => any;
1755
+
1756
+ export declare const RestoreEventDataStoreResponseFilterSensitiveLog: (
1757
+ obj: RestoreEventDataStoreResponse
1758
+ ) => any;
1759
+
1760
+ export declare const StartLoggingRequestFilterSensitiveLog: (
1761
+ obj: StartLoggingRequest
1762
+ ) => any;
1763
+
1764
+ export declare const StartLoggingResponseFilterSensitiveLog: (
1765
+ obj: StartLoggingResponse
1766
+ ) => any;
1767
+
1768
+ export declare const StartQueryRequestFilterSensitiveLog: (
1769
+ obj: StartQueryRequest
1770
+ ) => any;
1771
+
1772
+ export declare const StartQueryResponseFilterSensitiveLog: (
1773
+ obj: StartQueryResponse
1774
+ ) => any;
1775
+
1776
+ export declare const StopLoggingRequestFilterSensitiveLog: (
1777
+ obj: StopLoggingRequest
1778
+ ) => any;
1779
+
1780
+ export declare const StopLoggingResponseFilterSensitiveLog: (
1781
+ obj: StopLoggingResponse
1782
+ ) => any;
1783
+
1784
+ export declare const UpdateEventDataStoreRequestFilterSensitiveLog: (
1785
+ obj: UpdateEventDataStoreRequest
1786
+ ) => any;
1787
+
1788
+ export declare const UpdateEventDataStoreResponseFilterSensitiveLog: (
1789
+ obj: UpdateEventDataStoreResponse
1790
+ ) => any;
1791
+
1792
+ export declare const UpdateTrailRequestFilterSensitiveLog: (
1793
+ obj: UpdateTrailRequest
1794
+ ) => any;
1795
+
1796
+ export declare const UpdateTrailResponseFilterSensitiveLog: (
1797
+ obj: UpdateTrailResponse
1798
+ ) => any;