@aws-sdk/client-cloudtrail 3.45.0 → 3.46.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 (83) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist-cjs/CloudTrail.js +165 -0
  3. package/dist-cjs/commands/CancelQueryCommand.js +36 -0
  4. package/dist-cjs/commands/CreateEventDataStoreCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeQueryCommand.js +36 -0
  7. package/dist-cjs/commands/GetEventDataStoreCommand.js +36 -0
  8. package/dist-cjs/commands/GetQueryResultsCommand.js +36 -0
  9. package/dist-cjs/commands/ListEventDataStoresCommand.js +36 -0
  10. package/dist-cjs/commands/ListQueriesCommand.js +36 -0
  11. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +36 -0
  12. package/dist-cjs/commands/StartQueryCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +36 -0
  14. package/dist-cjs/commands/index.js +11 -0
  15. package/dist-cjs/models/models_0.js +291 -36
  16. package/dist-cjs/pagination/GetQueryResultsPaginator.js +34 -0
  17. package/dist-cjs/pagination/ListEventDataStoresPaginator.js +35 -0
  18. package/dist-cjs/pagination/ListQueriesPaginator.js +35 -0
  19. package/dist-cjs/pagination/index.js +3 -0
  20. package/dist-cjs/protocols/Aws_json1_1.js +2319 -389
  21. package/dist-cjs/runtimeConfig.js +0 -2
  22. package/dist-es/CloudTrail.js +165 -0
  23. package/dist-es/commands/CancelQueryCommand.js +39 -0
  24. package/dist-es/commands/CreateEventDataStoreCommand.js +39 -0
  25. package/dist-es/commands/DeleteEventDataStoreCommand.js +39 -0
  26. package/dist-es/commands/DescribeQueryCommand.js +39 -0
  27. package/dist-es/commands/GetEventDataStoreCommand.js +39 -0
  28. package/dist-es/commands/GetQueryResultsCommand.js +39 -0
  29. package/dist-es/commands/ListEventDataStoresCommand.js +39 -0
  30. package/dist-es/commands/ListQueriesCommand.js +39 -0
  31. package/dist-es/commands/RestoreEventDataStoreCommand.js +39 -0
  32. package/dist-es/commands/StartQueryCommand.js +39 -0
  33. package/dist-es/commands/UpdateEventDataStoreCommand.js +39 -0
  34. package/dist-es/commands/index.js +11 -0
  35. package/dist-es/models/models_0.js +198 -24
  36. package/dist-es/pagination/GetQueryResultsPaginator.js +73 -0
  37. package/dist-es/pagination/ListEventDataStoresPaginator.js +74 -0
  38. package/dist-es/pagination/ListQueriesPaginator.js +74 -0
  39. package/dist-es/pagination/index.js +3 -0
  40. package/dist-es/protocols/Aws_json1_1.js +2669 -704
  41. package/dist-es/runtimeConfig.js +0 -2
  42. package/dist-types/CloudTrail.d.ts +100 -1
  43. package/dist-types/CloudTrailClient.d.ts +13 -2
  44. package/dist-types/commands/CancelQueryCommand.d.ts +37 -0
  45. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +35 -0
  46. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +41 -0
  47. package/dist-types/commands/DescribeQueryCommand.d.ts +36 -0
  48. package/dist-types/commands/GetEventDataStoreCommand.d.ts +35 -0
  49. package/dist-types/commands/GetQueryResultsCommand.d.ts +36 -0
  50. package/dist-types/commands/ListEventDataStoresCommand.d.ts +35 -0
  51. package/dist-types/commands/ListQueriesCommand.d.ts +39 -0
  52. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +1 -1
  53. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +37 -0
  54. package/dist-types/commands/StartQueryCommand.d.ts +36 -0
  55. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +40 -0
  56. package/dist-types/commands/index.d.ts +11 -0
  57. package/dist-types/models/models_0.d.ts +1053 -107
  58. package/dist-types/pagination/GetQueryResultsPaginator.d.ts +4 -0
  59. package/dist-types/pagination/ListEventDataStoresPaginator.d.ts +4 -0
  60. package/dist-types/pagination/ListQueriesPaginator.d.ts +4 -0
  61. package/dist-types/pagination/index.d.ts +3 -0
  62. package/dist-types/protocols/Aws_json1_1.d.ts +33 -0
  63. package/dist-types/ts3.4/CloudTrail.d.ts +55 -0
  64. package/dist-types/ts3.4/CloudTrailClient.d.ts +13 -2
  65. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +611 -61
  78. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +4 -0
  79. package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +4 -0
  80. package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +4 -0
  81. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  82. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +33 -0
  83. package/package.json +36 -43
@@ -15,7 +15,7 @@ export interface AddTagsRequest {
15
15
 
16
16
  ResourceId: string | undefined;
17
17
 
18
- TagsList?: Tag[];
18
+ TagsList: Tag[] | undefined;
19
19
  }
20
20
  export declare namespace AddTagsRequest {
21
21
 
@@ -40,6 +40,39 @@ export declare namespace CloudTrailARNInvalidException {
40
40
  const filterSensitiveLog: (obj: CloudTrailARNInvalidException) => any;
41
41
  }
42
42
 
43
+ export interface ConflictException extends __SmithyException, $MetadataBearer {
44
+ name: "ConflictException";
45
+ $fault: "client";
46
+
47
+ Message?: string;
48
+ }
49
+ export declare namespace ConflictException {
50
+
51
+ const filterSensitiveLog: (obj: ConflictException) => any;
52
+ }
53
+
54
+ export interface EventDataStoreNotFoundException extends __SmithyException, $MetadataBearer {
55
+ name: "EventDataStoreNotFoundException";
56
+ $fault: "client";
57
+
58
+ Message?: string;
59
+ }
60
+ export declare namespace EventDataStoreNotFoundException {
61
+
62
+ const filterSensitiveLog: (obj: EventDataStoreNotFoundException) => any;
63
+ }
64
+
65
+ export interface InactiveEventDataStoreException extends __SmithyException, $MetadataBearer {
66
+ name: "InactiveEventDataStoreException";
67
+ $fault: "client";
68
+
69
+ Message?: string;
70
+ }
71
+ export declare namespace InactiveEventDataStoreException {
72
+
73
+ const filterSensitiveLog: (obj: InactiveEventDataStoreException) => any;
74
+ }
75
+
43
76
  export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
44
77
  name: "InvalidTagParameterException";
45
78
  $fault: "client";
@@ -159,6 +192,77 @@ export declare namespace AdvancedEventSelector {
159
192
 
160
193
  const filterSensitiveLog: (obj: AdvancedEventSelector) => any;
161
194
  }
195
+ export interface CancelQueryRequest {
196
+
197
+ EventDataStore: string | undefined;
198
+
199
+ QueryId: string | undefined;
200
+ }
201
+ export declare namespace CancelQueryRequest {
202
+
203
+ const filterSensitiveLog: (obj: CancelQueryRequest) => any;
204
+ }
205
+ export declare enum QueryStatus {
206
+ CANCELLED = "CANCELLED",
207
+ FAILED = "FAILED",
208
+ FINISHED = "FINISHED",
209
+ QUEUED = "QUEUED",
210
+ RUNNING = "RUNNING"
211
+ }
212
+ export interface CancelQueryResponse {
213
+
214
+ QueryId: string | undefined;
215
+
216
+ QueryStatus: QueryStatus | string | undefined;
217
+ }
218
+ export declare namespace CancelQueryResponse {
219
+
220
+ const filterSensitiveLog: (obj: CancelQueryResponse) => any;
221
+ }
222
+
223
+ export interface EventDataStoreARNInvalidException extends __SmithyException, $MetadataBearer {
224
+ name: "EventDataStoreARNInvalidException";
225
+ $fault: "client";
226
+
227
+ Message?: string;
228
+ }
229
+ export declare namespace EventDataStoreARNInvalidException {
230
+
231
+ const filterSensitiveLog: (obj: EventDataStoreARNInvalidException) => any;
232
+ }
233
+
234
+ export interface InactiveQueryException extends __SmithyException, $MetadataBearer {
235
+ name: "InactiveQueryException";
236
+ $fault: "client";
237
+
238
+ Message?: string;
239
+ }
240
+ export declare namespace InactiveQueryException {
241
+
242
+ const filterSensitiveLog: (obj: InactiveQueryException) => any;
243
+ }
244
+
245
+ export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
246
+ name: "InvalidParameterException";
247
+ $fault: "client";
248
+
249
+ Message?: string;
250
+ }
251
+ export declare namespace InvalidParameterException {
252
+
253
+ const filterSensitiveLog: (obj: InvalidParameterException) => any;
254
+ }
255
+
256
+ export interface QueryIdNotFoundException extends __SmithyException, $MetadataBearer {
257
+ name: "QueryIdNotFoundException";
258
+ $fault: "client";
259
+
260
+ Message?: string;
261
+ }
262
+ export declare namespace QueryIdNotFoundException {
263
+
264
+ const filterSensitiveLog: (obj: QueryIdNotFoundException) => any;
265
+ }
162
266
 
163
267
  export interface CloudTrailAccessNotEnabledException extends __SmithyException, $MetadataBearer {
164
268
  name: "CloudTrailAccessNotEnabledException";
@@ -170,6 +274,114 @@ export declare namespace CloudTrailAccessNotEnabledException {
170
274
 
171
275
  const filterSensitiveLog: (obj: CloudTrailAccessNotEnabledException) => any;
172
276
  }
277
+ export interface CreateEventDataStoreRequest {
278
+
279
+ Name: string | undefined;
280
+
281
+ AdvancedEventSelectors?: AdvancedEventSelector[];
282
+
283
+ MultiRegionEnabled?: boolean;
284
+
285
+ OrganizationEnabled?: boolean;
286
+
287
+ RetentionPeriod?: number;
288
+
289
+ TerminationProtectionEnabled?: boolean;
290
+
291
+ TagsList?: Tag[];
292
+ }
293
+ export declare namespace CreateEventDataStoreRequest {
294
+
295
+ const filterSensitiveLog: (obj: CreateEventDataStoreRequest) => any;
296
+ }
297
+ export declare enum EventDataStoreStatus {
298
+ CREATED = "CREATED",
299
+ ENABLED = "ENABLED",
300
+ PENDING_DELETION = "PENDING_DELETION"
301
+ }
302
+ export interface CreateEventDataStoreResponse {
303
+
304
+ EventDataStoreArn?: string;
305
+
306
+ Name?: string;
307
+
308
+ Status?: EventDataStoreStatus | string;
309
+
310
+ AdvancedEventSelectors?: AdvancedEventSelector[];
311
+
312
+ MultiRegionEnabled?: boolean;
313
+
314
+ OrganizationEnabled?: boolean;
315
+
316
+ RetentionPeriod?: number;
317
+
318
+ TerminationProtectionEnabled?: boolean;
319
+
320
+ TagsList?: Tag[];
321
+
322
+ CreatedTimestamp?: Date;
323
+
324
+ UpdatedTimestamp?: Date;
325
+ }
326
+ export declare namespace CreateEventDataStoreResponse {
327
+
328
+ const filterSensitiveLog: (obj: CreateEventDataStoreResponse) => any;
329
+ }
330
+
331
+ export interface EventDataStoreAlreadyExistsException extends __SmithyException, $MetadataBearer {
332
+ name: "EventDataStoreAlreadyExistsException";
333
+ $fault: "client";
334
+
335
+ Message?: string;
336
+ }
337
+ export declare namespace EventDataStoreAlreadyExistsException {
338
+
339
+ const filterSensitiveLog: (obj: EventDataStoreAlreadyExistsException) => any;
340
+ }
341
+
342
+ export interface EventDataStoreMaxLimitExceededException extends __SmithyException, $MetadataBearer {
343
+ name: "EventDataStoreMaxLimitExceededException";
344
+ $fault: "client";
345
+
346
+ Message?: string;
347
+ }
348
+ export declare namespace EventDataStoreMaxLimitExceededException {
349
+
350
+ const filterSensitiveLog: (obj: EventDataStoreMaxLimitExceededException) => any;
351
+ }
352
+
353
+ export interface InsufficientDependencyServiceAccessPermissionException extends __SmithyException, $MetadataBearer {
354
+ name: "InsufficientDependencyServiceAccessPermissionException";
355
+ $fault: "client";
356
+
357
+ Message?: string;
358
+ }
359
+ export declare namespace InsufficientDependencyServiceAccessPermissionException {
360
+
361
+ const filterSensitiveLog: (obj: InsufficientDependencyServiceAccessPermissionException) => any;
362
+ }
363
+
364
+ export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
365
+ name: "OrganizationNotInAllFeaturesModeException";
366
+ $fault: "client";
367
+
368
+ Message?: string;
369
+ }
370
+ export declare namespace OrganizationNotInAllFeaturesModeException {
371
+
372
+ const filterSensitiveLog: (obj: OrganizationNotInAllFeaturesModeException) => any;
373
+ }
374
+
375
+ export interface OrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
376
+ name: "OrganizationsNotInUseException";
377
+ $fault: "client";
378
+
379
+ Message?: string;
380
+ }
381
+ export declare namespace OrganizationsNotInUseException {
382
+
383
+ const filterSensitiveLog: (obj: OrganizationsNotInUseException) => any;
384
+ }
173
385
 
174
386
  export interface CloudTrailInvalidClientTokenIdException extends __SmithyException, $MetadataBearer {
175
387
  name: "CloudTrailInvalidClientTokenIdException";
@@ -257,17 +469,6 @@ export declare namespace CreateTrailResponse {
257
469
  const filterSensitiveLog: (obj: CreateTrailResponse) => any;
258
470
  }
259
471
 
260
- export interface InsufficientDependencyServiceAccessPermissionException extends __SmithyException, $MetadataBearer {
261
- name: "InsufficientDependencyServiceAccessPermissionException";
262
- $fault: "client";
263
-
264
- Message?: string;
265
- }
266
- export declare namespace InsufficientDependencyServiceAccessPermissionException {
267
-
268
- const filterSensitiveLog: (obj: InsufficientDependencyServiceAccessPermissionException) => any;
269
- }
270
-
271
472
  export interface InsufficientEncryptionPolicyException extends __SmithyException, $MetadataBearer {
272
473
  name: "InsufficientEncryptionPolicyException";
273
474
  $fault: "client";
@@ -422,28 +623,6 @@ export declare namespace MaximumNumberOfTrailsExceededException {
422
623
  const filterSensitiveLog: (obj: MaximumNumberOfTrailsExceededException) => any;
423
624
  }
424
625
 
425
- export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
426
- name: "OrganizationNotInAllFeaturesModeException";
427
- $fault: "client";
428
-
429
- Message?: string;
430
- }
431
- export declare namespace OrganizationNotInAllFeaturesModeException {
432
-
433
- const filterSensitiveLog: (obj: OrganizationNotInAllFeaturesModeException) => any;
434
- }
435
-
436
- export interface OrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
437
- name: "OrganizationsNotInUseException";
438
- $fault: "client";
439
-
440
- Message?: string;
441
- }
442
- export declare namespace OrganizationsNotInUseException {
443
-
444
- const filterSensitiveLog: (obj: OrganizationsNotInUseException) => any;
445
- }
446
-
447
626
  export interface S3BucketDoesNotExistException extends __SmithyException, $MetadataBearer {
448
627
  name: "S3BucketDoesNotExistException";
449
628
  $fault: "client";
@@ -476,16 +655,30 @@ export declare namespace TrailNotProvidedException {
476
655
 
477
656
  const filterSensitiveLog: (obj: TrailNotProvidedException) => any;
478
657
  }
658
+ export interface DeleteEventDataStoreRequest {
659
+
660
+ EventDataStore: string | undefined;
661
+ }
662
+ export declare namespace DeleteEventDataStoreRequest {
663
+
664
+ const filterSensitiveLog: (obj: DeleteEventDataStoreRequest) => any;
665
+ }
666
+ export interface DeleteEventDataStoreResponse {
667
+ }
668
+ export declare namespace DeleteEventDataStoreResponse {
669
+
670
+ const filterSensitiveLog: (obj: DeleteEventDataStoreResponse) => any;
671
+ }
479
672
 
480
- export interface ConflictException extends __SmithyException, $MetadataBearer {
481
- name: "ConflictException";
673
+ export interface EventDataStoreTerminationProtectedException extends __SmithyException, $MetadataBearer {
674
+ name: "EventDataStoreTerminationProtectedException";
482
675
  $fault: "client";
483
676
 
484
677
  Message?: string;
485
678
  }
486
- export declare namespace ConflictException {
679
+ export declare namespace EventDataStoreTerminationProtectedException {
487
680
 
488
- const filterSensitiveLog: (obj: ConflictException) => any;
681
+ const filterSensitiveLog: (obj: EventDataStoreTerminationProtectedException) => any;
489
682
  }
490
683
 
491
684
  export interface DeleteTrailRequest {
@@ -525,6 +718,47 @@ export declare namespace TrailNotFoundException {
525
718
 
526
719
  const filterSensitiveLog: (obj: TrailNotFoundException) => any;
527
720
  }
721
+ export interface DescribeQueryRequest {
722
+
723
+ EventDataStore: string | undefined;
724
+
725
+ QueryId: string | undefined;
726
+ }
727
+ export declare namespace DescribeQueryRequest {
728
+
729
+ const filterSensitiveLog: (obj: DescribeQueryRequest) => any;
730
+ }
731
+
732
+ export interface QueryStatisticsForDescribeQuery {
733
+
734
+ EventsMatched?: number;
735
+
736
+ EventsScanned?: number;
737
+
738
+ ExecutionTimeInMillis?: number;
739
+
740
+ CreationTime?: Date;
741
+ }
742
+ export declare namespace QueryStatisticsForDescribeQuery {
743
+
744
+ const filterSensitiveLog: (obj: QueryStatisticsForDescribeQuery) => any;
745
+ }
746
+ export interface DescribeQueryResponse {
747
+
748
+ QueryId?: string;
749
+
750
+ QueryString?: string;
751
+
752
+ QueryStatus?: QueryStatus | string;
753
+
754
+ QueryStatistics?: QueryStatisticsForDescribeQuery;
755
+
756
+ ErrorMessage?: string;
757
+ }
758
+ export declare namespace DescribeQueryResponse {
759
+
760
+ const filterSensitiveLog: (obj: DescribeQueryResponse) => any;
761
+ }
528
762
 
529
763
  export interface DescribeTrailsRequest {
530
764
 
@@ -584,6 +818,40 @@ export declare namespace DescribeTrailsResponse {
584
818
 
585
819
  const filterSensitiveLog: (obj: DescribeTrailsResponse) => any;
586
820
  }
821
+ export interface GetEventDataStoreRequest {
822
+
823
+ EventDataStore: string | undefined;
824
+ }
825
+ export declare namespace GetEventDataStoreRequest {
826
+
827
+ const filterSensitiveLog: (obj: GetEventDataStoreRequest) => any;
828
+ }
829
+ export interface GetEventDataStoreResponse {
830
+
831
+ EventDataStoreArn?: string;
832
+
833
+ Name?: string;
834
+
835
+ Status?: EventDataStoreStatus | string;
836
+
837
+ AdvancedEventSelectors?: AdvancedEventSelector[];
838
+
839
+ MultiRegionEnabled?: boolean;
840
+
841
+ OrganizationEnabled?: boolean;
842
+
843
+ RetentionPeriod?: number;
844
+
845
+ TerminationProtectionEnabled?: boolean;
846
+
847
+ CreatedTimestamp?: Date;
848
+
849
+ UpdatedTimestamp?: Date;
850
+ }
851
+ export declare namespace GetEventDataStoreResponse {
852
+
853
+ const filterSensitiveLog: (obj: GetEventDataStoreResponse) => any;
854
+ }
587
855
  export interface GetEventSelectorsRequest {
588
856
 
589
857
  TrailName: string | undefined;
@@ -677,6 +945,71 @@ export declare namespace InsightNotEnabledException {
677
945
 
678
946
  const filterSensitiveLog: (obj: InsightNotEnabledException) => any;
679
947
  }
948
+ export interface GetQueryResultsRequest {
949
+
950
+ EventDataStore: string | undefined;
951
+
952
+ QueryId: string | undefined;
953
+
954
+ NextToken?: string;
955
+
956
+ MaxQueryResults?: number;
957
+ }
958
+ export declare namespace GetQueryResultsRequest {
959
+
960
+ const filterSensitiveLog: (obj: GetQueryResultsRequest) => any;
961
+ }
962
+
963
+ export interface QueryStatistics {
964
+
965
+ ResultsCount?: number;
966
+
967
+ TotalResultsCount?: number;
968
+ }
969
+ export declare namespace QueryStatistics {
970
+
971
+ const filterSensitiveLog: (obj: QueryStatistics) => any;
972
+ }
973
+ export interface GetQueryResultsResponse {
974
+
975
+ QueryStatus?: QueryStatus | string;
976
+
977
+ QueryStatistics?: QueryStatistics;
978
+
979
+ QueryResultRows?: {
980
+ [key: string]: string;
981
+ }[][];
982
+
983
+ NextToken?: string;
984
+
985
+ ErrorMessage?: string;
986
+ }
987
+ export declare namespace GetQueryResultsResponse {
988
+
989
+ const filterSensitiveLog: (obj: GetQueryResultsResponse) => any;
990
+ }
991
+
992
+ export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
993
+ name: "InvalidMaxResultsException";
994
+ $fault: "client";
995
+
996
+ Message?: string;
997
+ }
998
+ export declare namespace InvalidMaxResultsException {
999
+
1000
+ const filterSensitiveLog: (obj: InvalidMaxResultsException) => any;
1001
+ }
1002
+
1003
+ export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
1004
+ name: "InvalidNextTokenException";
1005
+ $fault: "client";
1006
+
1007
+ Message?: string;
1008
+ }
1009
+ export declare namespace InvalidNextTokenException {
1010
+
1011
+ const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
1012
+ }
680
1013
  export interface GetTrailRequest {
681
1014
 
682
1015
  Name: string | undefined;
@@ -743,6 +1076,53 @@ export declare namespace GetTrailStatusResponse {
743
1076
 
744
1077
  const filterSensitiveLog: (obj: GetTrailStatusResponse) => any;
745
1078
  }
1079
+ export interface ListEventDataStoresRequest {
1080
+
1081
+ NextToken?: string;
1082
+
1083
+ MaxResults?: number;
1084
+ }
1085
+ export declare namespace ListEventDataStoresRequest {
1086
+
1087
+ const filterSensitiveLog: (obj: ListEventDataStoresRequest) => any;
1088
+ }
1089
+
1090
+ export interface EventDataStore {
1091
+
1092
+ EventDataStoreArn?: string;
1093
+
1094
+ Name?: string;
1095
+
1096
+ TerminationProtectionEnabled?: boolean;
1097
+
1098
+ Status?: EventDataStoreStatus | string;
1099
+
1100
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1101
+
1102
+ MultiRegionEnabled?: boolean;
1103
+
1104
+ OrganizationEnabled?: boolean;
1105
+
1106
+ RetentionPeriod?: number;
1107
+
1108
+ CreatedTimestamp?: Date;
1109
+
1110
+ UpdatedTimestamp?: Date;
1111
+ }
1112
+ export declare namespace EventDataStore {
1113
+
1114
+ const filterSensitiveLog: (obj: EventDataStore) => any;
1115
+ }
1116
+ export interface ListEventDataStoresResponse {
1117
+
1118
+ EventDataStores?: EventDataStore[];
1119
+
1120
+ NextToken?: string;
1121
+ }
1122
+ export declare namespace ListEventDataStoresResponse {
1123
+
1124
+ const filterSensitiveLog: (obj: ListEventDataStoresResponse) => any;
1125
+ }
746
1126
 
747
1127
  export interface InvalidTimeRangeException extends __SmithyException, $MetadataBearer {
748
1128
  name: "InvalidTimeRangeException";
@@ -805,6 +1185,69 @@ export declare namespace ListPublicKeysResponse {
805
1185
  const filterSensitiveLog: (obj: ListPublicKeysResponse) => any;
806
1186
  }
807
1187
 
1188
+ export interface InvalidDateRangeException extends __SmithyException, $MetadataBearer {
1189
+ name: "InvalidDateRangeException";
1190
+ $fault: "client";
1191
+
1192
+ Message?: string;
1193
+ }
1194
+ export declare namespace InvalidDateRangeException {
1195
+
1196
+ const filterSensitiveLog: (obj: InvalidDateRangeException) => any;
1197
+ }
1198
+
1199
+ export interface InvalidQueryStatusException extends __SmithyException, $MetadataBearer {
1200
+ name: "InvalidQueryStatusException";
1201
+ $fault: "client";
1202
+
1203
+ Message?: string;
1204
+ }
1205
+ export declare namespace InvalidQueryStatusException {
1206
+
1207
+ const filterSensitiveLog: (obj: InvalidQueryStatusException) => any;
1208
+ }
1209
+ export interface ListQueriesRequest {
1210
+
1211
+ EventDataStore: string | undefined;
1212
+
1213
+ NextToken?: string;
1214
+
1215
+ MaxResults?: number;
1216
+
1217
+ StartTime?: Date;
1218
+
1219
+ EndTime?: Date;
1220
+
1221
+ QueryStatus?: QueryStatus | string;
1222
+ }
1223
+ export declare namespace ListQueriesRequest {
1224
+
1225
+ const filterSensitiveLog: (obj: ListQueriesRequest) => any;
1226
+ }
1227
+
1228
+ export interface Query {
1229
+
1230
+ QueryId?: string;
1231
+
1232
+ QueryStatus?: QueryStatus | string;
1233
+
1234
+ CreationTime?: Date;
1235
+ }
1236
+ export declare namespace Query {
1237
+
1238
+ const filterSensitiveLog: (obj: Query) => any;
1239
+ }
1240
+ export interface ListQueriesResponse {
1241
+
1242
+ Queries?: Query[];
1243
+
1244
+ NextToken?: string;
1245
+ }
1246
+ export declare namespace ListQueriesResponse {
1247
+
1248
+ const filterSensitiveLog: (obj: ListQueriesResponse) => any;
1249
+ }
1250
+
808
1251
  export interface ListTagsRequest {
809
1252
 
810
1253
  ResourceIdList: string[] | undefined;
@@ -890,28 +1333,6 @@ export declare namespace InvalidLookupAttributesException {
890
1333
 
891
1334
  const filterSensitiveLog: (obj: InvalidLookupAttributesException) => any;
892
1335
  }
893
-
894
- export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
895
- name: "InvalidMaxResultsException";
896
- $fault: "client";
897
-
898
- Message?: string;
899
- }
900
- export declare namespace InvalidMaxResultsException {
901
-
902
- const filterSensitiveLog: (obj: InvalidMaxResultsException) => any;
903
- }
904
-
905
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
906
- name: "InvalidNextTokenException";
907
- $fault: "client";
908
-
909
- Message?: string;
910
- }
911
- export declare namespace InvalidNextTokenException {
912
-
913
- const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
914
- }
915
1336
  export declare enum EventCategory {
916
1337
  Insight = "insight"
917
1338
  }
@@ -1073,7 +1494,7 @@ export interface RemoveTagsRequest {
1073
1494
 
1074
1495
  ResourceId: string | undefined;
1075
1496
 
1076
- TagsList?: Tag[];
1497
+ TagsList: Tag[] | undefined;
1077
1498
  }
1078
1499
  export declare namespace RemoveTagsRequest {
1079
1500
 
@@ -1087,6 +1508,51 @@ export declare namespace RemoveTagsResponse {
1087
1508
  const filterSensitiveLog: (obj: RemoveTagsResponse) => any;
1088
1509
  }
1089
1510
 
1511
+ export interface InvalidEventDataStoreStatusException extends __SmithyException, $MetadataBearer {
1512
+ name: "InvalidEventDataStoreStatusException";
1513
+ $fault: "client";
1514
+
1515
+ Message?: string;
1516
+ }
1517
+ export declare namespace InvalidEventDataStoreStatusException {
1518
+
1519
+ const filterSensitiveLog: (obj: InvalidEventDataStoreStatusException) => any;
1520
+ }
1521
+ export interface RestoreEventDataStoreRequest {
1522
+
1523
+ EventDataStore: string | undefined;
1524
+ }
1525
+ export declare namespace RestoreEventDataStoreRequest {
1526
+
1527
+ const filterSensitiveLog: (obj: RestoreEventDataStoreRequest) => any;
1528
+ }
1529
+ export interface RestoreEventDataStoreResponse {
1530
+
1531
+ EventDataStoreArn?: string;
1532
+
1533
+ Name?: string;
1534
+
1535
+ Status?: EventDataStoreStatus | string;
1536
+
1537
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1538
+
1539
+ MultiRegionEnabled?: boolean;
1540
+
1541
+ OrganizationEnabled?: boolean;
1542
+
1543
+ RetentionPeriod?: number;
1544
+
1545
+ TerminationProtectionEnabled?: boolean;
1546
+
1547
+ CreatedTimestamp?: Date;
1548
+
1549
+ UpdatedTimestamp?: Date;
1550
+ }
1551
+ export declare namespace RestoreEventDataStoreResponse {
1552
+
1553
+ const filterSensitiveLog: (obj: RestoreEventDataStoreResponse) => any;
1554
+ }
1555
+
1090
1556
  export interface StartLoggingRequest {
1091
1557
 
1092
1558
  Name: string | undefined;
@@ -1103,6 +1569,44 @@ export declare namespace StartLoggingResponse {
1103
1569
  const filterSensitiveLog: (obj: StartLoggingResponse) => any;
1104
1570
  }
1105
1571
 
1572
+ export interface InvalidQueryStatementException extends __SmithyException, $MetadataBearer {
1573
+ name: "InvalidQueryStatementException";
1574
+ $fault: "client";
1575
+
1576
+ Message?: string;
1577
+ }
1578
+ export declare namespace InvalidQueryStatementException {
1579
+
1580
+ const filterSensitiveLog: (obj: InvalidQueryStatementException) => any;
1581
+ }
1582
+
1583
+ export interface MaxConcurrentQueriesException extends __SmithyException, $MetadataBearer {
1584
+ name: "MaxConcurrentQueriesException";
1585
+ $fault: "client";
1586
+
1587
+ Message?: string;
1588
+ }
1589
+ export declare namespace MaxConcurrentQueriesException {
1590
+
1591
+ const filterSensitiveLog: (obj: MaxConcurrentQueriesException) => any;
1592
+ }
1593
+ export interface StartQueryRequest {
1594
+
1595
+ QueryStatement: string | undefined;
1596
+ }
1597
+ export declare namespace StartQueryRequest {
1598
+
1599
+ const filterSensitiveLog: (obj: StartQueryRequest) => any;
1600
+ }
1601
+ export interface StartQueryResponse {
1602
+
1603
+ QueryId?: string;
1604
+ }
1605
+ export declare namespace StartQueryResponse {
1606
+
1607
+ const filterSensitiveLog: (obj: StartQueryResponse) => any;
1608
+ }
1609
+
1106
1610
  export interface StopLoggingRequest {
1107
1611
 
1108
1612
  Name: string | undefined;
@@ -1118,6 +1622,52 @@ export declare namespace StopLoggingResponse {
1118
1622
 
1119
1623
  const filterSensitiveLog: (obj: StopLoggingResponse) => any;
1120
1624
  }
1625
+ export interface UpdateEventDataStoreRequest {
1626
+
1627
+ EventDataStore: string | undefined;
1628
+
1629
+ Name?: string;
1630
+
1631
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1632
+
1633
+ MultiRegionEnabled?: boolean;
1634
+
1635
+ OrganizationEnabled?: boolean;
1636
+
1637
+ RetentionPeriod?: number;
1638
+
1639
+ TerminationProtectionEnabled?: boolean;
1640
+ }
1641
+ export declare namespace UpdateEventDataStoreRequest {
1642
+
1643
+ const filterSensitiveLog: (obj: UpdateEventDataStoreRequest) => any;
1644
+ }
1645
+ export interface UpdateEventDataStoreResponse {
1646
+
1647
+ EventDataStoreArn?: string;
1648
+
1649
+ Name?: string;
1650
+
1651
+ Status?: EventDataStoreStatus | string;
1652
+
1653
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1654
+
1655
+ MultiRegionEnabled?: boolean;
1656
+
1657
+ OrganizationEnabled?: boolean;
1658
+
1659
+ RetentionPeriod?: number;
1660
+
1661
+ TerminationProtectionEnabled?: boolean;
1662
+
1663
+ CreatedTimestamp?: Date;
1664
+
1665
+ UpdatedTimestamp?: Date;
1666
+ }
1667
+ export declare namespace UpdateEventDataStoreResponse {
1668
+
1669
+ const filterSensitiveLog: (obj: UpdateEventDataStoreResponse) => any;
1670
+ }
1121
1671
 
1122
1672
  export interface UpdateTrailRequest {
1123
1673