@aws-sdk/client-cloudtrail 3.344.0 → 3.347.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.
- package/README.md +293 -0
- package/dist-cjs/CloudTrail.js +4 -0
- package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +46 -0
- package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +136 -2
- package/dist-es/CloudTrail.js +4 -0
- package/dist-es/commands/StartEventDataStoreIngestionCommand.js +42 -0
- package/dist-es/commands/StopEventDataStoreIngestionCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +130 -0
- package/dist-types/CloudTrail.d.ts +292 -1
- package/dist-types/CloudTrailClient.d.ts +282 -3
- package/dist-types/commands/AddTagsCommand.d.ts +2 -2
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +4 -3
- package/dist-types/commands/CreateTrailCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTrailCommand.d.ts +5 -5
- package/dist-types/commands/DescribeTrailsCommand.d.ts +1 -1
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailStatusCommand.d.ts +3 -3
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +2 -2
- package/dist-types/commands/ListPublicKeysCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsCommand.d.ts +2 -2
- package/dist-types/commands/LookupEventsCommand.d.ts +2 -2
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +4 -4
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +3 -3
- package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/StartEventDataStoreIngestionCommand.d.ts +109 -0
- package/dist-types/commands/StartLoggingCommand.d.ts +5 -5
- package/dist-types/commands/StopEventDataStoreIngestionCommand.d.ts +109 -0
- package/dist-types/commands/StopLoggingCommand.d.ts +6 -6
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTrailCommand.d.ts +7 -7
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +278 -1
- package/dist-types/models/models_0.d.ts +98 -57
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +34 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/StartEventDataStoreIngestionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopEventDataStoreIngestionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +28 -28
|
@@ -96,7 +96,7 @@ export interface AddTagsRequest {
|
|
|
96
96
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
97
97
|
* </p>
|
|
98
98
|
* <p>The format of an event data store ARN is:
|
|
99
|
-
* <code>arn:aws:cloudtrail:us-east-2:
|
|
99
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
100
100
|
* </p>
|
|
101
101
|
* <p>The format of a channel ARN is:
|
|
102
102
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
@@ -156,7 +156,7 @@ export declare class ChannelNotFoundException extends __BaseException {
|
|
|
156
156
|
* </p>
|
|
157
157
|
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
158
158
|
* <p>The following is the format of an event data store ARN:
|
|
159
|
-
* <code>arn:aws:cloudtrail:us-east-2:
|
|
159
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
160
160
|
* </p>
|
|
161
161
|
* <p>The following is the format of a channel ARN:
|
|
162
162
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
@@ -1194,8 +1194,8 @@ export interface CreateEventDataStoreRequest {
|
|
|
1194
1194
|
*/
|
|
1195
1195
|
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
1196
1196
|
/**
|
|
1197
|
-
* <p>Specifies whether the event data store includes events from all
|
|
1198
|
-
* the
|
|
1197
|
+
* <p>Specifies whether the event data store includes events from all Regions, or only from
|
|
1198
|
+
* the Region in which the event data store is created.</p>
|
|
1199
1199
|
*/
|
|
1200
1200
|
MultiRegionEnabled?: boolean;
|
|
1201
1201
|
/**
|
|
@@ -1259,6 +1259,10 @@ export interface CreateEventDataStoreRequest {
|
|
|
1259
1259
|
* </ul>
|
|
1260
1260
|
*/
|
|
1261
1261
|
KmsKeyId?: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* <p>Specifies whether the event data store should start ingesting live events. The default is true.</p>
|
|
1264
|
+
*/
|
|
1265
|
+
StartIngestion?: boolean;
|
|
1262
1266
|
}
|
|
1263
1267
|
/**
|
|
1264
1268
|
* @public
|
|
@@ -1268,6 +1272,9 @@ export declare const EventDataStoreStatus: {
|
|
|
1268
1272
|
readonly CREATED: "CREATED";
|
|
1269
1273
|
readonly ENABLED: "ENABLED";
|
|
1270
1274
|
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
1275
|
+
readonly STARTING_INGESTION: "STARTING_INGESTION";
|
|
1276
|
+
readonly STOPPED_INGESTION: "STOPPED_INGESTION";
|
|
1277
|
+
readonly STOPPING_INGESTION: "STOPPING_INGESTION";
|
|
1271
1278
|
};
|
|
1272
1279
|
/**
|
|
1273
1280
|
* @public
|
|
@@ -1295,8 +1302,8 @@ export interface CreateEventDataStoreResponse {
|
|
|
1295
1302
|
*/
|
|
1296
1303
|
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
1297
1304
|
/**
|
|
1298
|
-
* <p>Indicates whether the event data store collects events from all
|
|
1299
|
-
* the
|
|
1305
|
+
* <p>Indicates whether the event data store collects events from all Regions, or only from
|
|
1306
|
+
* the Region in which it was created.</p>
|
|
1300
1307
|
*/
|
|
1301
1308
|
MultiRegionEnabled?: boolean;
|
|
1302
1309
|
/**
|
|
@@ -1481,8 +1488,8 @@ export declare class KmsException extends __BaseException {
|
|
|
1481
1488
|
/**
|
|
1482
1489
|
* @public
|
|
1483
1490
|
* <p>This exception is thrown when the KMS key does not exist, when the S3
|
|
1484
|
-
* bucket and the KMS key are not in the same
|
|
1485
|
-
* not in the same
|
|
1491
|
+
* bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is
|
|
1492
|
+
* not in the same Region.</p>
|
|
1486
1493
|
*/
|
|
1487
1494
|
export declare class KmsKeyNotFoundException extends __BaseException {
|
|
1488
1495
|
readonly name: "KmsKeyNotFoundException";
|
|
@@ -1552,7 +1559,7 @@ export declare class CloudTrailInvalidClientTokenIdException extends __BaseExcep
|
|
|
1552
1559
|
}
|
|
1553
1560
|
/**
|
|
1554
1561
|
* @public
|
|
1555
|
-
* <p>Cannot set a CloudWatch Logs delivery for this
|
|
1562
|
+
* <p>Cannot set a CloudWatch Logs delivery for this Region.</p>
|
|
1556
1563
|
*/
|
|
1557
1564
|
export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
|
|
1558
1565
|
readonly name: "CloudWatchLogsDeliveryUnavailableException";
|
|
@@ -1617,9 +1624,9 @@ export interface CreateTrailRequest {
|
|
|
1617
1624
|
*/
|
|
1618
1625
|
IncludeGlobalServiceEvents?: boolean;
|
|
1619
1626
|
/**
|
|
1620
|
-
* <p>Specifies whether the trail is created in the current
|
|
1621
|
-
* default is false, which creates a trail only in the
|
|
1622
|
-
* best practice, consider creating trails that log events in all
|
|
1627
|
+
* <p>Specifies whether the trail is created in the current Region or in all Regions. The
|
|
1628
|
+
* default is false, which creates a trail only in the Region where you are signed in. As a
|
|
1629
|
+
* best practice, consider creating trails that log events in all Regions.</p>
|
|
1623
1630
|
*/
|
|
1624
1631
|
IsMultiRegionTrail?: boolean;
|
|
1625
1632
|
/**
|
|
@@ -1730,7 +1737,7 @@ export interface CreateTrailResponse {
|
|
|
1730
1737
|
*/
|
|
1731
1738
|
IncludeGlobalServiceEvents?: boolean;
|
|
1732
1739
|
/**
|
|
1733
|
-
* <p>Specifies whether the trail exists in one
|
|
1740
|
+
* <p>Specifies whether the trail exists in one Region or in all Regions.</p>
|
|
1734
1741
|
*/
|
|
1735
1742
|
IsMultiRegionTrail?: boolean;
|
|
1736
1743
|
/**
|
|
@@ -2119,8 +2126,8 @@ export interface DeleteTrailResponse {
|
|
|
2119
2126
|
}
|
|
2120
2127
|
/**
|
|
2121
2128
|
* @public
|
|
2122
|
-
* <p>This exception is thrown when an operation is called on a trail from a
|
|
2123
|
-
* the
|
|
2129
|
+
* <p>This exception is thrown when an operation is called on a trail from a Region other than
|
|
2130
|
+
* the Region in which the trail was created.</p>
|
|
2124
2131
|
*/
|
|
2125
2132
|
export declare class InvalidHomeRegionException extends __BaseException {
|
|
2126
2133
|
readonly name: "InvalidHomeRegionException";
|
|
@@ -2301,32 +2308,32 @@ export interface DescribeTrailsRequest {
|
|
|
2301
2308
|
* <p>
|
|
2302
2309
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
2303
2310
|
* </p>
|
|
2304
|
-
* <p>If an empty list is specified, information for the trail in the current
|
|
2311
|
+
* <p>If an empty list is specified, information for the trail in the current Region is
|
|
2305
2312
|
* returned.</p>
|
|
2306
2313
|
* <ul>
|
|
2307
2314
|
* <li>
|
|
2308
2315
|
* <p>If an empty list is specified and <code>IncludeShadowTrails</code> is false, then
|
|
2309
|
-
* information for all trails in the current
|
|
2316
|
+
* information for all trails in the current Region is returned.</p>
|
|
2310
2317
|
* </li>
|
|
2311
2318
|
* <li>
|
|
2312
2319
|
* <p>If an empty list is specified and IncludeShadowTrails is null or true, then
|
|
2313
|
-
* information for all trails in the current
|
|
2314
|
-
* other
|
|
2320
|
+
* information for all trails in the current Region and any associated shadow trails in
|
|
2321
|
+
* other Regions is returned.</p>
|
|
2315
2322
|
* </li>
|
|
2316
2323
|
* </ul>
|
|
2317
2324
|
* <note>
|
|
2318
2325
|
* <p>If one or more trail names are specified, information is returned only if the names
|
|
2319
|
-
* match the names of trails belonging only to the current
|
|
2320
|
-
* return information about a trail in another
|
|
2326
|
+
* match the names of trails belonging only to the current Region and current account. To
|
|
2327
|
+
* return information about a trail in another Region, you must specify its trail
|
|
2321
2328
|
* ARN.</p>
|
|
2322
2329
|
* </note>
|
|
2323
2330
|
*/
|
|
2324
2331
|
trailNameList?: string[];
|
|
2325
2332
|
/**
|
|
2326
2333
|
* <p>Specifies whether to include shadow trails in the response. A shadow trail is the
|
|
2327
|
-
* replication in a
|
|
2334
|
+
* replication in a Region of a trail that was created in a different Region, or in the case
|
|
2328
2335
|
* of an organization trail, the replication of an organization trail in member accounts. If
|
|
2329
|
-
* you do not include shadow trails, organization trails in a member account and
|
|
2336
|
+
* you do not include shadow trails, organization trails in a member account and Region
|
|
2330
2337
|
* replication trails will not be returned. The default is true.</p>
|
|
2331
2338
|
*/
|
|
2332
2339
|
includeShadowTrails?: boolean;
|
|
@@ -2374,11 +2381,11 @@ export interface Trail {
|
|
|
2374
2381
|
*/
|
|
2375
2382
|
IncludeGlobalServiceEvents?: boolean;
|
|
2376
2383
|
/**
|
|
2377
|
-
* <p>Specifies whether the trail exists only in one
|
|
2384
|
+
* <p>Specifies whether the trail exists only in one Region or exists in all Regions.</p>
|
|
2378
2385
|
*/
|
|
2379
2386
|
IsMultiRegionTrail?: boolean;
|
|
2380
2387
|
/**
|
|
2381
|
-
* <p>The
|
|
2388
|
+
* <p>The Region in which the trail was created.</p>
|
|
2382
2389
|
*/
|
|
2383
2390
|
HomeRegion?: string;
|
|
2384
2391
|
/**
|
|
@@ -2482,7 +2489,7 @@ export interface IngestionStatus {
|
|
|
2482
2489
|
*/
|
|
2483
2490
|
export interface SourceConfig {
|
|
2484
2491
|
/**
|
|
2485
|
-
* <p> Specifies whether the channel applies to a single
|
|
2492
|
+
* <p> Specifies whether the channel applies to a single Region or to all Regions.</p>
|
|
2486
2493
|
*/
|
|
2487
2494
|
ApplyToAllRegions?: boolean;
|
|
2488
2495
|
/**
|
|
@@ -2512,7 +2519,7 @@ export interface GetChannelResponse {
|
|
|
2512
2519
|
Source?: string;
|
|
2513
2520
|
/**
|
|
2514
2521
|
* <p> Provides information about the advanced event selectors configured for the channel, and
|
|
2515
|
-
* whether the channel applies to all
|
|
2522
|
+
* whether the channel applies to all Regions or a single Region. </p>
|
|
2516
2523
|
*/
|
|
2517
2524
|
SourceConfig?: SourceConfig;
|
|
2518
2525
|
/**
|
|
@@ -2550,8 +2557,7 @@ export interface GetEventDataStoreResponse {
|
|
|
2550
2557
|
*/
|
|
2551
2558
|
Name?: string;
|
|
2552
2559
|
/**
|
|
2553
|
-
* <p>The status of an event data store
|
|
2554
|
-
* <code>PENDING_DELETION</code>.</p>
|
|
2560
|
+
* <p>The status of an event data store.</p>
|
|
2555
2561
|
*/
|
|
2556
2562
|
Status?: EventDataStoreStatus | string;
|
|
2557
2563
|
/**
|
|
@@ -2559,8 +2565,8 @@ export interface GetEventDataStoreResponse {
|
|
|
2559
2565
|
*/
|
|
2560
2566
|
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
2561
2567
|
/**
|
|
2562
|
-
* <p>Indicates whether the event data store includes events from all
|
|
2563
|
-
* the
|
|
2568
|
+
* <p>Indicates whether the event data store includes events from all Regions, or only from
|
|
2569
|
+
* the Region in which it was created.</p>
|
|
2564
2570
|
*/
|
|
2565
2571
|
MultiRegionEnabled?: boolean;
|
|
2566
2572
|
/**
|
|
@@ -2878,7 +2884,7 @@ export interface EventSelector {
|
|
|
2878
2884
|
* Guide</i>.</p>
|
|
2879
2885
|
* <p>By default, the value is <code>true</code>.</p>
|
|
2880
2886
|
* <p>The first copy of management events is free. You are charged for additional copies of
|
|
2881
|
-
* management events that you are logging on any subsequent trail in the same
|
|
2887
|
+
* management events that you are logging on any subsequent trail in the same Region. For more
|
|
2882
2888
|
* information about CloudTrail pricing, see <a href="http://aws.amazon.com/cloudtrail/pricing/">CloudTrail Pricing</a>.</p>
|
|
2883
2889
|
*/
|
|
2884
2890
|
IncludeManagementEvents?: boolean;
|
|
@@ -2899,7 +2905,7 @@ export interface EventSelector {
|
|
|
2899
2905
|
* containing <code>kms.amazonaws.com</code> or <code>rdsdata.amazonaws.com</code>. By
|
|
2900
2906
|
* default, <code>ExcludeManagementEventSources</code> is empty, and KMS and
|
|
2901
2907
|
* Amazon RDS Data API events are logged to your trail. You can exclude management
|
|
2902
|
-
* event sources only in
|
|
2908
|
+
* event sources only in Regions that support the event source.</p>
|
|
2903
2909
|
*/
|
|
2904
2910
|
ExcludeManagementEventSources?: string[];
|
|
2905
2911
|
}
|
|
@@ -2939,7 +2945,7 @@ export interface S3ImportSource {
|
|
|
2939
2945
|
*/
|
|
2940
2946
|
S3LocationUri: string | undefined;
|
|
2941
2947
|
/**
|
|
2942
|
-
* <p> The
|
|
2948
|
+
* <p> The Region associated with the source S3 bucket. </p>
|
|
2943
2949
|
*/
|
|
2944
2950
|
S3BucketRegion: string | undefined;
|
|
2945
2951
|
/**
|
|
@@ -3320,7 +3326,7 @@ export interface GetTrailStatusRequest {
|
|
|
3320
3326
|
/**
|
|
3321
3327
|
* <p>Specifies the name or the CloudTrail ARN of the trail for which you are
|
|
3322
3328
|
* requesting status. To get the status of a shadow trail (a replication of the trail in
|
|
3323
|
-
* another
|
|
3329
|
+
* another Region), you must specify its ARN. The following is the format of a trail
|
|
3324
3330
|
* ARN.</p>
|
|
3325
3331
|
* <p>
|
|
3326
3332
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
@@ -3498,8 +3504,7 @@ export interface EventDataStore {
|
|
|
3498
3504
|
/**
|
|
3499
3505
|
* @deprecated
|
|
3500
3506
|
*
|
|
3501
|
-
* <p>The status of an event data store
|
|
3502
|
-
* <code>ENABLED</code> and <code>PENDING_DELETION</code>.</p>
|
|
3507
|
+
* <p>The status of an event data store.</p>
|
|
3503
3508
|
*/
|
|
3504
3509
|
Status?: EventDataStoreStatus | string;
|
|
3505
3510
|
/**
|
|
@@ -3513,7 +3518,7 @@ export interface EventDataStore {
|
|
|
3513
3518
|
* @deprecated
|
|
3514
3519
|
*
|
|
3515
3520
|
* <p>Indicates whether the event data store includes events
|
|
3516
|
-
* from all
|
|
3521
|
+
* from all Regions, or only from the Region in which it was created.</p>
|
|
3517
3522
|
*/
|
|
3518
3523
|
MultiRegionEnabled?: boolean;
|
|
3519
3524
|
/**
|
|
@@ -3550,7 +3555,7 @@ export interface EventDataStore {
|
|
|
3550
3555
|
export interface ListEventDataStoresResponse {
|
|
3551
3556
|
/**
|
|
3552
3557
|
* <p>Contains information about event data stores in the account, in the current
|
|
3553
|
-
*
|
|
3558
|
+
* Region.</p>
|
|
3554
3559
|
*/
|
|
3555
3560
|
EventDataStores?: EventDataStore[];
|
|
3556
3561
|
/**
|
|
@@ -3893,6 +3898,15 @@ export interface ListTagsRequest {
|
|
|
3893
3898
|
/**
|
|
3894
3899
|
* <p>Specifies a list of trail, event data store, or channel ARNs whose tags will be listed. The list
|
|
3895
3900
|
* has a limit of 20 ARNs.</p>
|
|
3901
|
+
* <p> Example trail ARN format:
|
|
3902
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
3903
|
+
* </p>
|
|
3904
|
+
* <p>Example event data store ARN format:
|
|
3905
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
3906
|
+
* </p>
|
|
3907
|
+
* <p>Example channel ARN format:
|
|
3908
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
3909
|
+
* </p>
|
|
3896
3910
|
*/
|
|
3897
3911
|
ResourceIdList: string[] | undefined;
|
|
3898
3912
|
/**
|
|
@@ -3943,7 +3957,7 @@ export interface ListTrailsRequest {
|
|
|
3943
3957
|
}
|
|
3944
3958
|
/**
|
|
3945
3959
|
* @public
|
|
3946
|
-
* <p>Information about a CloudTrail trail, including the trail's name, home
|
|
3960
|
+
* <p>Information about a CloudTrail trail, including the trail's name, home Region,
|
|
3947
3961
|
* and Amazon Resource Name (ARN).</p>
|
|
3948
3962
|
*/
|
|
3949
3963
|
export interface TrailInfo {
|
|
@@ -3965,7 +3979,7 @@ export interface TrailInfo {
|
|
|
3965
3979
|
*/
|
|
3966
3980
|
export interface ListTrailsResponse {
|
|
3967
3981
|
/**
|
|
3968
|
-
* <p>Returns the name, ARN, and home
|
|
3982
|
+
* <p>Returns the name, ARN, and home Region of trails in the current account.</p>
|
|
3969
3983
|
*/
|
|
3970
3984
|
Trails?: TrailInfo[];
|
|
3971
3985
|
/**
|
|
@@ -4442,7 +4456,7 @@ export interface RemoveTagsRequest {
|
|
|
4442
4456
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
4443
4457
|
* </p>
|
|
4444
4458
|
* <p>Example event data store ARN format:
|
|
4445
|
-
*
|
|
4459
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
4446
4460
|
* </p>
|
|
4447
4461
|
* <p>Example channel ARN format:
|
|
4448
4462
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
@@ -4508,8 +4522,8 @@ export interface RestoreEventDataStoreResponse {
|
|
|
4508
4522
|
*/
|
|
4509
4523
|
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
4510
4524
|
/**
|
|
4511
|
-
* <p>Indicates whether the event data store is collecting events from all
|
|
4512
|
-
* from the
|
|
4525
|
+
* <p>Indicates whether the event data store is collecting events from all Regions, or only
|
|
4526
|
+
* from the Region in which the event data store was created.</p>
|
|
4513
4527
|
*/
|
|
4514
4528
|
MultiRegionEnabled?: boolean;
|
|
4515
4529
|
/**
|
|
@@ -4545,6 +4559,20 @@ export interface RestoreEventDataStoreResponse {
|
|
|
4545
4559
|
*/
|
|
4546
4560
|
KmsKeyId?: string;
|
|
4547
4561
|
}
|
|
4562
|
+
/**
|
|
4563
|
+
* @public
|
|
4564
|
+
*/
|
|
4565
|
+
export interface StartEventDataStoreIngestionRequest {
|
|
4566
|
+
/**
|
|
4567
|
+
* <p>The ARN (or ID suffix of the ARN) of the event data store for which you want to start ingestion.</p>
|
|
4568
|
+
*/
|
|
4569
|
+
EventDataStore: string | undefined;
|
|
4570
|
+
}
|
|
4571
|
+
/**
|
|
4572
|
+
* @public
|
|
4573
|
+
*/
|
|
4574
|
+
export interface StartEventDataStoreIngestionResponse {
|
|
4575
|
+
}
|
|
4548
4576
|
/**
|
|
4549
4577
|
* @public
|
|
4550
4578
|
* <p> This exception is thrown when the provided source S3 bucket is not valid for import.
|
|
@@ -4718,6 +4746,20 @@ export interface StartQueryResponse {
|
|
|
4718
4746
|
*/
|
|
4719
4747
|
QueryId?: string;
|
|
4720
4748
|
}
|
|
4749
|
+
/**
|
|
4750
|
+
* @public
|
|
4751
|
+
*/
|
|
4752
|
+
export interface StopEventDataStoreIngestionRequest {
|
|
4753
|
+
/**
|
|
4754
|
+
* <p>The ARN (or ID suffix of the ARN) of the event data store for which you want to stop ingestion.</p>
|
|
4755
|
+
*/
|
|
4756
|
+
EventDataStore: string | undefined;
|
|
4757
|
+
}
|
|
4758
|
+
/**
|
|
4759
|
+
* @public
|
|
4760
|
+
*/
|
|
4761
|
+
export interface StopEventDataStoreIngestionResponse {
|
|
4762
|
+
}
|
|
4721
4763
|
/**
|
|
4722
4764
|
* @public
|
|
4723
4765
|
*/
|
|
@@ -4854,8 +4896,8 @@ export interface UpdateEventDataStoreRequest {
|
|
|
4854
4896
|
*/
|
|
4855
4897
|
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
4856
4898
|
/**
|
|
4857
|
-
* <p>Specifies whether an event data store collects events from all
|
|
4858
|
-
*
|
|
4899
|
+
* <p>Specifies whether an event data store collects events from all Regions, or only from the
|
|
4900
|
+
* Region in which it was created.</p>
|
|
4859
4901
|
*/
|
|
4860
4902
|
MultiRegionEnabled?: boolean;
|
|
4861
4903
|
/**
|
|
@@ -4927,8 +4969,7 @@ export interface UpdateEventDataStoreResponse {
|
|
|
4927
4969
|
*/
|
|
4928
4970
|
Name?: string;
|
|
4929
4971
|
/**
|
|
4930
|
-
* <p>The status of an event data store
|
|
4931
|
-
* <code>PENDING_DELETION</code>.</p>
|
|
4972
|
+
* <p>The status of an event data store.</p>
|
|
4932
4973
|
*/
|
|
4933
4974
|
Status?: EventDataStoreStatus | string;
|
|
4934
4975
|
/**
|
|
@@ -4936,8 +4977,8 @@ export interface UpdateEventDataStoreResponse {
|
|
|
4936
4977
|
*/
|
|
4937
4978
|
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
4938
4979
|
/**
|
|
4939
|
-
* <p>Indicates whether the event data store includes events from all
|
|
4940
|
-
* the
|
|
4980
|
+
* <p>Indicates whether the event data store includes events from all Regions, or only from
|
|
4981
|
+
* the Region in which it was created.</p>
|
|
4941
4982
|
*/
|
|
4942
4983
|
MultiRegionEnabled?: boolean;
|
|
4943
4984
|
/**
|
|
@@ -5027,12 +5068,12 @@ export interface UpdateTrailRequest {
|
|
|
5027
5068
|
*/
|
|
5028
5069
|
IncludeGlobalServiceEvents?: boolean;
|
|
5029
5070
|
/**
|
|
5030
|
-
* <p>Specifies whether the trail applies only to the current
|
|
5031
|
-
* default is false. If the trail exists only in the current
|
|
5032
|
-
* true, shadow trails (replications of the trail) will be created in the other
|
|
5033
|
-
* the trail exists in all
|
|
5034
|
-
* the
|
|
5035
|
-
* a best practice, consider using trails that log events in all
|
|
5071
|
+
* <p>Specifies whether the trail applies only to the current Region or to all Regions. The
|
|
5072
|
+
* default is false. If the trail exists only in the current Region and this value is set to
|
|
5073
|
+
* true, shadow trails (replications of the trail) will be created in the other Regions. If
|
|
5074
|
+
* the trail exists in all Regions and this value is set to false, the trail will remain in
|
|
5075
|
+
* the Region where it was created, and its shadow trails in other Regions will be deleted. As
|
|
5076
|
+
* a best practice, consider using trails that log events in all Regions.</p>
|
|
5036
5077
|
*/
|
|
5037
5078
|
IsMultiRegionTrail?: boolean;
|
|
5038
5079
|
/**
|
|
@@ -5134,7 +5175,7 @@ export interface UpdateTrailResponse {
|
|
|
5134
5175
|
*/
|
|
5135
5176
|
IncludeGlobalServiceEvents?: boolean;
|
|
5136
5177
|
/**
|
|
5137
|
-
* <p>Specifies whether the trail exists in one
|
|
5178
|
+
* <p>Specifies whether the trail exists in one Region or in all Regions.</p>
|
|
5138
5179
|
*/
|
|
5139
5180
|
IsMultiRegionTrail?: boolean;
|
|
5140
5181
|
/**
|
|
@@ -36,9 +36,11 @@ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from ".
|
|
|
36
36
|
import { RegisterOrganizationDelegatedAdminCommandInput, RegisterOrganizationDelegatedAdminCommandOutput } from "../commands/RegisterOrganizationDelegatedAdminCommand";
|
|
37
37
|
import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "../commands/RemoveTagsCommand";
|
|
38
38
|
import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "../commands/RestoreEventDataStoreCommand";
|
|
39
|
+
import { StartEventDataStoreIngestionCommandInput, StartEventDataStoreIngestionCommandOutput } from "../commands/StartEventDataStoreIngestionCommand";
|
|
39
40
|
import { StartImportCommandInput, StartImportCommandOutput } from "../commands/StartImportCommand";
|
|
40
41
|
import { StartLoggingCommandInput, StartLoggingCommandOutput } from "../commands/StartLoggingCommand";
|
|
41
42
|
import { StartQueryCommandInput, StartQueryCommandOutput } from "../commands/StartQueryCommand";
|
|
43
|
+
import { StopEventDataStoreIngestionCommandInput, StopEventDataStoreIngestionCommandOutput } from "../commands/StopEventDataStoreIngestionCommand";
|
|
42
44
|
import { StopImportCommandInput, StopImportCommandOutput } from "../commands/StopImportCommand";
|
|
43
45
|
import { StopLoggingCommandInput, StopLoggingCommandOutput } from "../commands/StopLoggingCommand";
|
|
44
46
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "../commands/UpdateChannelCommand";
|
|
@@ -188,6 +190,10 @@ export declare const se_RemoveTagsCommand: (input: RemoveTagsCommandInput, conte
|
|
|
188
190
|
* serializeAws_json1_1RestoreEventDataStoreCommand
|
|
189
191
|
*/
|
|
190
192
|
export declare const se_RestoreEventDataStoreCommand: (input: RestoreEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
193
|
+
/**
|
|
194
|
+
* serializeAws_json1_1StartEventDataStoreIngestionCommand
|
|
195
|
+
*/
|
|
196
|
+
export declare const se_StartEventDataStoreIngestionCommand: (input: StartEventDataStoreIngestionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
191
197
|
/**
|
|
192
198
|
* serializeAws_json1_1StartImportCommand
|
|
193
199
|
*/
|
|
@@ -200,6 +206,10 @@ export declare const se_StartLoggingCommand: (input: StartLoggingCommandInput, c
|
|
|
200
206
|
* serializeAws_json1_1StartQueryCommand
|
|
201
207
|
*/
|
|
202
208
|
export declare const se_StartQueryCommand: (input: StartQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
209
|
+
/**
|
|
210
|
+
* serializeAws_json1_1StopEventDataStoreIngestionCommand
|
|
211
|
+
*/
|
|
212
|
+
export declare const se_StopEventDataStoreIngestionCommand: (input: StopEventDataStoreIngestionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
203
213
|
/**
|
|
204
214
|
* serializeAws_json1_1StopImportCommand
|
|
205
215
|
*/
|
|
@@ -364,6 +374,10 @@ export declare const de_RemoveTagsCommand: (output: __HttpResponse, context: __S
|
|
|
364
374
|
* deserializeAws_json1_1RestoreEventDataStoreCommand
|
|
365
375
|
*/
|
|
366
376
|
export declare const de_RestoreEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreEventDataStoreCommandOutput>;
|
|
377
|
+
/**
|
|
378
|
+
* deserializeAws_json1_1StartEventDataStoreIngestionCommand
|
|
379
|
+
*/
|
|
380
|
+
export declare const de_StartEventDataStoreIngestionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartEventDataStoreIngestionCommandOutput>;
|
|
367
381
|
/**
|
|
368
382
|
* deserializeAws_json1_1StartImportCommand
|
|
369
383
|
*/
|
|
@@ -376,6 +390,10 @@ export declare const de_StartLoggingCommand: (output: __HttpResponse, context: _
|
|
|
376
390
|
* deserializeAws_json1_1StartQueryCommand
|
|
377
391
|
*/
|
|
378
392
|
export declare const de_StartQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartQueryCommandOutput>;
|
|
393
|
+
/**
|
|
394
|
+
* deserializeAws_json1_1StopEventDataStoreIngestionCommand
|
|
395
|
+
*/
|
|
396
|
+
export declare const de_StopEventDataStoreIngestionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopEventDataStoreIngestionCommandOutput>;
|
|
379
397
|
/**
|
|
380
398
|
* deserializeAws_json1_1StopImportCommand
|
|
381
399
|
*/
|
|
@@ -144,6 +144,10 @@ import {
|
|
|
144
144
|
RestoreEventDataStoreCommandInput,
|
|
145
145
|
RestoreEventDataStoreCommandOutput,
|
|
146
146
|
} from "./commands/RestoreEventDataStoreCommand";
|
|
147
|
+
import {
|
|
148
|
+
StartEventDataStoreIngestionCommandInput,
|
|
149
|
+
StartEventDataStoreIngestionCommandOutput,
|
|
150
|
+
} from "./commands/StartEventDataStoreIngestionCommand";
|
|
147
151
|
import {
|
|
148
152
|
StartImportCommandInput,
|
|
149
153
|
StartImportCommandOutput,
|
|
@@ -156,6 +160,10 @@ import {
|
|
|
156
160
|
StartQueryCommandInput,
|
|
157
161
|
StartQueryCommandOutput,
|
|
158
162
|
} from "./commands/StartQueryCommand";
|
|
163
|
+
import {
|
|
164
|
+
StopEventDataStoreIngestionCommandInput,
|
|
165
|
+
StopEventDataStoreIngestionCommandOutput,
|
|
166
|
+
} from "./commands/StopEventDataStoreIngestionCommand";
|
|
159
167
|
import {
|
|
160
168
|
StopImportCommandInput,
|
|
161
169
|
StopImportCommandOutput,
|
|
@@ -657,6 +665,19 @@ export interface CloudTrail {
|
|
|
657
665
|
options: __HttpHandlerOptions,
|
|
658
666
|
cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void
|
|
659
667
|
): void;
|
|
668
|
+
startEventDataStoreIngestion(
|
|
669
|
+
args: StartEventDataStoreIngestionCommandInput,
|
|
670
|
+
options?: __HttpHandlerOptions
|
|
671
|
+
): Promise<StartEventDataStoreIngestionCommandOutput>;
|
|
672
|
+
startEventDataStoreIngestion(
|
|
673
|
+
args: StartEventDataStoreIngestionCommandInput,
|
|
674
|
+
cb: (err: any, data?: StartEventDataStoreIngestionCommandOutput) => void
|
|
675
|
+
): void;
|
|
676
|
+
startEventDataStoreIngestion(
|
|
677
|
+
args: StartEventDataStoreIngestionCommandInput,
|
|
678
|
+
options: __HttpHandlerOptions,
|
|
679
|
+
cb: (err: any, data?: StartEventDataStoreIngestionCommandOutput) => void
|
|
680
|
+
): void;
|
|
660
681
|
startImport(
|
|
661
682
|
args: StartImportCommandInput,
|
|
662
683
|
options?: __HttpHandlerOptions
|
|
@@ -696,6 +717,19 @@ export interface CloudTrail {
|
|
|
696
717
|
options: __HttpHandlerOptions,
|
|
697
718
|
cb: (err: any, data?: StartQueryCommandOutput) => void
|
|
698
719
|
): void;
|
|
720
|
+
stopEventDataStoreIngestion(
|
|
721
|
+
args: StopEventDataStoreIngestionCommandInput,
|
|
722
|
+
options?: __HttpHandlerOptions
|
|
723
|
+
): Promise<StopEventDataStoreIngestionCommandOutput>;
|
|
724
|
+
stopEventDataStoreIngestion(
|
|
725
|
+
args: StopEventDataStoreIngestionCommandInput,
|
|
726
|
+
cb: (err: any, data?: StopEventDataStoreIngestionCommandOutput) => void
|
|
727
|
+
): void;
|
|
728
|
+
stopEventDataStoreIngestion(
|
|
729
|
+
args: StopEventDataStoreIngestionCommandInput,
|
|
730
|
+
options: __HttpHandlerOptions,
|
|
731
|
+
cb: (err: any, data?: StopEventDataStoreIngestionCommandOutput) => void
|
|
732
|
+
): void;
|
|
699
733
|
stopImport(
|
|
700
734
|
args: StopImportCommandInput,
|
|
701
735
|
options?: __HttpHandlerOptions
|
|
@@ -190,6 +190,10 @@ import {
|
|
|
190
190
|
RestoreEventDataStoreCommandInput,
|
|
191
191
|
RestoreEventDataStoreCommandOutput,
|
|
192
192
|
} from "./commands/RestoreEventDataStoreCommand";
|
|
193
|
+
import {
|
|
194
|
+
StartEventDataStoreIngestionCommandInput,
|
|
195
|
+
StartEventDataStoreIngestionCommandOutput,
|
|
196
|
+
} from "./commands/StartEventDataStoreIngestionCommand";
|
|
193
197
|
import {
|
|
194
198
|
StartImportCommandInput,
|
|
195
199
|
StartImportCommandOutput,
|
|
@@ -202,6 +206,10 @@ import {
|
|
|
202
206
|
StartQueryCommandInput,
|
|
203
207
|
StartQueryCommandOutput,
|
|
204
208
|
} from "./commands/StartQueryCommand";
|
|
209
|
+
import {
|
|
210
|
+
StopEventDataStoreIngestionCommandInput,
|
|
211
|
+
StopEventDataStoreIngestionCommandOutput,
|
|
212
|
+
} from "./commands/StopEventDataStoreIngestionCommand";
|
|
205
213
|
import {
|
|
206
214
|
StopImportCommandInput,
|
|
207
215
|
StopImportCommandOutput,
|
|
@@ -265,9 +273,11 @@ export type ServiceInputTypes =
|
|
|
265
273
|
| RegisterOrganizationDelegatedAdminCommandInput
|
|
266
274
|
| RemoveTagsCommandInput
|
|
267
275
|
| RestoreEventDataStoreCommandInput
|
|
276
|
+
| StartEventDataStoreIngestionCommandInput
|
|
268
277
|
| StartImportCommandInput
|
|
269
278
|
| StartLoggingCommandInput
|
|
270
279
|
| StartQueryCommandInput
|
|
280
|
+
| StopEventDataStoreIngestionCommandInput
|
|
271
281
|
| StopImportCommandInput
|
|
272
282
|
| StopLoggingCommandInput
|
|
273
283
|
| UpdateChannelCommandInput
|
|
@@ -310,9 +320,11 @@ export type ServiceOutputTypes =
|
|
|
310
320
|
| RegisterOrganizationDelegatedAdminCommandOutput
|
|
311
321
|
| RemoveTagsCommandOutput
|
|
312
322
|
| RestoreEventDataStoreCommandOutput
|
|
323
|
+
| StartEventDataStoreIngestionCommandOutput
|
|
313
324
|
| StartImportCommandOutput
|
|
314
325
|
| StartLoggingCommandOutput
|
|
315
326
|
| StartQueryCommandOutput
|
|
327
|
+
| StopEventDataStoreIngestionCommandOutput
|
|
316
328
|
| StopImportCommandOutput
|
|
317
329
|
| StopLoggingCommandOutput
|
|
318
330
|
| UpdateChannelCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
CloudTrailClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CloudTrailClient";
|
|
14
|
+
import {
|
|
15
|
+
StartEventDataStoreIngestionRequest,
|
|
16
|
+
StartEventDataStoreIngestionResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface StartEventDataStoreIngestionCommandInput
|
|
20
|
+
extends StartEventDataStoreIngestionRequest {}
|
|
21
|
+
export interface StartEventDataStoreIngestionCommandOutput
|
|
22
|
+
extends StartEventDataStoreIngestionResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class StartEventDataStoreIngestionCommand extends $Command<
|
|
25
|
+
StartEventDataStoreIngestionCommandInput,
|
|
26
|
+
StartEventDataStoreIngestionCommandOutput,
|
|
27
|
+
CloudTrailClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: StartEventDataStoreIngestionCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: StartEventDataStoreIngestionCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CloudTrailClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
StartEventDataStoreIngestionCommandInput,
|
|
38
|
+
StartEventDataStoreIngestionCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
CloudTrailClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CloudTrailClient";
|
|
14
|
+
import {
|
|
15
|
+
StopEventDataStoreIngestionRequest,
|
|
16
|
+
StopEventDataStoreIngestionResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface StopEventDataStoreIngestionCommandInput
|
|
20
|
+
extends StopEventDataStoreIngestionRequest {}
|
|
21
|
+
export interface StopEventDataStoreIngestionCommandOutput
|
|
22
|
+
extends StopEventDataStoreIngestionResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class StopEventDataStoreIngestionCommand extends $Command<
|
|
25
|
+
StopEventDataStoreIngestionCommandInput,
|
|
26
|
+
StopEventDataStoreIngestionCommandOutput,
|
|
27
|
+
CloudTrailClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: StopEventDataStoreIngestionCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: StopEventDataStoreIngestionCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CloudTrailClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
StopEventDataStoreIngestionCommandInput,
|
|
38
|
+
StopEventDataStoreIngestionCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|