@aws-sdk/client-cloudtrail 3.300.0 → 3.303.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-cjs/models/models_0.js +62 -72
- package/dist-es/models/models_0.js +62 -72
- package/dist-types/commands/AddTagsCommand.d.ts +3 -3
- package/dist-types/commands/CancelQueryCommand.d.ts +1 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +5 -5
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +9 -11
- package/dist-types/commands/CreateTrailCommand.d.ts +3 -3
- package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrailCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQueryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -2
- package/dist-types/commands/GetChannelCommand.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/GetImportCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetQueryResultsCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailStatusCommand.d.ts +1 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +1 -1
- package/dist-types/commands/ListImportFailuresCommand.d.ts +1 -1
- package/dist-types/commands/ListImportsCommand.d.ts +1 -1
- package/dist-types/commands/ListPublicKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListQueriesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +2 -2
- package/dist-types/commands/ListTrailsCommand.d.ts +1 -1
- package/dist-types/commands/LookupEventsCommand.d.ts +3 -3
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +13 -15
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +3 -3
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/StartImportCommand.d.ts +4 -4
- package/dist-types/commands/StartLoggingCommand.d.ts +1 -1
- package/dist-types/commands/StartQueryCommand.d.ts +1 -1
- package/dist-types/commands/StopImportCommand.d.ts +1 -1
- package/dist-types/commands/StopLoggingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +7 -9
- package/dist-types/commands/UpdateTrailCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +112 -62
- package/dist-types/ts3.4/models/models_0.d.ts +77 -62
- package/package.json +34 -34
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetTrailRequest
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetTrailCommand(input);
|
|
@@ -30,7 +30,7 @@ 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 = {
|
|
33
|
+
* const input = { // GetTrailStatusRequest
|
|
34
34
|
* Name: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
36
36
|
* const command = new GetTrailStatusCommand(input);
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // ListChannelsRequest
|
|
31
31
|
* MaxResults: Number("int"),
|
|
32
32
|
* NextToken: "STRING_VALUE",
|
|
33
33
|
* };
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // ListEventDataStoresRequest
|
|
31
31
|
* NextToken: "STRING_VALUE",
|
|
32
32
|
* MaxResults: Number("int"),
|
|
33
33
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListImportFailuresRequest
|
|
30
30
|
* ImportId: "STRING_VALUE", // required
|
|
31
31
|
* MaxResults: Number("int"),
|
|
32
32
|
* NextToken: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // ListImportsRequest
|
|
31
31
|
* MaxResults: Number("int"),
|
|
32
32
|
* Destination: "STRING_VALUE",
|
|
33
33
|
* ImportStatus: "INITIALIZING" || "IN_PROGRESS" || "FAILED" || "STOPPED" || "COMPLETED",
|
|
@@ -34,7 +34,7 @@ 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 = {
|
|
37
|
+
* const input = { // ListPublicKeysRequest
|
|
38
38
|
* StartTime: new Date("TIMESTAMP"),
|
|
39
39
|
* EndTime: new Date("TIMESTAMP"),
|
|
40
40
|
* NextToken: "STRING_VALUE",
|
|
@@ -32,7 +32,7 @@ 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 = {
|
|
35
|
+
* const input = { // ListQueriesRequest
|
|
36
36
|
* EventDataStore: "STRING_VALUE", // required
|
|
37
37
|
* NextToken: "STRING_VALUE",
|
|
38
38
|
* MaxResults: Number("int"),
|
|
@@ -26,8 +26,8 @@ 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
|
|
29
|
+
* const input = { // ListTagsRequest
|
|
30
|
+
* ResourceIdList: [ // ResourceIdList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* NextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListTrailsRequest
|
|
30
30
|
* NextToken: "STRING_VALUE",
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTrailsCommand(input);
|
|
@@ -73,9 +73,9 @@ 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
|
-
* {
|
|
76
|
+
* const input = { // LookupEventsRequest
|
|
77
|
+
* LookupAttributes: [ // LookupAttributesList
|
|
78
|
+
* { // LookupAttribute
|
|
79
79
|
* AttributeKey: "EventId" || "EventName" || "ReadOnly" || "Username" || "ResourceType" || "ResourceName" || "EventSource" || "AccessKeyId", // required
|
|
80
80
|
* AttributeValue: "STRING_VALUE", // required
|
|
81
81
|
* },
|
|
@@ -68,32 +68,32 @@ 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 = {
|
|
71
|
+
* const input = { // PutEventSelectorsRequest
|
|
72
72
|
* TrailName: "STRING_VALUE", // required
|
|
73
|
-
* EventSelectors: [
|
|
74
|
-
* {
|
|
73
|
+
* EventSelectors: [ // EventSelectors
|
|
74
|
+
* { // EventSelector
|
|
75
75
|
* ReadWriteType: "ReadOnly" || "WriteOnly" || "All",
|
|
76
76
|
* IncludeManagementEvents: true || false,
|
|
77
|
-
* DataResources: [
|
|
78
|
-
* {
|
|
77
|
+
* DataResources: [ // DataResources
|
|
78
|
+
* { // DataResource
|
|
79
79
|
* Type: "STRING_VALUE",
|
|
80
|
-
* Values: [
|
|
80
|
+
* Values: [ // DataResourceValues
|
|
81
81
|
* "STRING_VALUE",
|
|
82
82
|
* ],
|
|
83
83
|
* },
|
|
84
84
|
* ],
|
|
85
|
-
* ExcludeManagementEventSources: [
|
|
85
|
+
* ExcludeManagementEventSources: [ // ExcludeManagementEventSources
|
|
86
86
|
* "STRING_VALUE",
|
|
87
87
|
* ],
|
|
88
88
|
* },
|
|
89
89
|
* ],
|
|
90
|
-
* AdvancedEventSelectors: [
|
|
91
|
-
* {
|
|
90
|
+
* AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
91
|
+
* { // AdvancedEventSelector
|
|
92
92
|
* Name: "STRING_VALUE",
|
|
93
|
-
* FieldSelectors: [ // required
|
|
94
|
-
* {
|
|
93
|
+
* FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
94
|
+
* { // AdvancedFieldSelector
|
|
95
95
|
* Field: "STRING_VALUE", // required
|
|
96
|
-
* Equals: [
|
|
96
|
+
* Equals: [ // Operator
|
|
97
97
|
* "STRING_VALUE",
|
|
98
98
|
* ],
|
|
99
99
|
* StartsWith: [
|
|
@@ -108,9 +108,7 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
|
|
|
108
108
|
* NotStartsWith: [
|
|
109
109
|
* "STRING_VALUE",
|
|
110
110
|
* ],
|
|
111
|
-
* NotEndsWith:
|
|
112
|
-
* "STRING_VALUE",
|
|
113
|
-
* ],
|
|
111
|
+
* NotEndsWith: "<Operator>",
|
|
114
112
|
* },
|
|
115
113
|
* ],
|
|
116
114
|
* },
|
|
@@ -30,10 +30,10 @@ 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 = {
|
|
33
|
+
* const input = { // PutInsightSelectorsRequest
|
|
34
34
|
* TrailName: "STRING_VALUE", // required
|
|
35
|
-
* InsightSelectors: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* InsightSelectors: [ // InsightSelectors // required
|
|
36
|
+
* { // InsightSelector
|
|
37
37
|
* InsightType: "ApiCallRateInsight" || "ApiErrorRateInsight",
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
@@ -30,7 +30,7 @@ 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 = {
|
|
33
|
+
* const input = { // PutResourcePolicyRequest
|
|
34
34
|
* ResourceArn: "STRING_VALUE", // required
|
|
35
35
|
* ResourcePolicy: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // RegisterOrganizationDelegatedAdminRequest
|
|
31
31
|
* MemberAccountId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new RegisterOrganizationDelegatedAdminCommand(input);
|
|
@@ -26,10 +26,10 @@ 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 = {
|
|
29
|
+
* const input = { // RemoveTagsRequest
|
|
30
30
|
* ResourceId: "STRING_VALUE", // required
|
|
31
|
-
* TagsList: [ // required
|
|
32
|
-
* {
|
|
31
|
+
* TagsList: [ // TagsList // required
|
|
32
|
+
* { // Tag
|
|
33
33
|
* Key: "STRING_VALUE", // required
|
|
34
34
|
* Value: "STRING_VALUE",
|
|
35
35
|
* },
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // RestoreEventDataStoreRequest
|
|
33
33
|
* EventDataStore: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new RestoreEventDataStoreCommand(input);
|
|
@@ -42,12 +42,12 @@ 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: [
|
|
45
|
+
* const input = { // StartImportRequest
|
|
46
|
+
* Destinations: [ // ImportDestinations
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
|
-
* ImportSource: {
|
|
50
|
-
* S3: {
|
|
49
|
+
* ImportSource: { // ImportSource
|
|
50
|
+
* S3: { // S3ImportSource
|
|
51
51
|
* S3LocationUri: "STRING_VALUE", // required
|
|
52
52
|
* S3BucketRegion: "STRING_VALUE", // required
|
|
53
53
|
* S3BucketAccessRoleArn: "STRING_VALUE", // required
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // StartLoggingRequest
|
|
33
33
|
* Name: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new StartLoggingCommand(input);
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // StartQueryRequest
|
|
33
33
|
* QueryStatement: "STRING_VALUE", // required
|
|
34
34
|
* DeliveryS3Uri: "STRING_VALUE",
|
|
35
35
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // StopImportRequest
|
|
30
30
|
* ImportId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StopImportCommand(input);
|
|
@@ -32,7 +32,7 @@ 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 = {
|
|
35
|
+
* const input = { // StopLoggingRequest
|
|
36
36
|
* Name: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new StopLoggingCommand(input);
|
|
@@ -26,10 +26,10 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateChannelRequest
|
|
30
30
|
* Channel: "STRING_VALUE", // required
|
|
31
|
-
* Destinations: [
|
|
32
|
-
* {
|
|
31
|
+
* Destinations: [ // Destinations
|
|
32
|
+
* { // Destination
|
|
33
33
|
* Type: "EVENT_DATA_STORE" || "AWS_SERVICE", // required
|
|
34
34
|
* Location: "STRING_VALUE", // required
|
|
35
35
|
* },
|
|
@@ -36,16 +36,16 @@ 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 = {
|
|
39
|
+
* const input = { // UpdateEventDataStoreRequest
|
|
40
40
|
* EventDataStore: "STRING_VALUE", // required
|
|
41
41
|
* Name: "STRING_VALUE",
|
|
42
|
-
* AdvancedEventSelectors: [
|
|
43
|
-
* {
|
|
42
|
+
* AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
43
|
+
* { // AdvancedEventSelector
|
|
44
44
|
* Name: "STRING_VALUE",
|
|
45
|
-
* FieldSelectors: [ // required
|
|
46
|
-
* {
|
|
45
|
+
* FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
46
|
+
* { // AdvancedFieldSelector
|
|
47
47
|
* Field: "STRING_VALUE", // required
|
|
48
|
-
* Equals: [
|
|
48
|
+
* Equals: [ // Operator
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
51
|
* StartsWith: [
|
|
@@ -60,9 +60,7 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
|
|
|
60
60
|
* NotStartsWith: [
|
|
61
61
|
* "STRING_VALUE",
|
|
62
62
|
* ],
|
|
63
|
-
* NotEndsWith:
|
|
64
|
-
* "STRING_VALUE",
|
|
65
|
-
* ],
|
|
63
|
+
* NotEndsWith: "<Operator>",
|
|
66
64
|
* },
|
|
67
65
|
* ],
|
|
68
66
|
* },
|
|
@@ -31,7 +31,7 @@ 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 = {
|
|
34
|
+
* const input = { // UpdateTrailRequest
|
|
35
35
|
* Name: "STRING_VALUE", // required
|
|
36
36
|
* S3BucketName: "STRING_VALUE",
|
|
37
37
|
* S3KeyPrefix: "STRING_VALUE",
|
|
@@ -803,15 +803,20 @@ export interface CancelQueryRequest {
|
|
|
803
803
|
}
|
|
804
804
|
/**
|
|
805
805
|
* @public
|
|
806
|
+
* @enum
|
|
806
807
|
*/
|
|
807
|
-
export declare
|
|
808
|
-
CANCELLED
|
|
809
|
-
FAILED
|
|
810
|
-
FINISHED
|
|
811
|
-
QUEUED
|
|
812
|
-
RUNNING
|
|
813
|
-
TIMED_OUT
|
|
814
|
-
}
|
|
808
|
+
export declare const QueryStatus: {
|
|
809
|
+
readonly CANCELLED: "CANCELLED";
|
|
810
|
+
readonly FAILED: "FAILED";
|
|
811
|
+
readonly FINISHED: "FINISHED";
|
|
812
|
+
readonly QUEUED: "QUEUED";
|
|
813
|
+
readonly RUNNING: "RUNNING";
|
|
814
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
815
|
+
};
|
|
816
|
+
/**
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
|
|
815
820
|
/**
|
|
816
821
|
* @public
|
|
817
822
|
*/
|
|
@@ -999,11 +1004,16 @@ export declare class ChannelMaxLimitExceededException extends __BaseException {
|
|
|
999
1004
|
}
|
|
1000
1005
|
/**
|
|
1001
1006
|
* @public
|
|
1007
|
+
* @enum
|
|
1002
1008
|
*/
|
|
1003
|
-
export declare
|
|
1004
|
-
AWS_SERVICE
|
|
1005
|
-
EVENT_DATA_STORE
|
|
1006
|
-
}
|
|
1009
|
+
export declare const DestinationType: {
|
|
1010
|
+
readonly AWS_SERVICE: "AWS_SERVICE";
|
|
1011
|
+
readonly EVENT_DATA_STORE: "EVENT_DATA_STORE";
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* @public
|
|
1015
|
+
*/
|
|
1016
|
+
export type DestinationType = (typeof DestinationType)[keyof typeof DestinationType];
|
|
1007
1017
|
/**
|
|
1008
1018
|
* @public
|
|
1009
1019
|
* <p>Contains information about the destination receiving events.</p>
|
|
@@ -1207,12 +1217,17 @@ export interface CreateEventDataStoreRequest {
|
|
|
1207
1217
|
}
|
|
1208
1218
|
/**
|
|
1209
1219
|
* @public
|
|
1220
|
+
* @enum
|
|
1210
1221
|
*/
|
|
1211
|
-
export declare
|
|
1212
|
-
CREATED
|
|
1213
|
-
ENABLED
|
|
1214
|
-
PENDING_DELETION
|
|
1215
|
-
}
|
|
1222
|
+
export declare const EventDataStoreStatus: {
|
|
1223
|
+
readonly CREATED: "CREATED";
|
|
1224
|
+
readonly ENABLED: "ENABLED";
|
|
1225
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* @public
|
|
1229
|
+
*/
|
|
1230
|
+
export type EventDataStoreStatus = (typeof EventDataStoreStatus)[keyof typeof EventDataStoreStatus];
|
|
1216
1231
|
/**
|
|
1217
1232
|
* @public
|
|
1218
1233
|
*/
|
|
@@ -2144,18 +2159,23 @@ export interface DescribeQueryRequest {
|
|
|
2144
2159
|
}
|
|
2145
2160
|
/**
|
|
2146
2161
|
* @public
|
|
2162
|
+
* @enum
|
|
2147
2163
|
*/
|
|
2148
|
-
export declare
|
|
2149
|
-
ACCESS_DENIED
|
|
2150
|
-
ACCESS_DENIED_SIGNING_FILE
|
|
2151
|
-
CANCELLED
|
|
2152
|
-
FAILED
|
|
2153
|
-
FAILED_SIGNING_FILE
|
|
2154
|
-
PENDING
|
|
2155
|
-
RESOURCE_NOT_FOUND
|
|
2156
|
-
SUCCESS
|
|
2157
|
-
UNKNOWN
|
|
2158
|
-
}
|
|
2164
|
+
export declare const DeliveryStatus: {
|
|
2165
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
2166
|
+
readonly ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE";
|
|
2167
|
+
readonly CANCELLED: "CANCELLED";
|
|
2168
|
+
readonly FAILED: "FAILED";
|
|
2169
|
+
readonly FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE";
|
|
2170
|
+
readonly PENDING: "PENDING";
|
|
2171
|
+
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
2172
|
+
readonly SUCCESS: "SUCCESS";
|
|
2173
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
2174
|
+
};
|
|
2175
|
+
/**
|
|
2176
|
+
* @public
|
|
2177
|
+
*/
|
|
2178
|
+
export type DeliveryStatus = (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
|
|
2159
2179
|
/**
|
|
2160
2180
|
* @public
|
|
2161
2181
|
* <p>Gets metadata about a query, including the number of events that were matched, the total
|
|
@@ -2760,12 +2780,17 @@ export interface DataResource {
|
|
|
2760
2780
|
}
|
|
2761
2781
|
/**
|
|
2762
2782
|
* @public
|
|
2783
|
+
* @enum
|
|
2763
2784
|
*/
|
|
2764
|
-
export declare
|
|
2765
|
-
All
|
|
2766
|
-
ReadOnly
|
|
2767
|
-
WriteOnly
|
|
2768
|
-
}
|
|
2785
|
+
export declare const ReadWriteType: {
|
|
2786
|
+
readonly All: "All";
|
|
2787
|
+
readonly ReadOnly: "ReadOnly";
|
|
2788
|
+
readonly WriteOnly: "WriteOnly";
|
|
2789
|
+
};
|
|
2790
|
+
/**
|
|
2791
|
+
* @public
|
|
2792
|
+
*/
|
|
2793
|
+
export type ReadWriteType = (typeof ReadWriteType)[keyof typeof ReadWriteType];
|
|
2769
2794
|
/**
|
|
2770
2795
|
* @public
|
|
2771
2796
|
* <p>Use event selectors to further specify the management and data event settings for your
|
|
@@ -2901,14 +2926,19 @@ export interface ImportStatistics {
|
|
|
2901
2926
|
}
|
|
2902
2927
|
/**
|
|
2903
2928
|
* @public
|
|
2929
|
+
* @enum
|
|
2904
2930
|
*/
|
|
2905
|
-
export declare
|
|
2906
|
-
COMPLETED
|
|
2907
|
-
FAILED
|
|
2908
|
-
INITIALIZING
|
|
2909
|
-
IN_PROGRESS
|
|
2910
|
-
STOPPED
|
|
2911
|
-
}
|
|
2931
|
+
export declare const ImportStatus: {
|
|
2932
|
+
readonly COMPLETED: "COMPLETED";
|
|
2933
|
+
readonly FAILED: "FAILED";
|
|
2934
|
+
readonly INITIALIZING: "INITIALIZING";
|
|
2935
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
2936
|
+
readonly STOPPED: "STOPPED";
|
|
2937
|
+
};
|
|
2938
|
+
/**
|
|
2939
|
+
* @public
|
|
2940
|
+
*/
|
|
2941
|
+
export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
|
|
2912
2942
|
/**
|
|
2913
2943
|
* @public
|
|
2914
2944
|
*/
|
|
@@ -3008,11 +3038,16 @@ export interface GetInsightSelectorsRequest {
|
|
|
3008
3038
|
}
|
|
3009
3039
|
/**
|
|
3010
3040
|
* @public
|
|
3041
|
+
* @enum
|
|
3011
3042
|
*/
|
|
3012
|
-
export declare
|
|
3013
|
-
ApiCallRateInsight
|
|
3014
|
-
ApiErrorRateInsight
|
|
3015
|
-
}
|
|
3043
|
+
export declare const InsightType: {
|
|
3044
|
+
readonly ApiCallRateInsight: "ApiCallRateInsight";
|
|
3045
|
+
readonly ApiErrorRateInsight: "ApiErrorRateInsight";
|
|
3046
|
+
};
|
|
3047
|
+
/**
|
|
3048
|
+
* @public
|
|
3049
|
+
*/
|
|
3050
|
+
export type InsightType = (typeof InsightType)[keyof typeof InsightType];
|
|
3016
3051
|
/**
|
|
3017
3052
|
* @public
|
|
3018
3053
|
* <p>A JSON string that contains a list of insight types that are logged on a trail.</p>
|
|
@@ -3476,12 +3511,17 @@ export interface ListImportFailuresRequest {
|
|
|
3476
3511
|
}
|
|
3477
3512
|
/**
|
|
3478
3513
|
* @public
|
|
3514
|
+
* @enum
|
|
3479
3515
|
*/
|
|
3480
|
-
export declare
|
|
3481
|
-
FAILED
|
|
3482
|
-
RETRY
|
|
3483
|
-
SUCCEEDED
|
|
3484
|
-
}
|
|
3516
|
+
export declare const ImportFailureStatus: {
|
|
3517
|
+
readonly FAILED: "FAILED";
|
|
3518
|
+
readonly RETRY: "RETRY";
|
|
3519
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
3520
|
+
};
|
|
3521
|
+
/**
|
|
3522
|
+
* @public
|
|
3523
|
+
*/
|
|
3524
|
+
export type ImportFailureStatus = (typeof ImportFailureStatus)[keyof typeof ImportFailureStatus];
|
|
3485
3525
|
/**
|
|
3486
3526
|
* @public
|
|
3487
3527
|
* <p> Provides information about an import failure. </p>
|
|
@@ -3906,23 +3946,33 @@ export declare class InvalidLookupAttributesException extends __BaseException {
|
|
|
3906
3946
|
}
|
|
3907
3947
|
/**
|
|
3908
3948
|
* @public
|
|
3949
|
+
* @enum
|
|
3909
3950
|
*/
|
|
3910
|
-
export declare
|
|
3911
|
-
Insight
|
|
3912
|
-
}
|
|
3951
|
+
export declare const EventCategory: {
|
|
3952
|
+
readonly Insight: "insight";
|
|
3953
|
+
};
|
|
3913
3954
|
/**
|
|
3914
3955
|
* @public
|
|
3915
3956
|
*/
|
|
3916
|
-
export
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3957
|
+
export type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
|
|
3958
|
+
/**
|
|
3959
|
+
* @public
|
|
3960
|
+
* @enum
|
|
3961
|
+
*/
|
|
3962
|
+
export declare const LookupAttributeKey: {
|
|
3963
|
+
readonly ACCESS_KEY_ID: "AccessKeyId";
|
|
3964
|
+
readonly EVENT_ID: "EventId";
|
|
3965
|
+
readonly EVENT_NAME: "EventName";
|
|
3966
|
+
readonly EVENT_SOURCE: "EventSource";
|
|
3967
|
+
readonly READ_ONLY: "ReadOnly";
|
|
3968
|
+
readonly RESOURCE_NAME: "ResourceName";
|
|
3969
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
3970
|
+
readonly USERNAME: "Username";
|
|
3971
|
+
};
|
|
3972
|
+
/**
|
|
3973
|
+
* @public
|
|
3974
|
+
*/
|
|
3975
|
+
export type LookupAttributeKey = (typeof LookupAttributeKey)[keyof typeof LookupAttributeKey];
|
|
3926
3976
|
/**
|
|
3927
3977
|
* @public
|
|
3928
3978
|
* <p>Specifies an attribute and value that filter the events returned.</p>
|