@aws-sdk/client-cloudtrail 3.171.0 → 3.178.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 (60) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/CloudTrail.js +75 -0
  3. package/dist-cjs/commands/GetImportCommand.js +36 -0
  4. package/dist-cjs/commands/ListImportFailuresCommand.js +36 -0
  5. package/dist-cjs/commands/ListImportsCommand.js +36 -0
  6. package/dist-cjs/commands/StartImportCommand.js +36 -0
  7. package/dist-cjs/commands/StopImportCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +148 -3
  10. package/dist-cjs/pagination/ListImportFailuresPaginator.js +36 -0
  11. package/dist-cjs/pagination/ListImportsPaginator.js +36 -0
  12. package/dist-cjs/pagination/index.js +2 -0
  13. package/dist-cjs/protocols/Aws_json1_1.js +575 -2
  14. package/dist-es/CloudTrail.js +75 -0
  15. package/dist-es/commands/GetImportCommand.js +39 -0
  16. package/dist-es/commands/ListImportFailuresCommand.js +39 -0
  17. package/dist-es/commands/ListImportsCommand.js +39 -0
  18. package/dist-es/commands/StartImportCommand.js +39 -0
  19. package/dist-es/commands/StopImportCommand.js +39 -0
  20. package/dist-es/commands/index.js +5 -0
  21. package/dist-es/models/models_0.js +94 -0
  22. package/dist-es/pagination/ListImportFailuresPaginator.js +75 -0
  23. package/dist-es/pagination/ListImportsPaginator.js +75 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/protocols/Aws_json1_1.js +722 -60
  26. package/dist-types/CloudTrail.d.ts +71 -4
  27. package/dist-types/CloudTrailClient.d.ts +7 -2
  28. package/dist-types/commands/GetEventSelectorsCommand.d.ts +15 -2
  29. package/dist-types/commands/GetImportCommand.d.ts +37 -0
  30. package/dist-types/commands/ListImportFailuresCommand.d.ts +37 -0
  31. package/dist-types/commands/ListImportsCommand.d.ts +37 -0
  32. package/dist-types/commands/PutEventSelectorsCommand.d.ts +3 -2
  33. package/dist-types/commands/StartImportCommand.d.ts +45 -0
  34. package/dist-types/commands/StopImportCommand.d.ts +37 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +602 -4
  37. package/dist-types/pagination/ListImportFailuresPaginator.d.ts +4 -0
  38. package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
  39. package/dist-types/pagination/index.d.ts +2 -0
  40. package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
  41. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  42. package/dist-types/runtimeConfig.d.ts +1 -1
  43. package/dist-types/runtimeConfig.native.d.ts +1 -1
  44. package/dist-types/ts3.4/CloudTrail.d.ts +85 -0
  45. package/dist-types/ts3.4/CloudTrailClient.d.ts +30 -0
  46. package/dist-types/ts3.4/commands/GetImportCommand.d.ts +32 -0
  47. package/dist-types/ts3.4/commands/ListImportFailuresCommand.d.ts +36 -0
  48. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +32 -0
  49. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +32 -0
  50. package/dist-types/ts3.4/commands/StopImportCommand.d.ts +32 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +197 -0
  53. package/dist-types/ts3.4/pagination/ListImportFailuresPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  56. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  57. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
  58. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
  59. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
  60. package/package.json +26 -26
@@ -1,5 +1,23 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { CloudTrailServiceException as __BaseException } from "./CloudTrailServiceException";
3
+ /**
4
+ * <p>
5
+ * This exception is thrown when you start a new import and a
6
+ * previous import is still in progress.
7
+ * </p>
8
+ */
9
+ export declare class AccountHasOngoingImportException extends __BaseException {
10
+ readonly name: "AccountHasOngoingImportException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * <p>Brief description of the exception returned by the request.</p>
14
+ */
15
+ Message?: string;
16
+ /**
17
+ * @internal
18
+ */
19
+ constructor(opts: __ExceptionOptionType<AccountHasOngoingImportException, __BaseException>);
20
+ }
3
21
  /**
4
22
  * <p>A custom key-value pair associated with a resource such as a CloudTrail trail.</p>
5
23
  */
@@ -1356,6 +1374,23 @@ export interface DeleteEventDataStoreRequest {
1356
1374
  }
1357
1375
  export interface DeleteEventDataStoreResponse {
1358
1376
  }
1377
+ /**
1378
+ * <p>
1379
+ * This exception is thrown when you try to update or delete an event data store that currently has an import in progress.
1380
+ * </p>
1381
+ */
1382
+ export declare class EventDataStoreHasOngoingImportException extends __BaseException {
1383
+ readonly name: "EventDataStoreHasOngoingImportException";
1384
+ readonly $fault: "client";
1385
+ /**
1386
+ * <p>Brief description of the exception returned by the request.</p>
1387
+ */
1388
+ Message?: string;
1389
+ /**
1390
+ * @internal
1391
+ */
1392
+ constructor(opts: __ExceptionOptionType<EventDataStoreHasOngoingImportException, __BaseException>);
1393
+ }
1359
1394
  /**
1360
1395
  * <p>The event data store cannot be deleted because termination protection is enabled for it.</p>
1361
1396
  */
@@ -1894,7 +1929,7 @@ export interface DataResource {
1894
1929
  * <ul>
1895
1930
  * <li>
1896
1931
  * <p>To log data events for all objects in all S3 buckets in your Amazon Web Services account, specify the
1897
- * prefix as <code>arn:aws:s3:::</code>.</p>
1932
+ * prefix as <code>arn:aws:s3</code>.</p>
1898
1933
  * <note>
1899
1934
  * <p>This also enables logging of data event activity performed by any user or role in your Amazon Web Services account,
1900
1935
  * even if that activity is performed on a bucket that belongs to another Amazon Web Services account.</p>
@@ -1961,7 +1996,7 @@ export interface EventSelector {
1961
1996
  /**
1962
1997
  * <p>Specify if you want your event selector to include management events for your trail.</p>
1963
1998
  * <p>
1964
- * For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html#logging-management-events">Management Events</a> in the <i>CloudTrail User Guide</i>.</p>
1999
+ * For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Management Events</a> in the <i>CloudTrail User Guide</i>.</p>
1965
2000
  *
1966
2001
  * <p>By default, the value is <code>true</code>.</p>
1967
2002
  * <p>The first copy of management events is free. You are charged for additional copies of management
@@ -1976,7 +2011,7 @@ export interface EventSelector {
1976
2011
  * selector, but the total number of data resources cannot exceed 250 across all event
1977
2012
  * selectors in a trail. This limit does not apply if you configure resource logging for all
1978
2013
  * data events.</p>
1979
- * <p>For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html#logging-data-events">Data Events</a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Limits in CloudTrail</a>
2014
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Data Events</a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Limits in CloudTrail</a>
1980
2015
  * in the <i>CloudTrail User Guide</i>.</p>
1981
2016
  */
1982
2017
  DataResources?: DataResource[];
@@ -2004,6 +2039,169 @@ export interface GetEventSelectorsResponse {
2004
2039
  */
2005
2040
  AdvancedEventSelectors?: AdvancedEventSelector[];
2006
2041
  }
2042
+ export interface GetImportRequest {
2043
+ /**
2044
+ * <p>
2045
+ * The ID for the import.
2046
+ * </p>
2047
+ */
2048
+ ImportId: string | undefined;
2049
+ }
2050
+ /**
2051
+ * <p>
2052
+ * The settings for the source S3 bucket.
2053
+ * </p>
2054
+ */
2055
+ export interface S3ImportSource {
2056
+ /**
2057
+ * <p>
2058
+ * The URI for the source S3 bucket.
2059
+ * </p>
2060
+ */
2061
+ S3LocationUri: string | undefined;
2062
+ /**
2063
+ * <p>
2064
+ * The region associated with the source S3 bucket.
2065
+ * </p>
2066
+ */
2067
+ S3BucketRegion: string | undefined;
2068
+ /**
2069
+ * <p>
2070
+ * The IAM ARN role used to access the source S3 bucket.
2071
+ * </p>
2072
+ */
2073
+ S3BucketAccessRoleArn: string | undefined;
2074
+ }
2075
+ /**
2076
+ * <p>
2077
+ * The import source.
2078
+ * </p>
2079
+ */
2080
+ export interface ImportSource {
2081
+ /**
2082
+ * <p>
2083
+ * The source S3 bucket.
2084
+ * </p>
2085
+ */
2086
+ S3: S3ImportSource | undefined;
2087
+ }
2088
+ /**
2089
+ * <p>
2090
+ * Provides statistics for the specified <code>ImportID</code>.
2091
+ * </p>
2092
+ */
2093
+ export interface ImportStatistics {
2094
+ /**
2095
+ * <p>
2096
+ * The number of S3 prefixes found for the import.
2097
+ * </p>
2098
+ */
2099
+ PrefixesFound?: number;
2100
+ /**
2101
+ * <p>
2102
+ * The number of S3 prefixes that completed import.
2103
+ * </p>
2104
+ */
2105
+ PrefixesCompleted?: number;
2106
+ /**
2107
+ * <p>The number of files that completed import.</p>
2108
+ */
2109
+ FilesCompleted?: number;
2110
+ /**
2111
+ * <p>
2112
+ * The number of trail events imported.
2113
+ * </p>
2114
+ */
2115
+ EventsCompleted?: number;
2116
+ /**
2117
+ * <p>
2118
+ * The number of failed entries.
2119
+ * </p>
2120
+ */
2121
+ FailedEntries?: number;
2122
+ }
2123
+ export declare enum ImportStatus {
2124
+ COMPLETED = "COMPLETED",
2125
+ FAILED = "FAILED",
2126
+ INITIALIZING = "INITIALIZING",
2127
+ IN_PROGRESS = "IN_PROGRESS",
2128
+ STOPPED = "STOPPED"
2129
+ }
2130
+ export interface GetImportResponse {
2131
+ /**
2132
+ * <p>
2133
+ * The ID of the import.
2134
+ * </p>
2135
+ */
2136
+ ImportId?: string;
2137
+ /**
2138
+ * <p>
2139
+ * The destination event data store.
2140
+ * </p>
2141
+ */
2142
+ Destinations?: string[];
2143
+ /**
2144
+ * <p>
2145
+ * The source S3 bucket.
2146
+ * </p>
2147
+ */
2148
+ ImportSource?: ImportSource;
2149
+ /**
2150
+ * <p>
2151
+ * Used with <code>EndEventTime</code> to bound a <code>StartImport</code> request, and limit imported trail events
2152
+ * to only those events logged within a specified time period.
2153
+ * </p>
2154
+ */
2155
+ StartEventTime?: Date;
2156
+ /**
2157
+ * <p>
2158
+ * Used with <code>StartEventTime</code> to bound a <code>StartImport</code> request, and limit imported trail events
2159
+ * to only those events logged within a specified time period.
2160
+ * </p>
2161
+ */
2162
+ EndEventTime?: Date;
2163
+ /**
2164
+ * <p>
2165
+ * The status of the import.
2166
+ * </p>
2167
+ */
2168
+ ImportStatus?: ImportStatus | string;
2169
+ /**
2170
+ * <p>
2171
+ * The timestamp of the import's creation.
2172
+ * </p>
2173
+ */
2174
+ CreatedTimestamp?: Date;
2175
+ /**
2176
+ * <p>
2177
+ * The timestamp of when the import was updated.
2178
+ * </p>
2179
+ */
2180
+ UpdatedTimestamp?: Date;
2181
+ /**
2182
+ * <p>
2183
+ * Provides statistics for the import.
2184
+ * </p>
2185
+ */
2186
+ ImportStatistics?: ImportStatistics;
2187
+ }
2188
+ /**
2189
+ * <p>
2190
+ * The specified import was not found.
2191
+ * </p>
2192
+ */
2193
+ export declare class ImportNotFoundException extends __BaseException {
2194
+ readonly name: "ImportNotFoundException";
2195
+ readonly $fault: "client";
2196
+ /**
2197
+ * <p>Brief description of the exception returned by the request.</p>
2198
+ */
2199
+ Message?: string;
2200
+ /**
2201
+ * @internal
2202
+ */
2203
+ constructor(opts: __ExceptionOptionType<ImportNotFoundException, __BaseException>);
2204
+ }
2007
2205
  export interface GetInsightSelectorsRequest {
2008
2206
  /**
2009
2207
  * <p>Specifies the name of the trail or trail ARN. If you specify a trail name, the
@@ -2389,6 +2587,159 @@ export interface ListEventDataStoresResponse {
2389
2587
  */
2390
2588
  NextToken?: string;
2391
2589
  }
2590
+ export interface ListImportFailuresRequest {
2591
+ /**
2592
+ * <p>
2593
+ * The ID of the import.
2594
+ * </p>
2595
+ */
2596
+ ImportId: string | undefined;
2597
+ /**
2598
+ * <p>
2599
+ * The maximum number of failures to display on a single page.
2600
+ * </p>
2601
+ */
2602
+ MaxResults?: number;
2603
+ /**
2604
+ * <p>
2605
+ * A token you can use to get the next page of import failures.
2606
+ * </p>
2607
+ */
2608
+ NextToken?: string;
2609
+ }
2610
+ export declare enum ImportFailureStatus {
2611
+ FAILED = "FAILED",
2612
+ RETRY = "RETRY",
2613
+ SUCCEEDED = "SUCCEEDED"
2614
+ }
2615
+ /**
2616
+ * <p>
2617
+ * Provides information about an import failure.
2618
+ * </p>
2619
+ */
2620
+ export interface ImportFailureListItem {
2621
+ /**
2622
+ * <p>
2623
+ * The location of the failure in the S3 bucket.
2624
+ * </p>
2625
+ */
2626
+ Location?: string;
2627
+ /**
2628
+ * <p>
2629
+ * The status of the import.
2630
+ * </p>
2631
+ */
2632
+ Status?: ImportFailureStatus | string;
2633
+ /**
2634
+ * <p>
2635
+ * The type of import error.
2636
+ * </p>
2637
+ */
2638
+ ErrorType?: string;
2639
+ /**
2640
+ * <p>
2641
+ * Provides the reason the import failed.
2642
+ * </p>
2643
+ */
2644
+ ErrorMessage?: string;
2645
+ /**
2646
+ * <p>
2647
+ * When the import was last updated.
2648
+ * </p>
2649
+ */
2650
+ LastUpdatedTime?: Date;
2651
+ }
2652
+ export interface ListImportFailuresResponse {
2653
+ /**
2654
+ * <p>
2655
+ * Contains information about the import failures.
2656
+ * </p>
2657
+ */
2658
+ Failures?: ImportFailureListItem[];
2659
+ /**
2660
+ * <p>
2661
+ * A token you can use to get the next page of results.
2662
+ * </p>
2663
+ */
2664
+ NextToken?: string;
2665
+ }
2666
+ export interface ListImportsRequest {
2667
+ /**
2668
+ * <p>
2669
+ * The maximum number of imports to display on a single page.
2670
+ * </p>
2671
+ */
2672
+ MaxResults?: number;
2673
+ /**
2674
+ * <p>
2675
+ * The destination event data store.
2676
+ * </p>
2677
+ */
2678
+ Destination?: string;
2679
+ /**
2680
+ * <p>
2681
+ * The status of the import.
2682
+ * </p>
2683
+ */
2684
+ ImportStatus?: ImportStatus | string;
2685
+ /**
2686
+ * <p>
2687
+ * A token you can use to get the next page of import results.
2688
+ * </p>
2689
+ */
2690
+ NextToken?: string;
2691
+ }
2692
+ /**
2693
+ * <p>
2694
+ * Contains information about an import that was returned by a lookup request.
2695
+ * </p>
2696
+ */
2697
+ export interface ImportsListItem {
2698
+ /**
2699
+ * <p>
2700
+ * The ID of the import.
2701
+ * </p>
2702
+ */
2703
+ ImportId?: string;
2704
+ /**
2705
+ * <p>
2706
+ * The status of the import.
2707
+ * </p>
2708
+ */
2709
+ ImportStatus?: ImportStatus | string;
2710
+ /**
2711
+ * <p>
2712
+ * The destination event data store.
2713
+ * </p>
2714
+ */
2715
+ Destinations?: string[];
2716
+ /**
2717
+ * <p>
2718
+ * The timestamp of the import's creation.
2719
+ * </p>
2720
+ */
2721
+ CreatedTimestamp?: Date;
2722
+ /**
2723
+ * <p>
2724
+ * The timestamp of the import's last update.
2725
+ * </p>
2726
+ */
2727
+ UpdatedTimestamp?: Date;
2728
+ }
2729
+ export interface ListImportsResponse {
2730
+ /**
2731
+ * <p>
2732
+ * The list of returned imports.
2733
+ * </p>
2734
+ */
2735
+ Imports?: ImportsListItem[];
2736
+ /**
2737
+ * <p>
2738
+ * A token you can use to get the next page of import results.
2739
+ * </p>
2740
+ */
2741
+ NextToken?: string;
2742
+ }
2392
2743
  /**
2393
2744
  * <p>Occurs if the timestamp values are not valid. Either the start time occurs after the end time, or the time range is outside the range of possible values.</p>
2394
2745
  */
@@ -3031,6 +3382,127 @@ export interface RestoreEventDataStoreResponse {
3031
3382
  */
3032
3383
  UpdatedTimestamp?: Date;
3033
3384
  }
3385
+ /**
3386
+ * <p>
3387
+ * This exception is thrown when the event data store category is not valid for the import.
3388
+ * </p>
3389
+ */
3390
+ export declare class InvalidEventDataStoreCategoryException extends __BaseException {
3391
+ readonly name: "InvalidEventDataStoreCategoryException";
3392
+ readonly $fault: "client";
3393
+ /**
3394
+ * <p>Brief description of the exception returned by the request.</p>
3395
+ */
3396
+ Message?: string;
3397
+ /**
3398
+ * @internal
3399
+ */
3400
+ constructor(opts: __ExceptionOptionType<InvalidEventDataStoreCategoryException, __BaseException>);
3401
+ }
3402
+ /**
3403
+ * <p>
3404
+ * This exception is thrown when the provided source S3 bucket is not valid for import.
3405
+ * </p>
3406
+ */
3407
+ export declare class InvalidImportSourceException extends __BaseException {
3408
+ readonly name: "InvalidImportSourceException";
3409
+ readonly $fault: "client";
3410
+ /**
3411
+ * <p>Brief description of the exception returned by the request.</p>
3412
+ */
3413
+ Message?: string;
3414
+ /**
3415
+ * @internal
3416
+ */
3417
+ constructor(opts: __ExceptionOptionType<InvalidImportSourceException, __BaseException>);
3418
+ }
3419
+ export interface StartImportRequest {
3420
+ /**
3421
+ * <p>
3422
+ * The destination event data store. Use this parameter for a new import.
3423
+ * </p>
3424
+ */
3425
+ Destinations?: string[];
3426
+ /**
3427
+ * <p>
3428
+ * The source S3 bucket for the import. Use this parameter for a new import.
3429
+ * </p>
3430
+ */
3431
+ ImportSource?: ImportSource;
3432
+ /**
3433
+ * <p>
3434
+ * Use with <code>EndEventTime</code> to bound a <code>StartImport</code> request, and limit imported trail events
3435
+ * to only those events logged within a specified time period.
3436
+ * </p>
3437
+ */
3438
+ StartEventTime?: Date;
3439
+ /**
3440
+ * <p>
3441
+ * Use with <code>StartEventTime</code> to bound a <code>StartImport</code> request, and limit imported trail events
3442
+ * to only those events logged within a specified time period.
3443
+ * </p>
3444
+ */
3445
+ EndEventTime?: Date;
3446
+ /**
3447
+ * <p>
3448
+ * The ID of the import. Use this parameter when you are retrying an import.
3449
+ * </p>
3450
+ */
3451
+ ImportId?: string;
3452
+ }
3453
+ export interface StartImportResponse {
3454
+ /**
3455
+ * <p>
3456
+ * The ID of the import.
3457
+ * </p>
3458
+ */
3459
+ ImportId?: string;
3460
+ /**
3461
+ * <p>
3462
+ * The destination event data store.
3463
+ * </p>
3464
+ */
3465
+ Destinations?: string[];
3466
+ /**
3467
+ * <p>
3468
+ * The source S3 bucket.
3469
+ * </p>
3470
+ */
3471
+ ImportSource?: ImportSource;
3472
+ /**
3473
+ * <p>
3474
+ * Used with <code>EndEventTime</code> to bound a <code>StartImport</code> request, and limit imported trail events
3475
+ * to only those events logged within a specified time period.
3476
+ * </p>
3477
+ */
3478
+ StartEventTime?: Date;
3479
+ /**
3480
+ * <p>
3481
+ * Used with <code>StartEventTime</code> to bound a <code>StartImport</code> request, and limit imported trail events
3482
+ * to only those events logged within a specified time period.
3483
+ * </p>
3484
+ */
3485
+ EndEventTime?: Date;
3486
+ /**
3487
+ * <p>
3488
+ * Shows the status of the import after a <code>StartImport</code> request. An import finishes with a status of <code>COMPLETED</code> if there were no failures, or <code>FAILED</code>
3489
+ * if there were failures.
3490
+ * </p>
3491
+ */
3492
+ ImportStatus?: ImportStatus | string;
3493
+ /**
3494
+ * <p>
3495
+ * The timestamp for the import's creation.
3496
+ * </p>
3497
+ */
3498
+ CreatedTimestamp?: Date;
3499
+ /**
3500
+ * <p>
3501
+ * The timestamp of the import's last update, if applicable.
3502
+ * </p>
3503
+ */
3504
+ UpdatedTimestamp?: Date;
3505
+ }
3034
3506
  /**
3035
3507
  * <p>The request to CloudTrail to start logging Amazon Web Services API calls for an account.</p>
3036
3508
  */
@@ -3094,6 +3566,72 @@ export interface StartQueryResponse {
3094
3566
  */
3095
3567
  QueryId?: string;
3096
3568
  }
3569
+ export interface StopImportRequest {
3570
+ /**
3571
+ * <p>
3572
+ * The ID of the import.
3573
+ * </p>
3574
+ */
3575
+ ImportId: string | undefined;
3576
+ }
3577
+ export interface StopImportResponse {
3578
+ /**
3579
+ * <p>
3580
+ * The ID for the import.
3581
+ * </p>
3582
+ */
3583
+ ImportId?: string;
3584
+ /**
3585
+ * <p>
3586
+ * The source S3 bucket.
3587
+ * </p>
3588
+ */
3589
+ ImportSource?: ImportSource;
3590
+ /**
3591
+ * <p>
3592
+ * The destination event data store.
3593
+ * </p>
3594
+ */
3595
+ Destinations?: string[];
3596
+ /**
3597
+ * <p>
3598
+ * The status of the import.
3599
+ * </p>
3600
+ */
3601
+ ImportStatus?: ImportStatus | string;
3602
+ /**
3603
+ * <p>
3604
+ * The timestamp of the import's creation.
3605
+ * </p>
3606
+ */
3607
+ CreatedTimestamp?: Date;
3608
+ /**
3609
+ * <p>
3610
+ * The timestamp of the import's last update.
3611
+ * </p>
3612
+ */
3613
+ UpdatedTimestamp?: Date;
3614
+ /**
3615
+ * <p>
3616
+ * Used with <code>EndEventTime</code> to bound a <code>StartImport</code> request, and limit imported trail events
3617
+ * to only those events logged within a specified time period.
3618
+ * </p>
3619
+ */
3620
+ StartEventTime?: Date;
3621
+ /**
3622
+ * <p>
3623
+ * Used with <code>StartEventTime</code> to bound a <code>StartImport</code> request, and limit imported trail events
3624
+ * to only those events logged within a specified time period.
3625
+ * </p>
3626
+ */
3627
+ EndEventTime?: Date;
3628
+ /**
3629
+ * <p>
3630
+ * Returns information on the stopped import.
3631
+ * </p>
3632
+ */
3633
+ ImportStatistics?: ImportStatistics;
3634
+ }
3097
3635
  /**
3098
3636
  * <p>Passes the request to CloudTrail to stop logging Amazon Web Services API calls for the specified account.</p>
3099
3637
  */
@@ -3122,7 +3660,7 @@ export interface UpdateEventDataStoreRequest {
3122
3660
  */
3123
3661
  Name?: string;
3124
3662
  /**
3125
- * <p>The advanced event selectors used to select events for the event data store.</p>
3663
+ * <p>The advanced event selectors used to select events for the event data store. You can configure up to five advanced event selectors for each event data store.</p>
3126
3664
  */
3127
3665
  AdvancedEventSelectors?: AdvancedEventSelector[];
3128
3666
  /**
@@ -3490,6 +4028,26 @@ export declare const EventSelectorFilterSensitiveLog: (obj: EventSelector) => an
3490
4028
  * @internal
3491
4029
  */
3492
4030
  export declare const GetEventSelectorsResponseFilterSensitiveLog: (obj: GetEventSelectorsResponse) => any;
4031
+ /**
4032
+ * @internal
4033
+ */
4034
+ export declare const GetImportRequestFilterSensitiveLog: (obj: GetImportRequest) => any;
4035
+ /**
4036
+ * @internal
4037
+ */
4038
+ export declare const S3ImportSourceFilterSensitiveLog: (obj: S3ImportSource) => any;
4039
+ /**
4040
+ * @internal
4041
+ */
4042
+ export declare const ImportSourceFilterSensitiveLog: (obj: ImportSource) => any;
4043
+ /**
4044
+ * @internal
4045
+ */
4046
+ export declare const ImportStatisticsFilterSensitiveLog: (obj: ImportStatistics) => any;
4047
+ /**
4048
+ * @internal
4049
+ */
4050
+ export declare const GetImportResponseFilterSensitiveLog: (obj: GetImportResponse) => any;
3493
4051
  /**
3494
4052
  * @internal
3495
4053
  */
@@ -3550,6 +4108,30 @@ export declare const EventDataStoreFilterSensitiveLog: (obj: EventDataStore) =>
3550
4108
  * @internal
3551
4109
  */
3552
4110
  export declare const ListEventDataStoresResponseFilterSensitiveLog: (obj: ListEventDataStoresResponse) => any;
4111
+ /**
4112
+ * @internal
4113
+ */
4114
+ export declare const ListImportFailuresRequestFilterSensitiveLog: (obj: ListImportFailuresRequest) => any;
4115
+ /**
4116
+ * @internal
4117
+ */
4118
+ export declare const ImportFailureListItemFilterSensitiveLog: (obj: ImportFailureListItem) => any;
4119
+ /**
4120
+ * @internal
4121
+ */
4122
+ export declare const ListImportFailuresResponseFilterSensitiveLog: (obj: ListImportFailuresResponse) => any;
4123
+ /**
4124
+ * @internal
4125
+ */
4126
+ export declare const ListImportsRequestFilterSensitiveLog: (obj: ListImportsRequest) => any;
4127
+ /**
4128
+ * @internal
4129
+ */
4130
+ export declare const ImportsListItemFilterSensitiveLog: (obj: ImportsListItem) => any;
4131
+ /**
4132
+ * @internal
4133
+ */
4134
+ export declare const ListImportsResponseFilterSensitiveLog: (obj: ListImportsResponse) => any;
3553
4135
  /**
3554
4136
  * @internal
3555
4137
  */
@@ -3650,6 +4232,14 @@ export declare const RestoreEventDataStoreRequestFilterSensitiveLog: (obj: Resto
3650
4232
  * @internal
3651
4233
  */
3652
4234
  export declare const RestoreEventDataStoreResponseFilterSensitiveLog: (obj: RestoreEventDataStoreResponse) => any;
4235
+ /**
4236
+ * @internal
4237
+ */
4238
+ export declare const StartImportRequestFilterSensitiveLog: (obj: StartImportRequest) => any;
4239
+ /**
4240
+ * @internal
4241
+ */
4242
+ export declare const StartImportResponseFilterSensitiveLog: (obj: StartImportResponse) => any;
3653
4243
  /**
3654
4244
  * @internal
3655
4245
  */
@@ -3666,6 +4256,14 @@ export declare const StartQueryRequestFilterSensitiveLog: (obj: StartQueryReques
3666
4256
  * @internal
3667
4257
  */
3668
4258
  export declare const StartQueryResponseFilterSensitiveLog: (obj: StartQueryResponse) => any;
4259
+ /**
4260
+ * @internal
4261
+ */
4262
+ export declare const StopImportRequestFilterSensitiveLog: (obj: StopImportRequest) => any;
4263
+ /**
4264
+ * @internal
4265
+ */
4266
+ export declare const StopImportResponseFilterSensitiveLog: (obj: StopImportResponse) => any;
3669
4267
  /**
3670
4268
  * @internal
3671
4269
  */
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListImportFailuresCommandInput, ListImportFailuresCommandOutput } from "../commands/ListImportFailuresCommand";
3
+ import { CloudTrailPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListImportFailures(config: CloudTrailPaginationConfiguration, input: ListImportFailuresCommandInput, ...additionalArguments: any): Paginator<ListImportFailuresCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
3
+ import { CloudTrailPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListImports(config: CloudTrailPaginationConfiguration, input: ListImportsCommandInput, ...additionalArguments: any): Paginator<ListImportsCommandOutput>;