cdk-comprehend-s3olap 2.0.100 → 2.0.101
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/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +7 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +247 -3
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1075 -1058
- package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +21 -0
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +335 -6
- package/node_modules/aws-sdk/clients/ec2.d.ts +53 -37
- package/node_modules/aws-sdk/clients/mediaconnect.d.ts +25 -1
- package/node_modules/aws-sdk/clients/rds.d.ts +18 -18
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +5 -5
- package/node_modules/aws-sdk/dist/aws-sdk.js +1337 -1064
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +82 -82
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +5 -5
@@ -1243,6 +1243,13 @@
|
|
1243
1243
|
"location": "uri",
|
1244
1244
|
"locationName": "sourceArn"
|
1245
1245
|
},
|
1246
|
+
"SourceListenerAddress": {
|
1247
|
+
"locationName": "sourceListenerAddress"
|
1248
|
+
},
|
1249
|
+
"SourceListenerPort": {
|
1250
|
+
"locationName": "sourceListenerPort",
|
1251
|
+
"type": "integer"
|
1252
|
+
},
|
1246
1253
|
"StreamId": {
|
1247
1254
|
"locationName": "streamId"
|
1248
1255
|
},
|
@@ -1780,6 +1787,13 @@
|
|
1780
1787
|
"locationName": "smoothingLatency",
|
1781
1788
|
"type": "integer"
|
1782
1789
|
},
|
1790
|
+
"SourceListenerAddress": {
|
1791
|
+
"locationName": "sourceListenerAddress"
|
1792
|
+
},
|
1793
|
+
"SourceListenerPort": {
|
1794
|
+
"locationName": "sourceListenerPort",
|
1795
|
+
"type": "integer"
|
1796
|
+
},
|
1783
1797
|
"StreamId": {
|
1784
1798
|
"locationName": "streamId"
|
1785
1799
|
}
|
@@ -1844,6 +1858,13 @@
|
|
1844
1858
|
"SenderIpAddress": {
|
1845
1859
|
"locationName": "senderIpAddress"
|
1846
1860
|
},
|
1861
|
+
"SourceListenerAddress": {
|
1862
|
+
"locationName": "sourceListenerAddress"
|
1863
|
+
},
|
1864
|
+
"SourceListenerPort": {
|
1865
|
+
"locationName": "sourceListenerPort",
|
1866
|
+
"type": "integer"
|
1867
|
+
},
|
1847
1868
|
"StreamId": {
|
1848
1869
|
"locationName": "streamId"
|
1849
1870
|
},
|
@@ -92,13 +92,21 @@ declare class CloudTrail extends Service {
|
|
92
92
|
*/
|
93
93
|
getEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.GetEventDataStoreResponse) => void): Request<CloudTrail.Types.GetEventDataStoreResponse, AWSError>;
|
94
94
|
/**
|
95
|
-
* Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events. If your event selector includes management events. If your event selector includes data events, the resources on which you are logging data events. For more information
|
95
|
+
* Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events. If your event selector includes management events. If your event selector includes data events, the resources on which you are logging data events. For more information about logging management and data events, see the following topics in the CloudTrail User Guide: Logging management events for trails Logging data events for trails
|
96
96
|
*/
|
97
97
|
getEventSelectors(params: CloudTrail.Types.GetEventSelectorsRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetEventSelectorsResponse) => void): Request<CloudTrail.Types.GetEventSelectorsResponse, AWSError>;
|
98
98
|
/**
|
99
|
-
* Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events. If your event selector includes management events. If your event selector includes data events, the resources on which you are logging data events. For more information
|
99
|
+
* Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events. If your event selector includes management events. If your event selector includes data events, the resources on which you are logging data events. For more information about logging management and data events, see the following topics in the CloudTrail User Guide: Logging management events for trails Logging data events for trails
|
100
100
|
*/
|
101
101
|
getEventSelectors(callback?: (err: AWSError, data: CloudTrail.Types.GetEventSelectorsResponse) => void): Request<CloudTrail.Types.GetEventSelectorsResponse, AWSError>;
|
102
|
+
/**
|
103
|
+
* Returns information for the specified import.
|
104
|
+
*/
|
105
|
+
getImport(params: CloudTrail.Types.GetImportRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetImportResponse) => void): Request<CloudTrail.Types.GetImportResponse, AWSError>;
|
106
|
+
/**
|
107
|
+
* Returns information for the specified import.
|
108
|
+
*/
|
109
|
+
getImport(callback?: (err: AWSError, data: CloudTrail.Types.GetImportResponse) => void): Request<CloudTrail.Types.GetImportResponse, AWSError>;
|
102
110
|
/**
|
103
111
|
* Describes the settings for the Insights event selectors that you configured for your trail. GetInsightSelectors shows if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled. If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException For more information, see Logging CloudTrail Insights Events for Trails in the CloudTrail User Guide.
|
104
112
|
*/
|
@@ -147,6 +155,22 @@ declare class CloudTrail extends Service {
|
|
147
155
|
* Returns information about all event data stores in the account, in the current region.
|
148
156
|
*/
|
149
157
|
listEventDataStores(callback?: (err: AWSError, data: CloudTrail.Types.ListEventDataStoresResponse) => void): Request<CloudTrail.Types.ListEventDataStoresResponse, AWSError>;
|
158
|
+
/**
|
159
|
+
* Returns a list of failures for the specified import.
|
160
|
+
*/
|
161
|
+
listImportFailures(params: CloudTrail.Types.ListImportFailuresRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListImportFailuresResponse) => void): Request<CloudTrail.Types.ListImportFailuresResponse, AWSError>;
|
162
|
+
/**
|
163
|
+
* Returns a list of failures for the specified import.
|
164
|
+
*/
|
165
|
+
listImportFailures(callback?: (err: AWSError, data: CloudTrail.Types.ListImportFailuresResponse) => void): Request<CloudTrail.Types.ListImportFailuresResponse, AWSError>;
|
166
|
+
/**
|
167
|
+
* Returns information on all imports, or a select set of imports by ImportStatus or Destination.
|
168
|
+
*/
|
169
|
+
listImports(params: CloudTrail.Types.ListImportsRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListImportsResponse) => void): Request<CloudTrail.Types.ListImportsResponse, AWSError>;
|
170
|
+
/**
|
171
|
+
* Returns information on all imports, or a select set of imports by ImportStatus or Destination.
|
172
|
+
*/
|
173
|
+
listImports(callback?: (err: AWSError, data: CloudTrail.Types.ListImportsResponse) => void): Request<CloudTrail.Types.ListImportsResponse, AWSError>;
|
150
174
|
/**
|
151
175
|
* Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key. CloudTrail uses different private and public key pairs per region. Each digest file is signed with a private key unique to its region. When you validate a digest file from a specific region, you must look in the same region for its corresponding public key.
|
152
176
|
*/
|
@@ -188,11 +212,11 @@ declare class CloudTrail extends Service {
|
|
188
212
|
*/
|
189
213
|
lookupEvents(callback?: (err: AWSError, data: CloudTrail.Types.LookupEventsResponse) => void): Request<CloudTrail.Types.LookupEventsResponse, AWSError>;
|
190
214
|
/**
|
191
|
-
* Configures an event selector or advanced event selectors for your trail. Use event selectors or advanced event selectors to specify management and data event settings for your trail. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. For more information, see Logging
|
215
|
+
* Configures an event selector or advanced event selectors for your trail. Use event selectors or advanced event selectors to specify management and data event settings for your trail. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. For more information, see Logging management events for trails , Logging data events for trails , and Quotas in CloudTrail in the CloudTrail User Guide. You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use either AdvancedEventSelectors or EventSelectors, but not both. If you apply AdvancedEventSelectors to a trail, any existing EventSelectors are overwritten. For more information about advanced event selectors, see Logging data events for trails in the CloudTrail User Guide.
|
192
216
|
*/
|
193
217
|
putEventSelectors(params: CloudTrail.Types.PutEventSelectorsRequest, callback?: (err: AWSError, data: CloudTrail.Types.PutEventSelectorsResponse) => void): Request<CloudTrail.Types.PutEventSelectorsResponse, AWSError>;
|
194
218
|
/**
|
195
|
-
* Configures an event selector or advanced event selectors for your trail. Use event selectors or advanced event selectors to specify management and data event settings for your trail. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. For more information, see Logging
|
219
|
+
* Configures an event selector or advanced event selectors for your trail. Use event selectors or advanced event selectors to specify management and data event settings for your trail. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. For more information, see Logging management events for trails , Logging data events for trails , and Quotas in CloudTrail in the CloudTrail User Guide. You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use either AdvancedEventSelectors or EventSelectors, but not both. If you apply AdvancedEventSelectors to a trail, any existing EventSelectors are overwritten. For more information about advanced event selectors, see Logging data events for trails in the CloudTrail User Guide.
|
196
220
|
*/
|
197
221
|
putEventSelectors(callback?: (err: AWSError, data: CloudTrail.Types.PutEventSelectorsResponse) => void): Request<CloudTrail.Types.PutEventSelectorsResponse, AWSError>;
|
198
222
|
/**
|
@@ -219,6 +243,14 @@ declare class CloudTrail extends Service {
|
|
219
243
|
* Restores a deleted event data store specified by EventDataStore, which accepts an event data store ARN. You can only restore a deleted event data store within the seven-day wait period after deletion. Restoring an event data store can take several minutes, depending on the size of the event data store.
|
220
244
|
*/
|
221
245
|
restoreEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.RestoreEventDataStoreResponse) => void): Request<CloudTrail.Types.RestoreEventDataStoreResponse, AWSError>;
|
246
|
+
/**
|
247
|
+
* Starts an import of logged trail events from a source S3 bucket to a destination event data store. 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.
|
248
|
+
*/
|
249
|
+
startImport(params: CloudTrail.Types.StartImportRequest, callback?: (err: AWSError, data: CloudTrail.Types.StartImportResponse) => void): Request<CloudTrail.Types.StartImportResponse, AWSError>;
|
250
|
+
/**
|
251
|
+
* Starts an import of logged trail events from a source S3 bucket to a destination event data store. 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.
|
252
|
+
*/
|
253
|
+
startImport(callback?: (err: AWSError, data: CloudTrail.Types.StartImportResponse) => void): Request<CloudTrail.Types.StartImportResponse, AWSError>;
|
222
254
|
/**
|
223
255
|
* Starts the recording of Amazon Web Services API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.
|
224
256
|
*/
|
@@ -235,6 +267,14 @@ declare class CloudTrail extends Service {
|
|
235
267
|
* Starts a CloudTrail Lake query. The required QueryStatement parameter provides your SQL query, enclosed in single quotation marks.
|
236
268
|
*/
|
237
269
|
startQuery(callback?: (err: AWSError, data: CloudTrail.Types.StartQueryResponse) => void): Request<CloudTrail.Types.StartQueryResponse, AWSError>;
|
270
|
+
/**
|
271
|
+
* Stops a specified import.
|
272
|
+
*/
|
273
|
+
stopImport(params: CloudTrail.Types.StopImportRequest, callback?: (err: AWSError, data: CloudTrail.Types.StopImportResponse) => void): Request<CloudTrail.Types.StopImportResponse, AWSError>;
|
274
|
+
/**
|
275
|
+
* Stops a specified import.
|
276
|
+
*/
|
277
|
+
stopImport(callback?: (err: AWSError, data: CloudTrail.Types.StopImportResponse) => void): Request<CloudTrail.Types.StopImportResponse, AWSError>;
|
238
278
|
/**
|
239
279
|
* Suspends the recording of Amazon Web Services API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions.
|
240
280
|
*/
|
@@ -527,7 +567,7 @@ declare namespace CloudTrail {
|
|
527
567
|
*/
|
528
568
|
Type?: String;
|
529
569
|
/**
|
530
|
-
* An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects. To log data events for all objects in all S3 buckets in your Amazon Web Services account, specify the prefix as arn:aws:s3
|
570
|
+
* An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects. To log data events for all objects in all S3 buckets in your Amazon Web Services account, specify the prefix as arn:aws:s3. This also enables logging of data event activity performed by any user or role in your Amazon Web Services account, even if that activity is performed on a bucket that belongs to another Amazon Web Services account. To log data events for all objects in an S3 bucket, specify the bucket and an empty object prefix such as arn:aws:s3:::bucket-1/. The trail logs data events for all objects in this S3 bucket. To log data events for specific objects, specify the S3 bucket and object prefix such as arn:aws:s3:::bucket-1/example-images. The trail logs data events for objects in this S3 bucket that match the prefix. To log data events for all Lambda functions in your Amazon Web Services account, specify the prefix as arn:aws:lambda. This also enables logging of Invoke activity performed by any user or role in your Amazon Web Services account, even if that activity is performed on a function that belongs to another Amazon Web Services account. To log data events for a specific Lambda function, specify the function ARN. Lambda function ARNs are exact. For example, if you specify a function ARN arn:aws:lambda:us-west-2:111111111111:function:helloworld, data events will only be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld. They will not be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld2. To log data events for all DynamoDB tables in your Amazon Web Services account, specify the prefix as arn:aws:dynamodb.
|
531
571
|
*/
|
532
572
|
Values?: DataResourceValues;
|
533
573
|
}
|
@@ -813,6 +853,50 @@ declare namespace CloudTrail {
|
|
813
853
|
*/
|
814
854
|
AdvancedEventSelectors?: AdvancedEventSelectors;
|
815
855
|
}
|
856
|
+
export interface GetImportRequest {
|
857
|
+
/**
|
858
|
+
* The ID for the import.
|
859
|
+
*/
|
860
|
+
ImportId: UUID;
|
861
|
+
}
|
862
|
+
export interface GetImportResponse {
|
863
|
+
/**
|
864
|
+
* The ID of the import.
|
865
|
+
*/
|
866
|
+
ImportId?: UUID;
|
867
|
+
/**
|
868
|
+
* The destination event data store.
|
869
|
+
*/
|
870
|
+
Destinations?: ImportDestinations;
|
871
|
+
/**
|
872
|
+
* The source S3 bucket.
|
873
|
+
*/
|
874
|
+
ImportSource?: ImportSource;
|
875
|
+
/**
|
876
|
+
* Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
877
|
+
*/
|
878
|
+
StartEventTime?: _Date;
|
879
|
+
/**
|
880
|
+
* Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
881
|
+
*/
|
882
|
+
EndEventTime?: _Date;
|
883
|
+
/**
|
884
|
+
* The status of the import.
|
885
|
+
*/
|
886
|
+
ImportStatus?: ImportStatus;
|
887
|
+
/**
|
888
|
+
* The timestamp of the import's creation.
|
889
|
+
*/
|
890
|
+
CreatedTimestamp?: _Date;
|
891
|
+
/**
|
892
|
+
* The timestamp of when the import was updated.
|
893
|
+
*/
|
894
|
+
UpdatedTimestamp?: _Date;
|
895
|
+
/**
|
896
|
+
* Provides statistics for the import.
|
897
|
+
*/
|
898
|
+
ImportStatistics?: ImportStatistics;
|
899
|
+
}
|
816
900
|
export interface GetInsightSelectorsRequest {
|
817
901
|
/**
|
818
902
|
* Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid. Not be in IP address format (for example, 192.168.5.4) If you specify a trail ARN, it must be in the format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
|
@@ -954,6 +1038,83 @@ declare namespace CloudTrail {
|
|
954
1038
|
*/
|
955
1039
|
TimeLoggingStopped?: String;
|
956
1040
|
}
|
1041
|
+
export type ImportDestinations = EventDataStoreArn[];
|
1042
|
+
export type ImportFailureList = ImportFailureListItem[];
|
1043
|
+
export interface ImportFailureListItem {
|
1044
|
+
/**
|
1045
|
+
* The location of the failure in the S3 bucket.
|
1046
|
+
*/
|
1047
|
+
Location?: String;
|
1048
|
+
/**
|
1049
|
+
* The status of the import.
|
1050
|
+
*/
|
1051
|
+
Status?: ImportFailureStatus;
|
1052
|
+
/**
|
1053
|
+
* The type of import error.
|
1054
|
+
*/
|
1055
|
+
ErrorType?: String;
|
1056
|
+
/**
|
1057
|
+
* Provides the reason the import failed.
|
1058
|
+
*/
|
1059
|
+
ErrorMessage?: String;
|
1060
|
+
/**
|
1061
|
+
* When the import was last updated.
|
1062
|
+
*/
|
1063
|
+
LastUpdatedTime?: _Date;
|
1064
|
+
}
|
1065
|
+
export type ImportFailureStatus = "FAILED"|"RETRY"|"SUCCEEDED"|string;
|
1066
|
+
export interface ImportSource {
|
1067
|
+
/**
|
1068
|
+
* The source S3 bucket.
|
1069
|
+
*/
|
1070
|
+
S3: S3ImportSource;
|
1071
|
+
}
|
1072
|
+
export interface ImportStatistics {
|
1073
|
+
/**
|
1074
|
+
* The number of S3 prefixes found for the import.
|
1075
|
+
*/
|
1076
|
+
PrefixesFound?: Long;
|
1077
|
+
/**
|
1078
|
+
* The number of S3 prefixes that completed import.
|
1079
|
+
*/
|
1080
|
+
PrefixesCompleted?: Long;
|
1081
|
+
/**
|
1082
|
+
* The number of files that completed import.
|
1083
|
+
*/
|
1084
|
+
FilesCompleted?: Long;
|
1085
|
+
/**
|
1086
|
+
* The number of trail events imported.
|
1087
|
+
*/
|
1088
|
+
EventsCompleted?: Long;
|
1089
|
+
/**
|
1090
|
+
* The number of failed entries.
|
1091
|
+
*/
|
1092
|
+
FailedEntries?: Long;
|
1093
|
+
}
|
1094
|
+
export type ImportStatus = "INITIALIZING"|"IN_PROGRESS"|"FAILED"|"STOPPED"|"COMPLETED"|string;
|
1095
|
+
export type ImportsList = ImportsListItem[];
|
1096
|
+
export interface ImportsListItem {
|
1097
|
+
/**
|
1098
|
+
* The ID of the import.
|
1099
|
+
*/
|
1100
|
+
ImportId?: UUID;
|
1101
|
+
/**
|
1102
|
+
* The status of the import.
|
1103
|
+
*/
|
1104
|
+
ImportStatus?: ImportStatus;
|
1105
|
+
/**
|
1106
|
+
* The destination event data store.
|
1107
|
+
*/
|
1108
|
+
Destinations?: ImportDestinations;
|
1109
|
+
/**
|
1110
|
+
* The timestamp of the import's creation.
|
1111
|
+
*/
|
1112
|
+
CreatedTimestamp?: _Date;
|
1113
|
+
/**
|
1114
|
+
* The timestamp of the import's last update.
|
1115
|
+
*/
|
1116
|
+
UpdatedTimestamp?: _Date;
|
1117
|
+
}
|
957
1118
|
export interface InsightSelector {
|
958
1119
|
/**
|
959
1120
|
* The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.
|
@@ -1005,6 +1166,60 @@ declare namespace CloudTrail {
|
|
1005
1166
|
*/
|
1006
1167
|
NextToken?: PaginationToken;
|
1007
1168
|
}
|
1169
|
+
export type ListImportFailuresMaxResultsCount = number;
|
1170
|
+
export interface ListImportFailuresRequest {
|
1171
|
+
/**
|
1172
|
+
* The ID of the import.
|
1173
|
+
*/
|
1174
|
+
ImportId: UUID;
|
1175
|
+
/**
|
1176
|
+
* The maximum number of failures to display on a single page.
|
1177
|
+
*/
|
1178
|
+
MaxResults?: ListImportFailuresMaxResultsCount;
|
1179
|
+
/**
|
1180
|
+
* A token you can use to get the next page of import failures.
|
1181
|
+
*/
|
1182
|
+
NextToken?: PaginationToken;
|
1183
|
+
}
|
1184
|
+
export interface ListImportFailuresResponse {
|
1185
|
+
/**
|
1186
|
+
* Contains information about the import failures.
|
1187
|
+
*/
|
1188
|
+
Failures?: ImportFailureList;
|
1189
|
+
/**
|
1190
|
+
* A token you can use to get the next page of results.
|
1191
|
+
*/
|
1192
|
+
NextToken?: PaginationToken;
|
1193
|
+
}
|
1194
|
+
export type ListImportsMaxResultsCount = number;
|
1195
|
+
export interface ListImportsRequest {
|
1196
|
+
/**
|
1197
|
+
* The maximum number of imports to display on a single page.
|
1198
|
+
*/
|
1199
|
+
MaxResults?: ListImportsMaxResultsCount;
|
1200
|
+
/**
|
1201
|
+
* The destination event data store.
|
1202
|
+
*/
|
1203
|
+
Destination?: EventDataStoreArn;
|
1204
|
+
/**
|
1205
|
+
* The status of the import.
|
1206
|
+
*/
|
1207
|
+
ImportStatus?: ImportStatus;
|
1208
|
+
/**
|
1209
|
+
* A token you can use to get the next page of import results.
|
1210
|
+
*/
|
1211
|
+
NextToken?: PaginationToken;
|
1212
|
+
}
|
1213
|
+
export interface ListImportsResponse {
|
1214
|
+
/**
|
1215
|
+
* The list of returned imports.
|
1216
|
+
*/
|
1217
|
+
Imports?: ImportsList;
|
1218
|
+
/**
|
1219
|
+
* A token you can use to get the next page of import results.
|
1220
|
+
*/
|
1221
|
+
NextToken?: PaginationToken;
|
1222
|
+
}
|
1008
1223
|
export interface ListPublicKeysRequest {
|
1009
1224
|
/**
|
1010
1225
|
* Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.
|
@@ -1368,6 +1583,20 @@ declare namespace CloudTrail {
|
|
1368
1583
|
UpdatedTimestamp?: _Date;
|
1369
1584
|
}
|
1370
1585
|
export type RetentionPeriod = number;
|
1586
|
+
export interface S3ImportSource {
|
1587
|
+
/**
|
1588
|
+
* The URI for the source S3 bucket.
|
1589
|
+
*/
|
1590
|
+
S3LocationUri: String;
|
1591
|
+
/**
|
1592
|
+
* The region associated with the source S3 bucket.
|
1593
|
+
*/
|
1594
|
+
S3BucketRegion: String;
|
1595
|
+
/**
|
1596
|
+
* The IAM ARN role used to access the source S3 bucket.
|
1597
|
+
*/
|
1598
|
+
S3BucketAccessRoleArn: String;
|
1599
|
+
}
|
1371
1600
|
export type SelectorField = string;
|
1372
1601
|
export type SelectorName = string;
|
1373
1602
|
export type Source = string;
|
@@ -1381,6 +1610,62 @@ declare namespace CloudTrail {
|
|
1381
1610
|
*/
|
1382
1611
|
AdvancedEventSelectors?: AdvancedEventSelectors;
|
1383
1612
|
}
|
1613
|
+
export interface StartImportRequest {
|
1614
|
+
/**
|
1615
|
+
* The destination event data store. Use this parameter for a new import.
|
1616
|
+
*/
|
1617
|
+
Destinations?: ImportDestinations;
|
1618
|
+
/**
|
1619
|
+
* The source S3 bucket for the import. Use this parameter for a new import.
|
1620
|
+
*/
|
1621
|
+
ImportSource?: ImportSource;
|
1622
|
+
/**
|
1623
|
+
* Use with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
1624
|
+
*/
|
1625
|
+
StartEventTime?: _Date;
|
1626
|
+
/**
|
1627
|
+
* Use with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
1628
|
+
*/
|
1629
|
+
EndEventTime?: _Date;
|
1630
|
+
/**
|
1631
|
+
* The ID of the import. Use this parameter when you are retrying an import.
|
1632
|
+
*/
|
1633
|
+
ImportId?: UUID;
|
1634
|
+
}
|
1635
|
+
export interface StartImportResponse {
|
1636
|
+
/**
|
1637
|
+
* The ID of the import.
|
1638
|
+
*/
|
1639
|
+
ImportId?: UUID;
|
1640
|
+
/**
|
1641
|
+
* The destination event data store.
|
1642
|
+
*/
|
1643
|
+
Destinations?: ImportDestinations;
|
1644
|
+
/**
|
1645
|
+
* The source S3 bucket.
|
1646
|
+
*/
|
1647
|
+
ImportSource?: ImportSource;
|
1648
|
+
/**
|
1649
|
+
* Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
1650
|
+
*/
|
1651
|
+
StartEventTime?: _Date;
|
1652
|
+
/**
|
1653
|
+
* Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
1654
|
+
*/
|
1655
|
+
EndEventTime?: _Date;
|
1656
|
+
/**
|
1657
|
+
* Shows the status of the import after a StartImport request. An import finishes with a status of COMPLETED if there were no failures, or FAILED if there were failures.
|
1658
|
+
*/
|
1659
|
+
ImportStatus?: ImportStatus;
|
1660
|
+
/**
|
1661
|
+
* The timestamp for the import's creation.
|
1662
|
+
*/
|
1663
|
+
CreatedTimestamp?: _Date;
|
1664
|
+
/**
|
1665
|
+
* The timestamp of the import's last update, if applicable.
|
1666
|
+
*/
|
1667
|
+
UpdatedTimestamp?: _Date;
|
1668
|
+
}
|
1384
1669
|
export interface StartLoggingRequest {
|
1385
1670
|
/**
|
1386
1671
|
* Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs Amazon Web Services API calls. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
|
@@ -1401,6 +1686,50 @@ declare namespace CloudTrail {
|
|
1401
1686
|
*/
|
1402
1687
|
QueryId?: UUID;
|
1403
1688
|
}
|
1689
|
+
export interface StopImportRequest {
|
1690
|
+
/**
|
1691
|
+
* The ID of the import.
|
1692
|
+
*/
|
1693
|
+
ImportId: UUID;
|
1694
|
+
}
|
1695
|
+
export interface StopImportResponse {
|
1696
|
+
/**
|
1697
|
+
* The ID for the import.
|
1698
|
+
*/
|
1699
|
+
ImportId?: UUID;
|
1700
|
+
/**
|
1701
|
+
* The source S3 bucket.
|
1702
|
+
*/
|
1703
|
+
ImportSource?: ImportSource;
|
1704
|
+
/**
|
1705
|
+
* The destination event data store.
|
1706
|
+
*/
|
1707
|
+
Destinations?: ImportDestinations;
|
1708
|
+
/**
|
1709
|
+
* The status of the import.
|
1710
|
+
*/
|
1711
|
+
ImportStatus?: ImportStatus;
|
1712
|
+
/**
|
1713
|
+
* The timestamp of the import's creation.
|
1714
|
+
*/
|
1715
|
+
CreatedTimestamp?: _Date;
|
1716
|
+
/**
|
1717
|
+
* The timestamp of the import's last update.
|
1718
|
+
*/
|
1719
|
+
UpdatedTimestamp?: _Date;
|
1720
|
+
/**
|
1721
|
+
* Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
1722
|
+
*/
|
1723
|
+
StartEventTime?: _Date;
|
1724
|
+
/**
|
1725
|
+
* Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
1726
|
+
*/
|
1727
|
+
EndEventTime?: _Date;
|
1728
|
+
/**
|
1729
|
+
* Returns information on the stopped import.
|
1730
|
+
*/
|
1731
|
+
ImportStatistics?: ImportStatistics;
|
1732
|
+
}
|
1404
1733
|
export interface StopLoggingRequest {
|
1405
1734
|
/**
|
1406
1735
|
* Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services API calls. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
|
@@ -1518,7 +1847,7 @@ declare namespace CloudTrail {
|
|
1518
1847
|
*/
|
1519
1848
|
Name?: EventDataStoreName;
|
1520
1849
|
/**
|
1521
|
-
* The advanced event selectors used to select events for the event data store.
|
1850
|
+
* The advanced event selectors used to select events for the event data store. You can configure up to five advanced event selectors for each event data store.
|
1522
1851
|
*/
|
1523
1852
|
AdvancedEventSelectors?: AdvancedEventSelectors;
|
1524
1853
|
/**
|