@aws-sdk/client-cloudtrail 3.300.0 → 3.301.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 +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/package.json +3 -3
|
@@ -32,10 +32,10 @@ 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 = {
|
|
35
|
+
* const input = { // AddTagsRequest
|
|
36
36
|
* ResourceId: "STRING_VALUE", // required
|
|
37
|
-
* TagsList: [ // required
|
|
38
|
-
* {
|
|
37
|
+
* TagsList: [ // TagsList // required
|
|
38
|
+
* { // Tag
|
|
39
39
|
* Key: "STRING_VALUE", // required
|
|
40
40
|
* Value: "STRING_VALUE",
|
|
41
41
|
* },
|
|
@@ -31,7 +31,7 @@ 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 = {
|
|
34
|
+
* const input = { // CancelQueryRequest
|
|
35
35
|
* EventDataStore: "STRING_VALUE",
|
|
36
36
|
* QueryId: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
@@ -28,17 +28,17 @@ 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 = {
|
|
31
|
+
* const input = { // CreateChannelRequest
|
|
32
32
|
* Name: "STRING_VALUE", // required
|
|
33
33
|
* Source: "STRING_VALUE", // required
|
|
34
|
-
* Destinations: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* Destinations: [ // Destinations // required
|
|
35
|
+
* { // Destination
|
|
36
36
|
* Type: "EVENT_DATA_STORE" || "AWS_SERVICE", // required
|
|
37
37
|
* Location: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
|
-
* Tags: [
|
|
41
|
-
* {
|
|
40
|
+
* Tags: [ // TagsList
|
|
41
|
+
* { // Tag
|
|
42
42
|
* Key: "STRING_VALUE", // required
|
|
43
43
|
* Value: "STRING_VALUE",
|
|
44
44
|
* },
|
|
@@ -26,15 +26,15 @@ 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 = {
|
|
29
|
+
* const input = { // CreateEventDataStoreRequest
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
|
-
* AdvancedEventSelectors: [
|
|
32
|
-
* {
|
|
31
|
+
* AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
32
|
+
* { // AdvancedEventSelector
|
|
33
33
|
* Name: "STRING_VALUE",
|
|
34
|
-
* FieldSelectors: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
35
|
+
* { // AdvancedFieldSelector
|
|
36
36
|
* Field: "STRING_VALUE", // required
|
|
37
|
-
* Equals: [
|
|
37
|
+
* Equals: [ // Operator
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* StartsWith: [
|
|
@@ -49,9 +49,7 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
49
49
|
* NotStartsWith: [
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
|
-
* NotEndsWith:
|
|
53
|
-
* "STRING_VALUE",
|
|
54
|
-
* ],
|
|
52
|
+
* NotEndsWith: "<Operator>",
|
|
55
53
|
* },
|
|
56
54
|
* ],
|
|
57
55
|
* },
|
|
@@ -60,8 +58,8 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
60
58
|
* OrganizationEnabled: true || false,
|
|
61
59
|
* RetentionPeriod: Number("int"),
|
|
62
60
|
* TerminationProtectionEnabled: true || false,
|
|
63
|
-
* TagsList: [
|
|
64
|
-
* {
|
|
61
|
+
* TagsList: [ // TagsList
|
|
62
|
+
* { // Tag
|
|
65
63
|
* Key: "STRING_VALUE", // required
|
|
66
64
|
* Value: "STRING_VALUE",
|
|
67
65
|
* },
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // CreateTrailRequest
|
|
31
31
|
* Name: "STRING_VALUE", // required
|
|
32
32
|
* S3BucketName: "STRING_VALUE", // required
|
|
33
33
|
* S3KeyPrefix: "STRING_VALUE",
|
|
@@ -39,8 +39,8 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
|
|
|
39
39
|
* CloudWatchLogsRoleArn: "STRING_VALUE",
|
|
40
40
|
* KmsKeyId: "STRING_VALUE",
|
|
41
41
|
* IsOrganizationTrail: true || false,
|
|
42
|
-
* TagsList: [
|
|
43
|
-
* {
|
|
42
|
+
* TagsList: [ // TagsList
|
|
43
|
+
* { // Tag
|
|
44
44
|
* Key: "STRING_VALUE", // required
|
|
45
45
|
* Value: "STRING_VALUE",
|
|
46
46
|
* },
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteChannelRequest
|
|
30
30
|
* Channel: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteChannelCommand(input);
|
|
@@ -35,7 +35,7 @@ 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 = {
|
|
38
|
+
* const input = { // DeleteEventDataStoreRequest
|
|
39
39
|
* EventDataStore: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DeleteEventDataStoreCommand(input);
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DeleteResourcePolicyRequest
|
|
32
32
|
* ResourceArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DeleteTrailRequest
|
|
32
32
|
* Name: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteTrailCommand(input);
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // DeregisterOrganizationDelegatedAdminRequest
|
|
31
31
|
* DelegatedAdminAccountId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeregisterOrganizationDelegatedAdminCommand(input);
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DescribeQueryRequest
|
|
32
32
|
* EventDataStore: "STRING_VALUE",
|
|
33
33
|
* QueryId: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -27,8 +27,8 @@ 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: [
|
|
30
|
+
* const input = { // DescribeTrailsRequest
|
|
31
|
+
* trailNameList: [ // TrailNameList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* includeShadowTrails: true || false,
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // GetChannelRequest
|
|
31
31
|
* Channel: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetChannelCommand(input);
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // GetEventDataStoreRequest
|
|
31
31
|
* EventDataStore: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetEventDataStoreCommand(input);
|
|
@@ -54,7 +54,7 @@ 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 = {
|
|
57
|
+
* const input = { // GetEventSelectorsRequest
|
|
58
58
|
* TrailName: "STRING_VALUE", // required
|
|
59
59
|
* };
|
|
60
60
|
* const command = new GetEventSelectorsCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetImportRequest
|
|
30
30
|
* ImportId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetImportCommand(input);
|
|
@@ -32,7 +32,7 @@ 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 = {
|
|
35
|
+
* const input = { // GetInsightSelectorsRequest
|
|
36
36
|
* TrailName: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetInsightSelectorsCommand(input);
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // GetQueryResultsRequest
|
|
32
32
|
* EventDataStore: "STRING_VALUE",
|
|
33
33
|
* QueryId: "STRING_VALUE", // required
|
|
34
34
|
* NextToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // GetResourcePolicyRequest
|
|
32
32
|
* ResourceArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetResourcePolicyCommand(input);
|
|
@@ -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",
|
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.301.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|