You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -453,8 +462,21 @@ export class CloudTrail extends CloudTrailClient {
453
462
* events.</p>
454
463
* </li>
455
464
* </ul>
456
-
* <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 and Management Events for Trails
457
-
* </a> in the <i>CloudTrail User Guide</i>.</p>
465
+
* <p>For more information about logging management and data events, see the following topics in the <i>CloudTrail User Guide</i>:</p>
466
+
* <ul>
467
+
* <li>
468
+
* <p>
469
+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events for trails
470
+
* </a>
471
+
* </p>
472
+
* </li>
473
+
* <li>
474
+
* <p>
475
+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events for trails
476
+
* </a>
477
+
* </p>
478
+
* </li>
479
+
* </ul>
458
480
*/
459
481
publicgetEventSelectors(
460
482
args: GetEventSelectorsCommandInput,
@@ -485,6 +507,34 @@ export class CloudTrail extends CloudTrailClient {
if(typeofoptionsOrCb!=="object")thrownewError(`Expect http options but get ${typeofoptionsOrCb}`);
786
+
this.send(command,optionsOrCb||{},cb);
787
+
}else{
788
+
returnthis.send(command,optionsOrCb);
789
+
}
790
+
}
791
+
680
792
/**
681
793
* <p>Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.</p>
682
794
* <note>
@@ -908,8 +1020,9 @@ export class CloudTrail extends CloudTrailClient {
908
1020
* <p>The <code>PutEventSelectors</code> operation must be called from the region in which
909
1021
* the trail was created; otherwise, an <code>InvalidHomeRegionException</code> exception is
910
1022
* thrown.</p>
911
-
* <p>You can configure up to five event selectors for each trail. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html">Logging data and management events for trails
912
-
* </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in CloudTrail</a>
1023
+
* <p>You can configure up to five event selectors for each trail. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events for trails
1024
+
* </a>, <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events for trails
1025
+
* </a>, and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in CloudTrail</a>
913
1026
* in the <i>CloudTrail User Guide</i>.</p>
914
1027
* <p>You can add advanced event selectors, and conditions for your advanced
915
1028
* event selectors, up to a maximum of 500 values for all conditions and selectors on a trail.
@@ -1043,6 +1156,42 @@ export class CloudTrail extends CloudTrailClient {
1043
1156
}
1044
1157
}
1045
1158
1159
+
/**
1160
+
* <p>
1161
+
* Starts an import of logged trail events from a source S3 bucket to a destination event data store.
1162
+
* </p>
1163
+
* <p>
1164
+
* When you start a new import, the <code>Destinations</code> and
1165
+
* <code>ImportSource</code> parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket.
1166
+
* For more information about disabling ACLs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Controlling ownership of objects and disabling ACLs for your bucket</a>.
1167
+
* </p>
1168
+
* <p>
1169
+
* When you retry an import, the <code>ImportID</code> parameter is required.
if(typeofoptionsOrCb!=="object")thrownewError(`Expect http options but get ${typeofoptionsOrCb}`);
1189
+
this.send(command,optionsOrCb||{},cb);
1190
+
}else{
1191
+
returnthis.send(command,optionsOrCb);
1192
+
}
1193
+
}
1194
+
1046
1195
/**
1047
1196
* <p>Starts the recording of Amazon Web Services API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.</p>
1048
1197
*/
@@ -1099,6 +1248,34 @@ export class CloudTrail extends CloudTrailClient {
* <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 and Management Events for Trails
47
-
* </a> in the <i>CloudTrail User Guide</i>.</p>
46
+
* <p>For more information about logging management and data events, see the following topics in the <i>CloudTrail User Guide</i>:</p>
47
+
* <ul>
48
+
* <li>
49
+
* <p>
50
+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events for trails
51
+
* </a>
52
+
* </p>
53
+
* </li>
54
+
* <li>
55
+
* <p>
56
+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events for trails
57
+
* </a>
58
+
* </p>
59
+
* </li>
60
+
* </ul>
48
61
* @example
49
62
* Use a bare-bones client and the command you need to make an API call.
0 commit comments