@aws-sdk/client-cloudtrail 3.325.0 → 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 +3 -3
|
@@ -43,6 +43,8 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new AddTagsCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
46
48
|
* ```
|
|
47
49
|
*
|
|
48
50
|
* @param AddTagsCommandInput - {@link AddTagsCommandInput}
|
|
@@ -132,6 +134,8 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
|
|
|
132
134
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
133
135
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
134
136
|
*
|
|
137
|
+
* @throws {@link CloudTrailServiceException}
|
|
138
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
135
139
|
*
|
|
136
140
|
*/
|
|
137
141
|
export declare class AddTagsCommand extends $Command<AddTagsCommandInput, AddTagsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -37,6 +37,11 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new CancelQueryCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // CancelQueryResponse
|
|
41
|
+
* // QueryId: "STRING_VALUE", // required
|
|
42
|
+
* // QueryStatus: "QUEUED" || "RUNNING" || "FINISHED" || "FAILED" || "CANCELLED" || "TIMED_OUT", // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
40
45
|
* ```
|
|
41
46
|
*
|
|
42
47
|
* @param CancelQueryCommandInput - {@link CancelQueryCommandInput}
|
|
@@ -81,6 +86,8 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
|
|
|
81
86
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
82
87
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
83
88
|
*
|
|
89
|
+
* @throws {@link CloudTrailServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
84
91
|
*
|
|
85
92
|
*/
|
|
86
93
|
export declare class CancelQueryCommand extends $Command<CancelQueryCommandInput, CancelQueryCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -46,6 +46,24 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new CreateChannelCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateChannelResponse
|
|
50
|
+
* // ChannelArn: "STRING_VALUE",
|
|
51
|
+
* // Name: "STRING_VALUE",
|
|
52
|
+
* // Source: "STRING_VALUE",
|
|
53
|
+
* // Destinations: [ // Destinations
|
|
54
|
+
* // { // Destination
|
|
55
|
+
* // Type: "EVENT_DATA_STORE" || "AWS_SERVICE", // required
|
|
56
|
+
* // Location: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // Tags: [ // TagsList
|
|
60
|
+
* // { // Tag
|
|
61
|
+
* // Key: "STRING_VALUE", // required
|
|
62
|
+
* // Value: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
49
67
|
* ```
|
|
50
68
|
*
|
|
51
69
|
* @param CreateChannelCommandInput - {@link CreateChannelCommandInput}
|
|
@@ -98,6 +116,8 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
98
116
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
99
117
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
100
118
|
*
|
|
119
|
+
* @throws {@link CloudTrailServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
101
121
|
*
|
|
102
122
|
*/
|
|
103
123
|
export declare class CreateChannelCommand extends $Command<CreateChannelCommandInput, CreateChannelCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -68,6 +68,51 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
68
68
|
* };
|
|
69
69
|
* const command = new CreateEventDataStoreCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
71
|
+
* // { // CreateEventDataStoreResponse
|
|
72
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
73
|
+
* // Name: "STRING_VALUE",
|
|
74
|
+
* // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
|
|
75
|
+
* // AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
76
|
+
* // { // AdvancedEventSelector
|
|
77
|
+
* // Name: "STRING_VALUE",
|
|
78
|
+
* // FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
79
|
+
* // { // AdvancedFieldSelector
|
|
80
|
+
* // Field: "STRING_VALUE", // required
|
|
81
|
+
* // Equals: [ // Operator
|
|
82
|
+
* // "STRING_VALUE",
|
|
83
|
+
* // ],
|
|
84
|
+
* // StartsWith: [
|
|
85
|
+
* // "STRING_VALUE",
|
|
86
|
+
* // ],
|
|
87
|
+
* // EndsWith: [
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // NotEquals: [
|
|
91
|
+
* // "STRING_VALUE",
|
|
92
|
+
* // ],
|
|
93
|
+
* // NotStartsWith: [
|
|
94
|
+
* // "STRING_VALUE",
|
|
95
|
+
* // ],
|
|
96
|
+
* // NotEndsWith: "<Operator>",
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // MultiRegionEnabled: true || false,
|
|
102
|
+
* // OrganizationEnabled: true || false,
|
|
103
|
+
* // RetentionPeriod: Number("int"),
|
|
104
|
+
* // TerminationProtectionEnabled: true || false,
|
|
105
|
+
* // TagsList: [ // TagsList
|
|
106
|
+
* // { // Tag
|
|
107
|
+
* // Key: "STRING_VALUE", // required
|
|
108
|
+
* // Value: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"),
|
|
112
|
+
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
113
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
114
|
+
* // };
|
|
115
|
+
*
|
|
71
116
|
* ```
|
|
72
117
|
*
|
|
73
118
|
* @param CreateEventDataStoreCommandInput - {@link CreateEventDataStoreCommandInput}
|
|
@@ -174,6 +219,8 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
174
219
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
175
220
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
176
221
|
*
|
|
222
|
+
* @throws {@link CloudTrailServiceException}
|
|
223
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
177
224
|
*
|
|
178
225
|
*/
|
|
179
226
|
export declare class CreateEventDataStoreCommand extends $Command<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -48,6 +48,22 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new CreateTrailCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // CreateTrailResponse
|
|
52
|
+
* // Name: "STRING_VALUE",
|
|
53
|
+
* // S3BucketName: "STRING_VALUE",
|
|
54
|
+
* // S3KeyPrefix: "STRING_VALUE",
|
|
55
|
+
* // SnsTopicName: "STRING_VALUE",
|
|
56
|
+
* // SnsTopicARN: "STRING_VALUE",
|
|
57
|
+
* // IncludeGlobalServiceEvents: true || false,
|
|
58
|
+
* // IsMultiRegionTrail: true || false,
|
|
59
|
+
* // TrailARN: "STRING_VALUE",
|
|
60
|
+
* // LogFileValidationEnabled: true || false,
|
|
61
|
+
* // CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
62
|
+
* // CloudWatchLogsRoleArn: "STRING_VALUE",
|
|
63
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
64
|
+
* // IsOrganizationTrail: true || false,
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
51
67
|
* ```
|
|
52
68
|
*
|
|
53
69
|
* @param CreateTrailCommandInput - {@link CreateTrailCommandInput}
|
|
@@ -192,6 +208,8 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
|
|
|
192
208
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
193
209
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
194
210
|
*
|
|
211
|
+
* @throws {@link CloudTrailServiceException}
|
|
212
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
195
213
|
*
|
|
196
214
|
*/
|
|
197
215
|
export declare class CreateTrailCommand extends $Command<CreateTrailCommandInput, CreateTrailCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -31,6 +31,8 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteChannelCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // {};
|
|
35
|
+
*
|
|
34
36
|
* ```
|
|
35
37
|
*
|
|
36
38
|
* @param DeleteChannelCommandInput - {@link DeleteChannelCommandInput}
|
|
@@ -52,6 +54,8 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
|
|
|
52
54
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
53
55
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
54
56
|
*
|
|
57
|
+
* @throws {@link CloudTrailServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
55
59
|
*
|
|
56
60
|
*/
|
|
57
61
|
export declare class DeleteChannelCommand extends $Command<DeleteChannelCommandInput, DeleteChannelCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -40,6 +40,8 @@ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreR
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DeleteEventDataStoreCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param DeleteEventDataStoreCommandInput - {@link DeleteEventDataStoreCommandInput}
|
|
@@ -93,6 +95,8 @@ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreR
|
|
|
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 DeleteEventDataStoreCommand extends $Command<DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -33,6 +33,8 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
|
|
@@ -64,6 +66,8 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
|
|
|
64
66
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
65
67
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
66
68
|
*
|
|
69
|
+
* @throws {@link CloudTrailServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
67
71
|
*
|
|
68
72
|
*/
|
|
69
73
|
export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -33,6 +33,8 @@ export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __Metadat
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteTrailCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param DeleteTrailCommandInput - {@link DeleteTrailCommandInput}
|
|
@@ -111,6 +113,8 @@ export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __Metadat
|
|
|
111
113
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
112
114
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
113
115
|
*
|
|
116
|
+
* @throws {@link CloudTrailServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
114
118
|
*
|
|
115
119
|
*/
|
|
116
120
|
export declare class DeleteTrailCommand extends $Command<DeleteTrailCommandInput, DeleteTrailCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -32,6 +32,8 @@ export interface DeregisterOrganizationDelegatedAdminCommandOutput extends Dereg
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeregisterOrganizationDelegatedAdminCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
37
39
|
* @param DeregisterOrganizationDelegatedAdminCommandInput - {@link DeregisterOrganizationDelegatedAdminCommandInput}
|
|
@@ -84,6 +86,8 @@ export interface DeregisterOrganizationDelegatedAdminCommandOutput extends Dereg
|
|
|
84
86
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
85
87
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
86
88
|
*
|
|
89
|
+
* @throws {@link CloudTrailServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
87
91
|
*
|
|
88
92
|
*/
|
|
89
93
|
export declare class DeregisterOrganizationDelegatedAdminCommand extends $Command<DeregisterOrganizationDelegatedAdminCommandInput, DeregisterOrganizationDelegatedAdminCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -34,6 +34,22 @@ export interface DescribeQueryCommandOutput extends DescribeQueryResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DescribeQueryCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // DescribeQueryResponse
|
|
38
|
+
* // QueryId: "STRING_VALUE",
|
|
39
|
+
* // QueryString: "STRING_VALUE",
|
|
40
|
+
* // QueryStatus: "QUEUED" || "RUNNING" || "FINISHED" || "FAILED" || "CANCELLED" || "TIMED_OUT",
|
|
41
|
+
* // QueryStatistics: { // QueryStatisticsForDescribeQuery
|
|
42
|
+
* // EventsMatched: Number("long"),
|
|
43
|
+
* // EventsScanned: Number("long"),
|
|
44
|
+
* // BytesScanned: Number("long"),
|
|
45
|
+
* // ExecutionTimeInMillis: Number("int"),
|
|
46
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // },
|
|
48
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
49
|
+
* // DeliveryS3Uri: "STRING_VALUE",
|
|
50
|
+
* // DeliveryStatus: "SUCCESS" || "FAILED" || "FAILED_SIGNING_FILE" || "PENDING" || "RESOURCE_NOT_FOUND" || "ACCESS_DENIED" || "ACCESS_DENIED_SIGNING_FILE" || "CANCELLED" || "UNKNOWN",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
37
53
|
* ```
|
|
38
54
|
*
|
|
39
55
|
* @param DescribeQueryCommandInput - {@link DescribeQueryCommandInput}
|
|
@@ -68,6 +84,8 @@ export interface DescribeQueryCommandOutput extends DescribeQueryResponse, __Met
|
|
|
68
84
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
69
85
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
70
86
|
*
|
|
87
|
+
* @throws {@link CloudTrailServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
71
89
|
*
|
|
72
90
|
*/
|
|
73
91
|
export declare class DescribeQueryCommand extends $Command<DescribeQueryCommandInput, DescribeQueryCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -35,6 +35,29 @@ export interface DescribeTrailsCommandOutput extends DescribeTrailsResponse, __M
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DescribeTrailsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeTrailsResponse
|
|
39
|
+
* // trailList: [ // TrailList
|
|
40
|
+
* // { // Trail
|
|
41
|
+
* // Name: "STRING_VALUE",
|
|
42
|
+
* // S3BucketName: "STRING_VALUE",
|
|
43
|
+
* // S3KeyPrefix: "STRING_VALUE",
|
|
44
|
+
* // SnsTopicName: "STRING_VALUE",
|
|
45
|
+
* // SnsTopicARN: "STRING_VALUE",
|
|
46
|
+
* // IncludeGlobalServiceEvents: true || false,
|
|
47
|
+
* // IsMultiRegionTrail: true || false,
|
|
48
|
+
* // HomeRegion: "STRING_VALUE",
|
|
49
|
+
* // TrailARN: "STRING_VALUE",
|
|
50
|
+
* // LogFileValidationEnabled: true || false,
|
|
51
|
+
* // CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
52
|
+
* // CloudWatchLogsRoleArn: "STRING_VALUE",
|
|
53
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
54
|
+
* // HasCustomEventSelectors: true || false,
|
|
55
|
+
* // HasInsightSelectors: true || false,
|
|
56
|
+
* // IsOrganizationTrail: true || false,
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
38
61
|
* ```
|
|
39
62
|
*
|
|
40
63
|
* @param DescribeTrailsCommandInput - {@link DescribeTrailsCommandInput}
|
|
@@ -76,6 +99,8 @@ export interface DescribeTrailsCommandOutput extends DescribeTrailsResponse, __M
|
|
|
76
99
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
77
100
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
78
101
|
*
|
|
102
|
+
* @throws {@link CloudTrailServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
79
104
|
*
|
|
80
105
|
*/
|
|
81
106
|
export declare class DescribeTrailsCommand extends $Command<DescribeTrailsCommandInput, DescribeTrailsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -32,6 +32,54 @@ export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataB
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetChannelCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetChannelResponse
|
|
36
|
+
* // ChannelArn: "STRING_VALUE",
|
|
37
|
+
* // Name: "STRING_VALUE",
|
|
38
|
+
* // Source: "STRING_VALUE",
|
|
39
|
+
* // SourceConfig: { // SourceConfig
|
|
40
|
+
* // ApplyToAllRegions: true || false,
|
|
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
|
+
* // },
|
|
68
|
+
* // Destinations: [ // Destinations
|
|
69
|
+
* // { // Destination
|
|
70
|
+
* // Type: "EVENT_DATA_STORE" || "AWS_SERVICE", // required
|
|
71
|
+
* // Location: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // IngestionStatus: { // IngestionStatus
|
|
75
|
+
* // LatestIngestionSuccessTime: new Date("TIMESTAMP"),
|
|
76
|
+
* // LatestIngestionSuccessEventID: "STRING_VALUE",
|
|
77
|
+
* // LatestIngestionErrorCode: "STRING_VALUE",
|
|
78
|
+
* // LatestIngestionAttemptTime: new Date("TIMESTAMP"),
|
|
79
|
+
* // LatestIngestionAttemptEventID: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // };
|
|
82
|
+
*
|
|
35
83
|
* ```
|
|
36
84
|
*
|
|
37
85
|
* @param GetChannelCommandInput - {@link GetChannelCommandInput}
|
|
@@ -53,6 +101,8 @@ export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataB
|
|
|
53
101
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
54
102
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
55
103
|
*
|
|
104
|
+
* @throws {@link CloudTrailServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
56
106
|
*
|
|
57
107
|
*/
|
|
58
108
|
export declare class GetChannelCommand extends $Command<GetChannelCommandInput, GetChannelCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -32,6 +32,45 @@ export interface GetEventDataStoreCommandOutput extends GetEventDataStoreRespons
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetEventDataStoreCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetEventDataStoreResponse
|
|
36
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
37
|
+
* // Name: "STRING_VALUE",
|
|
38
|
+
* // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
|
|
39
|
+
* // AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
40
|
+
* // { // AdvancedEventSelector
|
|
41
|
+
* // Name: "STRING_VALUE",
|
|
42
|
+
* // FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
43
|
+
* // { // AdvancedFieldSelector
|
|
44
|
+
* // Field: "STRING_VALUE", // required
|
|
45
|
+
* // Equals: [ // Operator
|
|
46
|
+
* // "STRING_VALUE",
|
|
47
|
+
* // ],
|
|
48
|
+
* // StartsWith: [
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // EndsWith: [
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // NotEquals: [
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // NotStartsWith: [
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // NotEndsWith: "<Operator>",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // MultiRegionEnabled: true || false,
|
|
66
|
+
* // OrganizationEnabled: true || false,
|
|
67
|
+
* // RetentionPeriod: Number("int"),
|
|
68
|
+
* // TerminationProtectionEnabled: true || false,
|
|
69
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"),
|
|
70
|
+
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
71
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
35
74
|
* ```
|
|
36
75
|
*
|
|
37
76
|
* @param GetEventDataStoreCommandInput - {@link GetEventDataStoreCommandInput}
|
|
@@ -60,6 +99,8 @@ export interface GetEventDataStoreCommandOutput extends GetEventDataStoreRespons
|
|
|
60
99
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
61
100
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
62
101
|
*
|
|
102
|
+
* @throws {@link CloudTrailServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
63
104
|
*
|
|
64
105
|
*/
|
|
65
106
|
export declare class GetEventDataStoreCommand extends $Command<GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -59,6 +59,53 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
|
|
|
59
59
|
* };
|
|
60
60
|
* const command = new GetEventSelectorsCommand(input);
|
|
61
61
|
* const response = await client.send(command);
|
|
62
|
+
* // { // GetEventSelectorsResponse
|
|
63
|
+
* // TrailARN: "STRING_VALUE",
|
|
64
|
+
* // EventSelectors: [ // EventSelectors
|
|
65
|
+
* // { // EventSelector
|
|
66
|
+
* // ReadWriteType: "ReadOnly" || "WriteOnly" || "All",
|
|
67
|
+
* // IncludeManagementEvents: true || false,
|
|
68
|
+
* // DataResources: [ // DataResources
|
|
69
|
+
* // { // DataResource
|
|
70
|
+
* // Type: "STRING_VALUE",
|
|
71
|
+
* // Values: [ // DataResourceValues
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // ExcludeManagementEventSources: [ // ExcludeManagementEventSources
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
82
|
+
* // { // AdvancedEventSelector
|
|
83
|
+
* // Name: "STRING_VALUE",
|
|
84
|
+
* // FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
85
|
+
* // { // AdvancedFieldSelector
|
|
86
|
+
* // Field: "STRING_VALUE", // required
|
|
87
|
+
* // Equals: [ // Operator
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // StartsWith: [
|
|
91
|
+
* // "STRING_VALUE",
|
|
92
|
+
* // ],
|
|
93
|
+
* // EndsWith: [
|
|
94
|
+
* // "STRING_VALUE",
|
|
95
|
+
* // ],
|
|
96
|
+
* // NotEquals: [
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // NotStartsWith: [
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // NotEndsWith: "<Operator>",
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // };
|
|
108
|
+
*
|
|
62
109
|
* ```
|
|
63
110
|
*
|
|
64
111
|
* @param GetEventSelectorsCommandInput - {@link GetEventSelectorsCommandInput}
|
|
@@ -117,6 +164,8 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
|
|
|
117
164
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
118
165
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
119
166
|
*
|
|
167
|
+
* @throws {@link CloudTrailServiceException}
|
|
168
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
120
169
|
*
|
|
121
170
|
*/
|
|
122
171
|
export declare class GetEventSelectorsCommand extends $Command<GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -31,6 +31,32 @@ export interface GetImportCommandOutput extends GetImportResponse, __MetadataBea
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetImportCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetImportResponse
|
|
35
|
+
* // ImportId: "STRING_VALUE",
|
|
36
|
+
* // Destinations: [ // ImportDestinations
|
|
37
|
+
* // "STRING_VALUE",
|
|
38
|
+
* // ],
|
|
39
|
+
* // ImportSource: { // ImportSource
|
|
40
|
+
* // S3: { // S3ImportSource
|
|
41
|
+
* // S3LocationUri: "STRING_VALUE", // required
|
|
42
|
+
* // S3BucketRegion: "STRING_VALUE", // required
|
|
43
|
+
* // S3BucketAccessRoleArn: "STRING_VALUE", // required
|
|
44
|
+
* // },
|
|
45
|
+
* // },
|
|
46
|
+
* // StartEventTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // EndEventTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // ImportStatus: "INITIALIZING" || "IN_PROGRESS" || "FAILED" || "STOPPED" || "COMPLETED",
|
|
49
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"),
|
|
50
|
+
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
51
|
+
* // ImportStatistics: { // ImportStatistics
|
|
52
|
+
* // PrefixesFound: Number("long"),
|
|
53
|
+
* // PrefixesCompleted: Number("long"),
|
|
54
|
+
* // FilesCompleted: Number("long"),
|
|
55
|
+
* // EventsCompleted: Number("long"),
|
|
56
|
+
* // FailedEntries: Number("long"),
|
|
57
|
+
* // },
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
34
60
|
* ```
|
|
35
61
|
*
|
|
36
62
|
* @param GetImportCommandInput - {@link GetImportCommandInput}
|
|
@@ -51,6 +77,8 @@ export interface GetImportCommandOutput extends GetImportResponse, __MetadataBea
|
|
|
51
77
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
52
78
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
53
79
|
*
|
|
80
|
+
* @throws {@link CloudTrailServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
54
82
|
*
|
|
55
83
|
*/
|
|
56
84
|
export declare class GetImportCommand extends $Command<GetImportCommandInput, GetImportCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -37,6 +37,15 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetInsightSelectorsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // GetInsightSelectorsResponse
|
|
41
|
+
* // TrailARN: "STRING_VALUE",
|
|
42
|
+
* // InsightSelectors: [ // InsightSelectors
|
|
43
|
+
* // { // InsightSelector
|
|
44
|
+
* // InsightType: "ApiCallRateInsight" || "ApiErrorRateInsight",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
40
49
|
* ```
|
|
41
50
|
*
|
|
42
51
|
* @param GetInsightSelectorsCommandInput - {@link GetInsightSelectorsCommandInput}
|
|
@@ -100,6 +109,8 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
|
|
|
100
109
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
101
110
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
102
111
|
*
|
|
112
|
+
* @throws {@link CloudTrailServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
103
114
|
*
|
|
104
115
|
*/
|
|
105
116
|
export declare class GetInsightSelectorsCommand extends $Command<GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -36,6 +36,24 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new GetQueryResultsCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // GetQueryResultsResponse
|
|
40
|
+
* // QueryStatus: "QUEUED" || "RUNNING" || "FINISHED" || "FAILED" || "CANCELLED" || "TIMED_OUT",
|
|
41
|
+
* // QueryStatistics: { // QueryStatistics
|
|
42
|
+
* // ResultsCount: Number("int"),
|
|
43
|
+
* // TotalResultsCount: Number("int"),
|
|
44
|
+
* // BytesScanned: Number("long"),
|
|
45
|
+
* // },
|
|
46
|
+
* // QueryResultRows: [ // QueryResultRows
|
|
47
|
+
* // [ // QueryResultRow
|
|
48
|
+
* // { // QueryResultColumn
|
|
49
|
+
* // "<keys>": "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // ],
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
39
57
|
* ```
|
|
40
58
|
*
|
|
41
59
|
* @param GetQueryResultsCommandInput - {@link GetQueryResultsCommandInput}
|
|
@@ -81,6 +99,8 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
|
|
|
81
99
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
82
100
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
83
101
|
*
|
|
102
|
+
* @throws {@link CloudTrailServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
84
104
|
*
|
|
85
105
|
*/
|
|
86
106
|
export declare class GetQueryResultsCommand extends $Command<GetQueryResultsCommandInput, GetQueryResultsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
@@ -33,6 +33,11 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetResourcePolicyCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetResourcePolicyResponse
|
|
37
|
+
* // ResourceArn: "STRING_VALUE",
|
|
38
|
+
* // ResourcePolicy: "STRING_VALUE",
|
|
39
|
+
* // };
|
|
40
|
+
*
|
|
36
41
|
* ```
|
|
37
42
|
*
|
|
38
43
|
* @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
|
|
@@ -64,6 +69,8 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
|
|
|
64
69
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
65
70
|
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
66
71
|
*
|
|
72
|
+
* @throws {@link CloudTrailServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
67
74
|
*
|
|
68
75
|
*/
|
|
69
76
|
export declare class GetResourcePolicyCommand extends $Command<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, CloudTrailClientResolvedConfig> {
|