@aws-sdk/client-cloudtrail 3.321.1 → 3.326.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 +4 -0
- package/dist-types/commands/CancelQueryCommand.d.ts +7 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +20 -0
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +47 -0
- package/dist-types/commands/CreateTrailCommand.d.ts +18 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTrailCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +4 -0
- package/dist-types/commands/DescribeQueryCommand.d.ts +18 -0
- package/dist-types/commands/DescribeTrailsCommand.d.ts +25 -0
- package/dist-types/commands/GetChannelCommand.d.ts +50 -0
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +41 -0
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +49 -0
- package/dist-types/commands/GetImportCommand.d.ts +28 -0
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +11 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +20 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +7 -0
- package/dist-types/commands/GetTrailCommand.d.ts +23 -0
- package/dist-types/commands/GetTrailStatusCommand.d.ts +22 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +12 -0
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +45 -0
- package/dist-types/commands/ListImportFailuresCommand.d.ts +15 -0
- package/dist-types/commands/ListImportsCommand.d.ts +17 -0
- package/dist-types/commands/ListPublicKeysCommand.d.ts +14 -0
- package/dist-types/commands/ListQueriesCommand.d.ts +13 -0
- package/dist-types/commands/ListTagsCommand.d.ts +17 -0
- package/dist-types/commands/ListTrailsCommand.d.ts +13 -0
- package/dist-types/commands/LookupEventsCommand.d.ts +24 -0
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +49 -0
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +11 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +7 -0
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +4 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +4 -0
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +41 -0
- package/dist-types/commands/StartImportCommand.d.ts +21 -0
- package/dist-types/commands/StartLoggingCommand.d.ts +4 -0
- package/dist-types/commands/StartQueryCommand.d.ts +6 -0
- package/dist-types/commands/StopImportCommand.d.ts +28 -0
- package/dist-types/commands/StopLoggingCommand.d.ts +4 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +14 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +41 -0
- package/dist-types/commands/UpdateTrailCommand.d.ts +18 -0
- package/package.json +16 -16
|
@@ -31,6 +31,27 @@ export interface GetTrailCommandOutput extends GetTrailResponse, __MetadataBeare
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetTrailCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetTrailResponse
|
|
35
|
+
* // Trail: { // Trail
|
|
36
|
+
* // Name: "STRING_VALUE",
|
|
37
|
+
* // S3BucketName: "STRING_VALUE",
|
|
38
|
+
* // S3KeyPrefix: "STRING_VALUE",
|
|
39
|
+
* // SnsTopicName: "STRING_VALUE",
|
|
40
|
+
* // SnsTopicARN: "STRING_VALUE",
|
|
41
|
+
* // IncludeGlobalServiceEvents: true || false,
|
|
42
|
+
* // IsMultiRegionTrail: true || false,
|
|
43
|
+
* // HomeRegion: "STRING_VALUE",
|
|
44
|
+
* // TrailARN: "STRING_VALUE",
|
|
45
|
+
* // LogFileValidationEnabled: true || false,
|
|
46
|
+
* // CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
47
|
+
* // CloudWatchLogsRoleArn: "STRING_VALUE",
|
|
48
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
49
|
+
* // HasCustomEventSelectors: true || false,
|
|
50
|
+
* // HasInsightSelectors: true || false,
|
|
51
|
+
* // IsOrganizationTrail: true || false,
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
34
55
|
* ```
|
|
35
56
|
*
|
|
36
57
|
* @param GetTrailCommandInput - {@link GetTrailCommandInput}
|
|
@@ -85,6 +106,8 @@ export interface GetTrailCommandOutput extends GetTrailResponse, __MetadataBeare
|
|
|
85
106
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
86
107
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
87
108
|
*
|
|
109
|
+
* @throws {@link CloudTrailServiceException}
|
|
110
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
88
111
|
*
|
|
89
112
|
*/
|
|
90
113
|
export declare class GetTrailCommand extends $Command<GetTrailCommandInput, GetTrailCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -35,6 +35,26 @@ export interface GetTrailStatusCommandOutput extends GetTrailStatusResponse, __M
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new GetTrailStatusCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // GetTrailStatusResponse
|
|
39
|
+
* // IsLogging: true || false,
|
|
40
|
+
* // LatestDeliveryError: "STRING_VALUE",
|
|
41
|
+
* // LatestNotificationError: "STRING_VALUE",
|
|
42
|
+
* // LatestDeliveryTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // LatestNotificationTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // StartLoggingTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // StopLoggingTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // LatestCloudWatchLogsDeliveryError: "STRING_VALUE",
|
|
47
|
+
* // LatestCloudWatchLogsDeliveryTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // LatestDigestDeliveryTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // LatestDigestDeliveryError: "STRING_VALUE",
|
|
50
|
+
* // LatestDeliveryAttemptTime: "STRING_VALUE",
|
|
51
|
+
* // LatestNotificationAttemptTime: "STRING_VALUE",
|
|
52
|
+
* // LatestNotificationAttemptSucceeded: "STRING_VALUE",
|
|
53
|
+
* // LatestDeliveryAttemptSucceeded: "STRING_VALUE",
|
|
54
|
+
* // TimeLoggingStarted: "STRING_VALUE",
|
|
55
|
+
* // TimeLoggingStopped: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
38
58
|
* ```
|
|
39
59
|
*
|
|
40
60
|
* @param GetTrailStatusCommandInput - {@link GetTrailStatusCommandInput}
|
|
@@ -89,6 +109,8 @@ export interface GetTrailStatusCommandOutput extends GetTrailStatusResponse, __M
|
|
|
89
109
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
90
110
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
91
111
|
*
|
|
112
|
+
* @throws {@link CloudTrailServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
92
114
|
*
|
|
93
115
|
*/
|
|
94
116
|
export declare class GetTrailStatusCommand extends $Command<GetTrailStatusCommandInput, GetTrailStatusCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -33,6 +33,16 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListChannelsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListChannelsResponse
|
|
37
|
+
* // Channels: [ // Channels
|
|
38
|
+
* // { // Channel
|
|
39
|
+
* // ChannelArn: "STRING_VALUE",
|
|
40
|
+
* // Name: "STRING_VALUE",
|
|
41
|
+
* // },
|
|
42
|
+
* // ],
|
|
43
|
+
* // NextToken: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
36
46
|
* ```
|
|
37
47
|
*
|
|
38
48
|
* @param ListChannelsCommandInput - {@link ListChannelsCommandInput}
|
|
@@ -51,6 +61,8 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
|
|
|
51
61
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
52
62
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
53
63
|
*
|
|
64
|
+
* @throws {@link CloudTrailServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
54
66
|
*
|
|
55
67
|
*/
|
|
56
68
|
export declare class ListChannelsCommand extends $Command<ListChannelsCommandInput, ListChannelsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -33,6 +33,49 @@ export interface ListEventDataStoresCommandOutput extends ListEventDataStoresRes
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListEventDataStoresCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListEventDataStoresResponse
|
|
37
|
+
* // EventDataStores: [ // EventDataStores
|
|
38
|
+
* // { // EventDataStore
|
|
39
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
40
|
+
* // Name: "STRING_VALUE",
|
|
41
|
+
* // TerminationProtectionEnabled: true || false,
|
|
42
|
+
* // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
|
|
43
|
+
* // AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
44
|
+
* // { // AdvancedEventSelector
|
|
45
|
+
* // Name: "STRING_VALUE",
|
|
46
|
+
* // FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
47
|
+
* // { // AdvancedFieldSelector
|
|
48
|
+
* // Field: "STRING_VALUE", // required
|
|
49
|
+
* // Equals: [ // Operator
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // StartsWith: [
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // EndsWith: [
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // NotEquals: [
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // NotStartsWith: [
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // NotEndsWith: "<Operator>",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // MultiRegionEnabled: true || false,
|
|
70
|
+
* // OrganizationEnabled: true || false,
|
|
71
|
+
* // RetentionPeriod: Number("int"),
|
|
72
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"),
|
|
73
|
+
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // NextToken: "STRING_VALUE",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
36
79
|
* ```
|
|
37
80
|
*
|
|
38
81
|
* @param ListEventDataStoresCommandInput - {@link ListEventDataStoresCommandInput}
|
|
@@ -58,6 +101,8 @@ export interface ListEventDataStoresCommandOutput extends ListEventDataStoresRes
|
|
|
58
101
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
59
102
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
60
103
|
*
|
|
104
|
+
* @throws {@link CloudTrailServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
61
106
|
*
|
|
62
107
|
*/
|
|
63
108
|
export declare class ListEventDataStoresCommand extends $Command<ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -33,6 +33,19 @@ export interface ListImportFailuresCommandOutput extends ListImportFailuresRespo
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListImportFailuresCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListImportFailuresResponse
|
|
37
|
+
* // Failures: [ // ImportFailureList
|
|
38
|
+
* // { // ImportFailureListItem
|
|
39
|
+
* // Location: "STRING_VALUE",
|
|
40
|
+
* // Status: "FAILED" || "RETRY" || "SUCCEEDED",
|
|
41
|
+
* // ErrorType: "STRING_VALUE",
|
|
42
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
43
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // NextToken: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
36
49
|
* ```
|
|
37
50
|
*
|
|
38
51
|
* @param ListImportFailuresCommandInput - {@link ListImportFailuresCommandInput}
|
|
@@ -51,6 +64,8 @@ export interface ListImportFailuresCommandOutput extends ListImportFailuresRespo
|
|
|
51
64
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
52
65
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
53
66
|
*
|
|
67
|
+
* @throws {@link CloudTrailServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
54
69
|
*
|
|
55
70
|
*/
|
|
56
71
|
export declare class ListImportFailuresCommand extends $Command<ListImportFailuresCommandInput, ListImportFailuresCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -35,6 +35,21 @@ export interface ListImportsCommandOutput extends ListImportsResponse, __Metadat
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListImportsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListImportsResponse
|
|
39
|
+
* // Imports: [ // ImportsList
|
|
40
|
+
* // { // ImportsListItem
|
|
41
|
+
* // ImportId: "STRING_VALUE",
|
|
42
|
+
* // ImportStatus: "INITIALIZING" || "IN_PROGRESS" || "FAILED" || "STOPPED" || "COMPLETED",
|
|
43
|
+
* // Destinations: [ // ImportDestinations
|
|
44
|
+
* // "STRING_VALUE",
|
|
45
|
+
* // ],
|
|
46
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"),
|
|
47
|
+
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // NextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
38
53
|
* ```
|
|
39
54
|
*
|
|
40
55
|
* @param ListImportsCommandInput - {@link ListImportsCommandInput}
|
|
@@ -60,6 +75,8 @@ export interface ListImportsCommandOutput extends ListImportsResponse, __Metadat
|
|
|
60
75
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
61
76
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
62
77
|
*
|
|
78
|
+
* @throws {@link CloudTrailServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
63
80
|
*
|
|
64
81
|
*/
|
|
65
82
|
export declare class ListImportsCommand extends $Command<ListImportsCommandInput, ListImportsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -41,6 +41,18 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResponse, __M
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new ListPublicKeysCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // ListPublicKeysResponse
|
|
45
|
+
* // PublicKeyList: [ // PublicKeyList
|
|
46
|
+
* // { // PublicKey
|
|
47
|
+
* // Value: "BLOB_VALUE",
|
|
48
|
+
* // ValidityStartTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // ValidityEndTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // Fingerprint: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
44
56
|
* ```
|
|
45
57
|
*
|
|
46
58
|
* @param ListPublicKeysCommandInput - {@link ListPublicKeysCommandInput}
|
|
@@ -62,6 +74,8 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResponse, __M
|
|
|
62
74
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
63
75
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
64
76
|
*
|
|
77
|
+
* @throws {@link CloudTrailServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
65
79
|
*
|
|
66
80
|
*/
|
|
67
81
|
export declare class ListPublicKeysCommand extends $Command<ListPublicKeysCommandInput, ListPublicKeysCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -42,6 +42,17 @@ export interface ListQueriesCommandOutput extends ListQueriesResponse, __Metadat
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new ListQueriesCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // ListQueriesResponse
|
|
46
|
+
* // Queries: [ // Queries
|
|
47
|
+
* // { // Query
|
|
48
|
+
* // QueryId: "STRING_VALUE",
|
|
49
|
+
* // QueryStatus: "QUEUED" || "RUNNING" || "FINISHED" || "FAILED" || "CANCELLED" || "TIMED_OUT",
|
|
50
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
45
56
|
* ```
|
|
46
57
|
*
|
|
47
58
|
* @param ListQueriesCommandInput - {@link ListQueriesCommandInput}
|
|
@@ -88,6 +99,8 @@ export interface ListQueriesCommandOutput extends ListQueriesResponse, __Metadat
|
|
|
88
99
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
89
100
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
90
101
|
*
|
|
102
|
+
* @throws {@link CloudTrailServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
91
104
|
*
|
|
92
105
|
*/
|
|
93
106
|
export declare class ListQueriesCommand extends $Command<ListQueriesCommandInput, ListQueriesCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -34,6 +34,21 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListTagsCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListTagsResponse
|
|
38
|
+
* // ResourceTagList: [ // ResourceTagList
|
|
39
|
+
* // { // ResourceTag
|
|
40
|
+
* // ResourceId: "STRING_VALUE",
|
|
41
|
+
* // TagsList: [ // TagsList
|
|
42
|
+
* // { // Tag
|
|
43
|
+
* // Key: "STRING_VALUE", // required
|
|
44
|
+
* // Value: "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // NextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
37
52
|
* ```
|
|
38
53
|
*
|
|
39
54
|
* @param ListTagsCommandInput - {@link ListTagsCommandInput}
|
|
@@ -104,6 +119,8 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
|
|
|
104
119
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
105
120
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
106
121
|
*
|
|
122
|
+
* @throws {@link CloudTrailServiceException}
|
|
123
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
107
124
|
*
|
|
108
125
|
*/
|
|
109
126
|
export declare class ListTagsCommand extends $Command<ListTagsCommandInput, ListTagsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -31,6 +31,17 @@ export interface ListTrailsCommandOutput extends ListTrailsResponse, __MetadataB
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTrailsCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // ListTrailsResponse
|
|
35
|
+
* // Trails: [ // Trails
|
|
36
|
+
* // { // TrailInfo
|
|
37
|
+
* // TrailARN: "STRING_VALUE",
|
|
38
|
+
* // Name: "STRING_VALUE",
|
|
39
|
+
* // HomeRegion: "STRING_VALUE",
|
|
40
|
+
* // },
|
|
41
|
+
* // ],
|
|
42
|
+
* // NextToken: "STRING_VALUE",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
34
45
|
* ```
|
|
35
46
|
*
|
|
36
47
|
* @param ListTrailsCommandInput - {@link ListTrailsCommandInput}
|
|
@@ -45,6 +56,8 @@ export interface ListTrailsCommandOutput extends ListTrailsResponse, __MetadataB
|
|
|
45
56
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
46
57
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
47
58
|
*
|
|
59
|
+
* @throws {@link CloudTrailServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
48
61
|
*
|
|
49
62
|
*/
|
|
50
63
|
export declare class ListTrailsCommand extends $Command<ListTrailsCommandInput, ListTrailsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -88,6 +88,28 @@ export interface LookupEventsCommandOutput extends LookupEventsResponse, __Metad
|
|
|
88
88
|
* };
|
|
89
89
|
* const command = new LookupEventsCommand(input);
|
|
90
90
|
* const response = await client.send(command);
|
|
91
|
+
* // { // LookupEventsResponse
|
|
92
|
+
* // Events: [ // EventsList
|
|
93
|
+
* // { // Event
|
|
94
|
+
* // EventId: "STRING_VALUE",
|
|
95
|
+
* // EventName: "STRING_VALUE",
|
|
96
|
+
* // ReadOnly: "STRING_VALUE",
|
|
97
|
+
* // AccessKeyId: "STRING_VALUE",
|
|
98
|
+
* // EventTime: new Date("TIMESTAMP"),
|
|
99
|
+
* // EventSource: "STRING_VALUE",
|
|
100
|
+
* // Username: "STRING_VALUE",
|
|
101
|
+
* // Resources: [ // ResourceList
|
|
102
|
+
* // { // Resource
|
|
103
|
+
* // ResourceType: "STRING_VALUE",
|
|
104
|
+
* // ResourceName: "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // CloudTrailEvent: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // NextToken: "STRING_VALUE",
|
|
111
|
+
* // };
|
|
112
|
+
*
|
|
91
113
|
* ```
|
|
92
114
|
*
|
|
93
115
|
* @param LookupEventsCommandInput - {@link LookupEventsCommandInput}
|
|
@@ -120,6 +142,8 @@ export interface LookupEventsCommandOutput extends LookupEventsResponse, __Metad
|
|
|
120
142
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
121
143
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
122
144
|
*
|
|
145
|
+
* @throws {@link CloudTrailServiceException}
|
|
146
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
123
147
|
*
|
|
124
148
|
*/
|
|
125
149
|
export declare class LookupEventsCommand extends $Command<LookupEventsCommandInput, LookupEventsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -116,6 +116,53 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
|
|
|
116
116
|
* };
|
|
117
117
|
* const command = new PutEventSelectorsCommand(input);
|
|
118
118
|
* const response = await client.send(command);
|
|
119
|
+
* // { // PutEventSelectorsResponse
|
|
120
|
+
* // TrailARN: "STRING_VALUE",
|
|
121
|
+
* // EventSelectors: [ // EventSelectors
|
|
122
|
+
* // { // EventSelector
|
|
123
|
+
* // ReadWriteType: "ReadOnly" || "WriteOnly" || "All",
|
|
124
|
+
* // IncludeManagementEvents: true || false,
|
|
125
|
+
* // DataResources: [ // DataResources
|
|
126
|
+
* // { // DataResource
|
|
127
|
+
* // Type: "STRING_VALUE",
|
|
128
|
+
* // Values: [ // DataResourceValues
|
|
129
|
+
* // "STRING_VALUE",
|
|
130
|
+
* // ],
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // ExcludeManagementEventSources: [ // ExcludeManagementEventSources
|
|
134
|
+
* // "STRING_VALUE",
|
|
135
|
+
* // ],
|
|
136
|
+
* // },
|
|
137
|
+
* // ],
|
|
138
|
+
* // AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
139
|
+
* // { // AdvancedEventSelector
|
|
140
|
+
* // Name: "STRING_VALUE",
|
|
141
|
+
* // FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
142
|
+
* // { // AdvancedFieldSelector
|
|
143
|
+
* // Field: "STRING_VALUE", // required
|
|
144
|
+
* // Equals: [ // Operator
|
|
145
|
+
* // "STRING_VALUE",
|
|
146
|
+
* // ],
|
|
147
|
+
* // StartsWith: [
|
|
148
|
+
* // "STRING_VALUE",
|
|
149
|
+
* // ],
|
|
150
|
+
* // EndsWith: [
|
|
151
|
+
* // "STRING_VALUE",
|
|
152
|
+
* // ],
|
|
153
|
+
* // NotEquals: [
|
|
154
|
+
* // "STRING_VALUE",
|
|
155
|
+
* // ],
|
|
156
|
+
* // NotStartsWith: [
|
|
157
|
+
* // "STRING_VALUE",
|
|
158
|
+
* // ],
|
|
159
|
+
* // NotEndsWith: "<Operator>",
|
|
160
|
+
* // },
|
|
161
|
+
* // ],
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // };
|
|
165
|
+
*
|
|
119
166
|
* ```
|
|
120
167
|
*
|
|
121
168
|
* @param PutEventSelectorsCommandInput - {@link PutEventSelectorsCommandInput}
|
|
@@ -218,6 +265,8 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
|
|
|
218
265
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
219
266
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
220
267
|
*
|
|
268
|
+
* @throws {@link CloudTrailServiceException}
|
|
269
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
221
270
|
*
|
|
222
271
|
*/
|
|
223
272
|
export declare class PutEventSelectorsCommand extends $Command<PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -40,6 +40,15 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new PutInsightSelectorsCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // PutInsightSelectorsResponse
|
|
44
|
+
* // TrailARN: "STRING_VALUE",
|
|
45
|
+
* // InsightSelectors: [ // InsightSelectors
|
|
46
|
+
* // { // InsightSelector
|
|
47
|
+
* // InsightType: "ApiCallRateInsight" || "ApiErrorRateInsight",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
43
52
|
* ```
|
|
44
53
|
*
|
|
45
54
|
* @param PutInsightSelectorsCommandInput - {@link PutInsightSelectorsCommandInput}
|
|
@@ -127,6 +136,8 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
|
|
|
127
136
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
128
137
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
129
138
|
*
|
|
139
|
+
* @throws {@link CloudTrailServiceException}
|
|
140
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
130
141
|
*
|
|
131
142
|
*/
|
|
132
143
|
export declare class PutInsightSelectorsCommand extends $Command<PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -36,6 +36,11 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new PutResourcePolicyCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // PutResourcePolicyResponse
|
|
40
|
+
* // ResourceArn: "STRING_VALUE",
|
|
41
|
+
* // ResourcePolicy: "STRING_VALUE",
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
39
44
|
* ```
|
|
40
45
|
*
|
|
41
46
|
* @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
|
|
@@ -85,6 +90,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
85
90
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
86
91
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
87
92
|
*
|
|
93
|
+
* @throws {@link CloudTrailServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
88
95
|
*
|
|
89
96
|
*/
|
|
90
97
|
export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -32,6 +32,8 @@ export interface RegisterOrganizationDelegatedAdminCommandOutput extends Registe
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new RegisterOrganizationDelegatedAdminCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
37
39
|
* @param RegisterOrganizationDelegatedAdminCommandInput - {@link RegisterOrganizationDelegatedAdminCommandInput}
|
|
@@ -93,6 +95,8 @@ export interface RegisterOrganizationDelegatedAdminCommandOutput extends Registe
|
|
|
93
95
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
94
96
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
95
97
|
*
|
|
98
|
+
* @throws {@link CloudTrailServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
96
100
|
*
|
|
97
101
|
*/
|
|
98
102
|
export declare class RegisterOrganizationDelegatedAdminCommand extends $Command<RegisterOrganizationDelegatedAdminCommandInput, RegisterOrganizationDelegatedAdminCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -37,6 +37,8 @@ export interface RemoveTagsCommandOutput extends RemoveTagsResponse, __MetadataB
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new RemoveTagsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
40
42
|
* ```
|
|
41
43
|
*
|
|
42
44
|
* @param RemoveTagsCommandInput - {@link RemoveTagsCommandInput}
|
|
@@ -116,6 +118,8 @@ export interface RemoveTagsCommandOutput extends RemoveTagsResponse, __MetadataB
|
|
|
116
118
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
117
119
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
118
120
|
*
|
|
121
|
+
* @throws {@link CloudTrailServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
119
123
|
*
|
|
120
124
|
*/
|
|
121
125
|
export declare class RemoveTagsCommand extends $Command<RemoveTagsCommandInput, RemoveTagsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -34,6 +34,45 @@ export interface RestoreEventDataStoreCommandOutput extends RestoreEventDataStor
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new RestoreEventDataStoreCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // RestoreEventDataStoreResponse
|
|
38
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
39
|
+
* // Name: "STRING_VALUE",
|
|
40
|
+
* // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
|
|
41
|
+
* // AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
42
|
+
* // { // AdvancedEventSelector
|
|
43
|
+
* // Name: "STRING_VALUE",
|
|
44
|
+
* // FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
45
|
+
* // { // AdvancedFieldSelector
|
|
46
|
+
* // Field: "STRING_VALUE", // required
|
|
47
|
+
* // Equals: [ // Operator
|
|
48
|
+
* // "STRING_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // StartsWith: [
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // EndsWith: [
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // NotEquals: [
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // NotStartsWith: [
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // NotEndsWith: "<Operator>",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // MultiRegionEnabled: true || false,
|
|
68
|
+
* // OrganizationEnabled: true || false,
|
|
69
|
+
* // RetentionPeriod: Number("int"),
|
|
70
|
+
* // TerminationProtectionEnabled: true || false,
|
|
71
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"),
|
|
72
|
+
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
73
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
37
76
|
* ```
|
|
38
77
|
*
|
|
39
78
|
* @param RestoreEventDataStoreCommandInput - {@link RestoreEventDataStoreCommandInput}
|
|
@@ -91,6 +130,8 @@ export interface RestoreEventDataStoreCommandOutput extends RestoreEventDataStor
|
|
|
91
130
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
92
131
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
93
132
|
*
|
|
133
|
+
* @throws {@link CloudTrailServiceException}
|
|
134
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
94
135
|
*
|
|
95
136
|
*/
|
|
96
137
|
export declare class RestoreEventDataStoreCommand extends $Command<RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -59,6 +59,25 @@ export interface StartImportCommandOutput extends StartImportResponse, __Metadat
|
|
|
59
59
|
* };
|
|
60
60
|
* const command = new StartImportCommand(input);
|
|
61
61
|
* const response = await client.send(command);
|
|
62
|
+
* // { // StartImportResponse
|
|
63
|
+
* // ImportId: "STRING_VALUE",
|
|
64
|
+
* // Destinations: [ // ImportDestinations
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // ImportSource: { // ImportSource
|
|
68
|
+
* // S3: { // S3ImportSource
|
|
69
|
+
* // S3LocationUri: "STRING_VALUE", // required
|
|
70
|
+
* // S3BucketRegion: "STRING_VALUE", // required
|
|
71
|
+
* // S3BucketAccessRoleArn: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // StartEventTime: new Date("TIMESTAMP"),
|
|
75
|
+
* // EndEventTime: new Date("TIMESTAMP"),
|
|
76
|
+
* // ImportStatus: "INITIALIZING" || "IN_PROGRESS" || "FAILED" || "STOPPED" || "COMPLETED",
|
|
77
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"),
|
|
78
|
+
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
62
81
|
* ```
|
|
63
82
|
*
|
|
64
83
|
* @param StartImportCommandInput - {@link StartImportCommandInput}
|
|
@@ -108,6 +127,8 @@ export interface StartImportCommandOutput extends StartImportResponse, __Metadat
|
|
|
108
127
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
109
128
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
110
129
|
*
|
|
130
|
+
* @throws {@link CloudTrailServiceException}
|
|
131
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
111
132
|
*
|
|
112
133
|
*/
|
|
113
134
|
export declare class StartImportCommand extends $Command<StartImportCommandInput, StartImportCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface StartLoggingCommandOutput extends StartLoggingResponse, __Metad
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new StartLoggingCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param StartLoggingCommandInput - {@link StartLoggingCommandInput}
|
|
@@ -112,6 +114,8 @@ export interface StartLoggingCommandOutput extends StartLoggingResponse, __Metad
|
|
|
112
114
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
113
115
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
114
116
|
*
|
|
117
|
+
* @throws {@link CloudTrailServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
115
119
|
*
|
|
116
120
|
*/
|
|
117
121
|
export declare class StartLoggingCommand extends $Command<StartLoggingCommandInput, StartLoggingCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -35,6 +35,10 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new StartQueryCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // StartQueryResponse
|
|
39
|
+
* // QueryId: "STRING_VALUE",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
38
42
|
* ```
|
|
39
43
|
*
|
|
40
44
|
* @param StartQueryCommandInput - {@link StartQueryCommandInput}
|
|
@@ -91,6 +95,8 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB
|
|
|
91
95
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
92
96
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
93
97
|
*
|
|
98
|
+
* @throws {@link CloudTrailServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
94
100
|
*
|
|
95
101
|
*/
|
|
96
102
|
export declare class StartQueryCommand extends $Command<StartQueryCommandInput, StartQueryCommandOutput, CloudTrailClientResolvedConfig> {
|