@aws-sdk/client-cloudwatch-logs 3.1019.0 → 3.1021.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 +35 -0
- package/dist-cjs/index.js +70 -0
- package/dist-cjs/schemas/schemas_0.js +110 -16
- package/dist-es/CloudWatchLogs.js +14 -4
- package/dist-es/commands/CreateLookupTableCommand.js +16 -0
- package/dist-es/commands/DeleteLookupTableCommand.js +16 -0
- package/dist-es/commands/DescribeLookupTablesCommand.js +16 -0
- package/dist-es/commands/GetLookupTableCommand.js +16 -0
- package/dist-es/commands/UpdateLookupTableCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/schemas/schemas_0.js +101 -7
- package/dist-types/CloudWatchLogs.d.ts +144 -108
- package/dist-types/CloudWatchLogsClient.d.ts +118 -113
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/commands/CreateLookupTableCommand.d.ts +103 -0
- package/dist-types/commands/DeleteLookupTableCommand.d.ts +86 -0
- package/dist-types/commands/DescribeLookupTablesCommand.d.ts +103 -0
- package/dist-types/commands/GetLogFieldsCommand.d.ts +2 -1
- package/dist-types/commands/GetLookupTableCommand.d.ts +92 -0
- package/dist-types/commands/UpdateLookupTableCommand.d.ts +97 -0
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +216 -201
- package/dist-types/models/models_1.d.ts +234 -0
- package/dist-types/pagination/DescribeConfigurationTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDeliveriesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDeliveryDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDeliverySourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +1 -1
- package/dist-types/pagination/FilterLogEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetLogEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetScheduledQueryHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnomaliesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLogAnomalyDetectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLogGroupsForQueryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSourcesForS3TableIntegrationPaginator.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +15 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +86 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +32 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateLookupTableCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteLookupTableCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DescribeLookupTablesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLogFieldsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetLookupTableCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateLookupTableCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +49 -45
- package/dist-types/ts3.4/models/models_1.d.ts +53 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/package.json +15 -15
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import { InternalStreamingException, SessionStreamingException, SessionTimeoutException } from "./errors";
|
|
1
|
+
import type { 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
|
+
import type { InternalStreamingException, SessionStreamingException, SessionTimeoutException } from "./errors";
|
|
3
3
|
/**
|
|
4
4
|
* <p>A structure that contains information about one CloudWatch Logs account policy.</p>
|
|
5
5
|
* @public
|
|
@@ -1059,6 +1059,59 @@ export interface CreateLogStreamRequest {
|
|
|
1059
1059
|
*/
|
|
1060
1060
|
logStreamName: string | undefined;
|
|
1061
1061
|
}
|
|
1062
|
+
/**
|
|
1063
|
+
* @public
|
|
1064
|
+
*/
|
|
1065
|
+
export interface CreateLookupTableRequest {
|
|
1066
|
+
/**
|
|
1067
|
+
* <p>The name of the lookup table. The name must be unique within your account and Region.
|
|
1068
|
+
* The name can contain only alphanumeric characters and underscores, and can be up to
|
|
1069
|
+
* 256 characters long.</p>
|
|
1070
|
+
* @public
|
|
1071
|
+
*/
|
|
1072
|
+
lookupTableName: string | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* <p>A description of the lookup table. The description can be up to 1024 characters
|
|
1075
|
+
* long.</p>
|
|
1076
|
+
* @public
|
|
1077
|
+
*/
|
|
1078
|
+
description?: string | undefined;
|
|
1079
|
+
/**
|
|
1080
|
+
* <p>The CSV content of the lookup table. The first row must be a header row with column
|
|
1081
|
+
* names. The content must use UTF-8 encoding and not exceed 10 MB.</p>
|
|
1082
|
+
* @public
|
|
1083
|
+
*/
|
|
1084
|
+
tableBody: string | undefined;
|
|
1085
|
+
/**
|
|
1086
|
+
* <p>The ARN of the KMS key to use to encrypt the lookup table data. If you
|
|
1087
|
+
* don't specify a key, the data is encrypted with an Amazon Web Services-owned key.</p>
|
|
1088
|
+
* @public
|
|
1089
|
+
*/
|
|
1090
|
+
kmsKeyId?: string | undefined;
|
|
1091
|
+
/**
|
|
1092
|
+
* <p>A list of key-value pairs to associate with the lookup table. You can associate as many
|
|
1093
|
+
* as 50 tags with a lookup table. Tags can help you organize and categorize your
|
|
1094
|
+
* resources.</p>
|
|
1095
|
+
* @public
|
|
1096
|
+
*/
|
|
1097
|
+
tags?: Record<string, string> | undefined;
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* @public
|
|
1101
|
+
*/
|
|
1102
|
+
export interface CreateLookupTableResponse {
|
|
1103
|
+
/**
|
|
1104
|
+
* <p>The ARN of the lookup table that was created.</p>
|
|
1105
|
+
* @public
|
|
1106
|
+
*/
|
|
1107
|
+
lookupTableArn?: string | undefined;
|
|
1108
|
+
/**
|
|
1109
|
+
* <p>The time when the lookup table was created, expressed as the number of milliseconds
|
|
1110
|
+
* after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
1111
|
+
* @public
|
|
1112
|
+
*/
|
|
1113
|
+
createdAt?: number | undefined;
|
|
1114
|
+
}
|
|
1062
1115
|
/**
|
|
1063
1116
|
* <p>Configuration for Amazon S3 destination where scheduled query results are delivered.</p>
|
|
1064
1117
|
* @public
|
|
@@ -1466,6 +1519,16 @@ export interface DeleteLogStreamRequest {
|
|
|
1466
1519
|
*/
|
|
1467
1520
|
logStreamName: string | undefined;
|
|
1468
1521
|
}
|
|
1522
|
+
/**
|
|
1523
|
+
* @public
|
|
1524
|
+
*/
|
|
1525
|
+
export interface DeleteLookupTableRequest {
|
|
1526
|
+
/**
|
|
1527
|
+
* <p>The ARN of the lookup table to delete.</p>
|
|
1528
|
+
* @public
|
|
1529
|
+
*/
|
|
1530
|
+
lookupTableArn: string | undefined;
|
|
1531
|
+
}
|
|
1469
1532
|
/**
|
|
1470
1533
|
* @public
|
|
1471
1534
|
*/
|
|
@@ -2830,6 +2893,94 @@ export interface DescribeLogStreamsResponse {
|
|
|
2830
2893
|
*/
|
|
2831
2894
|
nextToken?: string | undefined;
|
|
2832
2895
|
}
|
|
2896
|
+
/**
|
|
2897
|
+
* @public
|
|
2898
|
+
*/
|
|
2899
|
+
export interface DescribeLookupTablesRequest {
|
|
2900
|
+
/**
|
|
2901
|
+
* <p>A prefix to filter lookup tables by name. Only tables whose names start with this
|
|
2902
|
+
* prefix are returned. If you don't specify a prefix, all tables in the account and Region are
|
|
2903
|
+
* returned.</p>
|
|
2904
|
+
* @public
|
|
2905
|
+
*/
|
|
2906
|
+
lookupTableNamePrefix?: string | undefined;
|
|
2907
|
+
/**
|
|
2908
|
+
* <p>The maximum number of lookup tables to return in the response. The default value is 50
|
|
2909
|
+
* and the maximum value is 100.</p>
|
|
2910
|
+
* @public
|
|
2911
|
+
*/
|
|
2912
|
+
maxResults?: number | undefined;
|
|
2913
|
+
/**
|
|
2914
|
+
* <p>The token for the next set of items to return. (You received this token from a previous
|
|
2915
|
+
* call.)</p>
|
|
2916
|
+
* @public
|
|
2917
|
+
*/
|
|
2918
|
+
nextToken?: string | undefined;
|
|
2919
|
+
}
|
|
2920
|
+
/**
|
|
2921
|
+
* <p>Contains metadata about a lookup table returned by <code>DescribeLookupTables</code>.</p>
|
|
2922
|
+
* @public
|
|
2923
|
+
*/
|
|
2924
|
+
export interface LookupTable {
|
|
2925
|
+
/**
|
|
2926
|
+
* <p>The ARN of the lookup table.</p>
|
|
2927
|
+
* @public
|
|
2928
|
+
*/
|
|
2929
|
+
lookupTableArn?: string | undefined;
|
|
2930
|
+
/**
|
|
2931
|
+
* <p>The name of the lookup table.</p>
|
|
2932
|
+
* @public
|
|
2933
|
+
*/
|
|
2934
|
+
lookupTableName?: string | undefined;
|
|
2935
|
+
/**
|
|
2936
|
+
* <p>The description of the lookup table.</p>
|
|
2937
|
+
* @public
|
|
2938
|
+
*/
|
|
2939
|
+
description?: string | undefined;
|
|
2940
|
+
/**
|
|
2941
|
+
* <p>The column headers from the first row of the CSV file.</p>
|
|
2942
|
+
* @public
|
|
2943
|
+
*/
|
|
2944
|
+
tableFields?: string[] | undefined;
|
|
2945
|
+
/**
|
|
2946
|
+
* <p>The number of data rows in the lookup table, excluding the header row.</p>
|
|
2947
|
+
* @public
|
|
2948
|
+
*/
|
|
2949
|
+
recordsCount?: number | undefined;
|
|
2950
|
+
/**
|
|
2951
|
+
* <p>The size of the lookup table in bytes.</p>
|
|
2952
|
+
* @public
|
|
2953
|
+
*/
|
|
2954
|
+
sizeBytes?: number | undefined;
|
|
2955
|
+
/**
|
|
2956
|
+
* <p>The time when the lookup table was last updated, expressed as the number of
|
|
2957
|
+
* milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
2958
|
+
* @public
|
|
2959
|
+
*/
|
|
2960
|
+
lastUpdatedTime?: number | undefined;
|
|
2961
|
+
/**
|
|
2962
|
+
* <p>The ARN of the KMS key used to encrypt the lookup table data, if
|
|
2963
|
+
* applicable.</p>
|
|
2964
|
+
* @public
|
|
2965
|
+
*/
|
|
2966
|
+
kmsKeyId?: string | undefined;
|
|
2967
|
+
}
|
|
2968
|
+
/**
|
|
2969
|
+
* @public
|
|
2970
|
+
*/
|
|
2971
|
+
export interface DescribeLookupTablesResponse {
|
|
2972
|
+
/**
|
|
2973
|
+
* <p>An array of structures, where each structure contains metadata about one lookup
|
|
2974
|
+
* table.</p>
|
|
2975
|
+
* @public
|
|
2976
|
+
*/
|
|
2977
|
+
lookupTables?: LookupTable[] | undefined;
|
|
2978
|
+
/**
|
|
2979
|
+
* <p>The token to use when requesting the next set of items.</p>
|
|
2980
|
+
* @public
|
|
2981
|
+
*/
|
|
2982
|
+
nextToken?: string | undefined;
|
|
2983
|
+
}
|
|
2833
2984
|
/**
|
|
2834
2985
|
* @public
|
|
2835
2986
|
*/
|
|
@@ -4531,6 +4682,58 @@ export interface GetLogRecordResponse {
|
|
|
4531
4682
|
*/
|
|
4532
4683
|
logRecord?: Record<string, string> | undefined;
|
|
4533
4684
|
}
|
|
4685
|
+
/**
|
|
4686
|
+
* @public
|
|
4687
|
+
*/
|
|
4688
|
+
export interface GetLookupTableRequest {
|
|
4689
|
+
/**
|
|
4690
|
+
* <p>The ARN of the lookup table to retrieve.</p>
|
|
4691
|
+
* @public
|
|
4692
|
+
*/
|
|
4693
|
+
lookupTableArn: string | undefined;
|
|
4694
|
+
}
|
|
4695
|
+
/**
|
|
4696
|
+
* @public
|
|
4697
|
+
*/
|
|
4698
|
+
export interface GetLookupTableResponse {
|
|
4699
|
+
/**
|
|
4700
|
+
* <p>The ARN of the lookup table.</p>
|
|
4701
|
+
* @public
|
|
4702
|
+
*/
|
|
4703
|
+
lookupTableArn?: string | undefined;
|
|
4704
|
+
/**
|
|
4705
|
+
* <p>The name of the lookup table.</p>
|
|
4706
|
+
* @public
|
|
4707
|
+
*/
|
|
4708
|
+
lookupTableName?: string | undefined;
|
|
4709
|
+
/**
|
|
4710
|
+
* <p>The description of the lookup table.</p>
|
|
4711
|
+
* @public
|
|
4712
|
+
*/
|
|
4713
|
+
description?: string | undefined;
|
|
4714
|
+
/**
|
|
4715
|
+
* <p>The full CSV content of the lookup table.</p>
|
|
4716
|
+
* @public
|
|
4717
|
+
*/
|
|
4718
|
+
tableBody?: string | undefined;
|
|
4719
|
+
/**
|
|
4720
|
+
* <p>The size of the lookup table in bytes.</p>
|
|
4721
|
+
* @public
|
|
4722
|
+
*/
|
|
4723
|
+
sizeBytes?: number | undefined;
|
|
4724
|
+
/**
|
|
4725
|
+
* <p>The time when the lookup table was last updated, expressed as the number of
|
|
4726
|
+
* milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
4727
|
+
* @public
|
|
4728
|
+
*/
|
|
4729
|
+
lastUpdatedTime?: number | undefined;
|
|
4730
|
+
/**
|
|
4731
|
+
* <p>The ARN of the KMS key used to encrypt the lookup table data, if
|
|
4732
|
+
* applicable.</p>
|
|
4733
|
+
* @public
|
|
4734
|
+
*/
|
|
4735
|
+
kmsKeyId?: string | undefined;
|
|
4736
|
+
}
|
|
4534
4737
|
/**
|
|
4535
4738
|
* @public
|
|
4536
4739
|
*/
|
|
@@ -8055,216 +8258,28 @@ export interface UpdateLogAnomalyDetectorRequest {
|
|
|
8055
8258
|
/**
|
|
8056
8259
|
* @public
|
|
8057
8260
|
*/
|
|
8058
|
-
export interface
|
|
8059
|
-
/**
|
|
8060
|
-
* <p>The ARN or name of the scheduled query to update.</p>
|
|
8061
|
-
* @public
|
|
8062
|
-
*/
|
|
8063
|
-
identifier: string | undefined;
|
|
8064
|
-
/**
|
|
8065
|
-
* <p>An updated description for the scheduled query.</p>
|
|
8066
|
-
* @public
|
|
8067
|
-
*/
|
|
8068
|
-
description?: string | undefined;
|
|
8069
|
-
/**
|
|
8070
|
-
* <p>The updated query language for the scheduled query.</p>
|
|
8071
|
-
* @public
|
|
8072
|
-
*/
|
|
8073
|
-
queryLanguage: QueryLanguage | undefined;
|
|
8074
|
-
/**
|
|
8075
|
-
* <p>The updated query string to execute.</p>
|
|
8076
|
-
* @public
|
|
8077
|
-
*/
|
|
8078
|
-
queryString: string | undefined;
|
|
8079
|
-
/**
|
|
8080
|
-
* <p>The updated array of log group names or ARNs to query.</p>
|
|
8081
|
-
* @public
|
|
8082
|
-
*/
|
|
8083
|
-
logGroupIdentifiers?: string[] | undefined;
|
|
8084
|
-
/**
|
|
8085
|
-
* <p>The updated cron expression that defines when the scheduled query runs.</p>
|
|
8086
|
-
* @public
|
|
8087
|
-
*/
|
|
8088
|
-
scheduleExpression: string | undefined;
|
|
8089
|
-
/**
|
|
8090
|
-
* <p>The updated timezone for evaluating the schedule expression.</p>
|
|
8091
|
-
* @public
|
|
8092
|
-
*/
|
|
8093
|
-
timezone?: string | undefined;
|
|
8094
|
-
/**
|
|
8095
|
-
* <p>The updated time offset in seconds that defines the lookback period for the query.</p>
|
|
8096
|
-
* @public
|
|
8097
|
-
*/
|
|
8098
|
-
startTimeOffset?: number | undefined;
|
|
8099
|
-
/**
|
|
8100
|
-
* <p>The updated configuration for where to deliver query results.</p>
|
|
8101
|
-
* @public
|
|
8102
|
-
*/
|
|
8103
|
-
destinationConfiguration?: DestinationConfiguration | undefined;
|
|
8104
|
-
/**
|
|
8105
|
-
* <p>The updated start time for the scheduled query in Unix epoch format.</p>
|
|
8106
|
-
* @public
|
|
8107
|
-
*/
|
|
8108
|
-
scheduleStartTime?: number | undefined;
|
|
8109
|
-
/**
|
|
8110
|
-
* <p>The updated end time for the scheduled query in Unix epoch format.</p>
|
|
8111
|
-
* @public
|
|
8112
|
-
*/
|
|
8113
|
-
scheduleEndTime?: number | undefined;
|
|
8114
|
-
/**
|
|
8115
|
-
* <p>The updated ARN of the IAM role that grants permissions to execute the query and deliver
|
|
8116
|
-
* results.</p>
|
|
8117
|
-
* @public
|
|
8118
|
-
*/
|
|
8119
|
-
executionRoleArn: string | undefined;
|
|
8120
|
-
/**
|
|
8121
|
-
* <p>The updated state of the scheduled query.</p>
|
|
8122
|
-
* @public
|
|
8123
|
-
*/
|
|
8124
|
-
state?: ScheduledQueryState | undefined;
|
|
8125
|
-
}
|
|
8126
|
-
/**
|
|
8127
|
-
* @public
|
|
8128
|
-
*/
|
|
8129
|
-
export interface UpdateScheduledQueryResponse {
|
|
8130
|
-
/**
|
|
8131
|
-
* <p>The ARN of the updated scheduled query.</p>
|
|
8132
|
-
* @public
|
|
8133
|
-
*/
|
|
8134
|
-
scheduledQueryArn?: string | undefined;
|
|
8261
|
+
export interface UpdateLookupTableRequest {
|
|
8135
8262
|
/**
|
|
8136
|
-
* <p>The
|
|
8263
|
+
* <p>The ARN of the lookup table to update.</p>
|
|
8137
8264
|
* @public
|
|
8138
8265
|
*/
|
|
8139
|
-
|
|
8266
|
+
lookupTableArn: string | undefined;
|
|
8140
8267
|
/**
|
|
8141
|
-
* <p>
|
|
8268
|
+
* <p>An updated description of the lookup table.</p>
|
|
8142
8269
|
* @public
|
|
8143
8270
|
*/
|
|
8144
8271
|
description?: string | undefined;
|
|
8145
8272
|
/**
|
|
8146
|
-
* <p>The
|
|
8147
|
-
*
|
|
8148
|
-
*/
|
|
8149
|
-
queryLanguage?: QueryLanguage | undefined;
|
|
8150
|
-
/**
|
|
8151
|
-
* <p>The query string of the updated scheduled query.</p>
|
|
8152
|
-
* @public
|
|
8153
|
-
*/
|
|
8154
|
-
queryString?: string | undefined;
|
|
8155
|
-
/**
|
|
8156
|
-
* <p>The log groups queried by the updated scheduled query.</p>
|
|
8273
|
+
* <p>The new CSV content to replace the existing data. The first row must be a header row
|
|
8274
|
+
* with column names. The content must use UTF-8 encoding and not exceed 10 MB.</p>
|
|
8157
8275
|
* @public
|
|
8158
8276
|
*/
|
|
8159
|
-
|
|
8277
|
+
tableBody: string | undefined;
|
|
8160
8278
|
/**
|
|
8161
|
-
* <p>The
|
|
8279
|
+
* <p>The ARN of the KMS key to use to encrypt the lookup table data. You can
|
|
8280
|
+
* use this parameter to add, update, or remove the KMS key. To remove the KMS key and use an
|
|
8281
|
+
* Amazon Web Services-owned key instead, specify an empty string.</p>
|
|
8162
8282
|
* @public
|
|
8163
8283
|
*/
|
|
8164
|
-
|
|
8165
|
-
/**
|
|
8166
|
-
* <p>The timezone of the updated scheduled query.</p>
|
|
8167
|
-
* @public
|
|
8168
|
-
*/
|
|
8169
|
-
timezone?: string | undefined;
|
|
8170
|
-
/**
|
|
8171
|
-
* <p>The time offset of the updated scheduled query.</p>
|
|
8172
|
-
* @public
|
|
8173
|
-
*/
|
|
8174
|
-
startTimeOffset?: number | undefined;
|
|
8175
|
-
/**
|
|
8176
|
-
* <p>The destination configuration of the updated scheduled query.</p>
|
|
8177
|
-
* @public
|
|
8178
|
-
*/
|
|
8179
|
-
destinationConfiguration?: DestinationConfiguration | undefined;
|
|
8180
|
-
/**
|
|
8181
|
-
* <p>The state of the updated scheduled query.</p>
|
|
8182
|
-
* @public
|
|
8183
|
-
*/
|
|
8184
|
-
state?: ScheduledQueryState | undefined;
|
|
8185
|
-
/**
|
|
8186
|
-
* <p>The timestamp when the updated scheduled query was last executed.</p>
|
|
8187
|
-
* @public
|
|
8188
|
-
*/
|
|
8189
|
-
lastTriggeredTime?: number | undefined;
|
|
8190
|
-
/**
|
|
8191
|
-
* <p>The status of the most recent execution of the updated scheduled query.</p>
|
|
8192
|
-
* @public
|
|
8193
|
-
*/
|
|
8194
|
-
lastExecutionStatus?: ExecutionStatus | undefined;
|
|
8195
|
-
/**
|
|
8196
|
-
* <p>The start time of the updated scheduled query.</p>
|
|
8197
|
-
* @public
|
|
8198
|
-
*/
|
|
8199
|
-
scheduleStartTime?: number | undefined;
|
|
8200
|
-
/**
|
|
8201
|
-
* <p>The end time of the updated scheduled query.</p>
|
|
8202
|
-
* @public
|
|
8203
|
-
*/
|
|
8204
|
-
scheduleEndTime?: number | undefined;
|
|
8205
|
-
/**
|
|
8206
|
-
* <p>The execution role ARN of the updated scheduled query.</p>
|
|
8207
|
-
* @public
|
|
8208
|
-
*/
|
|
8209
|
-
executionRoleArn?: string | undefined;
|
|
8210
|
-
/**
|
|
8211
|
-
* <p>The timestamp when the scheduled query was originally created.</p>
|
|
8212
|
-
* @public
|
|
8213
|
-
*/
|
|
8214
|
-
creationTime?: number | undefined;
|
|
8215
|
-
/**
|
|
8216
|
-
* <p>The timestamp when the scheduled query was last updated.</p>
|
|
8217
|
-
* @public
|
|
8218
|
-
*/
|
|
8219
|
-
lastUpdatedTime?: number | undefined;
|
|
8220
|
-
}
|
|
8221
|
-
/**
|
|
8222
|
-
* <p>Defines the data type structure for a log field, including the type, element information,
|
|
8223
|
-
* and nested fields for complex types.</p>
|
|
8224
|
-
* @public
|
|
8225
|
-
*/
|
|
8226
|
-
export interface LogFieldType {
|
|
8227
|
-
/**
|
|
8228
|
-
* <p>The data type of the log field.</p>
|
|
8229
|
-
* @public
|
|
8230
|
-
*/
|
|
8231
|
-
type?: string | undefined;
|
|
8232
|
-
/**
|
|
8233
|
-
* <p>For array or collection types, specifies the element type information.</p>
|
|
8234
|
-
* @public
|
|
8235
|
-
*/
|
|
8236
|
-
element?: LogFieldType | undefined;
|
|
8237
|
-
/**
|
|
8238
|
-
* <p>For complex types, contains the nested field definitions.</p>
|
|
8239
|
-
* @public
|
|
8240
|
-
*/
|
|
8241
|
-
fields?: LogFieldsListItem[] | undefined;
|
|
8242
|
-
}
|
|
8243
|
-
/**
|
|
8244
|
-
* <p>Represents a log field with its name and data type information for a specific data
|
|
8245
|
-
* source.</p>
|
|
8246
|
-
* @public
|
|
8247
|
-
*/
|
|
8248
|
-
export interface LogFieldsListItem {
|
|
8249
|
-
/**
|
|
8250
|
-
* <p>The name of the log field.</p>
|
|
8251
|
-
* @public
|
|
8252
|
-
*/
|
|
8253
|
-
logFieldName?: string | undefined;
|
|
8254
|
-
/**
|
|
8255
|
-
* <p>The data type information for the log field.</p>
|
|
8256
|
-
* @public
|
|
8257
|
-
*/
|
|
8258
|
-
logFieldType?: LogFieldType | undefined;
|
|
8259
|
-
}
|
|
8260
|
-
/**
|
|
8261
|
-
* @public
|
|
8262
|
-
*/
|
|
8263
|
-
export interface GetLogFieldsResponse {
|
|
8264
|
-
/**
|
|
8265
|
-
* <p>The list of log fields for the specified data source, including field names and their data
|
|
8266
|
-
* types.</p>
|
|
8267
|
-
* @public
|
|
8268
|
-
*/
|
|
8269
|
-
logFields?: LogFieldsListItem[] | undefined;
|
|
8284
|
+
kmsKeyId?: string | undefined;
|
|
8270
8285
|
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import type { ExecutionStatus, QueryLanguage, ScheduledQueryState } from "./enums";
|
|
2
|
+
import type { DestinationConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateLookupTableResponse {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The ARN of the lookup table that was updated.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
lookupTableArn?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The time when the lookup table was last updated, expressed as the number of
|
|
14
|
+
* milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
lastUpdatedTime?: number | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateScheduledQueryRequest {
|
|
23
|
+
/**
|
|
24
|
+
* <p>The ARN or name of the scheduled query to update.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
identifier: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>An updated description for the scheduled query.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
description?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The updated query language for the scheduled query.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
queryLanguage: QueryLanguage | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The updated query string to execute.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
queryString: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The updated array of log group names or ARNs to query.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
logGroupIdentifiers?: string[] | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The updated cron expression that defines when the scheduled query runs.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
scheduleExpression: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The updated timezone for evaluating the schedule expression.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
timezone?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The updated time offset in seconds that defines the lookback period for the query.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
startTimeOffset?: number | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>The updated configuration for where to deliver query results.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
destinationConfiguration?: DestinationConfiguration | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The updated start time for the scheduled query in Unix epoch format.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
scheduleStartTime?: number | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>The updated end time for the scheduled query in Unix epoch format.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
scheduleEndTime?: number | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* <p>The updated ARN of the IAM role that grants permissions to execute the query and deliver
|
|
80
|
+
* results.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
executionRoleArn: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The updated state of the scheduled query.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
state?: ScheduledQueryState | undefined;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export interface UpdateScheduledQueryResponse {
|
|
94
|
+
/**
|
|
95
|
+
* <p>The ARN of the updated scheduled query.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
scheduledQueryArn?: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The name of the updated scheduled query.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
name?: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The description of the updated scheduled query.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
description?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The query language of the updated scheduled query.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
queryLanguage?: QueryLanguage | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* <p>The query string of the updated scheduled query.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
queryString?: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The log groups queried by the updated scheduled query.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
logGroupIdentifiers?: string[] | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>The cron expression of the updated scheduled query.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
scheduleExpression?: string | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* <p>The timezone of the updated scheduled query.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
timezone?: string | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* <p>The time offset of the updated scheduled query.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
startTimeOffset?: number | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>The destination configuration of the updated scheduled query.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
destinationConfiguration?: DestinationConfiguration | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* <p>The state of the updated scheduled query.</p>
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
state?: ScheduledQueryState | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* <p>The timestamp when the updated scheduled query was last executed.</p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
lastTriggeredTime?: number | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* <p>The status of the most recent execution of the updated scheduled query.</p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
lastExecutionStatus?: ExecutionStatus | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* <p>The start time of the updated scheduled query.</p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
scheduleStartTime?: number | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* <p>The end time of the updated scheduled query.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
scheduleEndTime?: number | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* <p>The execution role ARN of the updated scheduled query.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
executionRoleArn?: string | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* <p>The timestamp when the scheduled query was originally created.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
creationTime?: number | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* <p>The timestamp when the scheduled query was last updated.</p>
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
lastUpdatedTime?: number | undefined;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* <p>Defines the data type structure for a log field, including the type, element information,
|
|
187
|
+
* and nested fields for complex types.</p>
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
export interface LogFieldType {
|
|
191
|
+
/**
|
|
192
|
+
* <p>The data type of the log field.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
type?: string | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>For array or collection types, specifies the element type information.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
element?: LogFieldType | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* <p>For complex types, contains the nested field definitions.</p>
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
fields?: LogFieldsListItem[] | undefined;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* <p>Represents a log field with its name and data type information for a specific data
|
|
209
|
+
* source.</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
export interface LogFieldsListItem {
|
|
213
|
+
/**
|
|
214
|
+
* <p>The name of the log field.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
logFieldName?: string | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* <p>The data type information for the log field.</p>
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
logFieldType?: LogFieldType | undefined;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export interface GetLogFieldsResponse {
|
|
228
|
+
/**
|
|
229
|
+
* <p>The list of log fields for the specified data source, including field names and their data
|
|
230
|
+
* types.</p>
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
logFields?: LogFieldsListItem[] | undefined;
|
|
234
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { DescribeConfigurationTemplatesCommandInput, DescribeConfigurationTemplatesCommandOutput } from "../commands/DescribeConfigurationTemplatesCommand";
|
|
3
|
-
import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|