@aws-sdk/client-cloudtrail 3.298.0 → 3.300.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/dist-types/commands/AddTagsCommand.d.ts +9 -0
- package/dist-types/commands/CancelQueryCommand.d.ts +4 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +16 -0
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +42 -0
- package/dist-types/commands/CreateTrailCommand.d.ts +19 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +3 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTrailCommand.d.ts +3 -0
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +3 -0
- package/dist-types/commands/DescribeQueryCommand.d.ts +4 -0
- package/dist-types/commands/DescribeTrailsCommand.d.ts +6 -0
- package/dist-types/commands/GetChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +3 -0
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +3 -0
- package/dist-types/commands/GetImportCommand.d.ts +3 -0
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +3 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetTrailCommand.d.ts +3 -0
- package/dist-types/commands/GetTrailStatusCommand.d.ts +3 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -0
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +4 -0
- package/dist-types/commands/ListImportFailuresCommand.d.ts +5 -0
- package/dist-types/commands/ListImportsCommand.d.ts +6 -0
- package/dist-types/commands/ListPublicKeysCommand.d.ts +5 -0
- package/dist-types/commands/ListQueriesCommand.d.ts +8 -0
- package/dist-types/commands/ListTagsCommand.d.ts +6 -0
- package/dist-types/commands/ListTrailsCommand.d.ts +3 -0
- package/dist-types/commands/LookupEventsCommand.d.ts +13 -0
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +48 -0
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +8 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +3 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +9 -0
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +3 -0
- package/dist-types/commands/StartImportCommand.d.ts +15 -0
- package/dist-types/commands/StartLoggingCommand.d.ts +3 -0
- package/dist-types/commands/StartQueryCommand.d.ts +4 -0
- package/dist-types/commands/StopImportCommand.d.ts +3 -0
- package/dist-types/commands/StopLoggingCommand.d.ts +3 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +10 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +37 -0
- package/dist-types/commands/UpdateTrailCommand.d.ts +13 -0
- package/package.json +12 -12
|
@@ -32,6 +32,15 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
|
|
|
32
32
|
* import { CloudTrailClient, AddTagsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
33
33
|
* // const { CloudTrailClient, AddTagsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
34
34
|
* const client = new CloudTrailClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ResourceId: "STRING_VALUE", // required
|
|
37
|
+
* TagsList: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* Value: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
35
44
|
* const command = new AddTagsCommand(input);
|
|
36
45
|
* const response = await client.send(command);
|
|
37
46
|
* ```
|
|
@@ -31,6 +31,10 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
|
|
|
31
31
|
* import { CloudTrailClient, CancelQueryCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
32
32
|
* // const { CloudTrailClient, CancelQueryCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
33
33
|
* const client = new CloudTrailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* EventDataStore: "STRING_VALUE",
|
|
36
|
+
* QueryId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
34
38
|
* const command = new CancelQueryCommand(input);
|
|
35
39
|
* const response = await client.send(command);
|
|
36
40
|
* ```
|
|
@@ -28,6 +28,22 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
28
28
|
* import { CloudTrailClient, CreateChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, CreateChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* Source: "STRING_VALUE", // required
|
|
34
|
+
* Destinations: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* Type: "EVENT_DATA_STORE" || "AWS_SERVICE", // required
|
|
37
|
+
* Location: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* Tags: [
|
|
41
|
+
* {
|
|
42
|
+
* Key: "STRING_VALUE", // required
|
|
43
|
+
* Value: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
31
47
|
* const command = new CreateChannelCommand(input);
|
|
32
48
|
* const response = await client.send(command);
|
|
33
49
|
* ```
|
|
@@ -26,6 +26,48 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
26
26
|
* import { CloudTrailClient, CreateEventDataStoreCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, CreateEventDataStoreCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* AdvancedEventSelectors: [
|
|
32
|
+
* {
|
|
33
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* FieldSelectors: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* Field: "STRING_VALUE", // required
|
|
37
|
+
* Equals: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* StartsWith: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* EndsWith: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* NotEquals: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* NotStartsWith: [
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* NotEndsWith: [
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* MultiRegionEnabled: true || false,
|
|
60
|
+
* OrganizationEnabled: true || false,
|
|
61
|
+
* RetentionPeriod: Number("int"),
|
|
62
|
+
* TerminationProtectionEnabled: true || false,
|
|
63
|
+
* TagsList: [
|
|
64
|
+
* {
|
|
65
|
+
* Key: "STRING_VALUE", // required
|
|
66
|
+
* Value: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* KmsKeyId: "STRING_VALUE",
|
|
70
|
+
* };
|
|
29
71
|
* const command = new CreateEventDataStoreCommand(input);
|
|
30
72
|
* const response = await client.send(command);
|
|
31
73
|
* ```
|
|
@@ -27,6 +27,25 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
|
|
|
27
27
|
* import { CloudTrailClient, CreateTrailCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, CreateTrailCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* S3BucketName: "STRING_VALUE", // required
|
|
33
|
+
* S3KeyPrefix: "STRING_VALUE",
|
|
34
|
+
* SnsTopicName: "STRING_VALUE",
|
|
35
|
+
* IncludeGlobalServiceEvents: true || false,
|
|
36
|
+
* IsMultiRegionTrail: true || false,
|
|
37
|
+
* EnableLogFileValidation: true || false,
|
|
38
|
+
* CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
39
|
+
* CloudWatchLogsRoleArn: "STRING_VALUE",
|
|
40
|
+
* KmsKeyId: "STRING_VALUE",
|
|
41
|
+
* IsOrganizationTrail: true || false,
|
|
42
|
+
* TagsList: [
|
|
43
|
+
* {
|
|
44
|
+
* Key: "STRING_VALUE", // required
|
|
45
|
+
* Value: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
30
49
|
* const command = new CreateTrailCommand(input);
|
|
31
50
|
* const response = await client.send(command);
|
|
32
51
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
|
|
|
26
26
|
* import { CloudTrailClient, DeleteChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, DeleteChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Channel: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteChannelCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreR
|
|
|
35
35
|
* import { CloudTrailClient, DeleteEventDataStoreCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
36
36
|
* // const { CloudTrailClient, DeleteEventDataStoreCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
37
37
|
* const client = new CloudTrailClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* EventDataStore: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new DeleteEventDataStoreCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
|
|
|
28
28
|
* import { CloudTrailClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __Metadat
|
|
|
28
28
|
* import { CloudTrailClient, DeleteTrailCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, DeleteTrailCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteTrailCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeregisterOrganizationDelegatedAdminCommandOutput extends Dereg
|
|
|
27
27
|
* import { CloudTrailClient, DeregisterOrganizationDelegatedAdminCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, DeregisterOrganizationDelegatedAdminCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DelegatedAdminAccountId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeregisterOrganizationDelegatedAdminCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DescribeQueryCommandOutput extends DescribeQueryResponse, __Met
|
|
|
28
28
|
* import { CloudTrailClient, DescribeQueryCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, DescribeQueryCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* EventDataStore: "STRING_VALUE",
|
|
33
|
+
* QueryId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DescribeQueryCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface DescribeTrailsCommandOutput extends DescribeTrailsResponse, __M
|
|
|
27
27
|
* import { CloudTrailClient, DescribeTrailsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, DescribeTrailsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* trailNameList: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* includeShadowTrails: true || false,
|
|
35
|
+
* };
|
|
30
36
|
* const command = new DescribeTrailsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataB
|
|
|
27
27
|
* import { CloudTrailClient, GetChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, GetChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Channel: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetChannelCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetEventDataStoreCommandOutput extends GetEventDataStoreRespons
|
|
|
27
27
|
* import { CloudTrailClient, GetEventDataStoreCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, GetEventDataStoreCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* EventDataStore: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetEventDataStoreCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -54,6 +54,9 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
|
|
|
54
54
|
* import { CloudTrailClient, GetEventSelectorsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
55
55
|
* // const { CloudTrailClient, GetEventSelectorsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
56
56
|
* const client = new CloudTrailClient(config);
|
|
57
|
+
* const input = {
|
|
58
|
+
* TrailName: "STRING_VALUE", // required
|
|
59
|
+
* };
|
|
57
60
|
* const command = new GetEventSelectorsCommand(input);
|
|
58
61
|
* const response = await client.send(command);
|
|
59
62
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetImportCommandOutput extends GetImportResponse, __MetadataBea
|
|
|
26
26
|
* import { CloudTrailClient, GetImportCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, GetImportCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ImportId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetImportCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
|
|
|
32
32
|
* import { CloudTrailClient, GetInsightSelectorsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
33
33
|
* // const { CloudTrailClient, GetInsightSelectorsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
34
34
|
* const client = new CloudTrailClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* TrailName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new GetInsightSelectorsCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
|
|
|
28
28
|
* import { CloudTrailClient, GetQueryResultsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, GetQueryResultsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* EventDataStore: "STRING_VALUE",
|
|
33
|
+
* QueryId: "STRING_VALUE", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxQueryResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new GetQueryResultsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
|
|
|
28
28
|
* import { CloudTrailClient, GetResourcePolicyCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, GetResourcePolicyCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new GetResourcePolicyCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetTrailCommandOutput extends GetTrailResponse, __MetadataBeare
|
|
|
26
26
|
* import { CloudTrailClient, GetTrailCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, GetTrailCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetTrailCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetTrailStatusCommandOutput extends GetTrailStatusResponse, __M
|
|
|
30
30
|
* import { CloudTrailClient, GetTrailStatusCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
31
31
|
* // const { CloudTrailClient, GetTrailStatusCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
32
32
|
* const client = new CloudTrailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetTrailStatusCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
|
|
|
27
27
|
* import { CloudTrailClient, ListChannelsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, ListChannelsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListChannelsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListEventDataStoresCommandOutput extends ListEventDataStoresRes
|
|
|
27
27
|
* import { CloudTrailClient, ListEventDataStoresCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, ListEventDataStoresCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListEventDataStoresCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListImportFailuresCommandOutput extends ListImportFailuresRespo
|
|
|
26
26
|
* import { CloudTrailClient, ListImportFailuresCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, ListImportFailuresCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ImportId: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListImportFailuresCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListImportsCommandOutput extends ListImportsResponse, __Metadat
|
|
|
27
27
|
* import { CloudTrailClient, ListImportsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, ListImportsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* Destination: "STRING_VALUE",
|
|
33
|
+
* ImportStatus: "INITIALIZING" || "IN_PROGRESS" || "FAILED" || "STOPPED" || "COMPLETED",
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListImportsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -34,6 +34,11 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResponse, __M
|
|
|
34
34
|
* import { CloudTrailClient, ListPublicKeysCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
35
35
|
* // const { CloudTrailClient, ListPublicKeysCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
36
36
|
* const client = new CloudTrailClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
39
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
37
42
|
* const command = new ListPublicKeysCommand(input);
|
|
38
43
|
* const response = await client.send(command);
|
|
39
44
|
* ```
|
|
@@ -32,6 +32,14 @@ export interface ListQueriesCommandOutput extends ListQueriesResponse, __Metadat
|
|
|
32
32
|
* import { CloudTrailClient, ListQueriesCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
33
33
|
* // const { CloudTrailClient, ListQueriesCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
34
34
|
* const client = new CloudTrailClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* EventDataStore: "STRING_VALUE", // required
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
40
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
41
|
+
* QueryStatus: "QUEUED" || "RUNNING" || "FINISHED" || "FAILED" || "CANCELLED" || "TIMED_OUT",
|
|
42
|
+
* };
|
|
35
43
|
* const command = new ListQueriesCommand(input);
|
|
36
44
|
* const response = await client.send(command);
|
|
37
45
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
|
|
|
26
26
|
* import { CloudTrailClient, ListTagsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, ListTagsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceIdList: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListTagsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTrailsCommandOutput extends ListTrailsResponse, __MetadataB
|
|
|
26
26
|
* import { CloudTrailClient, ListTrailsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, ListTrailsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTrailsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -73,6 +73,19 @@ export interface LookupEventsCommandOutput extends LookupEventsResponse, __Metad
|
|
|
73
73
|
* import { CloudTrailClient, LookupEventsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
74
74
|
* // const { CloudTrailClient, LookupEventsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
75
75
|
* const client = new CloudTrailClient(config);
|
|
76
|
+
* const input = {
|
|
77
|
+
* LookupAttributes: [
|
|
78
|
+
* {
|
|
79
|
+
* AttributeKey: "EventId" || "EventName" || "ReadOnly" || "Username" || "ResourceType" || "ResourceName" || "EventSource" || "AccessKeyId", // required
|
|
80
|
+
* AttributeValue: "STRING_VALUE", // required
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
84
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
85
|
+
* EventCategory: "insight",
|
|
86
|
+
* MaxResults: Number("int"),
|
|
87
|
+
* NextToken: "STRING_VALUE",
|
|
88
|
+
* };
|
|
76
89
|
* const command = new LookupEventsCommand(input);
|
|
77
90
|
* const response = await client.send(command);
|
|
78
91
|
* ```
|
|
@@ -68,6 +68,54 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
|
|
|
68
68
|
* import { CloudTrailClient, PutEventSelectorsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
69
69
|
* // const { CloudTrailClient, PutEventSelectorsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
70
70
|
* const client = new CloudTrailClient(config);
|
|
71
|
+
* const input = {
|
|
72
|
+
* TrailName: "STRING_VALUE", // required
|
|
73
|
+
* EventSelectors: [
|
|
74
|
+
* {
|
|
75
|
+
* ReadWriteType: "ReadOnly" || "WriteOnly" || "All",
|
|
76
|
+
* IncludeManagementEvents: true || false,
|
|
77
|
+
* DataResources: [
|
|
78
|
+
* {
|
|
79
|
+
* Type: "STRING_VALUE",
|
|
80
|
+
* Values: [
|
|
81
|
+
* "STRING_VALUE",
|
|
82
|
+
* ],
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* ExcludeManagementEventSources: [
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* AdvancedEventSelectors: [
|
|
91
|
+
* {
|
|
92
|
+
* Name: "STRING_VALUE",
|
|
93
|
+
* FieldSelectors: [ // required
|
|
94
|
+
* {
|
|
95
|
+
* Field: "STRING_VALUE", // required
|
|
96
|
+
* Equals: [
|
|
97
|
+
* "STRING_VALUE",
|
|
98
|
+
* ],
|
|
99
|
+
* StartsWith: [
|
|
100
|
+
* "STRING_VALUE",
|
|
101
|
+
* ],
|
|
102
|
+
* EndsWith: [
|
|
103
|
+
* "STRING_VALUE",
|
|
104
|
+
* ],
|
|
105
|
+
* NotEquals: [
|
|
106
|
+
* "STRING_VALUE",
|
|
107
|
+
* ],
|
|
108
|
+
* NotStartsWith: [
|
|
109
|
+
* "STRING_VALUE",
|
|
110
|
+
* ],
|
|
111
|
+
* NotEndsWith: [
|
|
112
|
+
* "STRING_VALUE",
|
|
113
|
+
* ],
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* },
|
|
117
|
+
* ],
|
|
118
|
+
* };
|
|
71
119
|
* const command = new PutEventSelectorsCommand(input);
|
|
72
120
|
* const response = await client.send(command);
|
|
73
121
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
|
|
|
30
30
|
* import { CloudTrailClient, PutInsightSelectorsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
31
31
|
* // const { CloudTrailClient, PutInsightSelectorsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
32
32
|
* const client = new CloudTrailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* TrailName: "STRING_VALUE", // required
|
|
35
|
+
* InsightSelectors: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* InsightType: "ApiCallRateInsight" || "ApiErrorRateInsight",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
33
41
|
* const command = new PutInsightSelectorsCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
30
30
|
* import { CloudTrailClient, PutResourcePolicyCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
31
31
|
* // const { CloudTrailClient, PutResourcePolicyCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
32
32
|
* const client = new CloudTrailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
35
|
+
* ResourcePolicy: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new PutResourcePolicyCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface RegisterOrganizationDelegatedAdminCommandOutput extends Registe
|
|
|
27
27
|
* import { CloudTrailClient, RegisterOrganizationDelegatedAdminCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, RegisterOrganizationDelegatedAdminCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* MemberAccountId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new RegisterOrganizationDelegatedAdminCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface RemoveTagsCommandOutput extends RemoveTagsResponse, __MetadataB
|
|
|
26
26
|
* import { CloudTrailClient, RemoveTagsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, RemoveTagsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceId: "STRING_VALUE", // required
|
|
31
|
+
* TagsList: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* Key: "STRING_VALUE", // required
|
|
34
|
+
* Value: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new RemoveTagsCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface RestoreEventDataStoreCommandOutput extends RestoreEventDataStor
|
|
|
29
29
|
* import { CloudTrailClient, RestoreEventDataStoreCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
30
30
|
* // const { CloudTrailClient, RestoreEventDataStoreCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
31
31
|
* const client = new CloudTrailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* EventDataStore: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new RestoreEventDataStoreCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -42,6 +42,21 @@ export interface StartImportCommandOutput extends StartImportResponse, __Metadat
|
|
|
42
42
|
* import { CloudTrailClient, StartImportCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
43
43
|
* // const { CloudTrailClient, StartImportCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
44
44
|
* const client = new CloudTrailClient(config);
|
|
45
|
+
* const input = {
|
|
46
|
+
* Destinations: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* ImportSource: {
|
|
50
|
+
* S3: {
|
|
51
|
+
* S3LocationUri: "STRING_VALUE", // required
|
|
52
|
+
* S3BucketRegion: "STRING_VALUE", // required
|
|
53
|
+
* S3BucketAccessRoleArn: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* StartEventTime: new Date("TIMESTAMP"),
|
|
57
|
+
* EndEventTime: new Date("TIMESTAMP"),
|
|
58
|
+
* ImportId: "STRING_VALUE",
|
|
59
|
+
* };
|
|
45
60
|
* const command = new StartImportCommand(input);
|
|
46
61
|
* const response = await client.send(command);
|
|
47
62
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface StartLoggingCommandOutput extends StartLoggingResponse, __Metad
|
|
|
29
29
|
* import { CloudTrailClient, StartLoggingCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
30
30
|
* // const { CloudTrailClient, StartLoggingCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
31
31
|
* const client = new CloudTrailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new StartLoggingCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB
|
|
|
29
29
|
* import { CloudTrailClient, StartQueryCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
30
30
|
* // const { CloudTrailClient, StartQueryCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
31
31
|
* const client = new CloudTrailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* QueryStatement: "STRING_VALUE", // required
|
|
34
|
+
* DeliveryS3Uri: "STRING_VALUE",
|
|
35
|
+
* };
|
|
32
36
|
* const command = new StartQueryCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface StopImportCommandOutput extends StopImportResponse, __MetadataB
|
|
|
26
26
|
* import { CloudTrailClient, StopImportCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, StopImportCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ImportId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StopImportCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface StopLoggingCommandOutput extends StopLoggingResponse, __Metadat
|
|
|
32
32
|
* import { CloudTrailClient, StopLoggingCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
33
33
|
* // const { CloudTrailClient, StopLoggingCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
34
34
|
* const client = new CloudTrailClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* Name: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new StopLoggingCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
|
|
|
26
26
|
* import { CloudTrailClient, UpdateChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, UpdateChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Channel: "STRING_VALUE", // required
|
|
31
|
+
* Destinations: [
|
|
32
|
+
* {
|
|
33
|
+
* Type: "EVENT_DATA_STORE" || "AWS_SERVICE", // required
|
|
34
|
+
* Location: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* Name: "STRING_VALUE",
|
|
38
|
+
* };
|
|
29
39
|
* const command = new UpdateChannelCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -36,6 +36,43 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
|
|
|
36
36
|
* import { CloudTrailClient, UpdateEventDataStoreCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
37
37
|
* // const { CloudTrailClient, UpdateEventDataStoreCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
38
38
|
* const client = new CloudTrailClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* EventDataStore: "STRING_VALUE", // required
|
|
41
|
+
* Name: "STRING_VALUE",
|
|
42
|
+
* AdvancedEventSelectors: [
|
|
43
|
+
* {
|
|
44
|
+
* Name: "STRING_VALUE",
|
|
45
|
+
* FieldSelectors: [ // required
|
|
46
|
+
* {
|
|
47
|
+
* Field: "STRING_VALUE", // required
|
|
48
|
+
* Equals: [
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* StartsWith: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* EndsWith: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* NotEquals: [
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* NotStartsWith: [
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* NotEndsWith: [
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* MultiRegionEnabled: true || false,
|
|
71
|
+
* OrganizationEnabled: true || false,
|
|
72
|
+
* RetentionPeriod: Number("int"),
|
|
73
|
+
* TerminationProtectionEnabled: true || false,
|
|
74
|
+
* KmsKeyId: "STRING_VALUE",
|
|
75
|
+
* };
|
|
39
76
|
* const command = new UpdateEventDataStoreCommand(input);
|
|
40
77
|
* const response = await client.send(command);
|
|
41
78
|
* ```
|
|
@@ -31,6 +31,19 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
|
|
|
31
31
|
* import { CloudTrailClient, UpdateTrailCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
32
32
|
* // const { CloudTrailClient, UpdateTrailCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
33
33
|
* const client = new CloudTrailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* S3BucketName: "STRING_VALUE",
|
|
37
|
+
* S3KeyPrefix: "STRING_VALUE",
|
|
38
|
+
* SnsTopicName: "STRING_VALUE",
|
|
39
|
+
* IncludeGlobalServiceEvents: true || false,
|
|
40
|
+
* IsMultiRegionTrail: true || false,
|
|
41
|
+
* EnableLogFileValidation: true || false,
|
|
42
|
+
* CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
43
|
+
* CloudWatchLogsRoleArn: "STRING_VALUE",
|
|
44
|
+
* KmsKeyId: "STRING_VALUE",
|
|
45
|
+
* IsOrganizationTrail: true || false,
|
|
46
|
+
* };
|
|
34
47
|
* const command = new UpdateTrailCommand(input);
|
|
35
48
|
* const response = await client.send(command);
|
|
36
49
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudtrail",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudtrail Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|