@aws-sdk/client-cloudwatch-logs 3.948.0 → 3.952.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/README.md +32 -0
- package/dist-cjs/index.js +218 -32
- package/dist-es/CloudWatchLogs.js +8 -0
- package/dist-es/commands/CancelImportTaskCommand.js +16 -0
- package/dist-es/commands/CreateImportTaskCommand.js +16 -0
- package/dist-es/commands/DescribeImportTaskBatchesCommand.js +16 -0
- package/dist-es/commands/DescribeImportTasksCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +6 -0
- package/dist-es/pagination/ListAggregateLogGroupSummariesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +153 -32
- package/dist-types/CloudWatchLogs.d.ts +29 -0
- package/dist-types/CloudWatchLogsClient.d.ts +6 -2
- package/dist-types/commands/CancelImportTaskCommand.d.ts +95 -0
- package/dist-types/commands/CreateImportTaskCommand.d.ts +152 -0
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +4 -1
- package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +8 -8
- package/dist-types/commands/DeleteIndexPolicyCommand.d.ts +6 -6
- package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeImportTaskBatchesCommand.d.ts +104 -0
- package/dist-types/commands/DescribeImportTasksCommand.d.ts +111 -0
- package/dist-types/commands/DescribeQueriesCommand.d.ts +2 -2
- package/dist-types/commands/GetQueryResultsCommand.d.ts +2 -1
- package/dist-types/commands/GetScheduledQueryCommand.d.ts +2 -1
- package/dist-types/commands/GetScheduledQueryHistoryCommand.d.ts +2 -1
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +2 -1
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +196 -47
- package/dist-types/commands/PutIndexPolicyCommand.d.ts +4 -4
- package/dist-types/commands/PutLogGroupDeletionProtectionCommand.d.ts +3 -2
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +391 -44
- package/dist-types/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +19 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +69 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateImportTaskCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeImportTaskBatchesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeImportTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -0
- package/dist-types/ts3.4/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, Scope, StandardUnit, State, SuppressionState, SuppressionType, SuppressionUnit, Type } from "./enums";
|
|
1
|
+
import { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, ImportStatus, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, Scope, StandardUnit, State, SuppressionState, SuppressionType, SuppressionUnit, Type } from "./enums";
|
|
2
2
|
import { InternalStreamingException, SessionStreamingException, SessionTimeoutException } from "./errors";
|
|
3
3
|
/**
|
|
4
4
|
* <p>A structure that contains information about one CloudWatch Logs account policy.</p>
|
|
@@ -481,6 +481,57 @@ export interface CancelExportTaskRequest {
|
|
|
481
481
|
*/
|
|
482
482
|
taskId: string | undefined;
|
|
483
483
|
}
|
|
484
|
+
/**
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
export interface CancelImportTaskRequest {
|
|
488
|
+
/**
|
|
489
|
+
* <p>The ID of the import task to cancel.</p>
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
importId: string | undefined;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* <p>Statistics about the import progress</p>
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
export interface ImportStatistics {
|
|
499
|
+
/**
|
|
500
|
+
* <p>The total number of bytes that have been imported to the managed log group.</p>
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
bytesImported?: number | undefined;
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* @public
|
|
507
|
+
*/
|
|
508
|
+
export interface CancelImportTaskResponse {
|
|
509
|
+
/**
|
|
510
|
+
* <p>The ID of the cancelled import task.</p>
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
513
|
+
importId?: string | undefined;
|
|
514
|
+
/**
|
|
515
|
+
* <p>Statistics about the import progress at the time of cancellation.</p>
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
importStatistics?: ImportStatistics | undefined;
|
|
519
|
+
/**
|
|
520
|
+
* <p>The final status of the import task. This will be set to CANCELLED.</p>
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
importStatus?: ImportStatus | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* <p>The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
|
|
526
|
+
* @public
|
|
527
|
+
*/
|
|
528
|
+
creationTime?: number | undefined;
|
|
529
|
+
/**
|
|
530
|
+
* <p>The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
|
|
531
|
+
* @public
|
|
532
|
+
*/
|
|
533
|
+
lastUpdatedTime?: number | undefined;
|
|
534
|
+
}
|
|
484
535
|
/**
|
|
485
536
|
* <p>This structure contains delivery configurations that apply only when the delivery
|
|
486
537
|
* destination resource is an S3 bucket.</p>
|
|
@@ -802,6 +853,63 @@ export interface CreateExportTaskResponse {
|
|
|
802
853
|
*/
|
|
803
854
|
taskId?: string | undefined;
|
|
804
855
|
}
|
|
856
|
+
/**
|
|
857
|
+
* <p>The filter criteria used for import tasks</p>
|
|
858
|
+
* @public
|
|
859
|
+
*/
|
|
860
|
+
export interface ImportFilter {
|
|
861
|
+
/**
|
|
862
|
+
* <p>The start of the time range for events to import, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
|
|
863
|
+
* @public
|
|
864
|
+
*/
|
|
865
|
+
startEventTime?: number | undefined;
|
|
866
|
+
/**
|
|
867
|
+
* <p>The end of the time range for events to import, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
|
|
868
|
+
* @public
|
|
869
|
+
*/
|
|
870
|
+
endEventTime?: number | undefined;
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* @public
|
|
874
|
+
*/
|
|
875
|
+
export interface CreateImportTaskRequest {
|
|
876
|
+
/**
|
|
877
|
+
* <p>The ARN of the source to import from.</p>
|
|
878
|
+
* @public
|
|
879
|
+
*/
|
|
880
|
+
importSourceArn: string | undefined;
|
|
881
|
+
/**
|
|
882
|
+
* <p>The ARN of the IAM role that grants CloudWatch Logs permission to import from the CloudTrail Lake Event Data Store.</p>
|
|
883
|
+
* @public
|
|
884
|
+
*/
|
|
885
|
+
importRoleArn: string | undefined;
|
|
886
|
+
/**
|
|
887
|
+
* <p>Optional filters to constrain the import by CloudTrail event time. Times are specified in Unix timestamp milliseconds.
|
|
888
|
+
* The range of data being imported must be within the specified source's retention period.</p>
|
|
889
|
+
* @public
|
|
890
|
+
*/
|
|
891
|
+
importFilter?: ImportFilter | undefined;
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* @public
|
|
895
|
+
*/
|
|
896
|
+
export interface CreateImportTaskResponse {
|
|
897
|
+
/**
|
|
898
|
+
* <p>A unique identifier for the import task.</p>
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
importId?: string | undefined;
|
|
902
|
+
/**
|
|
903
|
+
* <p>The ARN of the CloudWatch Logs log group created as the destination for the imported events.</p>
|
|
904
|
+
* @public
|
|
905
|
+
*/
|
|
906
|
+
importDestinationArn?: string | undefined;
|
|
907
|
+
/**
|
|
908
|
+
* <p>The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
|
|
909
|
+
* @public
|
|
910
|
+
*/
|
|
911
|
+
creationTime?: number | undefined;
|
|
912
|
+
}
|
|
805
913
|
/**
|
|
806
914
|
* @public
|
|
807
915
|
*/
|
|
@@ -929,8 +1037,9 @@ export interface CreateLogGroupRequest {
|
|
|
929
1037
|
*/
|
|
930
1038
|
logGroupClass?: LogGroupClass | undefined;
|
|
931
1039
|
/**
|
|
932
|
-
* <p>Use this parameter to enable deletion protection for the new log group. When enabled on
|
|
933
|
-
*
|
|
1040
|
+
* <p>Use this parameter to enable deletion protection for the new log group. When enabled on
|
|
1041
|
+
* a log group, deletion protection blocks all deletion operations until it is explicitly
|
|
1042
|
+
* disabled. By default log groups are created without deletion protection enabled.</p>
|
|
934
1043
|
* @public
|
|
935
1044
|
*/
|
|
936
1045
|
deletionProtectionEnabled?: boolean | undefined;
|
|
@@ -961,13 +1070,15 @@ export interface S3Configuration {
|
|
|
961
1070
|
*/
|
|
962
1071
|
destinationIdentifier: string | undefined;
|
|
963
1072
|
/**
|
|
964
|
-
* <p>The ARN of the IAM role that grants permissions to write query results to the specified
|
|
1073
|
+
* <p>The ARN of the IAM role that grants permissions to write query results to the specified
|
|
1074
|
+
* Amazon S3 destination.</p>
|
|
965
1075
|
* @public
|
|
966
1076
|
*/
|
|
967
1077
|
roleArn: string | undefined;
|
|
968
1078
|
}
|
|
969
1079
|
/**
|
|
970
|
-
* <p>Configuration for where to deliver scheduled query results. Specifies the destination type
|
|
1080
|
+
* <p>Configuration for where to deliver scheduled query results. Specifies the destination type
|
|
1081
|
+
* and associated settings for result delivery.</p>
|
|
971
1082
|
* @public
|
|
972
1083
|
*/
|
|
973
1084
|
export interface DestinationConfiguration {
|
|
@@ -982,72 +1093,88 @@ export interface DestinationConfiguration {
|
|
|
982
1093
|
*/
|
|
983
1094
|
export interface CreateScheduledQueryRequest {
|
|
984
1095
|
/**
|
|
985
|
-
* <p>The name of the scheduled query. The name must be unique within your account and region.
|
|
1096
|
+
* <p>The name of the scheduled query. The name must be unique within your account and region.
|
|
1097
|
+
* Valid characters are alphanumeric characters, hyphens, underscores, and periods. Length must
|
|
1098
|
+
* be between 1 and 255 characters.</p>
|
|
986
1099
|
* @public
|
|
987
1100
|
*/
|
|
988
1101
|
name: string | undefined;
|
|
989
1102
|
/**
|
|
990
|
-
* <p>An optional description for the scheduled query to help identify its purpose and
|
|
1103
|
+
* <p>An optional description for the scheduled query to help identify its purpose and
|
|
1104
|
+
* functionality.</p>
|
|
991
1105
|
* @public
|
|
992
1106
|
*/
|
|
993
1107
|
description?: string | undefined;
|
|
994
1108
|
/**
|
|
995
|
-
* <p>The query language to use for the scheduled query. Valid values are <code>LogsQL</code>,
|
|
1109
|
+
* <p>The query language to use for the scheduled query. Valid values are <code>LogsQL</code>,
|
|
1110
|
+
* <code>PPL</code>, and <code>SQL</code>.</p>
|
|
996
1111
|
* @public
|
|
997
1112
|
*/
|
|
998
1113
|
queryLanguage: QueryLanguage | undefined;
|
|
999
1114
|
/**
|
|
1000
|
-
* <p>The query string to execute. This is the same query syntax used in CloudWatch Logs
|
|
1115
|
+
* <p>The query string to execute. This is the same query syntax used in CloudWatch Logs
|
|
1116
|
+
* Insights. Maximum length is 10,000 characters.</p>
|
|
1001
1117
|
* @public
|
|
1002
1118
|
*/
|
|
1003
1119
|
queryString: string | undefined;
|
|
1004
1120
|
/**
|
|
1005
|
-
* <p>An array of log group names or ARNs to query. You can specify between 1 and 50 log groups.
|
|
1121
|
+
* <p>An array of log group names or ARNs to query. You can specify between 1 and 50 log groups.
|
|
1122
|
+
* Log groups can be identified by name or full ARN.</p>
|
|
1006
1123
|
* @public
|
|
1007
1124
|
*/
|
|
1008
1125
|
logGroupIdentifiers?: string[] | undefined;
|
|
1009
1126
|
/**
|
|
1010
|
-
* <p>A cron expression that defines when the scheduled query runs. The expression uses standard
|
|
1127
|
+
* <p>A cron expression that defines when the scheduled query runs. The expression uses standard
|
|
1128
|
+
* cron syntax and supports minute-level precision. Maximum length is 256 characters.</p>
|
|
1011
1129
|
* @public
|
|
1012
1130
|
*/
|
|
1013
1131
|
scheduleExpression: string | undefined;
|
|
1014
1132
|
/**
|
|
1015
|
-
* <p>The timezone for evaluating the schedule expression. This determines when the scheduled
|
|
1133
|
+
* <p>The timezone for evaluating the schedule expression. This determines when the scheduled
|
|
1134
|
+
* query executes relative to the specified timezone.</p>
|
|
1016
1135
|
* @public
|
|
1017
1136
|
*/
|
|
1018
1137
|
timezone?: string | undefined;
|
|
1019
1138
|
/**
|
|
1020
|
-
* <p>The time offset in seconds that defines the lookback period for the query. This determines
|
|
1139
|
+
* <p>The time offset in seconds that defines the lookback period for the query. This determines
|
|
1140
|
+
* how far back in time the query searches from the execution time.</p>
|
|
1021
1141
|
* @public
|
|
1022
1142
|
*/
|
|
1023
1143
|
startTimeOffset?: number | undefined;
|
|
1024
1144
|
/**
|
|
1025
|
-
* <p>Configuration for where to deliver query results. Currently supports Amazon S3 destinations for
|
|
1145
|
+
* <p>Configuration for where to deliver query results. Currently supports Amazon S3 destinations for
|
|
1146
|
+
* storing query output.</p>
|
|
1026
1147
|
* @public
|
|
1027
1148
|
*/
|
|
1028
1149
|
destinationConfiguration?: DestinationConfiguration | undefined;
|
|
1029
1150
|
/**
|
|
1030
|
-
* <p>The start time for the scheduled query in Unix epoch format. The query will not execute
|
|
1151
|
+
* <p>The start time for the scheduled query in Unix epoch format. The query will not execute
|
|
1152
|
+
* before this time.</p>
|
|
1031
1153
|
* @public
|
|
1032
1154
|
*/
|
|
1033
1155
|
scheduleStartTime?: number | undefined;
|
|
1034
1156
|
/**
|
|
1035
|
-
* <p>The end time for the scheduled query in Unix epoch format. The query will stop executing
|
|
1157
|
+
* <p>The end time for the scheduled query in Unix epoch format. The query will stop executing
|
|
1158
|
+
* after this time.</p>
|
|
1036
1159
|
* @public
|
|
1037
1160
|
*/
|
|
1038
1161
|
scheduleEndTime?: number | undefined;
|
|
1039
1162
|
/**
|
|
1040
|
-
* <p>The ARN of the IAM role that grants permissions to execute the query and deliver results
|
|
1163
|
+
* <p>The ARN of the IAM role that grants permissions to execute the query and deliver results
|
|
1164
|
+
* to the specified destination. The role must have permissions to read from the specified log
|
|
1165
|
+
* groups and write to the destination.</p>
|
|
1041
1166
|
* @public
|
|
1042
1167
|
*/
|
|
1043
1168
|
executionRoleArn: string | undefined;
|
|
1044
1169
|
/**
|
|
1045
|
-
* <p>The initial state of the scheduled query. Valid values are <code>ENABLED</code> and
|
|
1170
|
+
* <p>The initial state of the scheduled query. Valid values are <code>ENABLED</code> and
|
|
1171
|
+
* <code>DISABLED</code>. Default is <code>ENABLED</code>.</p>
|
|
1046
1172
|
* @public
|
|
1047
1173
|
*/
|
|
1048
1174
|
state?: ScheduledQueryState | undefined;
|
|
1049
1175
|
/**
|
|
1050
|
-
* <p>Key-value pairs to associate with the scheduled query for resource management and cost
|
|
1176
|
+
* <p>Key-value pairs to associate with the scheduled query for resource management and cost
|
|
1177
|
+
* allocation.</p>
|
|
1051
1178
|
* @public
|
|
1052
1179
|
*/
|
|
1053
1180
|
tags?: Record<string, string> | undefined;
|
|
@@ -2078,6 +2205,173 @@ export interface DescribeFieldIndexesResponse {
|
|
|
2078
2205
|
*/
|
|
2079
2206
|
nextToken?: string | undefined;
|
|
2080
2207
|
}
|
|
2208
|
+
/**
|
|
2209
|
+
* @public
|
|
2210
|
+
*/
|
|
2211
|
+
export interface DescribeImportTaskBatchesRequest {
|
|
2212
|
+
/**
|
|
2213
|
+
* <p>The ID of the import task to get batch information for.</p>
|
|
2214
|
+
* @public
|
|
2215
|
+
*/
|
|
2216
|
+
importId: string | undefined;
|
|
2217
|
+
/**
|
|
2218
|
+
* <p>Optional filter to list import batches by their status. Accepts multiple status values: IN_PROGRESS, CANCELLED, COMPLETED and FAILED.</p>
|
|
2219
|
+
* @public
|
|
2220
|
+
*/
|
|
2221
|
+
batchImportStatus?: ImportStatus[] | undefined;
|
|
2222
|
+
/**
|
|
2223
|
+
* <p>The maximum number of import batches to return in the response. Default: 10</p>
|
|
2224
|
+
* @public
|
|
2225
|
+
*/
|
|
2226
|
+
limit?: number | undefined;
|
|
2227
|
+
/**
|
|
2228
|
+
* <p>The pagination token for the next set of results.</p>
|
|
2229
|
+
* @public
|
|
2230
|
+
*/
|
|
2231
|
+
nextToken?: string | undefined;
|
|
2232
|
+
}
|
|
2233
|
+
/**
|
|
2234
|
+
* <p>A collection of events being imported to CloudWatch</p>
|
|
2235
|
+
* @public
|
|
2236
|
+
*/
|
|
2237
|
+
export interface ImportBatch {
|
|
2238
|
+
/**
|
|
2239
|
+
* <p>The unique identifier of the import batch.</p>
|
|
2240
|
+
* @public
|
|
2241
|
+
*/
|
|
2242
|
+
batchId: string | undefined;
|
|
2243
|
+
/**
|
|
2244
|
+
* <p>The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.</p>
|
|
2245
|
+
* @public
|
|
2246
|
+
*/
|
|
2247
|
+
status: ImportStatus | undefined;
|
|
2248
|
+
/**
|
|
2249
|
+
* <p>The error message if the batch failed to import. Only present when status is FAILED.</p>
|
|
2250
|
+
* @public
|
|
2251
|
+
*/
|
|
2252
|
+
errorMessage?: string | undefined;
|
|
2253
|
+
}
|
|
2254
|
+
/**
|
|
2255
|
+
* @public
|
|
2256
|
+
*/
|
|
2257
|
+
export interface DescribeImportTaskBatchesResponse {
|
|
2258
|
+
/**
|
|
2259
|
+
* <p>The ARN of the source being imported from.</p>
|
|
2260
|
+
* @public
|
|
2261
|
+
*/
|
|
2262
|
+
importSourceArn?: string | undefined;
|
|
2263
|
+
/**
|
|
2264
|
+
* <p>The ID of the import task.</p>
|
|
2265
|
+
* @public
|
|
2266
|
+
*/
|
|
2267
|
+
importId?: string | undefined;
|
|
2268
|
+
/**
|
|
2269
|
+
* <p>The list of import batches that match the request filters.</p>
|
|
2270
|
+
* @public
|
|
2271
|
+
*/
|
|
2272
|
+
importBatches?: ImportBatch[] | undefined;
|
|
2273
|
+
/**
|
|
2274
|
+
* <p>The token to use when requesting the next set of results. Not present if there are no additional results to retrieve.</p>
|
|
2275
|
+
* @public
|
|
2276
|
+
*/
|
|
2277
|
+
nextToken?: string | undefined;
|
|
2278
|
+
}
|
|
2279
|
+
/**
|
|
2280
|
+
* @public
|
|
2281
|
+
*/
|
|
2282
|
+
export interface DescribeImportTasksRequest {
|
|
2283
|
+
/**
|
|
2284
|
+
* <p>Optional filter to describe a specific import task by its ID.</p>
|
|
2285
|
+
* @public
|
|
2286
|
+
*/
|
|
2287
|
+
importId?: string | undefined;
|
|
2288
|
+
/**
|
|
2289
|
+
* <p>Optional filter to list imports by their status. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.</p>
|
|
2290
|
+
* @public
|
|
2291
|
+
*/
|
|
2292
|
+
importStatus?: ImportStatus | undefined;
|
|
2293
|
+
/**
|
|
2294
|
+
* <p>Optional filter to list imports from a specific source</p>
|
|
2295
|
+
* @public
|
|
2296
|
+
*/
|
|
2297
|
+
importSourceArn?: string | undefined;
|
|
2298
|
+
/**
|
|
2299
|
+
* <p>The maximum number of import tasks to return in the response. Default: 50</p>
|
|
2300
|
+
* @public
|
|
2301
|
+
*/
|
|
2302
|
+
limit?: number | undefined;
|
|
2303
|
+
/**
|
|
2304
|
+
* <p>The pagination token for the next set of results.</p>
|
|
2305
|
+
* @public
|
|
2306
|
+
*/
|
|
2307
|
+
nextToken?: string | undefined;
|
|
2308
|
+
}
|
|
2309
|
+
/**
|
|
2310
|
+
* <p>An import job to move data from CloudTrail Event Data Store to CloudWatch.</p>
|
|
2311
|
+
* @public
|
|
2312
|
+
*/
|
|
2313
|
+
export interface Import {
|
|
2314
|
+
/**
|
|
2315
|
+
* <p>The unique identifier of the import task.</p>
|
|
2316
|
+
* @public
|
|
2317
|
+
*/
|
|
2318
|
+
importId?: string | undefined;
|
|
2319
|
+
/**
|
|
2320
|
+
* <p>The ARN of the CloudTrail Lake Event Data Store being imported from.</p>
|
|
2321
|
+
* @public
|
|
2322
|
+
*/
|
|
2323
|
+
importSourceArn?: string | undefined;
|
|
2324
|
+
/**
|
|
2325
|
+
* <p>The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.</p>
|
|
2326
|
+
* @public
|
|
2327
|
+
*/
|
|
2328
|
+
importStatus?: ImportStatus | undefined;
|
|
2329
|
+
/**
|
|
2330
|
+
* <p>The ARN of the managed CloudWatch Logs log group where the events are being imported to.</p>
|
|
2331
|
+
* @public
|
|
2332
|
+
*/
|
|
2333
|
+
importDestinationArn?: string | undefined;
|
|
2334
|
+
/**
|
|
2335
|
+
* <p>Statistics about the import progress</p>
|
|
2336
|
+
* @public
|
|
2337
|
+
*/
|
|
2338
|
+
importStatistics?: ImportStatistics | undefined;
|
|
2339
|
+
/**
|
|
2340
|
+
* <p>The filter criteria used for this import task.</p>
|
|
2341
|
+
* @public
|
|
2342
|
+
*/
|
|
2343
|
+
importFilter?: ImportFilter | undefined;
|
|
2344
|
+
/**
|
|
2345
|
+
* <p>The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
|
|
2346
|
+
* @public
|
|
2347
|
+
*/
|
|
2348
|
+
creationTime?: number | undefined;
|
|
2349
|
+
/**
|
|
2350
|
+
* <p>The timestamp when the import task was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
|
|
2351
|
+
* @public
|
|
2352
|
+
*/
|
|
2353
|
+
lastUpdatedTime?: number | undefined;
|
|
2354
|
+
/**
|
|
2355
|
+
* <p>Error message related to any failed imports</p>
|
|
2356
|
+
* @public
|
|
2357
|
+
*/
|
|
2358
|
+
errorMessage?: string | undefined;
|
|
2359
|
+
}
|
|
2360
|
+
/**
|
|
2361
|
+
* @public
|
|
2362
|
+
*/
|
|
2363
|
+
export interface DescribeImportTasksResponse {
|
|
2364
|
+
/**
|
|
2365
|
+
* <p>The list of import tasks that match the request filters.</p>
|
|
2366
|
+
* @public
|
|
2367
|
+
*/
|
|
2368
|
+
imports?: Import[] | undefined;
|
|
2369
|
+
/**
|
|
2370
|
+
* <p>The token to use when requesting the next set of results. Not present if there are no additional results to retrieve.</p>
|
|
2371
|
+
* @public
|
|
2372
|
+
*/
|
|
2373
|
+
nextToken?: string | undefined;
|
|
2374
|
+
}
|
|
2081
2375
|
/**
|
|
2082
2376
|
* @public
|
|
2083
2377
|
*/
|
|
@@ -2348,8 +2642,8 @@ export interface LogGroup {
|
|
|
2348
2642
|
*/
|
|
2349
2643
|
logGroupArn?: string | undefined;
|
|
2350
2644
|
/**
|
|
2351
|
-
* <p>Indicates whether deletion protection is enabled for this log group. When enabled,
|
|
2352
|
-
* deletion operations until it is explicitly disabled.</p>
|
|
2645
|
+
* <p>Indicates whether deletion protection is enabled for this log group. When enabled,
|
|
2646
|
+
* deletion protection blocks all deletion operations until it is explicitly disabled.</p>
|
|
2353
2647
|
* @public
|
|
2354
2648
|
*/
|
|
2355
2649
|
deletionProtectionEnabled?: boolean | undefined;
|
|
@@ -4433,7 +4727,8 @@ export interface GetScheduledQueryHistoryRequest {
|
|
|
4433
4727
|
*/
|
|
4434
4728
|
endTime: number | undefined;
|
|
4435
4729
|
/**
|
|
4436
|
-
* <p>An array of execution statuses to filter the history results. Only executions with the
|
|
4730
|
+
* <p>An array of execution statuses to filter the history results. Only executions with the
|
|
4731
|
+
* specified statuses are returned.</p>
|
|
4437
4732
|
* @public
|
|
4438
4733
|
*/
|
|
4439
4734
|
executionStatuses?: ExecutionStatus[] | undefined;
|
|
@@ -4450,7 +4745,8 @@ export interface GetScheduledQueryHistoryRequest {
|
|
|
4450
4745
|
nextToken?: string | undefined;
|
|
4451
4746
|
}
|
|
4452
4747
|
/**
|
|
4453
|
-
* <p>Information about a destination where scheduled query results are processed, including
|
|
4748
|
+
* <p>Information about a destination where scheduled query results are processed, including
|
|
4749
|
+
* processing status and any error messages.</p>
|
|
4454
4750
|
* @public
|
|
4455
4751
|
*/
|
|
4456
4752
|
export interface ScheduledQueryDestination {
|
|
@@ -4481,7 +4777,8 @@ export interface ScheduledQueryDestination {
|
|
|
4481
4777
|
errorMessage?: string | undefined;
|
|
4482
4778
|
}
|
|
4483
4779
|
/**
|
|
4484
|
-
* <p>A record of a scheduled query execution, including execution status, timestamp, and
|
|
4780
|
+
* <p>A record of a scheduled query execution, including execution status, timestamp, and
|
|
4781
|
+
* destination processing results.</p>
|
|
4485
4782
|
* @public
|
|
4486
4783
|
*/
|
|
4487
4784
|
export interface TriggerHistoryRecord {
|
|
@@ -5598,13 +5895,15 @@ export interface ListScheduledQueriesRequest {
|
|
|
5598
5895
|
*/
|
|
5599
5896
|
nextToken?: string | undefined;
|
|
5600
5897
|
/**
|
|
5601
|
-
* <p>Filter scheduled queries by state. Valid values are <code>ENABLED</code> and
|
|
5898
|
+
* <p>Filter scheduled queries by state. Valid values are <code>ENABLED</code> and
|
|
5899
|
+
* <code>DISABLED</code>. If not specified, all scheduled queries are returned.</p>
|
|
5602
5900
|
* @public
|
|
5603
5901
|
*/
|
|
5604
5902
|
state?: ScheduledQueryState | undefined;
|
|
5605
5903
|
}
|
|
5606
5904
|
/**
|
|
5607
|
-
* <p>Summary information about a scheduled query, including basic configuration and execution
|
|
5905
|
+
* <p>Summary information about a scheduled query, including basic configuration and execution
|
|
5906
|
+
* status.</p>
|
|
5608
5907
|
* @public
|
|
5609
5908
|
*/
|
|
5610
5909
|
export interface ScheduledQuerySummary {
|
|
@@ -5918,7 +6217,8 @@ export interface LiveTailSessionUpdate {
|
|
|
5918
6217
|
*/
|
|
5919
6218
|
export interface PutAccountPolicyRequest {
|
|
5920
6219
|
/**
|
|
5921
|
-
* <p>A name for the policy. This must be unique within the account
|
|
6220
|
+
* <p>A name for the policy. This must be unique within the account and cannot start with
|
|
6221
|
+
* <code>aws/</code>.</p>
|
|
5922
6222
|
* @public
|
|
5923
6223
|
*/
|
|
5924
6224
|
policyName: string | undefined;
|
|
@@ -6024,14 +6324,23 @@ export interface PutAccountPolicyRequest {
|
|
|
6024
6324
|
* <p>
|
|
6025
6325
|
* <b>Fields</b> The array of field indexes to create.</p>
|
|
6026
6326
|
* </li>
|
|
6327
|
+
* <li>
|
|
6328
|
+
* <p>
|
|
6329
|
+
* <b>FieldsV2</b> The object of field indexes to create along
|
|
6330
|
+
* with it's type.</p>
|
|
6331
|
+
* </li>
|
|
6027
6332
|
* </ul>
|
|
6028
6333
|
* <p>It must contain at least one field index.</p>
|
|
6029
|
-
* <p>The following is an example of an index policy document that creates
|
|
6030
|
-
*
|
|
6334
|
+
* <p>The following is an example of an index policy document that creates indexes with
|
|
6335
|
+
* different types.</p>
|
|
6031
6336
|
* <p>
|
|
6032
|
-
* <code>"policyDocument": "\{ \"Fields\": [ \"
|
|
6033
|
-
*
|
|
6337
|
+
* <code>"policyDocument": "\{ \"Fields\": [ \"TransactionId\" ], \"FieldsV2\":
|
|
6338
|
+
* \{\"RequestId\": \{\"type\": \"FIELD_INDEX\"\}, \"APIName\": \{\"type\": \"FACET\"\},
|
|
6339
|
+
* \"StatusCode\": \{\"type\": \"FACET\"\}\}\}"</code>
|
|
6034
6340
|
* </p>
|
|
6341
|
+
* <p>You can use <code>FieldsV2</code> to specify the type for each field. Supported types are
|
|
6342
|
+
* <code>FIELD_INDEX</code> and <code>FACET</code>. Field names within <code>Fields</code> and
|
|
6343
|
+
* <code>FieldsV2</code> must be mutually exclusive.</p>
|
|
6035
6344
|
* @public
|
|
6036
6345
|
*/
|
|
6037
6346
|
policyDocument: string | undefined;
|
|
@@ -6048,18 +6357,43 @@ export interface PutAccountPolicyRequest {
|
|
|
6048
6357
|
*/
|
|
6049
6358
|
scope?: Scope | undefined;
|
|
6050
6359
|
/**
|
|
6051
|
-
* <p>Use this parameter to apply the new policy to a subset of log groups in the
|
|
6052
|
-
*
|
|
6360
|
+
* <p>Use this parameter to apply the new policy to a subset of log groups in the account or a
|
|
6361
|
+
* data source name and type combination. </p>
|
|
6053
6362
|
* <p>Specifying <code>selectionCriteria</code> is valid only when you specify
|
|
6054
6363
|
* <code>SUBSCRIPTION_FILTER_POLICY</code>, <code>FIELD_INDEX_POLICY</code> or
|
|
6055
6364
|
* <code>TRANSFORMER_POLICY</code>for <code>policyType</code>.</p>
|
|
6056
|
-
* <
|
|
6057
|
-
*
|
|
6058
|
-
*
|
|
6059
|
-
*
|
|
6060
|
-
*
|
|
6061
|
-
*
|
|
6062
|
-
*
|
|
6365
|
+
* <ul>
|
|
6366
|
+
* <li>
|
|
6367
|
+
* <p>If <code>policyType</code> is <code>SUBSCRIPTION_FILTER_POLICY</code>, the only
|
|
6368
|
+
* supported <code>selectionCriteria</code> filter is <code>LogGroupName NOT IN
|
|
6369
|
+
* []</code>
|
|
6370
|
+
* </p>
|
|
6371
|
+
* </li>
|
|
6372
|
+
* <li>
|
|
6373
|
+
* <p>If <code>policyType</code> is <code>TRANSFORMER_POLICY</code>, the only supported
|
|
6374
|
+
* <code>selectionCriteria</code> filter is <code>LogGroupNamePrefix</code>
|
|
6375
|
+
* </p>
|
|
6376
|
+
* </li>
|
|
6377
|
+
* <li>
|
|
6378
|
+
* <p>If <code>policyType</code> is <code>FIELD_INDEX_POLICY</code>, the supported
|
|
6379
|
+
* <code>selectionCriteria</code> filters are:</p>
|
|
6380
|
+
* <ul>
|
|
6381
|
+
* <li>
|
|
6382
|
+
* <p>
|
|
6383
|
+
* <code>LogGroupNamePrefix</code>
|
|
6384
|
+
* </p>
|
|
6385
|
+
* </li>
|
|
6386
|
+
* <li>
|
|
6387
|
+
* <p>
|
|
6388
|
+
* <code>DataSourceName</code> AND <code>DataSourceType</code>
|
|
6389
|
+
* </p>
|
|
6390
|
+
* </li>
|
|
6391
|
+
* </ul>
|
|
6392
|
+
* <p>When you specify <code>selectionCriteria</code> for a field index policy you can
|
|
6393
|
+
* use either <code>LogGroupNamePrefix</code> by itself or <code>DataSourceName</code> and
|
|
6394
|
+
* <code>DataSourceType</code> together.</p>
|
|
6395
|
+
* </li>
|
|
6396
|
+
* </ul>
|
|
6063
6397
|
* <p>The <code>selectionCriteria</code> string can be up to 25KB in length. The length is
|
|
6064
6398
|
* determined by using its UTF-8 bytes.</p>
|
|
6065
6399
|
* <p>Using the <code>selectionCriteria</code> parameter with
|
|
@@ -6317,6 +6651,10 @@ export interface PutDeliverySourceRequest {
|
|
|
6317
6651
|
* <code>ERROR_LOGS</code>.</p>
|
|
6318
6652
|
* </li>
|
|
6319
6653
|
* <li>
|
|
6654
|
+
* <p>For Network Firewall Proxy, the valid values are <code>ALERT_LOGS</code>,
|
|
6655
|
+
* <code>ALLOW_LOGS</code>, and <code>DENY_LOGS</code>.</p>
|
|
6656
|
+
* </li>
|
|
6657
|
+
* <li>
|
|
6320
6658
|
* <p>For Network Load Balancer, the valid value is <code>NLB_ACCESS_LOGS</code>.</p>
|
|
6321
6659
|
* </li>
|
|
6322
6660
|
* <li>
|
|
@@ -6324,6 +6662,10 @@ export interface PutDeliverySourceRequest {
|
|
|
6324
6662
|
* <code>PCS_JOBCOMP_LOGS</code>.</p>
|
|
6325
6663
|
* </li>
|
|
6326
6664
|
* <li>
|
|
6665
|
+
* <p>For Quick Suite, the valid values are <code>CHAT_LOGS</code> and
|
|
6666
|
+
* <code>FEEDBACK_LOGS</code>.</p>
|
|
6667
|
+
* </li>
|
|
6668
|
+
* <li>
|
|
6327
6669
|
* <p>For Amazon Web Services RTB Fabric, the valid values is
|
|
6328
6670
|
* <code>APPLICATION_LOGS</code>.</p>
|
|
6329
6671
|
* </li>
|
|
@@ -6450,11 +6792,15 @@ export interface PutIndexPolicyRequest {
|
|
|
6450
6792
|
logGroupIdentifier: string | undefined;
|
|
6451
6793
|
/**
|
|
6452
6794
|
* <p>The index policy document, in JSON format. The following is an example of an index policy
|
|
6453
|
-
* document that creates
|
|
6454
|
-
* <code>TransactionId</code>.</p>
|
|
6795
|
+
* document that creates indexes with different types.</p>
|
|
6455
6796
|
* <p>
|
|
6456
|
-
* <code>"policyDocument": "\{
|
|
6797
|
+
* <code>"policyDocument": "\{"Fields": [ "TransactionId" ], "FieldsV2": \{"RequestId":
|
|
6798
|
+
* \{"type": "FIELD_INDEX"\}, "APIName": \{"type": "FACET"\}, "StatusCode": \{"type":
|
|
6799
|
+
* "FACET"\}\}\}"</code>
|
|
6457
6800
|
* </p>
|
|
6801
|
+
* <p>You can use <code>FieldsV2</code> to specify the type for each field. Supported types are
|
|
6802
|
+
* <code>FIELD_INDEX</code> and <code>FACET</code>. Field names within <code>Fields</code> and
|
|
6803
|
+
* <code>FieldsV2</code> must be mutually exclusive.</p>
|
|
6458
6804
|
* <p>The policy document must include at least one field index. For more information about the
|
|
6459
6805
|
* fields that can be included and other restrictions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs-Field-Indexing-Syntax.html">Field index
|
|
6460
6806
|
* syntax and quotas</a>.</p>
|
|
@@ -7672,7 +8018,8 @@ export interface UpdateScheduledQueryRequest {
|
|
|
7672
8018
|
*/
|
|
7673
8019
|
scheduleEndTime?: number | undefined;
|
|
7674
8020
|
/**
|
|
7675
|
-
* <p>The updated ARN of the IAM role that grants permissions to execute the query and deliver
|
|
8021
|
+
* <p>The updated ARN of the IAM role that grants permissions to execute the query and deliver
|
|
8022
|
+
* results.</p>
|
|
7676
8023
|
* @public
|
|
7677
8024
|
*/
|
|
7678
8025
|
executionRoleArn: string | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAggregateLogGroupSummariesCommandInput, ListAggregateLogGroupSummariesCommandOutput } from "../commands/ListAggregateLogGroupSummariesCommand";
|
|
3
|
+
import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAggregateLogGroupSummaries: (config: CloudWatchLogsPaginationConfiguration, input: ListAggregateLogGroupSummariesCommandInput, ...rest: any[]) => Paginator<ListAggregateLogGroupSummariesCommandOutput>;
|
|
@@ -11,6 +11,7 @@ export * from "./FilterLogEventsPaginator";
|
|
|
11
11
|
export * from "./Interfaces";
|
|
12
12
|
export * from "./GetLogEventsPaginator";
|
|
13
13
|
export * from "./GetScheduledQueryHistoryPaginator";
|
|
14
|
+
export * from "./ListAggregateLogGroupSummariesPaginator";
|
|
14
15
|
export * from "./ListAnomaliesPaginator";
|
|
15
16
|
export * from "./ListLogAnomalyDetectorsPaginator";
|
|
16
17
|
export * from "./ListLogGroupsForQueryPaginator";
|