cdk-docker-image-deployment 0.0.150 → 0.0.151
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/.jsii +3 -3
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +30 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +104 -86
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +3 -0
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +204 -55
- package/node_modules/aws-sdk/apis/cloudtrail-data-2021-08-11.examples.json +5 -0
- package/node_modules/aws-sdk/apis/cloudtrail-data-2021-08-11.min.json +94 -0
- package/node_modules/aws-sdk/apis/cloudtrail-data-2021-08-11.paginators.json +4 -0
- package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.min.json +73 -21
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1477 -1297
- package/node_modules/aws-sdk/apis/groundstation-2019-05-23.min.json +312 -41
- package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +4 -1
- package/node_modules/aws-sdk/apis/metadata.json +4 -0
- package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +192 -176
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +630 -585
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +173 -157
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/appsync.d.ts +20 -2
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +1 -0
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +234 -40
- package/node_modules/aws-sdk/clients/cloudtraildata.d.ts +111 -0
- package/node_modules/aws-sdk/clients/cloudtraildata.js +18 -0
- package/node_modules/aws-sdk/clients/codeartifact.d.ts +43 -6
- package/node_modules/aws-sdk/clients/ec2.d.ts +212 -15
- package/node_modules/aws-sdk/clients/groundstation.d.ts +284 -0
- package/node_modules/aws-sdk/clients/iot.d.ts +4 -0
- package/node_modules/aws-sdk/clients/opensearch.d.ts +31 -0
- package/node_modules/aws-sdk/clients/polly.d.ts +1 -1
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +57 -1
- package/node_modules/aws-sdk/clients/securityhub.d.ts +26 -3
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +51 -14
- package/node_modules/aws-sdk/dist/aws-sdk.js +1695 -1356
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +94 -94
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +5 -6
|
@@ -12,11 +12,11 @@ declare class CloudTrail extends Service {
|
|
|
12
12
|
constructor(options?: CloudTrail.Types.ClientConfiguration)
|
|
13
13
|
config: Config & CloudTrail.Types.ClientConfiguration;
|
|
14
14
|
/**
|
|
15
|
-
* Adds one or more tags to a trail
|
|
15
|
+
* Adds one or more tags to a trail, event data store, or channel, up to a limit of 50. Overwrites an existing tag's value when a new value is specified for an existing tag key. Tag key names must be unique; you cannot have two keys with the same name but different values. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail or event data store that applies to all Amazon Web Services Regions only from the Region in which the trail or event data store was created (also known as its home region).
|
|
16
16
|
*/
|
|
17
17
|
addTags(params: CloudTrail.Types.AddTagsRequest, callback?: (err: AWSError, data: CloudTrail.Types.AddTagsResponse) => void): Request<CloudTrail.Types.AddTagsResponse, AWSError>;
|
|
18
18
|
/**
|
|
19
|
-
* Adds one or more tags to a trail
|
|
19
|
+
* Adds one or more tags to a trail, event data store, or channel, up to a limit of 50. Overwrites an existing tag's value when a new value is specified for an existing tag key. Tag key names must be unique; you cannot have two keys with the same name but different values. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail or event data store that applies to all Amazon Web Services Regions only from the Region in which the trail or event data store was created (also known as its home region).
|
|
20
20
|
*/
|
|
21
21
|
addTags(callback?: (err: AWSError, data: CloudTrail.Types.AddTagsResponse) => void): Request<CloudTrail.Types.AddTagsResponse, AWSError>;
|
|
22
22
|
/**
|
|
@@ -27,6 +27,14 @@ declare class CloudTrail extends Service {
|
|
|
27
27
|
* Cancels a query if the query is not in a terminated state, such as CANCELLED, FAILED, TIMED_OUT, or FINISHED. You must specify an ARN value for EventDataStore. The ID of the query that you want to cancel is also required. When you run CancelQuery, the query status might show as CANCELLED even if the operation is not yet finished.
|
|
28
28
|
*/
|
|
29
29
|
cancelQuery(callback?: (err: AWSError, data: CloudTrail.Types.CancelQueryResponse) => void): Request<CloudTrail.Types.CancelQueryResponse, AWSError>;
|
|
30
|
+
/**
|
|
31
|
+
* Creates a channel for CloudTrail to ingest events from a partner or external source. After you create a channel, a CloudTrail Lake event data store can log events from the partner or source that you specify.
|
|
32
|
+
*/
|
|
33
|
+
createChannel(params: CloudTrail.Types.CreateChannelRequest, callback?: (err: AWSError, data: CloudTrail.Types.CreateChannelResponse) => void): Request<CloudTrail.Types.CreateChannelResponse, AWSError>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates a channel for CloudTrail to ingest events from a partner or external source. After you create a channel, a CloudTrail Lake event data store can log events from the partner or source that you specify.
|
|
36
|
+
*/
|
|
37
|
+
createChannel(callback?: (err: AWSError, data: CloudTrail.Types.CreateChannelResponse) => void): Request<CloudTrail.Types.CreateChannelResponse, AWSError>;
|
|
30
38
|
/**
|
|
31
39
|
* Creates a new event data store.
|
|
32
40
|
*/
|
|
@@ -43,6 +51,14 @@ declare class CloudTrail extends Service {
|
|
|
43
51
|
* Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
|
|
44
52
|
*/
|
|
45
53
|
createTrail(callback?: (err: AWSError, data: CloudTrail.Types.CreateTrailResponse) => void): Request<CloudTrail.Types.CreateTrailResponse, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Deletes a channel.
|
|
56
|
+
*/
|
|
57
|
+
deleteChannel(params: CloudTrail.Types.DeleteChannelRequest, callback?: (err: AWSError, data: CloudTrail.Types.DeleteChannelResponse) => void): Request<CloudTrail.Types.DeleteChannelResponse, AWSError>;
|
|
58
|
+
/**
|
|
59
|
+
* Deletes a channel.
|
|
60
|
+
*/
|
|
61
|
+
deleteChannel(callback?: (err: AWSError, data: CloudTrail.Types.DeleteChannelResponse) => void): Request<CloudTrail.Types.DeleteChannelResponse, AWSError>;
|
|
46
62
|
/**
|
|
47
63
|
* Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store; this operation cannot work if TerminationProtectionEnabled is True. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs.
|
|
48
64
|
*/
|
|
@@ -51,6 +67,14 @@ declare class CloudTrail extends Service {
|
|
|
51
67
|
* Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store; this operation cannot work if TerminationProtectionEnabled is True. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs.
|
|
52
68
|
*/
|
|
53
69
|
deleteEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.DeleteEventDataStoreResponse) => void): Request<CloudTrail.Types.DeleteEventDataStoreResponse, AWSError>;
|
|
70
|
+
/**
|
|
71
|
+
* Deletes the resource-based policy attached to the CloudTrail channel.
|
|
72
|
+
*/
|
|
73
|
+
deleteResourcePolicy(params: CloudTrail.Types.DeleteResourcePolicyRequest, callback?: (err: AWSError, data: CloudTrail.Types.DeleteResourcePolicyResponse) => void): Request<CloudTrail.Types.DeleteResourcePolicyResponse, AWSError>;
|
|
74
|
+
/**
|
|
75
|
+
* Deletes the resource-based policy attached to the CloudTrail channel.
|
|
76
|
+
*/
|
|
77
|
+
deleteResourcePolicy(callback?: (err: AWSError, data: CloudTrail.Types.DeleteResourcePolicyResponse) => void): Request<CloudTrail.Types.DeleteResourcePolicyResponse, AWSError>;
|
|
54
78
|
/**
|
|
55
79
|
* Deletes a trail. This operation must be called from the region in which the trail was created. DeleteTrail cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.
|
|
56
80
|
*/
|
|
@@ -84,11 +108,11 @@ declare class CloudTrail extends Service {
|
|
|
84
108
|
*/
|
|
85
109
|
describeTrails(callback?: (err: AWSError, data: CloudTrail.Types.DescribeTrailsResponse) => void): Request<CloudTrail.Types.DescribeTrailsResponse, AWSError>;
|
|
86
110
|
/**
|
|
87
|
-
* Returns information about a specific channel.
|
|
111
|
+
* Returns information about a specific channel.
|
|
88
112
|
*/
|
|
89
113
|
getChannel(params: CloudTrail.Types.GetChannelRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetChannelResponse) => void): Request<CloudTrail.Types.GetChannelResponse, AWSError>;
|
|
90
114
|
/**
|
|
91
|
-
* Returns information about a specific channel.
|
|
115
|
+
* Returns information about a specific channel.
|
|
92
116
|
*/
|
|
93
117
|
getChannel(callback?: (err: AWSError, data: CloudTrail.Types.GetChannelResponse) => void): Request<CloudTrail.Types.GetChannelResponse, AWSError>;
|
|
94
118
|
/**
|
|
@@ -131,6 +155,14 @@ declare class CloudTrail extends Service {
|
|
|
131
155
|
* Gets event data results of a query. You must specify the QueryID value returned by the StartQuery operation, and an ARN for EventDataStore.
|
|
132
156
|
*/
|
|
133
157
|
getQueryResults(callback?: (err: AWSError, data: CloudTrail.Types.GetQueryResultsResponse) => void): Request<CloudTrail.Types.GetQueryResultsResponse, AWSError>;
|
|
158
|
+
/**
|
|
159
|
+
* Retrieves the JSON text of the resource-based policy document attached to the CloudTrail channel.
|
|
160
|
+
*/
|
|
161
|
+
getResourcePolicy(params: CloudTrail.Types.GetResourcePolicyRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetResourcePolicyResponse) => void): Request<CloudTrail.Types.GetResourcePolicyResponse, AWSError>;
|
|
162
|
+
/**
|
|
163
|
+
* Retrieves the JSON text of the resource-based policy document attached to the CloudTrail channel.
|
|
164
|
+
*/
|
|
165
|
+
getResourcePolicy(callback?: (err: AWSError, data: CloudTrail.Types.GetResourcePolicyResponse) => void): Request<CloudTrail.Types.GetResourcePolicyResponse, AWSError>;
|
|
134
166
|
/**
|
|
135
167
|
* Returns settings information for a specified trail.
|
|
136
168
|
*/
|
|
@@ -148,11 +180,11 @@ declare class CloudTrail extends Service {
|
|
|
148
180
|
*/
|
|
149
181
|
getTrailStatus(callback?: (err: AWSError, data: CloudTrail.Types.GetTrailStatusResponse) => void): Request<CloudTrail.Types.GetTrailStatusResponse, AWSError>;
|
|
150
182
|
/**
|
|
151
|
-
* Lists the channels in the current account, and their source names.
|
|
183
|
+
* Lists the channels in the current account, and their source names.
|
|
152
184
|
*/
|
|
153
185
|
listChannels(params: CloudTrail.Types.ListChannelsRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListChannelsResponse) => void): Request<CloudTrail.Types.ListChannelsResponse, AWSError>;
|
|
154
186
|
/**
|
|
155
|
-
* Lists the channels in the current account, and their source names.
|
|
187
|
+
* Lists the channels in the current account, and their source names.
|
|
156
188
|
*/
|
|
157
189
|
listChannels(callback?: (err: AWSError, data: CloudTrail.Types.ListChannelsResponse) => void): Request<CloudTrail.Types.ListChannelsResponse, AWSError>;
|
|
158
190
|
/**
|
|
@@ -196,11 +228,11 @@ declare class CloudTrail extends Service {
|
|
|
196
228
|
*/
|
|
197
229
|
listQueries(callback?: (err: AWSError, data: CloudTrail.Types.ListQueriesResponse) => void): Request<CloudTrail.Types.ListQueriesResponse, AWSError>;
|
|
198
230
|
/**
|
|
199
|
-
* Lists the tags for the trail
|
|
231
|
+
* Lists the tags for the trail, event data store, or channel in the current region.
|
|
200
232
|
*/
|
|
201
233
|
listTags(params: CloudTrail.Types.ListTagsRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListTagsResponse) => void): Request<CloudTrail.Types.ListTagsResponse, AWSError>;
|
|
202
234
|
/**
|
|
203
|
-
* Lists the tags for the trail
|
|
235
|
+
* Lists the tags for the trail, event data store, or channel in the current region.
|
|
204
236
|
*/
|
|
205
237
|
listTags(callback?: (err: AWSError, data: CloudTrail.Types.ListTagsResponse) => void): Request<CloudTrail.Types.ListTagsResponse, AWSError>;
|
|
206
238
|
/**
|
|
@@ -235,6 +267,14 @@ declare class CloudTrail extends Service {
|
|
|
235
267
|
* Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of insight types. The valid Insights event types in this release are ApiErrorRateInsight and ApiCallRateInsight.
|
|
236
268
|
*/
|
|
237
269
|
putInsightSelectors(callback?: (err: AWSError, data: CloudTrail.Types.PutInsightSelectorsResponse) => void): Request<CloudTrail.Types.PutInsightSelectorsResponse, AWSError>;
|
|
270
|
+
/**
|
|
271
|
+
* Attaches a resource-based permission policy to a CloudTrail channel that is used for an integration with an event source outside of Amazon Web Services. For more information about resource-based policies, see CloudTrail resource-based policy examples in the CloudTrail User Guide.
|
|
272
|
+
*/
|
|
273
|
+
putResourcePolicy(params: CloudTrail.Types.PutResourcePolicyRequest, callback?: (err: AWSError, data: CloudTrail.Types.PutResourcePolicyResponse) => void): Request<CloudTrail.Types.PutResourcePolicyResponse, AWSError>;
|
|
274
|
+
/**
|
|
275
|
+
* Attaches a resource-based permission policy to a CloudTrail channel that is used for an integration with an event source outside of Amazon Web Services. For more information about resource-based policies, see CloudTrail resource-based policy examples in the CloudTrail User Guide.
|
|
276
|
+
*/
|
|
277
|
+
putResourcePolicy(callback?: (err: AWSError, data: CloudTrail.Types.PutResourcePolicyResponse) => void): Request<CloudTrail.Types.PutResourcePolicyResponse, AWSError>;
|
|
238
278
|
/**
|
|
239
279
|
* Registers an organization’s member account as the CloudTrail delegated administrator.
|
|
240
280
|
*/
|
|
@@ -244,11 +284,11 @@ declare class CloudTrail extends Service {
|
|
|
244
284
|
*/
|
|
245
285
|
registerOrganizationDelegatedAdmin(callback?: (err: AWSError, data: CloudTrail.Types.RegisterOrganizationDelegatedAdminResponse) => void): Request<CloudTrail.Types.RegisterOrganizationDelegatedAdminResponse, AWSError>;
|
|
246
286
|
/**
|
|
247
|
-
* Removes the specified tags from a trail
|
|
287
|
+
* Removes the specified tags from a trail, event data store, or channel.
|
|
248
288
|
*/
|
|
249
289
|
removeTags(params: CloudTrail.Types.RemoveTagsRequest, callback?: (err: AWSError, data: CloudTrail.Types.RemoveTagsResponse) => void): Request<CloudTrail.Types.RemoveTagsResponse, AWSError>;
|
|
250
290
|
/**
|
|
251
|
-
* Removes the specified tags from a trail
|
|
291
|
+
* Removes the specified tags from a trail, event data store, or channel.
|
|
252
292
|
*/
|
|
253
293
|
removeTags(callback?: (err: AWSError, data: CloudTrail.Types.RemoveTagsResponse) => void): Request<CloudTrail.Types.RemoveTagsResponse, AWSError>;
|
|
254
294
|
/**
|
|
@@ -260,11 +300,11 @@ declare class CloudTrail extends Service {
|
|
|
260
300
|
*/
|
|
261
301
|
restoreEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.RestoreEventDataStoreResponse) => void): Request<CloudTrail.Types.RestoreEventDataStoreResponse, AWSError>;
|
|
262
302
|
/**
|
|
263
|
-
* Starts an import of logged trail events from a source S3 bucket to a destination event data store. By default, CloudTrail only imports events contained in the S3 bucket's CloudTrail prefix and the prefixes inside the CloudTrail prefix, and does not check prefixes for other Amazon Web Services services. If you want to import CloudTrail events contained in another prefix, you must include the prefix in the S3LocationUri. For more considerations about importing trail events, see Considerations. When you start a new import, the Destinations and ImportSource parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket. For more information about disabling ACLs, see Controlling ownership of objects and disabling ACLs for your bucket. When you retry an import, the ImportID parameter is required.
|
|
303
|
+
* Starts an import of logged trail events from a source S3 bucket to a destination event data store. By default, CloudTrail only imports events contained in the S3 bucket's CloudTrail prefix and the prefixes inside the CloudTrail prefix, and does not check prefixes for other Amazon Web Services services. If you want to import CloudTrail events contained in another prefix, you must include the prefix in the S3LocationUri. For more considerations about importing trail events, see Considerations. When you start a new import, the Destinations and ImportSource parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket. For more information about disabling ACLs, see Controlling ownership of objects and disabling ACLs for your bucket. When you retry an import, the ImportID parameter is required. If the destination event data store is for an organization, you must use the management account to import trail events. You cannot use the delegated administrator account for the organization.
|
|
264
304
|
*/
|
|
265
305
|
startImport(params: CloudTrail.Types.StartImportRequest, callback?: (err: AWSError, data: CloudTrail.Types.StartImportResponse) => void): Request<CloudTrail.Types.StartImportResponse, AWSError>;
|
|
266
306
|
/**
|
|
267
|
-
* Starts an import of logged trail events from a source S3 bucket to a destination event data store. By default, CloudTrail only imports events contained in the S3 bucket's CloudTrail prefix and the prefixes inside the CloudTrail prefix, and does not check prefixes for other Amazon Web Services services. If you want to import CloudTrail events contained in another prefix, you must include the prefix in the S3LocationUri. For more considerations about importing trail events, see Considerations. When you start a new import, the Destinations and ImportSource parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket. For more information about disabling ACLs, see Controlling ownership of objects and disabling ACLs for your bucket. When you retry an import, the ImportID parameter is required.
|
|
307
|
+
* Starts an import of logged trail events from a source S3 bucket to a destination event data store. By default, CloudTrail only imports events contained in the S3 bucket's CloudTrail prefix and the prefixes inside the CloudTrail prefix, and does not check prefixes for other Amazon Web Services services. If you want to import CloudTrail events contained in another prefix, you must include the prefix in the S3LocationUri. For more considerations about importing trail events, see Considerations. When you start a new import, the Destinations and ImportSource parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket. For more information about disabling ACLs, see Controlling ownership of objects and disabling ACLs for your bucket. When you retry an import, the ImportID parameter is required. If the destination event data store is for an organization, you must use the management account to import trail events. You cannot use the delegated administrator account for the organization.
|
|
268
308
|
*/
|
|
269
309
|
startImport(callback?: (err: AWSError, data: CloudTrail.Types.StartImportResponse) => void): Request<CloudTrail.Types.StartImportResponse, AWSError>;
|
|
270
310
|
/**
|
|
@@ -300,11 +340,19 @@ declare class CloudTrail extends Service {
|
|
|
300
340
|
*/
|
|
301
341
|
stopLogging(callback?: (err: AWSError, data: CloudTrail.Types.StopLoggingResponse) => void): Request<CloudTrail.Types.StopLoggingResponse, AWSError>;
|
|
302
342
|
/**
|
|
303
|
-
* Updates
|
|
343
|
+
* Updates a channel specified by a required channel ARN or UUID.
|
|
344
|
+
*/
|
|
345
|
+
updateChannel(params: CloudTrail.Types.UpdateChannelRequest, callback?: (err: AWSError, data: CloudTrail.Types.UpdateChannelResponse) => void): Request<CloudTrail.Types.UpdateChannelResponse, AWSError>;
|
|
346
|
+
/**
|
|
347
|
+
* Updates a channel specified by a required channel ARN or UUID.
|
|
348
|
+
*/
|
|
349
|
+
updateChannel(callback?: (err: AWSError, data: CloudTrail.Types.UpdateChannelResponse) => void): Request<CloudTrail.Types.UpdateChannelResponse, AWSError>;
|
|
350
|
+
/**
|
|
351
|
+
* Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 90 and 2557. By default, TerminationProtection is enabled. For event data stores for CloudTrail events, AdvancedEventSelectors includes or excludes management and data events in your event data store. For more information about AdvancedEventSelectors, see PutEventSelectorsRequest$AdvancedEventSelectors. For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, AdvancedEventSelectors includes events of that type in your event data store.
|
|
304
352
|
*/
|
|
305
353
|
updateEventDataStore(params: CloudTrail.Types.UpdateEventDataStoreRequest, callback?: (err: AWSError, data: CloudTrail.Types.UpdateEventDataStoreResponse) => void): Request<CloudTrail.Types.UpdateEventDataStoreResponse, AWSError>;
|
|
306
354
|
/**
|
|
307
|
-
* Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 90 and 2557. By default, TerminationProtection is enabled. AdvancedEventSelectors includes or excludes management and data events in your event data store
|
|
355
|
+
* Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 90 and 2557. By default, TerminationProtection is enabled. For event data stores for CloudTrail events, AdvancedEventSelectors includes or excludes management and data events in your event data store. For more information about AdvancedEventSelectors, see PutEventSelectorsRequest$AdvancedEventSelectors. For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, AdvancedEventSelectors includes events of that type in your event data store.
|
|
308
356
|
*/
|
|
309
357
|
updateEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.UpdateEventDataStoreResponse) => void): Request<CloudTrail.Types.UpdateEventDataStoreResponse, AWSError>;
|
|
310
358
|
/**
|
|
@@ -320,7 +368,7 @@ declare namespace CloudTrail {
|
|
|
320
368
|
export type AccountId = string;
|
|
321
369
|
export interface AddTagsRequest {
|
|
322
370
|
/**
|
|
323
|
-
* Specifies the ARN of the trail
|
|
371
|
+
* Specifies the ARN of the trail, event data store, or channel to which one or more tags will be added. The format of a trail ARN is: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail The format of an event data store ARN is: arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE The format of a channel ARN is: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
|
|
324
372
|
*/
|
|
325
373
|
ResourceId: String;
|
|
326
374
|
/**
|
|
@@ -343,7 +391,7 @@ declare namespace CloudTrail {
|
|
|
343
391
|
export type AdvancedEventSelectors = AdvancedEventSelector[];
|
|
344
392
|
export interface AdvancedFieldSelector {
|
|
345
393
|
/**
|
|
346
|
-
* A field in
|
|
394
|
+
* A field in a CloudTrail event record on which to filter events to be logged. For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the field is used only for selecting events as filtering is not supported. For CloudTrail event records, supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN. For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the only supported field is eventCategory. readOnly - Optional. Can be set to Equals a value of true or false. If you do not add this field, CloudTrail logs both read and write events. A value of true logs only read events. A value of false logs only write events. eventSource - For filtering management events only. This can be set only to NotEquals kms.amazonaws.com. eventName - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as PutBucket or GetSnapshotBlock. You can have multiple values for this field, separated by commas. eventCategory - This is required and must be set to Equals. For CloudTrail event records, the value must be Management or Data. For Config configuration items, the value must be ConfigurationItem. For Audit Manager evidence, the value must be Evidence. For non-Amazon Web Services events, the value must be ActivityAuditLog. resources.type - This field is required for CloudTrail data events. resources.type can only use the Equals operator, and the value can be one of the following: AWS::CloudTrail::Channel AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream AWS::Glue::Table AWS::FinSpace::Environment AWS::SageMaker::ExperimentTrialComponent AWS::SageMaker::FeatureGroup You can have only one resources.type field per selector. To log data events on more than one resource type, add another selector. resources.ARN - You can use any operator with resources.ARN, but if you use Equals or NotEquals, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals AWS::S3::Object, the ARN must be in one of the following formats. To log all data events for all objects in a specific S3 bucket, use the StartsWith operator, and include only the bucket ARN as the matching value. The trailing slash is intentional; do not exclude it. Replace the text between less than and greater than symbols (<>) with resource-specific information. arn:<partition>:s3:::<bucket_name>/ arn:<partition>:s3:::<bucket_name>/<object_path>/ When resources.type equals AWS::S3::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in one of the following formats. To log events on all objects in an S3 access point, we recommend that you use only the access point ARN, don’t include the object path, and use the StartsWith or NotStartsWith operators. arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name> arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>/object/<object_path> When resources.type equals AWS::Lambda::Function, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:lambda:<region>:<account_ID>:function:<function_name> When resources.type equals AWS::DynamoDB::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name> When resources.type equals AWS::CloudTrail::Channel, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:cloudtrail:<region>:<account_ID>:channel/<channel_UUID> When resources.type equals AWS::S3Outposts::Object, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> When resources.type equals AWS::ManagedBlockchain::Node, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:s3-object-lambda:<region>:<account_ID>:accesspoint/<access_point_name> When resources.type equals AWS::EC2::Snapshot, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:ec2:<region>::snapshot/<snapshot_ID> When resources.type equals AWS::DynamoDB::Stream, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time> When resources.type equals AWS::Glue::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name> When resources.type equals AWS::FinSpace::Environment, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:finspace:<region>:<account_ID>:environment/<environment_ID> When resources.type equals AWS::SageMaker::ExperimentTrialComponent, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:sagemaker:<region>:<account_ID>:experiment-trial-component/<experiment_trial_component_name> When resources.type equals AWS::SageMaker::FeatureGroup, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:sagemaker:<region>:<account_ID>:feature-group/<feature_group_name>
|
|
347
395
|
*/
|
|
348
396
|
Field: SelectorField;
|
|
349
397
|
/**
|
|
@@ -407,13 +455,47 @@ declare namespace CloudTrail {
|
|
|
407
455
|
export type ChannelArn = string;
|
|
408
456
|
export type ChannelName = string;
|
|
409
457
|
export type Channels = Channel[];
|
|
458
|
+
export interface CreateChannelRequest {
|
|
459
|
+
/**
|
|
460
|
+
* The name of the channel.
|
|
461
|
+
*/
|
|
462
|
+
Name: ChannelName;
|
|
463
|
+
/**
|
|
464
|
+
* The name of the partner or external event source. You cannot change this name after you create the channel. A maximum of one channel is allowed per source. A source can be either Custom for all valid non-Amazon Web Services events, or the name of a partner event source. For information about the source names for available partners, see Additional information about integration partners in the CloudTrail User Guide.
|
|
465
|
+
*/
|
|
466
|
+
Source: Source;
|
|
467
|
+
/**
|
|
468
|
+
* One or more event data stores to which events arriving through a channel will be logged.
|
|
469
|
+
*/
|
|
470
|
+
Destinations: Destinations;
|
|
471
|
+
Tags?: TagsList;
|
|
472
|
+
}
|
|
473
|
+
export interface CreateChannelResponse {
|
|
474
|
+
/**
|
|
475
|
+
* The Amazon Resource Name (ARN) of the new channel.
|
|
476
|
+
*/
|
|
477
|
+
ChannelArn?: ChannelArn;
|
|
478
|
+
/**
|
|
479
|
+
* The name of the new channel.
|
|
480
|
+
*/
|
|
481
|
+
Name?: ChannelName;
|
|
482
|
+
/**
|
|
483
|
+
* The partner or external event source name.
|
|
484
|
+
*/
|
|
485
|
+
Source?: Source;
|
|
486
|
+
/**
|
|
487
|
+
* The event data stores that log the events arriving through the channel.
|
|
488
|
+
*/
|
|
489
|
+
Destinations?: Destinations;
|
|
490
|
+
Tags?: TagsList;
|
|
491
|
+
}
|
|
410
492
|
export interface CreateEventDataStoreRequest {
|
|
411
493
|
/**
|
|
412
494
|
* The name of the event data store.
|
|
413
495
|
*/
|
|
414
496
|
Name: EventDataStoreName;
|
|
415
497
|
/**
|
|
416
|
-
* The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.
|
|
498
|
+
* The advanced event selectors to use to select the events for the data store. You can configure up to five advanced event selectors for each event data store. For more information about how to use advanced event selectors to log CloudTrail events, see Log events by using advanced event selectors in the CloudTrail User Guide. For more information about how to use advanced event selectors to include Config configuration items in your event data store, see Create an event data store for Config configuration items in the CloudTrail User Guide. For more information about how to use advanced event selectors to include non-Amazon Web Services events in your event data store, see Create an integration to log events from outside Amazon Web Services in the CloudTrail User Guide.
|
|
417
499
|
*/
|
|
418
500
|
AdvancedEventSelectors?: AdvancedEventSelectors;
|
|
419
501
|
/**
|
|
@@ -515,11 +597,11 @@ declare namespace CloudTrail {
|
|
|
515
597
|
*/
|
|
516
598
|
EnableLogFileValidation?: Boolean;
|
|
517
599
|
/**
|
|
518
|
-
* Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn.
|
|
600
|
+
* Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. You must use a log group that exists in your account. Not required unless you specify CloudWatchLogsRoleArn.
|
|
519
601
|
*/
|
|
520
602
|
CloudWatchLogsLogGroupArn?: String;
|
|
521
603
|
/**
|
|
522
|
-
* Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
|
|
604
|
+
* Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. You must use a role that exists in your account.
|
|
523
605
|
*/
|
|
524
606
|
CloudWatchLogsRoleArn?: String;
|
|
525
607
|
/**
|
|
@@ -527,7 +609,7 @@ declare namespace CloudTrail {
|
|
|
527
609
|
*/
|
|
528
610
|
KmsKeyId?: String;
|
|
529
611
|
/**
|
|
530
|
-
* Specifies whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account. The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account for an organization in Organizations.
|
|
612
|
+
* Specifies whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account. The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account or delegated administrator account for an organization in Organizations.
|
|
531
613
|
*/
|
|
532
614
|
IsOrganizationTrail?: Boolean;
|
|
533
615
|
TagsList?: TagsList;
|
|
@@ -588,7 +670,7 @@ declare namespace CloudTrail {
|
|
|
588
670
|
}
|
|
589
671
|
export interface DataResource {
|
|
590
672
|
/**
|
|
591
|
-
* The resource type in which you want to log data events. You can specify the following basic event selector resource types: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table The following resource types are also available through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector$Field. AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream AWS::Glue::Table
|
|
673
|
+
* The resource type in which you want to log data events. You can specify the following basic event selector resource types: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table The following resource types are also available through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector$Field. AWS::CloudTrail::Channel AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream AWS::Glue::Table AWS::FinSpace::Environment AWS::SageMaker::ExperimentTrialComponent AWS::SageMaker::FeatureGroup
|
|
592
674
|
*/
|
|
593
675
|
Type?: String;
|
|
594
676
|
/**
|
|
@@ -599,6 +681,14 @@ declare namespace CloudTrail {
|
|
|
599
681
|
export type DataResourceValues = String[];
|
|
600
682
|
export type DataResources = DataResource[];
|
|
601
683
|
export type _Date = Date;
|
|
684
|
+
export interface DeleteChannelRequest {
|
|
685
|
+
/**
|
|
686
|
+
* The ARN or the UUID value of the channel that you want to delete.
|
|
687
|
+
*/
|
|
688
|
+
Channel: ChannelArn;
|
|
689
|
+
}
|
|
690
|
+
export interface DeleteChannelResponse {
|
|
691
|
+
}
|
|
602
692
|
export interface DeleteEventDataStoreRequest {
|
|
603
693
|
/**
|
|
604
694
|
* The ARN (or the ID suffix of the ARN) of the event data store to delete.
|
|
@@ -607,6 +697,14 @@ declare namespace CloudTrail {
|
|
|
607
697
|
}
|
|
608
698
|
export interface DeleteEventDataStoreResponse {
|
|
609
699
|
}
|
|
700
|
+
export interface DeleteResourcePolicyRequest {
|
|
701
|
+
/**
|
|
702
|
+
* The Amazon Resource Name (ARN) of the CloudTrail channel you're deleting the resource-based policy from. The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.
|
|
703
|
+
*/
|
|
704
|
+
ResourceArn: ResourceArn;
|
|
705
|
+
}
|
|
706
|
+
export interface DeleteResourcePolicyResponse {
|
|
707
|
+
}
|
|
610
708
|
export interface DeleteTrailRequest {
|
|
611
709
|
/**
|
|
612
710
|
* Specifies the name or the CloudTrail ARN of the trail to be deleted. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
|
|
@@ -667,7 +765,7 @@ declare namespace CloudTrail {
|
|
|
667
765
|
}
|
|
668
766
|
export interface DescribeTrailsRequest {
|
|
669
767
|
/**
|
|
670
|
-
* Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail If an empty list is specified, information for the trail in the current region is returned. If an empty list is specified and IncludeShadowTrails is false, then information for all trails in the current region is returned. If an empty list is specified and IncludeShadowTrails is null or true, then information for all trails in the current region and any associated shadow trails in other regions is returned. If one or more trail names are specified, information is returned only if the names match the names of trails belonging only to the current region. To return information about a trail in another region, you must specify its trail ARN.
|
|
768
|
+
* Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail If an empty list is specified, information for the trail in the current region is returned. If an empty list is specified and IncludeShadowTrails is false, then information for all trails in the current region is returned. If an empty list is specified and IncludeShadowTrails is null or true, then information for all trails in the current region and any associated shadow trails in other regions is returned. If one or more trail names are specified, information is returned only if the names match the names of trails belonging only to the current region and current account. To return information about a trail in another region, you must specify its trail ARN.
|
|
671
769
|
*/
|
|
672
770
|
trailNameList?: TrailNameList;
|
|
673
771
|
/**
|
|
@@ -683,11 +781,11 @@ declare namespace CloudTrail {
|
|
|
683
781
|
}
|
|
684
782
|
export interface Destination {
|
|
685
783
|
/**
|
|
686
|
-
* The type of destination for events arriving from a channel. For service-linked channels, the value is AWS_SERVICE.
|
|
784
|
+
* The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is EventDataStore. For service-linked channels, the value is AWS_SERVICE.
|
|
687
785
|
*/
|
|
688
786
|
Type: DestinationType;
|
|
689
787
|
/**
|
|
690
|
-
* For service-linked channels, the
|
|
788
|
+
* For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel. For service-linked channels, the location is the name of the Amazon Web Services service.
|
|
691
789
|
*/
|
|
692
790
|
Location: Location;
|
|
693
791
|
}
|
|
@@ -743,35 +841,35 @@ declare namespace CloudTrail {
|
|
|
743
841
|
*/
|
|
744
842
|
Name?: EventDataStoreName;
|
|
745
843
|
/**
|
|
746
|
-
*
|
|
844
|
+
* Indicates whether the event data store is protected from termination.
|
|
747
845
|
*/
|
|
748
846
|
TerminationProtectionEnabled?: TerminationProtectionEnabled;
|
|
749
847
|
/**
|
|
750
|
-
*
|
|
848
|
+
* The status of an event data store. Values are ENABLED and PENDING_DELETION.
|
|
751
849
|
*/
|
|
752
850
|
Status?: EventDataStoreStatus;
|
|
753
851
|
/**
|
|
754
|
-
*
|
|
852
|
+
* The advanced event selectors that were used to select events for the data store.
|
|
755
853
|
*/
|
|
756
854
|
AdvancedEventSelectors?: AdvancedEventSelectors;
|
|
757
855
|
/**
|
|
758
|
-
*
|
|
856
|
+
* Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
|
|
759
857
|
*/
|
|
760
858
|
MultiRegionEnabled?: Boolean;
|
|
761
859
|
/**
|
|
762
|
-
*
|
|
860
|
+
* Indicates that an event data store is collecting logged events for an organization.
|
|
763
861
|
*/
|
|
764
862
|
OrganizationEnabled?: Boolean;
|
|
765
863
|
/**
|
|
766
|
-
*
|
|
864
|
+
* The retention period, in days.
|
|
767
865
|
*/
|
|
768
866
|
RetentionPeriod?: RetentionPeriod;
|
|
769
867
|
/**
|
|
770
|
-
*
|
|
868
|
+
* The timestamp of the event data store's creation.
|
|
771
869
|
*/
|
|
772
870
|
CreatedTimestamp?: _Date;
|
|
773
871
|
/**
|
|
774
|
-
*
|
|
872
|
+
* The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
|
|
775
873
|
*/
|
|
776
874
|
UpdatedTimestamp?: _Date;
|
|
777
875
|
}
|
|
@@ -813,11 +911,11 @@ declare namespace CloudTrail {
|
|
|
813
911
|
*/
|
|
814
912
|
ChannelArn?: ChannelArn;
|
|
815
913
|
/**
|
|
816
|
-
* The name of the CloudTrail channel. For service-linked channels, the
|
|
914
|
+
* The name of the CloudTrail channel. For service-linked channels, the name is aws-service-channel/service-name/custom-suffix where service-name represents the name of the Amazon Web Services service that created the channel and custom-suffix represents the suffix generated by the Amazon Web Services service.
|
|
817
915
|
*/
|
|
818
916
|
Name?: ChannelName;
|
|
819
917
|
/**
|
|
820
|
-
* The
|
|
918
|
+
* The source for the CloudTrail channel.
|
|
821
919
|
*/
|
|
822
920
|
Source?: Source;
|
|
823
921
|
/**
|
|
@@ -825,9 +923,13 @@ declare namespace CloudTrail {
|
|
|
825
923
|
*/
|
|
826
924
|
SourceConfig?: SourceConfig;
|
|
827
925
|
/**
|
|
828
|
-
* The Amazon Web Services service that created the service-linked channel.
|
|
926
|
+
* The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.
|
|
829
927
|
*/
|
|
830
928
|
Destinations?: Destinations;
|
|
929
|
+
/**
|
|
930
|
+
* A table showing information about the most recent successful and failed attempts to ingest events.
|
|
931
|
+
*/
|
|
932
|
+
IngestionStatus?: IngestionStatus;
|
|
831
933
|
}
|
|
832
934
|
export interface GetEventDataStoreRequest {
|
|
833
935
|
/**
|
|
@@ -1001,6 +1103,22 @@ declare namespace CloudTrail {
|
|
|
1001
1103
|
*/
|
|
1002
1104
|
ErrorMessage?: ErrorMessage;
|
|
1003
1105
|
}
|
|
1106
|
+
export interface GetResourcePolicyRequest {
|
|
1107
|
+
/**
|
|
1108
|
+
* The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy. The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.
|
|
1109
|
+
*/
|
|
1110
|
+
ResourceArn: ResourceArn;
|
|
1111
|
+
}
|
|
1112
|
+
export interface GetResourcePolicyResponse {
|
|
1113
|
+
/**
|
|
1114
|
+
* The Amazon Resource Name (ARN) of the CloudTrail channel attached to resource-based policy.
|
|
1115
|
+
*/
|
|
1116
|
+
ResourceArn?: ResourceArn;
|
|
1117
|
+
/**
|
|
1118
|
+
* A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.
|
|
1119
|
+
*/
|
|
1120
|
+
ResourcePolicy?: ResourcePolicy;
|
|
1121
|
+
}
|
|
1004
1122
|
export interface GetTrailRequest {
|
|
1005
1123
|
/**
|
|
1006
1124
|
* The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.
|
|
@@ -1163,6 +1281,28 @@ declare namespace CloudTrail {
|
|
|
1163
1281
|
*/
|
|
1164
1282
|
UpdatedTimestamp?: _Date;
|
|
1165
1283
|
}
|
|
1284
|
+
export interface IngestionStatus {
|
|
1285
|
+
/**
|
|
1286
|
+
* The time stamp of the most recent successful ingestion of events for the channel.
|
|
1287
|
+
*/
|
|
1288
|
+
LatestIngestionSuccessTime?: _Date;
|
|
1289
|
+
/**
|
|
1290
|
+
* The event ID of the most recent successful ingestion of events.
|
|
1291
|
+
*/
|
|
1292
|
+
LatestIngestionSuccessEventID?: UUID;
|
|
1293
|
+
/**
|
|
1294
|
+
* The error code for the most recent failure to ingest events.
|
|
1295
|
+
*/
|
|
1296
|
+
LatestIngestionErrorCode?: ErrorMessage;
|
|
1297
|
+
/**
|
|
1298
|
+
* The time stamp of the most recent attempt to ingest events on the channel.
|
|
1299
|
+
*/
|
|
1300
|
+
LatestIngestionAttemptTime?: _Date;
|
|
1301
|
+
/**
|
|
1302
|
+
* The event ID of the most recent attempt to ingest events.
|
|
1303
|
+
*/
|
|
1304
|
+
LatestIngestionAttemptEventID?: UUID;
|
|
1305
|
+
}
|
|
1166
1306
|
export interface InsightSelector {
|
|
1167
1307
|
/**
|
|
1168
1308
|
* The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.
|
|
@@ -1331,7 +1471,7 @@ declare namespace CloudTrail {
|
|
|
1331
1471
|
}
|
|
1332
1472
|
export interface ListTagsRequest {
|
|
1333
1473
|
/**
|
|
1334
|
-
* Specifies a list of trail
|
|
1474
|
+
* Specifies a list of trail, event data store, or channel ARNs whose tags will be listed. The list has a limit of 20 ARNs.
|
|
1335
1475
|
*/
|
|
1336
1476
|
ResourceIdList: ResourceIdList;
|
|
1337
1477
|
/**
|
|
@@ -1489,6 +1629,26 @@ declare namespace CloudTrail {
|
|
|
1489
1629
|
*/
|
|
1490
1630
|
InsightSelectors?: InsightSelectors;
|
|
1491
1631
|
}
|
|
1632
|
+
export interface PutResourcePolicyRequest {
|
|
1633
|
+
/**
|
|
1634
|
+
* The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy. The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.
|
|
1635
|
+
*/
|
|
1636
|
+
ResourceArn: ResourceArn;
|
|
1637
|
+
/**
|
|
1638
|
+
* A JSON-formatted string for an Amazon Web Services resource-based policy. The following are requirements for the resource policy: Contains only one action: cloudtrail-data:PutAuditEvents Contains at least one statement. The policy can have a maximum of 20 statements. Each statement contains at least one principal. A statement can have a maximum of 50 principals.
|
|
1639
|
+
*/
|
|
1640
|
+
ResourcePolicy: ResourcePolicy;
|
|
1641
|
+
}
|
|
1642
|
+
export interface PutResourcePolicyResponse {
|
|
1643
|
+
/**
|
|
1644
|
+
* The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy.
|
|
1645
|
+
*/
|
|
1646
|
+
ResourceArn?: ResourceArn;
|
|
1647
|
+
/**
|
|
1648
|
+
* The JSON-formatted string of the Amazon Web Services resource-based policy attached to the CloudTrail channel.
|
|
1649
|
+
*/
|
|
1650
|
+
ResourcePolicy?: ResourcePolicy;
|
|
1651
|
+
}
|
|
1492
1652
|
export type Queries = Query[];
|
|
1493
1653
|
export interface Query {
|
|
1494
1654
|
/**
|
|
@@ -1558,7 +1718,7 @@ declare namespace CloudTrail {
|
|
|
1558
1718
|
}
|
|
1559
1719
|
export interface RemoveTagsRequest {
|
|
1560
1720
|
/**
|
|
1561
|
-
* Specifies the ARN of the trail
|
|
1721
|
+
* Specifies the ARN of the trail, event data store, or channel from which tags should be removed. Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail Example event data store ARN format: arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
|
|
1562
1722
|
*/
|
|
1563
1723
|
ResourceId: String;
|
|
1564
1724
|
/**
|
|
@@ -1578,8 +1738,10 @@ declare namespace CloudTrail {
|
|
|
1578
1738
|
*/
|
|
1579
1739
|
ResourceName?: String;
|
|
1580
1740
|
}
|
|
1741
|
+
export type ResourceArn = string;
|
|
1581
1742
|
export type ResourceIdList = String[];
|
|
1582
1743
|
export type ResourceList = Resource[];
|
|
1744
|
+
export type ResourcePolicy = string;
|
|
1583
1745
|
export interface ResourceTag {
|
|
1584
1746
|
/**
|
|
1585
1747
|
* Specifies the ARN of the resource.
|
|
@@ -1902,6 +2064,38 @@ declare namespace CloudTrail {
|
|
|
1902
2064
|
export type TrailNameList = String[];
|
|
1903
2065
|
export type Trails = TrailInfo[];
|
|
1904
2066
|
export type UUID = string;
|
|
2067
|
+
export interface UpdateChannelRequest {
|
|
2068
|
+
/**
|
|
2069
|
+
* The ARN or ID (the ARN suffix) of the channel that you want to update.
|
|
2070
|
+
*/
|
|
2071
|
+
Channel: ChannelArn;
|
|
2072
|
+
/**
|
|
2073
|
+
* The ARNs of event data stores that you want to log events arriving through the channel.
|
|
2074
|
+
*/
|
|
2075
|
+
Destinations?: Destinations;
|
|
2076
|
+
/**
|
|
2077
|
+
* Changes the name of the channel.
|
|
2078
|
+
*/
|
|
2079
|
+
Name?: ChannelName;
|
|
2080
|
+
}
|
|
2081
|
+
export interface UpdateChannelResponse {
|
|
2082
|
+
/**
|
|
2083
|
+
* The ARN of the channel that was updated.
|
|
2084
|
+
*/
|
|
2085
|
+
ChannelArn?: ChannelArn;
|
|
2086
|
+
/**
|
|
2087
|
+
* The name of the channel that was updated.
|
|
2088
|
+
*/
|
|
2089
|
+
Name?: ChannelName;
|
|
2090
|
+
/**
|
|
2091
|
+
* The event source of the channel that was updated.
|
|
2092
|
+
*/
|
|
2093
|
+
Source?: Source;
|
|
2094
|
+
/**
|
|
2095
|
+
* The event data stores that log events arriving through the channel.
|
|
2096
|
+
*/
|
|
2097
|
+
Destinations?: Destinations;
|
|
2098
|
+
}
|
|
1905
2099
|
export interface UpdateEventDataStoreRequest {
|
|
1906
2100
|
/**
|
|
1907
2101
|
* The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
|
|
@@ -2012,11 +2206,11 @@ declare namespace CloudTrail {
|
|
|
2012
2206
|
*/
|
|
2013
2207
|
EnableLogFileValidation?: Boolean;
|
|
2014
2208
|
/**
|
|
2015
|
-
* Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs are delivered. Not required unless you specify CloudWatchLogsRoleArn.
|
|
2209
|
+
* Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs are delivered. You must use a log group that exists in your account. Not required unless you specify CloudWatchLogsRoleArn.
|
|
2016
2210
|
*/
|
|
2017
2211
|
CloudWatchLogsLogGroupArn?: String;
|
|
2018
2212
|
/**
|
|
2019
|
-
* Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
|
|
2213
|
+
* Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. You must use a role that exists in your account.
|
|
2020
2214
|
*/
|
|
2021
2215
|
CloudWatchLogsRoleArn?: String;
|
|
2022
2216
|
/**
|
|
@@ -2024,7 +2218,7 @@ declare namespace CloudTrail {
|
|
|
2024
2218
|
*/
|
|
2025
2219
|
KmsKeyId?: String;
|
|
2026
2220
|
/**
|
|
2027
|
-
* Specifies whether the trail is applied to all accounts in an organization in Organizations, or only for the current Amazon Web Services account. The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account for an organization in Organizations. If the trail is not an organization trail and this is set to true, the trail will be created in all Amazon Web Services accounts that belong to the organization. If the trail is an organization trail and this is set to false, the trail will remain in the current Amazon Web Services account but be deleted from all member accounts in the organization.
|
|
2221
|
+
* Specifies whether the trail is applied to all accounts in an organization in Organizations, or only for the current Amazon Web Services account. The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account or delegated administrator account for an organization in Organizations. If the trail is not an organization trail and this is set to true, the trail will be created in all Amazon Web Services accounts that belong to the organization. If the trail is an organization trail and this is set to false, the trail will remain in the current Amazon Web Services account but be deleted from all member accounts in the organization.
|
|
2028
2222
|
*/
|
|
2029
2223
|
IsOrganizationTrail?: Boolean;
|
|
2030
2224
|
}
|