@aws-sdk/client-cloudwatch-logs 3.533.0 → 3.535.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/CloudWatchLogs.d.ts +19 -1
- package/dist-types/CloudWatchLogsClient.d.ts +1 -1
- package/dist-types/commands/AssociateKmsKeyCommand.d.ts +2 -1
- package/dist-types/commands/CancelExportTaskCommand.d.ts +2 -1
- package/dist-types/commands/CreateDeliveryCommand.d.ts +2 -1
- package/dist-types/commands/CreateExportTaskCommand.d.ts +2 -1
- package/dist-types/commands/CreateLogAnomalyDetectorCommand.d.ts +2 -1
- package/dist-types/commands/CreateLogGroupCommand.d.ts +2 -1
- package/dist-types/commands/CreateLogStreamCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDeliveryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDeliveryDestinationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDeliverySourceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDestinationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLogAnomalyDetectorCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLogGroupCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLogStreamCommand.d.ts +2 -1
- package/dist-types/commands/DeleteMetricFilterCommand.d.ts +2 -1
- package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +2 -1
- package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDeliveriesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDestinationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLogStreamsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQueriesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +2 -1
- package/dist-types/commands/FilterLogEventsCommand.d.ts +2 -1
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetDeliveryCommand.d.ts +2 -1
- package/dist-types/commands/GetDeliveryDestinationCommand.d.ts +2 -1
- package/dist-types/commands/GetDeliveryDestinationPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetDeliverySourceCommand.d.ts +2 -1
- package/dist-types/commands/GetLogAnomalyDetectorCommand.d.ts +2 -1
- package/dist-types/commands/GetLogEventsCommand.d.ts +2 -1
- package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +2 -1
- package/dist-types/commands/GetLogRecordCommand.d.ts +2 -1
- package/dist-types/commands/GetQueryResultsCommand.d.ts +2 -1
- package/dist-types/commands/ListAnomaliesCommand.d.ts +2 -1
- package/dist-types/commands/ListLogAnomalyDetectorsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsLogGroupCommand.d.ts +3 -3
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutDeliveryDestinationCommand.d.ts +2 -1
- package/dist-types/commands/PutDeliveryDestinationPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutDeliverySourceCommand.d.ts +2 -1
- package/dist-types/commands/PutDestinationCommand.d.ts +2 -1
- package/dist-types/commands/PutDestinationPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutLogEventsCommand.d.ts +2 -1
- package/dist-types/commands/PutMetricFilterCommand.d.ts +2 -1
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +2 -1
- package/dist-types/commands/StartLiveTailCommand.d.ts +2 -1
- package/dist-types/commands/StartQueryCommand.d.ts +2 -1
- package/dist-types/commands/StopQueryCommand.d.ts +2 -1
- package/dist-types/commands/TagLogGroupCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/TestMetricFilterCommand.d.ts +2 -1
- package/dist-types/commands/UntagLogGroupCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAnomalyCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLogAnomalyDetectorCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +533 -533
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateDeliveryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateLogAnomalyDetectorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDataProtectionPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDeliveryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDeliveryDestinationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDeliverySourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteLogAnomalyDetectorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeAccountPoliciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeDeliveriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeDeliveryDestinationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeDeliverySourcesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDeliveryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDeliveryDestinationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDeliveryDestinationPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDeliverySourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLogAnomalyDetectorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAnomaliesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListLogAnomalyDetectorsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutAccountPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutDeliveryDestinationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutDeliveryDestinationPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutDeliverySourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartLiveTailCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateAnomalyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateLogAnomalyDetectorCommand.d.ts +9 -0
- package/package.json +43 -43
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudWatchLogsServiceException as __BaseException } from "./CloudWatchLogsServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -36,77 +36,77 @@ export declare const Scope: {
|
|
|
36
36
|
*/
|
|
37
37
|
export type Scope = (typeof Scope)[keyof typeof Scope];
|
|
38
38
|
/**
|
|
39
|
-
* @public
|
|
40
39
|
* <p>A structure that contains information about one CloudWatch Logs account policy.</p>
|
|
40
|
+
* @public
|
|
41
41
|
*/
|
|
42
42
|
export interface AccountPolicy {
|
|
43
43
|
/**
|
|
44
|
-
* @public
|
|
45
44
|
* <p>The name of the account policy.</p>
|
|
45
|
+
* @public
|
|
46
46
|
*/
|
|
47
47
|
policyName?: string;
|
|
48
48
|
/**
|
|
49
|
-
* @public
|
|
50
49
|
* <p>The policy document for this account policy.</p>
|
|
51
50
|
* <p>The JSON specified in <code>policyDocument</code> can be up to 30,720 characters.</p>
|
|
51
|
+
* @public
|
|
52
52
|
*/
|
|
53
53
|
policyDocument?: string;
|
|
54
54
|
/**
|
|
55
|
-
* @public
|
|
56
55
|
* <p>The date and time that this policy was most recently updated.</p>
|
|
56
|
+
* @public
|
|
57
57
|
*/
|
|
58
58
|
lastUpdatedTime?: number;
|
|
59
59
|
/**
|
|
60
|
-
* @public
|
|
61
60
|
* <p>The type of policy for this account policy.</p>
|
|
61
|
+
* @public
|
|
62
62
|
*/
|
|
63
63
|
policyType?: PolicyType;
|
|
64
64
|
/**
|
|
65
|
-
* @public
|
|
66
65
|
* <p>The scope of the account policy.</p>
|
|
66
|
+
* @public
|
|
67
67
|
*/
|
|
68
68
|
scope?: Scope;
|
|
69
69
|
/**
|
|
70
|
-
* @public
|
|
71
70
|
* <p>The log group selection criteria for this subscription filter policy.</p>
|
|
71
|
+
* @public
|
|
72
72
|
*/
|
|
73
73
|
selectionCriteria?: string;
|
|
74
74
|
/**
|
|
75
|
-
* @public
|
|
76
75
|
* <p>The Amazon Web Services account ID that the policy applies to.</p>
|
|
76
|
+
* @public
|
|
77
77
|
*/
|
|
78
78
|
accountId?: string;
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
* @public
|
|
82
81
|
* <p>A tructures that contains information about one pattern token related to
|
|
83
82
|
* an anomaly.</p>
|
|
84
83
|
* <p>For more information about patterns and tokens, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateLogAnomalyDetector.html">CreateLogAnomalyDetector</a>.
|
|
85
84
|
* </p>
|
|
85
|
+
* @public
|
|
86
86
|
*/
|
|
87
87
|
export interface PatternToken {
|
|
88
88
|
/**
|
|
89
|
-
* @public
|
|
90
89
|
* <p>For a dynamic token, this indicates where in the pattern that this token appears, related
|
|
91
90
|
* to other dynamic tokens. The dynamic token that appears first has a value of <code>1</code>, the
|
|
92
91
|
* one that appears second is <code>2</code>, and so on.</p>
|
|
92
|
+
* @public
|
|
93
93
|
*/
|
|
94
94
|
dynamicTokenPosition?: number;
|
|
95
95
|
/**
|
|
96
|
-
* @public
|
|
97
96
|
* <p>Specifies whether this is a dynamic token.</p>
|
|
97
|
+
* @public
|
|
98
98
|
*/
|
|
99
99
|
isDynamic?: boolean;
|
|
100
100
|
/**
|
|
101
|
-
* @public
|
|
102
101
|
* <p>The string represented by this token. If this is a dynamic token, the
|
|
103
102
|
* value will be <code><*></code>
|
|
104
103
|
* </p>
|
|
104
|
+
* @public
|
|
105
105
|
*/
|
|
106
106
|
tokenString?: string;
|
|
107
107
|
/**
|
|
108
|
-
* @public
|
|
109
108
|
* <p>Contains the values found for a dynamic token, and the number of times each value was found.</p>
|
|
109
|
+
* @public
|
|
110
110
|
*/
|
|
111
111
|
enumerations?: Record<string, number>;
|
|
112
112
|
}
|
|
@@ -124,121 +124,121 @@ export declare const State: {
|
|
|
124
124
|
*/
|
|
125
125
|
export type State = (typeof State)[keyof typeof State];
|
|
126
126
|
/**
|
|
127
|
-
* @public
|
|
128
127
|
* <p>This structure represents one anomaly that has been found by a logs anomaly detector.</p>
|
|
129
128
|
* <p>For more information about patterns and anomalies, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateLogAnomalyDetector.html">CreateLogAnomalyDetector</a>.
|
|
130
129
|
* </p>
|
|
130
|
+
* @public
|
|
131
131
|
*/
|
|
132
132
|
export interface Anomaly {
|
|
133
133
|
/**
|
|
134
|
-
* @public
|
|
135
134
|
* <p>The unique ID that CloudWatch Logs assigned to this anomaly.</p>
|
|
135
|
+
* @public
|
|
136
136
|
*/
|
|
137
137
|
anomalyId: string | undefined;
|
|
138
138
|
/**
|
|
139
|
-
* @public
|
|
140
139
|
* <p>The ID of the pattern used to help identify this anomaly.</p>
|
|
140
|
+
* @public
|
|
141
141
|
*/
|
|
142
142
|
patternId: string | undefined;
|
|
143
143
|
/**
|
|
144
|
-
* @public
|
|
145
144
|
* <p>The ARN of the anomaly detector that identified this anomaly.</p>
|
|
145
|
+
* @public
|
|
146
146
|
*/
|
|
147
147
|
anomalyDetectorArn: string | undefined;
|
|
148
148
|
/**
|
|
149
|
-
* @public
|
|
150
149
|
* <p>The pattern used to help identify this anomaly, in string format.</p>
|
|
150
|
+
* @public
|
|
151
151
|
*/
|
|
152
152
|
patternString: string | undefined;
|
|
153
153
|
/**
|
|
154
|
-
* @public
|
|
155
154
|
* <p>The pattern used to help identify this anomaly, in regular expression format.</p>
|
|
155
|
+
* @public
|
|
156
156
|
*/
|
|
157
157
|
patternRegex?: string;
|
|
158
158
|
/**
|
|
159
|
-
* @public
|
|
160
159
|
* <p>The priority level of this anomaly, as determined by CloudWatch Logs. Priority is computed based on log
|
|
161
160
|
* severity labels such as <code>FATAL</code> and <code>ERROR</code> and the amount of deviation from the baseline.
|
|
162
161
|
* Possible values are
|
|
163
162
|
* <code>HIGH</code>, <code>MEDIUM</code>, and <code>LOW</code>.</p>
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
priority?: string;
|
|
166
166
|
/**
|
|
167
|
-
* @public
|
|
168
167
|
* <p>The date and time when the anomaly detector first saw this anomaly.
|
|
169
168
|
* It is specified as epoch time, which is the number of seconds
|
|
170
169
|
* since <code>January 1, 1970, 00:00:00 UTC</code>.</p>
|
|
170
|
+
* @public
|
|
171
171
|
*/
|
|
172
172
|
firstSeen: number | undefined;
|
|
173
173
|
/**
|
|
174
|
-
* @public
|
|
175
174
|
* <p>The date and time when the anomaly detector most recently saw this anomaly.
|
|
176
175
|
* It is specified as epoch time, which is the number of seconds
|
|
177
176
|
* since <code>January 1, 1970, 00:00:00 UTC</code>.</p>
|
|
177
|
+
* @public
|
|
178
178
|
*/
|
|
179
179
|
lastSeen: number | undefined;
|
|
180
180
|
/**
|
|
181
|
-
* @public
|
|
182
181
|
* <p>A human-readable description of the anomaly. This description is generated by
|
|
183
182
|
* CloudWatch Logs.</p>
|
|
183
|
+
* @public
|
|
184
184
|
*/
|
|
185
185
|
description: string | undefined;
|
|
186
186
|
/**
|
|
187
|
-
* @public
|
|
188
187
|
* <p>Specifies whether this anomaly is still ongoing.</p>
|
|
188
|
+
* @public
|
|
189
189
|
*/
|
|
190
190
|
active: boolean | undefined;
|
|
191
191
|
/**
|
|
192
|
-
* @public
|
|
193
192
|
* <p>Indicates the current state of this anomaly. If it is still being treated as an anomaly, the value
|
|
194
193
|
* is <code>Active</code>. If you have suppressed this anomaly by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateAnomaly.html">UpdateAnomaly</a> operation,
|
|
195
194
|
* the value is <code>Suppressed</code>. If this behavior is now considered to be normal, the value
|
|
196
195
|
* is <code>Baseline</code>.</p>
|
|
196
|
+
* @public
|
|
197
197
|
*/
|
|
198
198
|
state: State | undefined;
|
|
199
199
|
/**
|
|
200
|
-
* @public
|
|
201
200
|
* <p>A map showing times when the anomaly detector ran, and the number of occurrences of this anomaly that
|
|
202
201
|
* were detected at each of those runs. The times are specified in epoch time, which is the number of seconds
|
|
203
202
|
* since <code>January 1, 1970, 00:00:00 UTC</code>.</p>
|
|
203
|
+
* @public
|
|
204
204
|
*/
|
|
205
205
|
histogram: Record<string, number> | undefined;
|
|
206
206
|
/**
|
|
207
|
-
* @public
|
|
208
207
|
* <p>An array of sample log event messages that are considered to be part of this anomaly.</p>
|
|
208
|
+
* @public
|
|
209
209
|
*/
|
|
210
210
|
logSamples: string[] | undefined;
|
|
211
211
|
/**
|
|
212
|
-
* @public
|
|
213
212
|
* <p>An array of structures where each structure contains information about one token that makes up the pattern.</p>
|
|
213
|
+
* @public
|
|
214
214
|
*/
|
|
215
215
|
patternTokens: PatternToken[] | undefined;
|
|
216
216
|
/**
|
|
217
|
-
* @public
|
|
218
217
|
* <p>An array of ARNS of the log groups that contained log events considered to be part of this anomaly.</p>
|
|
218
|
+
* @public
|
|
219
219
|
*/
|
|
220
220
|
logGroupArnList: string[] | undefined;
|
|
221
221
|
/**
|
|
222
|
-
* @public
|
|
223
222
|
* <p>Indicates whether this anomaly is currently suppressed. To suppress an anomaly,
|
|
224
223
|
* use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateAnomaly.html">UpdateAnomaly</a>.</p>
|
|
224
|
+
* @public
|
|
225
225
|
*/
|
|
226
226
|
suppressed?: boolean;
|
|
227
227
|
/**
|
|
228
|
-
* @public
|
|
229
228
|
* <p>If the anomaly is suppressed, this indicates when it was suppressed.</p>
|
|
229
|
+
* @public
|
|
230
230
|
*/
|
|
231
231
|
suppressedDate?: number;
|
|
232
232
|
/**
|
|
233
|
-
* @public
|
|
234
233
|
* <p>If the anomaly is suppressed, this indicates when the suppression will end. If this value is <code>0</code>,
|
|
235
234
|
* the anomaly was suppressed with no expiration, with the <code>INFINITE</code> value.</p>
|
|
235
|
+
* @public
|
|
236
236
|
*/
|
|
237
237
|
suppressedUntil?: number;
|
|
238
238
|
/**
|
|
239
|
-
* @public
|
|
240
239
|
* <p>If this anomaly is suppressed, this field is <code>true</code> if the suppression is because the
|
|
241
240
|
* pattern is suppressed. If <code>false</code>, then only this particular anomaly is suppressed.</p>
|
|
241
|
+
* @public
|
|
242
242
|
*/
|
|
243
243
|
isPatternLevelSuppression?: boolean;
|
|
244
244
|
}
|
|
@@ -275,63 +275,63 @@ export declare const EvaluationFrequency: {
|
|
|
275
275
|
*/
|
|
276
276
|
export type EvaluationFrequency = (typeof EvaluationFrequency)[keyof typeof EvaluationFrequency];
|
|
277
277
|
/**
|
|
278
|
-
* @public
|
|
279
278
|
* <p>Contains information about one anomaly detector in the account.</p>
|
|
279
|
+
* @public
|
|
280
280
|
*/
|
|
281
281
|
export interface AnomalyDetector {
|
|
282
282
|
/**
|
|
283
|
-
* @public
|
|
284
283
|
* <p>The ARN of the anomaly detector.</p>
|
|
284
|
+
* @public
|
|
285
285
|
*/
|
|
286
286
|
anomalyDetectorArn?: string;
|
|
287
287
|
/**
|
|
288
|
-
* @public
|
|
289
288
|
* <p>The name of the anomaly detector.</p>
|
|
289
|
+
* @public
|
|
290
290
|
*/
|
|
291
291
|
detectorName?: string;
|
|
292
292
|
/**
|
|
293
|
-
* @public
|
|
294
293
|
* <p>A list of the ARNs of the log groups that this anomaly detector watches.</p>
|
|
294
|
+
* @public
|
|
295
295
|
*/
|
|
296
296
|
logGroupArnList?: string[];
|
|
297
297
|
/**
|
|
298
|
-
* @public
|
|
299
298
|
* <p>Specifies how often the anomaly detector runs and look for anomalies.</p>
|
|
299
|
+
* @public
|
|
300
300
|
*/
|
|
301
301
|
evaluationFrequency?: EvaluationFrequency;
|
|
302
302
|
/**
|
|
303
|
-
* @public
|
|
304
303
|
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
305
304
|
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
306
305
|
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
306
|
+
* @public
|
|
307
307
|
*/
|
|
308
308
|
filterPattern?: string;
|
|
309
309
|
/**
|
|
310
|
-
* @public
|
|
311
310
|
* <p>Specifies the current status of the anomaly detector. To pause an anomaly detector, use
|
|
312
311
|
* the <code>enabled</code> parameter in the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateLogAnomalyDetector.html">UpdateLogAnomalyDetector</a>
|
|
313
312
|
* operation.</p>
|
|
313
|
+
* @public
|
|
314
314
|
*/
|
|
315
315
|
anomalyDetectorStatus?: AnomalyDetectorStatus;
|
|
316
316
|
/**
|
|
317
|
-
* @public
|
|
318
317
|
* <p>The ID of the KMS key assigned to this anomaly detector, if any.</p>
|
|
318
|
+
* @public
|
|
319
319
|
*/
|
|
320
320
|
kmsKeyId?: string;
|
|
321
321
|
/**
|
|
322
|
-
* @public
|
|
323
322
|
* <p>The date and time when this anomaly detector was created.</p>
|
|
323
|
+
* @public
|
|
324
324
|
*/
|
|
325
325
|
creationTimeStamp?: number;
|
|
326
326
|
/**
|
|
327
|
-
* @public
|
|
328
327
|
* <p>The date and time when this anomaly detector was most recently modified.</p>
|
|
328
|
+
* @public
|
|
329
329
|
*/
|
|
330
330
|
lastModifiedTimeStamp?: number;
|
|
331
331
|
/**
|
|
332
|
-
* @public
|
|
333
332
|
* <p>The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined
|
|
334
333
|
* and the anomaly detector model will treat new occurrences of similar event as normal. </p>
|
|
334
|
+
* @public
|
|
335
335
|
*/
|
|
336
336
|
anomalyVisibilityTime?: number;
|
|
337
337
|
}
|
|
@@ -340,22 +340,21 @@ export interface AnomalyDetector {
|
|
|
340
340
|
*/
|
|
341
341
|
export interface AssociateKmsKeyRequest {
|
|
342
342
|
/**
|
|
343
|
-
* @public
|
|
344
343
|
* <p>The name of the log group.</p>
|
|
345
344
|
* <p>In your <code>AssociateKmsKey</code> operation,
|
|
346
345
|
* you must specify either the <code>resourceIdentifier</code> parameter or the <code>logGroup</code> parameter,
|
|
347
346
|
* but you can't specify both.</p>
|
|
347
|
+
* @public
|
|
348
348
|
*/
|
|
349
349
|
logGroupName?: string;
|
|
350
350
|
/**
|
|
351
|
-
* @public
|
|
352
351
|
* <p>The Amazon Resource Name (ARN) of the KMS key to use when encrypting log
|
|
353
352
|
* data. This must be a symmetric KMS key. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms">Amazon Resource Names</a> and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric
|
|
354
353
|
* Keys</a>.</p>
|
|
354
|
+
* @public
|
|
355
355
|
*/
|
|
356
356
|
kmsKeyId: string | undefined;
|
|
357
357
|
/**
|
|
358
|
-
* @public
|
|
359
358
|
* <p>Specifies the target for this operation. You must specify one of the following:</p>
|
|
360
359
|
* <ul>
|
|
361
360
|
* <li>
|
|
@@ -381,12 +380,13 @@ export interface AssociateKmsKeyRequest {
|
|
|
381
380
|
* <p>In your <code>AssociateKmsKey</code> operation,
|
|
382
381
|
* you must specify either the <code>resourceIdentifier</code> parameter or the <code>logGroup</code> parameter,
|
|
383
382
|
* but you can't specify both.</p>
|
|
383
|
+
* @public
|
|
384
384
|
*/
|
|
385
385
|
resourceIdentifier?: string;
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
388
|
-
* @public
|
|
389
388
|
* <p>A parameter is specified incorrectly.</p>
|
|
389
|
+
* @public
|
|
390
390
|
*/
|
|
391
391
|
export declare class InvalidParameterException extends __BaseException {
|
|
392
392
|
readonly name: "InvalidParameterException";
|
|
@@ -397,8 +397,8 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
397
397
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
398
398
|
}
|
|
399
399
|
/**
|
|
400
|
-
* @public
|
|
401
400
|
* <p>Multiple concurrent requests to update the same resource were in conflict.</p>
|
|
401
|
+
* @public
|
|
402
402
|
*/
|
|
403
403
|
export declare class OperationAbortedException extends __BaseException {
|
|
404
404
|
readonly name: "OperationAbortedException";
|
|
@@ -409,8 +409,8 @@ export declare class OperationAbortedException extends __BaseException {
|
|
|
409
409
|
constructor(opts: __ExceptionOptionType<OperationAbortedException, __BaseException>);
|
|
410
410
|
}
|
|
411
411
|
/**
|
|
412
|
-
* @public
|
|
413
412
|
* <p>The specified resource does not exist.</p>
|
|
413
|
+
* @public
|
|
414
414
|
*/
|
|
415
415
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
416
416
|
readonly name: "ResourceNotFoundException";
|
|
@@ -421,8 +421,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
421
421
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
|
-
* @public
|
|
425
424
|
* <p>The service cannot complete the request.</p>
|
|
425
|
+
* @public
|
|
426
426
|
*/
|
|
427
427
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
428
428
|
readonly name: "ServiceUnavailableException";
|
|
@@ -437,14 +437,14 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
437
437
|
*/
|
|
438
438
|
export interface CancelExportTaskRequest {
|
|
439
439
|
/**
|
|
440
|
-
* @public
|
|
441
440
|
* <p>The ID of the export task.</p>
|
|
441
|
+
* @public
|
|
442
442
|
*/
|
|
443
443
|
taskId: string | undefined;
|
|
444
444
|
}
|
|
445
445
|
/**
|
|
446
|
-
* @public
|
|
447
446
|
* <p>The operation is not valid on the specified resource.</p>
|
|
447
|
+
* @public
|
|
448
448
|
*/
|
|
449
449
|
export declare class InvalidOperationException extends __BaseException {
|
|
450
450
|
readonly name: "InvalidOperationException";
|
|
@@ -455,8 +455,8 @@ export declare class InvalidOperationException extends __BaseException {
|
|
|
455
455
|
constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
|
|
456
456
|
}
|
|
457
457
|
/**
|
|
458
|
-
* @public
|
|
459
458
|
* <p>This operation attempted to create a resource that already exists.</p>
|
|
459
|
+
* @public
|
|
460
460
|
*/
|
|
461
461
|
export declare class ConflictException extends __BaseException {
|
|
462
462
|
readonly name: "ConflictException";
|
|
@@ -471,21 +471,21 @@ export declare class ConflictException extends __BaseException {
|
|
|
471
471
|
*/
|
|
472
472
|
export interface CreateDeliveryRequest {
|
|
473
473
|
/**
|
|
474
|
-
* @public
|
|
475
474
|
* <p>The name of the delivery source to use for this delivery.</p>
|
|
475
|
+
* @public
|
|
476
476
|
*/
|
|
477
477
|
deliverySourceName: string | undefined;
|
|
478
478
|
/**
|
|
479
|
-
* @public
|
|
480
479
|
* <p>The ARN of the delivery destination to use for this delivery.</p>
|
|
480
|
+
* @public
|
|
481
481
|
*/
|
|
482
482
|
deliveryDestinationArn: string | undefined;
|
|
483
483
|
/**
|
|
484
|
-
* @public
|
|
485
484
|
* <p>An optional list of key-value pairs to associate with the resource.</p>
|
|
486
485
|
* <p>For more information about tagging, see
|
|
487
486
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
|
|
488
487
|
* </p>
|
|
488
|
+
* @public
|
|
489
489
|
*/
|
|
490
490
|
tags?: Record<string, string>;
|
|
491
491
|
}
|
|
@@ -503,42 +503,42 @@ export declare const DeliveryDestinationType: {
|
|
|
503
503
|
*/
|
|
504
504
|
export type DeliveryDestinationType = (typeof DeliveryDestinationType)[keyof typeof DeliveryDestinationType];
|
|
505
505
|
/**
|
|
506
|
-
* @public
|
|
507
506
|
* <p>This structure contains information about one <i>delivery</i> in your account. </p>
|
|
508
507
|
* <p>A delivery is a connection between a logical <i>delivery source</i> and a logical
|
|
509
508
|
* <i>delivery destination</i>.</p>
|
|
510
509
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a>.</p>
|
|
511
510
|
* <p>You can't update an existing delivery. You can only create and delete deliveries.</p>
|
|
511
|
+
* @public
|
|
512
512
|
*/
|
|
513
513
|
export interface Delivery {
|
|
514
514
|
/**
|
|
515
|
-
* @public
|
|
516
515
|
* <p>The unique ID that identifies this delivery in your account.</p>
|
|
516
|
+
* @public
|
|
517
517
|
*/
|
|
518
518
|
id?: string;
|
|
519
519
|
/**
|
|
520
|
-
* @public
|
|
521
520
|
* <p>The Amazon Resource Name (ARN) that uniquely identifies this delivery.</p>
|
|
521
|
+
* @public
|
|
522
522
|
*/
|
|
523
523
|
arn?: string;
|
|
524
524
|
/**
|
|
525
|
-
* @public
|
|
526
525
|
* <p>The name of the delivery source that is associated with this delivery.</p>
|
|
526
|
+
* @public
|
|
527
527
|
*/
|
|
528
528
|
deliverySourceName?: string;
|
|
529
529
|
/**
|
|
530
|
-
* @public
|
|
531
530
|
* <p>The ARN of the delivery destination that is associated with this delivery.</p>
|
|
531
|
+
* @public
|
|
532
532
|
*/
|
|
533
533
|
deliveryDestinationArn?: string;
|
|
534
534
|
/**
|
|
535
|
-
* @public
|
|
536
535
|
* <p>Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.</p>
|
|
536
|
+
* @public
|
|
537
537
|
*/
|
|
538
538
|
deliveryDestinationType?: DeliveryDestinationType;
|
|
539
539
|
/**
|
|
540
|
-
* @public
|
|
541
540
|
* <p>The tags that have been assigned to this delivery.</p>
|
|
541
|
+
* @public
|
|
542
542
|
*/
|
|
543
543
|
tags?: Record<string, string>;
|
|
544
544
|
}
|
|
@@ -547,14 +547,14 @@ export interface Delivery {
|
|
|
547
547
|
*/
|
|
548
548
|
export interface CreateDeliveryResponse {
|
|
549
549
|
/**
|
|
550
|
-
* @public
|
|
551
550
|
* <p>A structure that contains information about the delivery that you just created.</p>
|
|
551
|
+
* @public
|
|
552
552
|
*/
|
|
553
553
|
delivery?: Delivery;
|
|
554
554
|
}
|
|
555
555
|
/**
|
|
556
|
-
* @public
|
|
557
556
|
* <p>This request exceeds a service quota.</p>
|
|
557
|
+
* @public
|
|
558
558
|
*/
|
|
559
559
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
560
560
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -565,8 +565,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
565
565
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
566
566
|
}
|
|
567
567
|
/**
|
|
568
|
-
* @public
|
|
569
568
|
* <p>The request was throttled because of quota limits.</p>
|
|
569
|
+
* @public
|
|
570
570
|
*/
|
|
571
571
|
export declare class ThrottlingException extends __BaseException {
|
|
572
572
|
readonly name: "ThrottlingException";
|
|
@@ -577,8 +577,8 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
577
577
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
578
578
|
}
|
|
579
579
|
/**
|
|
580
|
-
* @public
|
|
581
580
|
* <p>One of the parameters for the request is not valid.</p>
|
|
581
|
+
* @public
|
|
582
582
|
*/
|
|
583
583
|
export declare class ValidationException extends __BaseException {
|
|
584
584
|
readonly name: "ValidationException";
|
|
@@ -593,45 +593,45 @@ export declare class ValidationException extends __BaseException {
|
|
|
593
593
|
*/
|
|
594
594
|
export interface CreateExportTaskRequest {
|
|
595
595
|
/**
|
|
596
|
-
* @public
|
|
597
596
|
* <p>The name of the export task.</p>
|
|
597
|
+
* @public
|
|
598
598
|
*/
|
|
599
599
|
taskName?: string;
|
|
600
600
|
/**
|
|
601
|
-
* @public
|
|
602
601
|
* <p>The name of the log group.</p>
|
|
602
|
+
* @public
|
|
603
603
|
*/
|
|
604
604
|
logGroupName: string | undefined;
|
|
605
605
|
/**
|
|
606
|
-
* @public
|
|
607
606
|
* <p>Export only log streams that match the provided prefix. If you don't
|
|
608
607
|
* specify a value, no prefix filter is applied.</p>
|
|
608
|
+
* @public
|
|
609
609
|
*/
|
|
610
610
|
logStreamNamePrefix?: string;
|
|
611
611
|
/**
|
|
612
|
-
* @public
|
|
613
612
|
* <p>The start time of the range for the request, expressed as the number of milliseconds
|
|
614
613
|
* after <code>Jan 1, 1970 00:00:00 UTC</code>. Events with a timestamp earlier than this time
|
|
615
614
|
* are not exported.</p>
|
|
615
|
+
* @public
|
|
616
616
|
*/
|
|
617
617
|
from: number | undefined;
|
|
618
618
|
/**
|
|
619
|
-
* @public
|
|
620
619
|
* <p>The end time of the range for the request, expressed as the number of milliseconds
|
|
621
620
|
* after <code>Jan 1, 1970 00:00:00 UTC</code>. Events with a timestamp later than this time are
|
|
622
621
|
* not exported.</p>
|
|
623
622
|
* <p>You must specify a time that is not earlier than when this log group was created.</p>
|
|
623
|
+
* @public
|
|
624
624
|
*/
|
|
625
625
|
to: number | undefined;
|
|
626
626
|
/**
|
|
627
|
-
* @public
|
|
628
627
|
* <p>The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.</p>
|
|
628
|
+
* @public
|
|
629
629
|
*/
|
|
630
630
|
destination: string | undefined;
|
|
631
631
|
/**
|
|
632
|
-
* @public
|
|
633
632
|
* <p>The prefix used as the start of the key for every object exported. If you don't
|
|
634
633
|
* specify a value, the default is <code>exportedlogs</code>.</p>
|
|
634
|
+
* @public
|
|
635
635
|
*/
|
|
636
636
|
destinationPrefix?: string;
|
|
637
637
|
}
|
|
@@ -640,14 +640,14 @@ export interface CreateExportTaskRequest {
|
|
|
640
640
|
*/
|
|
641
641
|
export interface CreateExportTaskResponse {
|
|
642
642
|
/**
|
|
643
|
-
* @public
|
|
644
643
|
* <p>The ID of the export task.</p>
|
|
644
|
+
* @public
|
|
645
645
|
*/
|
|
646
646
|
taskId?: string;
|
|
647
647
|
}
|
|
648
648
|
/**
|
|
649
|
-
* @public
|
|
650
649
|
* <p>You have reached the maximum number of resources that can be created.</p>
|
|
650
|
+
* @public
|
|
651
651
|
*/
|
|
652
652
|
export declare class LimitExceededException extends __BaseException {
|
|
653
653
|
readonly name: "LimitExceededException";
|
|
@@ -658,8 +658,8 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
658
658
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
659
659
|
}
|
|
660
660
|
/**
|
|
661
|
-
* @public
|
|
662
661
|
* <p>The specified resource already exists.</p>
|
|
662
|
+
* @public
|
|
663
663
|
*/
|
|
664
664
|
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
665
665
|
readonly name: "ResourceAlreadyExistsException";
|
|
@@ -674,56 +674,56 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
|
674
674
|
*/
|
|
675
675
|
export interface CreateLogAnomalyDetectorRequest {
|
|
676
676
|
/**
|
|
677
|
-
* @public
|
|
678
677
|
* <p>An array containing the ARN of the log group that this anomaly detector will watch. You can specify only one
|
|
679
678
|
* log group ARN.</p>
|
|
679
|
+
* @public
|
|
680
680
|
*/
|
|
681
681
|
logGroupArnList: string[] | undefined;
|
|
682
682
|
/**
|
|
683
|
-
* @public
|
|
684
683
|
* <p>A name for this anomaly detector.</p>
|
|
684
|
+
* @public
|
|
685
685
|
*/
|
|
686
686
|
detectorName?: string;
|
|
687
687
|
/**
|
|
688
|
-
* @public
|
|
689
688
|
* <p>Specifies how often the anomaly detector is to run and look for anomalies. Set this value
|
|
690
689
|
* according to the frequency that the log group receives new logs. For example, if the log group
|
|
691
690
|
* receives new log events every 10 minutes, then 15 minutes might be a good setting for
|
|
692
691
|
* <code>evaluationFrequency</code> .</p>
|
|
692
|
+
* @public
|
|
693
693
|
*/
|
|
694
694
|
evaluationFrequency?: EvaluationFrequency;
|
|
695
695
|
/**
|
|
696
|
-
* @public
|
|
697
696
|
* <p>You can use this parameter to limit the anomaly detection model to examine only log events
|
|
698
697
|
* that match the pattern you specify here. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html">Filter and Pattern Syntax</a>.</p>
|
|
698
|
+
* @public
|
|
699
699
|
*/
|
|
700
700
|
filterPattern?: string;
|
|
701
701
|
/**
|
|
702
|
-
* @public
|
|
703
702
|
* <p>Optionally assigns a KMS key to secure this anomaly detector and its findings. If a key is
|
|
704
703
|
* assigned, the anomalies found and the model used by this detector are encrypted at rest with the key. If
|
|
705
704
|
* a key is assigned to an anomaly detector, a user must have permissions for both this key and for the
|
|
706
705
|
* anomaly detector to retrieve information about the anomalies that it finds.</p>
|
|
707
706
|
* <p>For more information about using a KMS key and to see the required IAM
|
|
708
707
|
* policy, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/LogsAnomalyDetection-KMS.html">Use a KMS key with an anomaly detector</a>.</p>
|
|
708
|
+
* @public
|
|
709
709
|
*/
|
|
710
710
|
kmsKeyId?: string;
|
|
711
711
|
/**
|
|
712
|
-
* @public
|
|
713
712
|
* <p>The number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly,
|
|
714
713
|
* it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as
|
|
715
714
|
* normal. Therefore,
|
|
716
715
|
* if you do not correct the cause of an
|
|
717
716
|
* anomaly during the time period specified in <code>anomalyVisibilityTime</code>, it will be considered normal
|
|
718
717
|
* going forward and will not be detected as an anomaly.</p>
|
|
718
|
+
* @public
|
|
719
719
|
*/
|
|
720
720
|
anomalyVisibilityTime?: number;
|
|
721
721
|
/**
|
|
722
|
-
* @public
|
|
723
722
|
* <p>An optional list of key-value pairs to associate with the resource.</p>
|
|
724
723
|
* <p>For more information about tagging, see
|
|
725
724
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
|
|
726
725
|
* </p>
|
|
726
|
+
* @public
|
|
727
727
|
*/
|
|
728
728
|
tags?: Record<string, string>;
|
|
729
729
|
}
|
|
@@ -732,8 +732,8 @@ export interface CreateLogAnomalyDetectorRequest {
|
|
|
732
732
|
*/
|
|
733
733
|
export interface CreateLogAnomalyDetectorResponse {
|
|
734
734
|
/**
|
|
735
|
-
* @public
|
|
736
735
|
* <p>The ARN of the log anomaly detector that you just created.</p>
|
|
736
|
+
* @public
|
|
737
737
|
*/
|
|
738
738
|
anomalyDetectorArn?: string;
|
|
739
739
|
}
|
|
@@ -754,19 +754,18 @@ export type LogGroupClass = (typeof LogGroupClass)[keyof typeof LogGroupClass];
|
|
|
754
754
|
*/
|
|
755
755
|
export interface CreateLogGroupRequest {
|
|
756
756
|
/**
|
|
757
|
-
* @public
|
|
758
757
|
* <p>A name for the log group.</p>
|
|
758
|
+
* @public
|
|
759
759
|
*/
|
|
760
760
|
logGroupName: string | undefined;
|
|
761
761
|
/**
|
|
762
|
-
* @public
|
|
763
762
|
* <p>The Amazon Resource Name (ARN) of the KMS key to use when encrypting log
|
|
764
763
|
* data. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms">Amazon Resource
|
|
765
764
|
* Names</a>.</p>
|
|
765
|
+
* @public
|
|
766
766
|
*/
|
|
767
767
|
kmsKeyId?: string;
|
|
768
768
|
/**
|
|
769
|
-
* @public
|
|
770
769
|
* <p>The key-value pairs to use for the tags.</p>
|
|
771
770
|
* <p>You can grant users access to certain log groups while preventing them from accessing other log groups.
|
|
772
771
|
* To do so, tag your groups and use IAM policies that refer to those tags. To assign tags when
|
|
@@ -775,10 +774,10 @@ export interface CreateLogGroupRequest {
|
|
|
775
774
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.
|
|
776
775
|
* For more information about using tags to control access, see
|
|
777
776
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
|
|
777
|
+
* @public
|
|
778
778
|
*/
|
|
779
779
|
tags?: Record<string, string>;
|
|
780
780
|
/**
|
|
781
|
-
* @public
|
|
782
781
|
* <p>Use this parameter to specify the log group class for this log group. There are two classes:</p>
|
|
783
782
|
* <ul>
|
|
784
783
|
* <li>
|
|
@@ -796,6 +795,7 @@ export interface CreateLogGroupRequest {
|
|
|
796
795
|
* <p>For details about the features supported by each class, see
|
|
797
796
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html">Log classes</a>
|
|
798
797
|
* </p>
|
|
798
|
+
* @public
|
|
799
799
|
*/
|
|
800
800
|
logGroupClass?: LogGroupClass;
|
|
801
801
|
}
|
|
@@ -804,18 +804,17 @@ export interface CreateLogGroupRequest {
|
|
|
804
804
|
*/
|
|
805
805
|
export interface CreateLogStreamRequest {
|
|
806
806
|
/**
|
|
807
|
-
* @public
|
|
808
807
|
* <p>The name of the log group.</p>
|
|
808
|
+
* @public
|
|
809
809
|
*/
|
|
810
810
|
logGroupName: string | undefined;
|
|
811
811
|
/**
|
|
812
|
-
* @public
|
|
813
812
|
* <p>The name of the log stream.</p>
|
|
813
|
+
* @public
|
|
814
814
|
*/
|
|
815
815
|
logStreamName: string | undefined;
|
|
816
816
|
}
|
|
817
817
|
/**
|
|
818
|
-
* @public
|
|
819
818
|
* <p>The event was already logged.</p>
|
|
820
819
|
* <important>
|
|
821
820
|
* <p>
|
|
@@ -824,6 +823,7 @@ export interface CreateLogStreamRequest {
|
|
|
824
823
|
* <code>DataAlreadyAcceptedException</code> regardless of whether a given batch of log events
|
|
825
824
|
* has already been accepted. </p>
|
|
826
825
|
* </important>
|
|
826
|
+
* @public
|
|
827
827
|
*/
|
|
828
828
|
export declare class DataAlreadyAcceptedException extends __BaseException {
|
|
829
829
|
readonly name: "DataAlreadyAcceptedException";
|
|
@@ -853,13 +853,13 @@ export type DataProtectionStatus = (typeof DataProtectionStatus)[keyof typeof Da
|
|
|
853
853
|
*/
|
|
854
854
|
export interface DeleteAccountPolicyRequest {
|
|
855
855
|
/**
|
|
856
|
-
* @public
|
|
857
856
|
* <p>The name of the policy to delete.</p>
|
|
857
|
+
* @public
|
|
858
858
|
*/
|
|
859
859
|
policyName: string | undefined;
|
|
860
860
|
/**
|
|
861
|
-
* @public
|
|
862
861
|
* <p>The type of policy to delete.</p>
|
|
862
|
+
* @public
|
|
863
863
|
*/
|
|
864
864
|
policyType: PolicyType | undefined;
|
|
865
865
|
}
|
|
@@ -868,8 +868,8 @@ export interface DeleteAccountPolicyRequest {
|
|
|
868
868
|
*/
|
|
869
869
|
export interface DeleteDataProtectionPolicyRequest {
|
|
870
870
|
/**
|
|
871
|
-
* @public
|
|
872
871
|
* <p>The name or ARN of the log group that you want to delete the data protection policy for.</p>
|
|
872
|
+
* @public
|
|
873
873
|
*/
|
|
874
874
|
logGroupIdentifier: string | undefined;
|
|
875
875
|
}
|
|
@@ -878,9 +878,9 @@ export interface DeleteDataProtectionPolicyRequest {
|
|
|
878
878
|
*/
|
|
879
879
|
export interface DeleteDeliveryRequest {
|
|
880
880
|
/**
|
|
881
|
-
* @public
|
|
882
881
|
* <p>The unique ID of the delivery to delete. You can find the ID of a delivery with the
|
|
883
882
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html">DescribeDeliveries</a> operation.</p>
|
|
883
|
+
* @public
|
|
884
884
|
*/
|
|
885
885
|
id: string | undefined;
|
|
886
886
|
}
|
|
@@ -889,10 +889,10 @@ export interface DeleteDeliveryRequest {
|
|
|
889
889
|
*/
|
|
890
890
|
export interface DeleteDeliveryDestinationRequest {
|
|
891
891
|
/**
|
|
892
|
-
* @public
|
|
893
892
|
* <p>The name of the delivery destination that you want to delete. You can find a list of delivery destionation names
|
|
894
893
|
* by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveryDestinations.html">DescribeDeliveryDestinations</a>
|
|
895
894
|
* operation.</p>
|
|
895
|
+
* @public
|
|
896
896
|
*/
|
|
897
897
|
name: string | undefined;
|
|
898
898
|
}
|
|
@@ -901,8 +901,8 @@ export interface DeleteDeliveryDestinationRequest {
|
|
|
901
901
|
*/
|
|
902
902
|
export interface DeleteDeliveryDestinationPolicyRequest {
|
|
903
903
|
/**
|
|
904
|
-
* @public
|
|
905
904
|
* <p>The name of the delivery destination that you want to delete the policy for.</p>
|
|
905
|
+
* @public
|
|
906
906
|
*/
|
|
907
907
|
deliveryDestinationName: string | undefined;
|
|
908
908
|
}
|
|
@@ -911,8 +911,8 @@ export interface DeleteDeliveryDestinationPolicyRequest {
|
|
|
911
911
|
*/
|
|
912
912
|
export interface DeleteDeliverySourceRequest {
|
|
913
913
|
/**
|
|
914
|
-
* @public
|
|
915
914
|
* <p>The name of the delivery source that you want to delete.</p>
|
|
915
|
+
* @public
|
|
916
916
|
*/
|
|
917
917
|
name: string | undefined;
|
|
918
918
|
}
|
|
@@ -921,8 +921,8 @@ export interface DeleteDeliverySourceRequest {
|
|
|
921
921
|
*/
|
|
922
922
|
export interface DeleteDestinationRequest {
|
|
923
923
|
/**
|
|
924
|
-
* @public
|
|
925
924
|
* <p>The name of the destination.</p>
|
|
925
|
+
* @public
|
|
926
926
|
*/
|
|
927
927
|
destinationName: string | undefined;
|
|
928
928
|
}
|
|
@@ -931,10 +931,10 @@ export interface DeleteDestinationRequest {
|
|
|
931
931
|
*/
|
|
932
932
|
export interface DeleteLogAnomalyDetectorRequest {
|
|
933
933
|
/**
|
|
934
|
-
* @public
|
|
935
934
|
* <p>The ARN of the anomaly detector to delete. You can find the ARNs of log anomaly detectors
|
|
936
935
|
* in your account by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListLogAnomalyDetectors.html">ListLogAnomalyDetectors</a>
|
|
937
936
|
* operation.</p>
|
|
937
|
+
* @public
|
|
938
938
|
*/
|
|
939
939
|
anomalyDetectorArn: string | undefined;
|
|
940
940
|
}
|
|
@@ -943,8 +943,8 @@ export interface DeleteLogAnomalyDetectorRequest {
|
|
|
943
943
|
*/
|
|
944
944
|
export interface DeleteLogGroupRequest {
|
|
945
945
|
/**
|
|
946
|
-
* @public
|
|
947
946
|
* <p>The name of the log group.</p>
|
|
947
|
+
* @public
|
|
948
948
|
*/
|
|
949
949
|
logGroupName: string | undefined;
|
|
950
950
|
}
|
|
@@ -953,13 +953,13 @@ export interface DeleteLogGroupRequest {
|
|
|
953
953
|
*/
|
|
954
954
|
export interface DeleteLogStreamRequest {
|
|
955
955
|
/**
|
|
956
|
-
* @public
|
|
957
956
|
* <p>The name of the log group.</p>
|
|
957
|
+
* @public
|
|
958
958
|
*/
|
|
959
959
|
logGroupName: string | undefined;
|
|
960
960
|
/**
|
|
961
|
-
* @public
|
|
962
961
|
* <p>The name of the log stream.</p>
|
|
962
|
+
* @public
|
|
963
963
|
*/
|
|
964
964
|
logStreamName: string | undefined;
|
|
965
965
|
}
|
|
@@ -968,13 +968,13 @@ export interface DeleteLogStreamRequest {
|
|
|
968
968
|
*/
|
|
969
969
|
export interface DeleteMetricFilterRequest {
|
|
970
970
|
/**
|
|
971
|
-
* @public
|
|
972
971
|
* <p>The name of the log group.</p>
|
|
972
|
+
* @public
|
|
973
973
|
*/
|
|
974
974
|
logGroupName: string | undefined;
|
|
975
975
|
/**
|
|
976
|
-
* @public
|
|
977
976
|
* <p>The name of the metric filter.</p>
|
|
977
|
+
* @public
|
|
978
978
|
*/
|
|
979
979
|
filterName: string | undefined;
|
|
980
980
|
}
|
|
@@ -983,9 +983,9 @@ export interface DeleteMetricFilterRequest {
|
|
|
983
983
|
*/
|
|
984
984
|
export interface DeleteQueryDefinitionRequest {
|
|
985
985
|
/**
|
|
986
|
-
* @public
|
|
987
986
|
* <p>The ID of the query definition that you want to delete. You can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html">DescribeQueryDefinitions</a> to retrieve the
|
|
988
987
|
* IDs of your saved query definitions.</p>
|
|
988
|
+
* @public
|
|
989
989
|
*/
|
|
990
990
|
queryDefinitionId: string | undefined;
|
|
991
991
|
}
|
|
@@ -994,9 +994,9 @@ export interface DeleteQueryDefinitionRequest {
|
|
|
994
994
|
*/
|
|
995
995
|
export interface DeleteQueryDefinitionResponse {
|
|
996
996
|
/**
|
|
997
|
-
* @public
|
|
998
997
|
* <p>A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation
|
|
999
998
|
* failed.</p>
|
|
999
|
+
* @public
|
|
1000
1000
|
*/
|
|
1001
1001
|
success?: boolean;
|
|
1002
1002
|
}
|
|
@@ -1005,8 +1005,8 @@ export interface DeleteQueryDefinitionResponse {
|
|
|
1005
1005
|
*/
|
|
1006
1006
|
export interface DeleteResourcePolicyRequest {
|
|
1007
1007
|
/**
|
|
1008
|
-
* @public
|
|
1009
1008
|
* <p>The name of the policy to be revoked. This parameter is required.</p>
|
|
1009
|
+
* @public
|
|
1010
1010
|
*/
|
|
1011
1011
|
policyName?: string;
|
|
1012
1012
|
}
|
|
@@ -1015,8 +1015,8 @@ export interface DeleteResourcePolicyRequest {
|
|
|
1015
1015
|
*/
|
|
1016
1016
|
export interface DeleteRetentionPolicyRequest {
|
|
1017
1017
|
/**
|
|
1018
|
-
* @public
|
|
1019
1018
|
* <p>The name of the log group.</p>
|
|
1019
|
+
* @public
|
|
1020
1020
|
*/
|
|
1021
1021
|
logGroupName: string | undefined;
|
|
1022
1022
|
}
|
|
@@ -1025,25 +1025,25 @@ export interface DeleteRetentionPolicyRequest {
|
|
|
1025
1025
|
*/
|
|
1026
1026
|
export interface DeleteSubscriptionFilterRequest {
|
|
1027
1027
|
/**
|
|
1028
|
-
* @public
|
|
1029
1028
|
* <p>The name of the log group.</p>
|
|
1029
|
+
* @public
|
|
1030
1030
|
*/
|
|
1031
1031
|
logGroupName: string | undefined;
|
|
1032
1032
|
/**
|
|
1033
|
-
* @public
|
|
1034
1033
|
* <p>The name of the subscription filter.</p>
|
|
1034
|
+
* @public
|
|
1035
1035
|
*/
|
|
1036
1036
|
filterName: string | undefined;
|
|
1037
1037
|
}
|
|
1038
1038
|
/**
|
|
1039
|
-
* @public
|
|
1040
1039
|
* <p>A structure that contains information about one logs delivery destination.</p>
|
|
1040
|
+
* @public
|
|
1041
1041
|
*/
|
|
1042
1042
|
export interface DeliveryDestinationConfiguration {
|
|
1043
1043
|
/**
|
|
1044
|
-
* @public
|
|
1045
1044
|
* <p>The ARN of the Amazon Web Services destination that this delivery destination represents. That Amazon Web Services destination
|
|
1046
1045
|
* can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Kinesis Data Firehose.</p>
|
|
1046
|
+
* @public
|
|
1047
1047
|
*/
|
|
1048
1048
|
destinationResourceArn: string | undefined;
|
|
1049
1049
|
}
|
|
@@ -1063,7 +1063,6 @@ export declare const OutputFormat: {
|
|
|
1063
1063
|
*/
|
|
1064
1064
|
export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
1065
1065
|
/**
|
|
1066
|
-
* @public
|
|
1067
1066
|
* <p>This structure contains information about one <i>delivery destination</i> in your account.
|
|
1068
1067
|
* A delivery destination is an Amazon Web Services resource that represents an
|
|
1069
1068
|
* Amazon Web Services service that logs can be sent to. CloudWatch Logs, Amazon S3, are supported as Kinesis Data Firehose delivery destinations.</p>
|
|
@@ -1092,41 +1091,41 @@ export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
|
1092
1091
|
* </ul>
|
|
1093
1092
|
* <p>You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You
|
|
1094
1093
|
* can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.</p>
|
|
1094
|
+
* @public
|
|
1095
1095
|
*/
|
|
1096
1096
|
export interface DeliveryDestination {
|
|
1097
1097
|
/**
|
|
1098
|
-
* @public
|
|
1099
1098
|
* <p>The name of this delivery destination.</p>
|
|
1099
|
+
* @public
|
|
1100
1100
|
*/
|
|
1101
1101
|
name?: string;
|
|
1102
1102
|
/**
|
|
1103
|
-
* @public
|
|
1104
1103
|
* <p>The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.</p>
|
|
1104
|
+
* @public
|
|
1105
1105
|
*/
|
|
1106
1106
|
arn?: string;
|
|
1107
1107
|
/**
|
|
1108
|
-
* @public
|
|
1109
1108
|
* <p>Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.</p>
|
|
1109
|
+
* @public
|
|
1110
1110
|
*/
|
|
1111
1111
|
deliveryDestinationType?: DeliveryDestinationType;
|
|
1112
1112
|
/**
|
|
1113
|
-
* @public
|
|
1114
1113
|
* <p>The format of the logs that are sent to this delivery destination. </p>
|
|
1114
|
+
* @public
|
|
1115
1115
|
*/
|
|
1116
1116
|
outputFormat?: OutputFormat;
|
|
1117
1117
|
/**
|
|
1118
|
-
* @public
|
|
1119
1118
|
* <p>A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.</p>
|
|
1119
|
+
* @public
|
|
1120
1120
|
*/
|
|
1121
1121
|
deliveryDestinationConfiguration?: DeliveryDestinationConfiguration;
|
|
1122
1122
|
/**
|
|
1123
|
-
* @public
|
|
1124
1123
|
* <p>The tags that have been assigned to this delivery destination.</p>
|
|
1124
|
+
* @public
|
|
1125
1125
|
*/
|
|
1126
1126
|
tags?: Record<string, string>;
|
|
1127
1127
|
}
|
|
1128
1128
|
/**
|
|
1129
|
-
* @public
|
|
1130
1129
|
* <p>This structure contains information about one <i>delivery source</i> in your account.
|
|
1131
1130
|
* A delivery source is an Amazon Web Services resource that sends logs to an
|
|
1132
1131
|
* Amazon Web Services destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.</p>
|
|
@@ -1161,38 +1160,39 @@ export interface DeliveryDestination {
|
|
|
1161
1160
|
* </ul>
|
|
1162
1161
|
* <p>You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You
|
|
1163
1162
|
* can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.</p>
|
|
1163
|
+
* @public
|
|
1164
1164
|
*/
|
|
1165
1165
|
export interface DeliverySource {
|
|
1166
1166
|
/**
|
|
1167
|
-
* @public
|
|
1168
1167
|
* <p>The unique name of the delivery source.</p>
|
|
1168
|
+
* @public
|
|
1169
1169
|
*/
|
|
1170
1170
|
name?: string;
|
|
1171
1171
|
/**
|
|
1172
|
-
* @public
|
|
1173
1172
|
* <p>The Amazon Resource Name (ARN) that uniquely identifies this delivery source.</p>
|
|
1173
|
+
* @public
|
|
1174
1174
|
*/
|
|
1175
1175
|
arn?: string;
|
|
1176
1176
|
/**
|
|
1177
|
-
* @public
|
|
1178
1177
|
* <p>This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by
|
|
1179
1178
|
* this delivery source. Currently, only one ARN can be in the array.</p>
|
|
1179
|
+
* @public
|
|
1180
1180
|
*/
|
|
1181
1181
|
resourceArns?: string[];
|
|
1182
1182
|
/**
|
|
1183
|
-
* @public
|
|
1184
1183
|
* <p>The Amazon Web Services service that is sending logs.</p>
|
|
1184
|
+
* @public
|
|
1185
1185
|
*/
|
|
1186
1186
|
service?: string;
|
|
1187
1187
|
/**
|
|
1188
|
-
* @public
|
|
1189
1188
|
* <p>The type of log that the source is sending. For valid values for this parameter, see the documentation for
|
|
1190
1189
|
* the source service.</p>
|
|
1190
|
+
* @public
|
|
1191
1191
|
*/
|
|
1192
1192
|
logType?: string;
|
|
1193
1193
|
/**
|
|
1194
|
-
* @public
|
|
1195
1194
|
* <p>The tags that have been assigned to this delivery source.</p>
|
|
1195
|
+
* @public
|
|
1196
1196
|
*/
|
|
1197
1197
|
tags?: Record<string, string>;
|
|
1198
1198
|
}
|
|
@@ -1201,24 +1201,24 @@ export interface DeliverySource {
|
|
|
1201
1201
|
*/
|
|
1202
1202
|
export interface DescribeAccountPoliciesRequest {
|
|
1203
1203
|
/**
|
|
1204
|
-
* @public
|
|
1205
1204
|
* <p>Use this parameter to limit the returned policies to only the policies that match the policy type that you
|
|
1206
1205
|
* specify.</p>
|
|
1206
|
+
* @public
|
|
1207
1207
|
*/
|
|
1208
1208
|
policyType: PolicyType | undefined;
|
|
1209
1209
|
/**
|
|
1210
|
-
* @public
|
|
1211
1210
|
* <p>Use this parameter to limit the returned policies to only the policy with the name that you specify.</p>
|
|
1211
|
+
* @public
|
|
1212
1212
|
*/
|
|
1213
1213
|
policyName?: string;
|
|
1214
1214
|
/**
|
|
1215
|
-
* @public
|
|
1216
1215
|
* <p>If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account
|
|
1217
1216
|
* observability, you can use this to specify the account ID of a source account. If you do,
|
|
1218
1217
|
* the operation returns the account policy for the specified account. Currently, you can specify only
|
|
1219
1218
|
* one account ID in this parameter.</p>
|
|
1220
1219
|
* <p>If you
|
|
1221
1220
|
* omit this parameter, only the policy in the current account is returned.</p>
|
|
1221
|
+
* @public
|
|
1222
1222
|
*/
|
|
1223
1223
|
accountIdentifiers?: string[];
|
|
1224
1224
|
}
|
|
@@ -1227,9 +1227,9 @@ export interface DescribeAccountPoliciesRequest {
|
|
|
1227
1227
|
*/
|
|
1228
1228
|
export interface DescribeAccountPoliciesResponse {
|
|
1229
1229
|
/**
|
|
1230
|
-
* @public
|
|
1231
1230
|
* <p>An array of structures that contain information about the CloudWatch Logs account policies that match
|
|
1232
1231
|
* the specified filters.</p>
|
|
1232
|
+
* @public
|
|
1233
1233
|
*/
|
|
1234
1234
|
accountPolicies?: AccountPolicy[];
|
|
1235
1235
|
}
|
|
@@ -1238,13 +1238,13 @@ export interface DescribeAccountPoliciesResponse {
|
|
|
1238
1238
|
*/
|
|
1239
1239
|
export interface DescribeDeliveriesRequest {
|
|
1240
1240
|
/**
|
|
1241
|
-
* @public
|
|
1242
1241
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1242
|
+
* @public
|
|
1243
1243
|
*/
|
|
1244
1244
|
nextToken?: string;
|
|
1245
1245
|
/**
|
|
1246
|
-
* @public
|
|
1247
1246
|
* <p>Optionally specify the maximum number of deliveries to return in the response.</p>
|
|
1247
|
+
* @public
|
|
1248
1248
|
*/
|
|
1249
1249
|
limit?: number;
|
|
1250
1250
|
}
|
|
@@ -1253,13 +1253,13 @@ export interface DescribeDeliveriesRequest {
|
|
|
1253
1253
|
*/
|
|
1254
1254
|
export interface DescribeDeliveriesResponse {
|
|
1255
1255
|
/**
|
|
1256
|
-
* @public
|
|
1257
1256
|
* <p>An array of structures. Each structure contains information about one delivery in the account.</p>
|
|
1257
|
+
* @public
|
|
1258
1258
|
*/
|
|
1259
1259
|
deliveries?: Delivery[];
|
|
1260
1260
|
/**
|
|
1261
|
-
* @public
|
|
1262
1261
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1262
|
+
* @public
|
|
1263
1263
|
*/
|
|
1264
1264
|
nextToken?: string;
|
|
1265
1265
|
}
|
|
@@ -1268,13 +1268,13 @@ export interface DescribeDeliveriesResponse {
|
|
|
1268
1268
|
*/
|
|
1269
1269
|
export interface DescribeDeliveryDestinationsRequest {
|
|
1270
1270
|
/**
|
|
1271
|
-
* @public
|
|
1272
1271
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1272
|
+
* @public
|
|
1273
1273
|
*/
|
|
1274
1274
|
nextToken?: string;
|
|
1275
1275
|
/**
|
|
1276
|
-
* @public
|
|
1277
1276
|
* <p>Optionally specify the maximum number of delivery destinations to return in the response.</p>
|
|
1277
|
+
* @public
|
|
1278
1278
|
*/
|
|
1279
1279
|
limit?: number;
|
|
1280
1280
|
}
|
|
@@ -1283,13 +1283,13 @@ export interface DescribeDeliveryDestinationsRequest {
|
|
|
1283
1283
|
*/
|
|
1284
1284
|
export interface DescribeDeliveryDestinationsResponse {
|
|
1285
1285
|
/**
|
|
1286
|
-
* @public
|
|
1287
1286
|
* <p>An array of structures. Each structure contains information about one delivery destination in the account.</p>
|
|
1287
|
+
* @public
|
|
1288
1288
|
*/
|
|
1289
1289
|
deliveryDestinations?: DeliveryDestination[];
|
|
1290
1290
|
/**
|
|
1291
|
-
* @public
|
|
1292
1291
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1292
|
+
* @public
|
|
1293
1293
|
*/
|
|
1294
1294
|
nextToken?: string;
|
|
1295
1295
|
}
|
|
@@ -1298,13 +1298,13 @@ export interface DescribeDeliveryDestinationsResponse {
|
|
|
1298
1298
|
*/
|
|
1299
1299
|
export interface DescribeDeliverySourcesRequest {
|
|
1300
1300
|
/**
|
|
1301
|
-
* @public
|
|
1302
1301
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1302
|
+
* @public
|
|
1303
1303
|
*/
|
|
1304
1304
|
nextToken?: string;
|
|
1305
1305
|
/**
|
|
1306
|
-
* @public
|
|
1307
1306
|
* <p>Optionally specify the maximum number of delivery sources to return in the response.</p>
|
|
1307
|
+
* @public
|
|
1308
1308
|
*/
|
|
1309
1309
|
limit?: number;
|
|
1310
1310
|
}
|
|
@@ -1313,13 +1313,13 @@ export interface DescribeDeliverySourcesRequest {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
export interface DescribeDeliverySourcesResponse {
|
|
1315
1315
|
/**
|
|
1316
|
-
* @public
|
|
1317
1316
|
* <p>An array of structures. Each structure contains information about one delivery source in the account.</p>
|
|
1317
|
+
* @public
|
|
1318
1318
|
*/
|
|
1319
1319
|
deliverySources?: DeliverySource[];
|
|
1320
1320
|
/**
|
|
1321
|
-
* @public
|
|
1322
1321
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1322
|
+
* @public
|
|
1323
1323
|
*/
|
|
1324
1324
|
nextToken?: string;
|
|
1325
1325
|
}
|
|
@@ -1328,58 +1328,58 @@ export interface DescribeDeliverySourcesResponse {
|
|
|
1328
1328
|
*/
|
|
1329
1329
|
export interface DescribeDestinationsRequest {
|
|
1330
1330
|
/**
|
|
1331
|
-
* @public
|
|
1332
1331
|
* <p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>
|
|
1332
|
+
* @public
|
|
1333
1333
|
*/
|
|
1334
1334
|
DestinationNamePrefix?: string;
|
|
1335
1335
|
/**
|
|
1336
|
-
* @public
|
|
1337
1336
|
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
1337
|
+
* @public
|
|
1338
1338
|
*/
|
|
1339
1339
|
nextToken?: string;
|
|
1340
1340
|
/**
|
|
1341
|
-
* @public
|
|
1342
1341
|
* <p>The maximum number of items returned. If you don't specify a value, the default maximum value of
|
|
1343
1342
|
* 50 items is used.</p>
|
|
1343
|
+
* @public
|
|
1344
1344
|
*/
|
|
1345
1345
|
limit?: number;
|
|
1346
1346
|
}
|
|
1347
1347
|
/**
|
|
1348
|
-
* @public
|
|
1349
1348
|
* <p>Represents a cross-account destination that receives subscription log events.</p>
|
|
1349
|
+
* @public
|
|
1350
1350
|
*/
|
|
1351
1351
|
export interface Destination {
|
|
1352
1352
|
/**
|
|
1353
|
-
* @public
|
|
1354
1353
|
* <p>The name of the destination.</p>
|
|
1354
|
+
* @public
|
|
1355
1355
|
*/
|
|
1356
1356
|
destinationName?: string;
|
|
1357
1357
|
/**
|
|
1358
|
-
* @public
|
|
1359
1358
|
* <p>The Amazon Resource Name (ARN) of the physical target where the log events are
|
|
1360
1359
|
* delivered (for example, a Kinesis stream).</p>
|
|
1360
|
+
* @public
|
|
1361
1361
|
*/
|
|
1362
1362
|
targetArn?: string;
|
|
1363
1363
|
/**
|
|
1364
|
-
* @public
|
|
1365
1364
|
* <p>A role for impersonation, used when delivering log events to the target.</p>
|
|
1365
|
+
* @public
|
|
1366
1366
|
*/
|
|
1367
1367
|
roleArn?: string;
|
|
1368
1368
|
/**
|
|
1369
|
-
* @public
|
|
1370
1369
|
* <p>An IAM policy document that governs which Amazon Web Services accounts can create subscription filters
|
|
1371
1370
|
* against this destination.</p>
|
|
1371
|
+
* @public
|
|
1372
1372
|
*/
|
|
1373
1373
|
accessPolicy?: string;
|
|
1374
1374
|
/**
|
|
1375
|
-
* @public
|
|
1376
1375
|
* <p>The ARN of this destination.</p>
|
|
1376
|
+
* @public
|
|
1377
1377
|
*/
|
|
1378
1378
|
arn?: string;
|
|
1379
1379
|
/**
|
|
1380
|
-
* @public
|
|
1381
1380
|
* <p>The creation time of the destination, expressed as the number of milliseconds after Jan
|
|
1382
1381
|
* 1, 1970 00:00:00 UTC.</p>
|
|
1382
|
+
* @public
|
|
1383
1383
|
*/
|
|
1384
1384
|
creationTime?: number;
|
|
1385
1385
|
}
|
|
@@ -1388,13 +1388,13 @@ export interface Destination {
|
|
|
1388
1388
|
*/
|
|
1389
1389
|
export interface DescribeDestinationsResponse {
|
|
1390
1390
|
/**
|
|
1391
|
-
* @public
|
|
1392
1391
|
* <p>The destinations.</p>
|
|
1392
|
+
* @public
|
|
1393
1393
|
*/
|
|
1394
1394
|
destinations?: Destination[];
|
|
1395
1395
|
/**
|
|
1396
|
-
* @public
|
|
1397
1396
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1397
|
+
* @public
|
|
1398
1398
|
*/
|
|
1399
1399
|
nextToken?: string;
|
|
1400
1400
|
}
|
|
@@ -1419,111 +1419,111 @@ export type ExportTaskStatusCode = (typeof ExportTaskStatusCode)[keyof typeof Ex
|
|
|
1419
1419
|
*/
|
|
1420
1420
|
export interface DescribeExportTasksRequest {
|
|
1421
1421
|
/**
|
|
1422
|
-
* @public
|
|
1423
1422
|
* <p>The ID of the export task. Specifying a task ID filters the results to one or zero
|
|
1424
1423
|
* export tasks.</p>
|
|
1424
|
+
* @public
|
|
1425
1425
|
*/
|
|
1426
1426
|
taskId?: string;
|
|
1427
1427
|
/**
|
|
1428
|
-
* @public
|
|
1429
1428
|
* <p>The status code of the export task. Specifying a status code filters the results to zero or more export tasks.</p>
|
|
1429
|
+
* @public
|
|
1430
1430
|
*/
|
|
1431
1431
|
statusCode?: ExportTaskStatusCode;
|
|
1432
1432
|
/**
|
|
1433
|
-
* @public
|
|
1434
1433
|
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
1434
|
+
* @public
|
|
1435
1435
|
*/
|
|
1436
1436
|
nextToken?: string;
|
|
1437
1437
|
/**
|
|
1438
|
-
* @public
|
|
1439
1438
|
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
1439
|
+
* @public
|
|
1440
1440
|
*/
|
|
1441
1441
|
limit?: number;
|
|
1442
1442
|
}
|
|
1443
1443
|
/**
|
|
1444
|
-
* @public
|
|
1445
1444
|
* <p>Represents the status of an export task.</p>
|
|
1445
|
+
* @public
|
|
1446
1446
|
*/
|
|
1447
1447
|
export interface ExportTaskExecutionInfo {
|
|
1448
1448
|
/**
|
|
1449
|
-
* @public
|
|
1450
1449
|
* <p>The creation time of the export task, expressed as the number of milliseconds after
|
|
1451
1450
|
* <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
1451
|
+
* @public
|
|
1452
1452
|
*/
|
|
1453
1453
|
creationTime?: number;
|
|
1454
1454
|
/**
|
|
1455
|
-
* @public
|
|
1456
1455
|
* <p>The completion time of the export task, expressed as the number of milliseconds after
|
|
1457
1456
|
* <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
1457
|
+
* @public
|
|
1458
1458
|
*/
|
|
1459
1459
|
completionTime?: number;
|
|
1460
1460
|
}
|
|
1461
1461
|
/**
|
|
1462
|
-
* @public
|
|
1463
1462
|
* <p>Represents the status of an export task.</p>
|
|
1463
|
+
* @public
|
|
1464
1464
|
*/
|
|
1465
1465
|
export interface ExportTaskStatus {
|
|
1466
1466
|
/**
|
|
1467
|
-
* @public
|
|
1468
1467
|
* <p>The status code of the export task.</p>
|
|
1468
|
+
* @public
|
|
1469
1469
|
*/
|
|
1470
1470
|
code?: ExportTaskStatusCode;
|
|
1471
1471
|
/**
|
|
1472
|
-
* @public
|
|
1473
1472
|
* <p>The status message related to the status code.</p>
|
|
1473
|
+
* @public
|
|
1474
1474
|
*/
|
|
1475
1475
|
message?: string;
|
|
1476
1476
|
}
|
|
1477
1477
|
/**
|
|
1478
|
-
* @public
|
|
1479
1478
|
* <p>Represents an export task.</p>
|
|
1479
|
+
* @public
|
|
1480
1480
|
*/
|
|
1481
1481
|
export interface ExportTask {
|
|
1482
1482
|
/**
|
|
1483
|
-
* @public
|
|
1484
1483
|
* <p>The ID of the export task.</p>
|
|
1484
|
+
* @public
|
|
1485
1485
|
*/
|
|
1486
1486
|
taskId?: string;
|
|
1487
1487
|
/**
|
|
1488
|
-
* @public
|
|
1489
1488
|
* <p>The name of the export task.</p>
|
|
1489
|
+
* @public
|
|
1490
1490
|
*/
|
|
1491
1491
|
taskName?: string;
|
|
1492
1492
|
/**
|
|
1493
|
-
* @public
|
|
1494
1493
|
* <p>The name of the log group from which logs data was exported.</p>
|
|
1494
|
+
* @public
|
|
1495
1495
|
*/
|
|
1496
1496
|
logGroupName?: string;
|
|
1497
1497
|
/**
|
|
1498
|
-
* @public
|
|
1499
1498
|
* <p>The start time, expressed as the number of milliseconds after <code>Jan 1, 1970
|
|
1500
1499
|
* 00:00:00 UTC</code>. Events with a timestamp before this time are not exported.</p>
|
|
1500
|
+
* @public
|
|
1501
1501
|
*/
|
|
1502
1502
|
from?: number;
|
|
1503
1503
|
/**
|
|
1504
|
-
* @public
|
|
1505
1504
|
* <p>The end time, expressed as the number of milliseconds after <code>Jan 1, 1970 00:00:00
|
|
1506
1505
|
* UTC</code>. Events with a timestamp later than this time are not exported.</p>
|
|
1506
|
+
* @public
|
|
1507
1507
|
*/
|
|
1508
1508
|
to?: number;
|
|
1509
1509
|
/**
|
|
1510
|
-
* @public
|
|
1511
1510
|
* <p>The name of the S3 bucket to which the log data was exported.</p>
|
|
1511
|
+
* @public
|
|
1512
1512
|
*/
|
|
1513
1513
|
destination?: string;
|
|
1514
1514
|
/**
|
|
1515
|
-
* @public
|
|
1516
1515
|
* <p>The prefix that was used as the start of Amazon S3 key for every object exported.</p>
|
|
1516
|
+
* @public
|
|
1517
1517
|
*/
|
|
1518
1518
|
destinationPrefix?: string;
|
|
1519
1519
|
/**
|
|
1520
|
-
* @public
|
|
1521
1520
|
* <p>The status of the export task.</p>
|
|
1521
|
+
* @public
|
|
1522
1522
|
*/
|
|
1523
1523
|
status?: ExportTaskStatus;
|
|
1524
1524
|
/**
|
|
1525
|
-
* @public
|
|
1526
1525
|
* <p>Execution information about the export task.</p>
|
|
1526
|
+
* @public
|
|
1527
1527
|
*/
|
|
1528
1528
|
executionInfo?: ExportTaskExecutionInfo;
|
|
1529
1529
|
}
|
|
@@ -1532,13 +1532,13 @@ export interface ExportTask {
|
|
|
1532
1532
|
*/
|
|
1533
1533
|
export interface DescribeExportTasksResponse {
|
|
1534
1534
|
/**
|
|
1535
|
-
* @public
|
|
1536
1535
|
* <p>The export tasks.</p>
|
|
1536
|
+
* @public
|
|
1537
1537
|
*/
|
|
1538
1538
|
exportTasks?: ExportTask[];
|
|
1539
1539
|
/**
|
|
1540
|
-
* @public
|
|
1541
1540
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1541
|
+
* @public
|
|
1542
1542
|
*/
|
|
1543
1543
|
nextToken?: string;
|
|
1544
1544
|
}
|
|
@@ -1547,13 +1547,12 @@ export interface DescribeExportTasksResponse {
|
|
|
1547
1547
|
*/
|
|
1548
1548
|
export interface DescribeLogGroupsRequest {
|
|
1549
1549
|
/**
|
|
1550
|
-
* @public
|
|
1551
1550
|
* <p>When <code>includeLinkedAccounts</code> is set to <code>True</code>, use this parameter to
|
|
1552
1551
|
* specify the list of accounts to search. You can specify as many as 20 account IDs in the array. </p>
|
|
1552
|
+
* @public
|
|
1553
1553
|
*/
|
|
1554
1554
|
accountIdentifiers?: string[];
|
|
1555
1555
|
/**
|
|
1556
|
-
* @public
|
|
1557
1556
|
* <p>The prefix to match.</p>
|
|
1558
1557
|
* <note>
|
|
1559
1558
|
* <p>
|
|
@@ -1562,10 +1561,10 @@ export interface DescribeLogGroupsRequest {
|
|
|
1562
1561
|
* of these parameters can be passed.
|
|
1563
1562
|
* </p>
|
|
1564
1563
|
* </note>
|
|
1564
|
+
* @public
|
|
1565
1565
|
*/
|
|
1566
1566
|
logGroupNamePrefix?: string;
|
|
1567
1567
|
/**
|
|
1568
|
-
* @public
|
|
1569
1568
|
* <p>If you specify a string for this parameter, the operation returns only log groups that have names
|
|
1570
1569
|
* that match the string based on a case-sensitive substring search. For example, if you specify <code>Foo</code>, log groups
|
|
1571
1570
|
* named <code>FooBar</code>, <code>aws/Foo</code>, and <code>GroupFoo</code> would match, but <code>foo</code>,
|
|
@@ -1580,20 +1579,20 @@ export interface DescribeLogGroupsRequest {
|
|
|
1580
1579
|
* of these parameters can be passed.
|
|
1581
1580
|
* </p>
|
|
1582
1581
|
* </note>
|
|
1582
|
+
* @public
|
|
1583
1583
|
*/
|
|
1584
1584
|
logGroupNamePattern?: string;
|
|
1585
1585
|
/**
|
|
1586
|
-
* @public
|
|
1587
1586
|
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
1587
|
+
* @public
|
|
1588
1588
|
*/
|
|
1589
1589
|
nextToken?: string;
|
|
1590
1590
|
/**
|
|
1591
|
-
* @public
|
|
1592
1591
|
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
1592
|
+
* @public
|
|
1593
1593
|
*/
|
|
1594
1594
|
limit?: number;
|
|
1595
1595
|
/**
|
|
1596
|
-
* @public
|
|
1597
1596
|
* <p>If you are using a monitoring account, set this to <code>True</code> to have the operation
|
|
1598
1597
|
* return log groups in
|
|
1599
1598
|
* the accounts listed in <code>accountIdentifiers</code>.</p>
|
|
@@ -1601,10 +1600,10 @@ export interface DescribeLogGroupsRequest {
|
|
|
1601
1600
|
*
|
|
1602
1601
|
* contains a null value, the operation returns all log groups in the monitoring account
|
|
1603
1602
|
* and all log groups in all source accounts that are linked to the monitoring account. </p>
|
|
1603
|
+
* @public
|
|
1604
1604
|
*/
|
|
1605
1605
|
includeLinkedAccounts?: boolean;
|
|
1606
1606
|
/**
|
|
1607
|
-
* @public
|
|
1608
1607
|
* <p>Specifies the log group class for this log group. There are two classes:</p>
|
|
1609
1608
|
* <ul>
|
|
1610
1609
|
* <li>
|
|
@@ -1618,6 +1617,7 @@ export interface DescribeLogGroupsRequest {
|
|
|
1618
1617
|
* <p>For details about the features supported by each class, see
|
|
1619
1618
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html">Log classes</a>
|
|
1620
1619
|
* </p>
|
|
1620
|
+
* @public
|
|
1621
1621
|
*/
|
|
1622
1622
|
logGroupClass?: LogGroupClass;
|
|
1623
1623
|
}
|
|
@@ -1633,66 +1633,65 @@ export declare const InheritedProperty: {
|
|
|
1633
1633
|
*/
|
|
1634
1634
|
export type InheritedProperty = (typeof InheritedProperty)[keyof typeof InheritedProperty];
|
|
1635
1635
|
/**
|
|
1636
|
-
* @public
|
|
1637
1636
|
* <p>Represents a log group.</p>
|
|
1637
|
+
* @public
|
|
1638
1638
|
*/
|
|
1639
1639
|
export interface LogGroup {
|
|
1640
1640
|
/**
|
|
1641
|
-
* @public
|
|
1642
1641
|
* <p>The name of the log group.</p>
|
|
1642
|
+
* @public
|
|
1643
1643
|
*/
|
|
1644
1644
|
logGroupName?: string;
|
|
1645
1645
|
/**
|
|
1646
|
-
* @public
|
|
1647
1646
|
* <p>The creation time of the log group, expressed as the number of milliseconds after Jan
|
|
1648
1647
|
* 1, 1970 00:00:00 UTC.</p>
|
|
1648
|
+
* @public
|
|
1649
1649
|
*/
|
|
1650
1650
|
creationTime?: number;
|
|
1651
1651
|
/**
|
|
1652
|
-
* @public
|
|
1653
1652
|
* <p>The number of days to retain the log events in the specified log group.
|
|
1654
1653
|
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, and 3653.</p>
|
|
1655
1654
|
* <p>To set a log group so that its log events do not expire, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>. </p>
|
|
1655
|
+
* @public
|
|
1656
1656
|
*/
|
|
1657
1657
|
retentionInDays?: number;
|
|
1658
1658
|
/**
|
|
1659
|
-
* @public
|
|
1660
1659
|
* <p>The number of metric filters.</p>
|
|
1660
|
+
* @public
|
|
1661
1661
|
*/
|
|
1662
1662
|
metricFilterCount?: number;
|
|
1663
1663
|
/**
|
|
1664
|
-
* @public
|
|
1665
1664
|
* <p>The Amazon Resource Name (ARN) of the log group. This version of the ARN includes a trailing <code>:*</code> after the log group name. </p>
|
|
1666
1665
|
* <p>Use this version to refer to the ARN in IAM policies when specifying permissions for most API actions. The exception is when specifying permissions for <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html">TagResource</a>, <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html">UntagResource</a>, and
|
|
1667
1666
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>.
|
|
1668
1667
|
* The permissions for those three actions require the ARN version that doesn't include a trailing <code>:*</code>.</p>
|
|
1668
|
+
* @public
|
|
1669
1669
|
*/
|
|
1670
1670
|
arn?: string;
|
|
1671
1671
|
/**
|
|
1672
|
-
* @public
|
|
1673
1672
|
* <p>The number of bytes stored.</p>
|
|
1673
|
+
* @public
|
|
1674
1674
|
*/
|
|
1675
1675
|
storedBytes?: number;
|
|
1676
1676
|
/**
|
|
1677
|
-
* @public
|
|
1678
1677
|
* <p>The Amazon Resource Name (ARN) of the KMS key to use when
|
|
1679
1678
|
* encrypting log data.</p>
|
|
1679
|
+
* @public
|
|
1680
1680
|
*/
|
|
1681
1681
|
kmsKeyId?: string;
|
|
1682
1682
|
/**
|
|
1683
|
-
* @public
|
|
1684
1683
|
* <p>Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see
|
|
1685
1684
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDataProtectionPolicy.html">PutDataProtectionPolicy</a>.</p>
|
|
1685
|
+
* @public
|
|
1686
1686
|
*/
|
|
1687
1687
|
dataProtectionStatus?: DataProtectionStatus;
|
|
1688
1688
|
/**
|
|
1689
|
-
* @public
|
|
1690
1689
|
* <p>Displays all the properties that this log group has inherited from account-level
|
|
1691
1690
|
* settings.</p>
|
|
1691
|
+
* @public
|
|
1692
1692
|
*/
|
|
1693
1693
|
inheritedProperties?: InheritedProperty[];
|
|
1694
1694
|
/**
|
|
1695
|
-
* @public
|
|
1696
1695
|
* <p>This specifies the log group class for this log group. There are two classes:</p>
|
|
1697
1696
|
* <ul>
|
|
1698
1697
|
* <li>
|
|
@@ -1706,10 +1705,10 @@ export interface LogGroup {
|
|
|
1706
1705
|
* <p>For details about the features supported by each class, see
|
|
1707
1706
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html">Log classes</a>
|
|
1708
1707
|
* </p>
|
|
1708
|
+
* @public
|
|
1709
1709
|
*/
|
|
1710
1710
|
logGroupClass?: LogGroupClass;
|
|
1711
1711
|
/**
|
|
1712
|
-
* @public
|
|
1713
1712
|
* <p>The Amazon Resource Name (ARN) of the log group. This version of the ARN doesn't include a trailing <code>:*</code> after the log group name. </p>
|
|
1714
1713
|
* <p>Use this version to refer to the ARN in the following situations:</p>
|
|
1715
1714
|
* <ul>
|
|
@@ -1724,6 +1723,7 @@ export interface LogGroup {
|
|
|
1724
1723
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>.</p>
|
|
1725
1724
|
* </li>
|
|
1726
1725
|
* </ul>
|
|
1726
|
+
* @public
|
|
1727
1727
|
*/
|
|
1728
1728
|
logGroupArn?: string;
|
|
1729
1729
|
}
|
|
@@ -1732,15 +1732,15 @@ export interface LogGroup {
|
|
|
1732
1732
|
*/
|
|
1733
1733
|
export interface DescribeLogGroupsResponse {
|
|
1734
1734
|
/**
|
|
1735
|
-
* @public
|
|
1736
1735
|
* <p>The log groups.</p>
|
|
1737
1736
|
* <p>If the <code>retentionInDays</code> value is not included for a log group, then that log
|
|
1738
1737
|
* group's events do not expire.</p>
|
|
1738
|
+
* @public
|
|
1739
1739
|
*/
|
|
1740
1740
|
logGroups?: LogGroup[];
|
|
1741
1741
|
/**
|
|
1742
|
-
* @public
|
|
1743
1742
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1743
|
+
* @public
|
|
1744
1744
|
*/
|
|
1745
1745
|
nextToken?: string;
|
|
1746
1746
|
}
|
|
@@ -1761,7 +1761,6 @@ export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
|
1761
1761
|
*/
|
|
1762
1762
|
export interface DescribeLogStreamsRequest {
|
|
1763
1763
|
/**
|
|
1764
|
-
* @public
|
|
1765
1764
|
* <p>The name of the log group.</p>
|
|
1766
1765
|
* <note>
|
|
1767
1766
|
* <p>
|
|
@@ -1769,10 +1768,10 @@ export interface DescribeLogStreamsRequest {
|
|
|
1769
1768
|
* both.
|
|
1770
1769
|
* </p>
|
|
1771
1770
|
* </note>
|
|
1771
|
+
* @public
|
|
1772
1772
|
*/
|
|
1773
1773
|
logGroupName?: string;
|
|
1774
1774
|
/**
|
|
1775
|
-
* @public
|
|
1776
1775
|
* <p>Specify either the name or ARN of the log group to view. If the log group is in a source account
|
|
1777
1776
|
* and you are using a monitoring account, you must use the log group ARN.</p>
|
|
1778
1777
|
* <note>
|
|
@@ -1781,17 +1780,17 @@ export interface DescribeLogStreamsRequest {
|
|
|
1781
1780
|
* both.
|
|
1782
1781
|
* </p>
|
|
1783
1782
|
* </note>
|
|
1783
|
+
* @public
|
|
1784
1784
|
*/
|
|
1785
1785
|
logGroupIdentifier?: string;
|
|
1786
1786
|
/**
|
|
1787
|
-
* @public
|
|
1788
1787
|
* <p>The prefix to match.</p>
|
|
1789
1788
|
* <p>If <code>orderBy</code> is <code>LastEventTime</code>, you cannot specify this
|
|
1790
1789
|
* parameter.</p>
|
|
1790
|
+
* @public
|
|
1791
1791
|
*/
|
|
1792
1792
|
logStreamNamePrefix?: string;
|
|
1793
1793
|
/**
|
|
1794
|
-
* @public
|
|
1795
1794
|
* <p>If the value is <code>LogStreamName</code>, the results are ordered by log stream name.
|
|
1796
1795
|
* If the value is <code>LastEventTime</code>, the results are ordered by the event time.
|
|
1797
1796
|
* The default value is <code>LogStreamName</code>.</p>
|
|
@@ -1802,67 +1801,67 @@ export interface DescribeLogStreamsRequest {
|
|
|
1802
1801
|
* <code>Jan 1, 1970 00:00:00 UTC</code>. <code>lastEventTimestamp</code> updates on an
|
|
1803
1802
|
* eventual consistency basis. It typically updates in less than an hour from ingestion, but in
|
|
1804
1803
|
* rare situations might take longer.</p>
|
|
1804
|
+
* @public
|
|
1805
1805
|
*/
|
|
1806
1806
|
orderBy?: OrderBy;
|
|
1807
1807
|
/**
|
|
1808
|
-
* @public
|
|
1809
1808
|
* <p>If the value is true, results are returned in descending order.
|
|
1810
1809
|
* If the value is to false, results are returned in ascending order.
|
|
1811
1810
|
* The default value is false.</p>
|
|
1811
|
+
* @public
|
|
1812
1812
|
*/
|
|
1813
1813
|
descending?: boolean;
|
|
1814
1814
|
/**
|
|
1815
|
-
* @public
|
|
1816
1815
|
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
1816
|
+
* @public
|
|
1817
1817
|
*/
|
|
1818
1818
|
nextToken?: string;
|
|
1819
1819
|
/**
|
|
1820
|
-
* @public
|
|
1821
1820
|
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
1821
|
+
* @public
|
|
1822
1822
|
*/
|
|
1823
1823
|
limit?: number;
|
|
1824
1824
|
}
|
|
1825
1825
|
/**
|
|
1826
|
-
* @public
|
|
1827
1826
|
* <p>Represents a log stream, which is a sequence of log events from
|
|
1828
1827
|
* a single emitter of logs.</p>
|
|
1828
|
+
* @public
|
|
1829
1829
|
*/
|
|
1830
1830
|
export interface LogStream {
|
|
1831
1831
|
/**
|
|
1832
|
-
* @public
|
|
1833
1832
|
* <p>The name of the log stream.</p>
|
|
1833
|
+
* @public
|
|
1834
1834
|
*/
|
|
1835
1835
|
logStreamName?: string;
|
|
1836
1836
|
/**
|
|
1837
|
-
* @public
|
|
1838
1837
|
* <p>The creation time of the stream, expressed as the number of milliseconds after
|
|
1839
1838
|
* <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
1839
|
+
* @public
|
|
1840
1840
|
*/
|
|
1841
1841
|
creationTime?: number;
|
|
1842
1842
|
/**
|
|
1843
|
-
* @public
|
|
1844
1843
|
* <p>The time of the first event, expressed as the number of milliseconds after <code>Jan 1,
|
|
1845
1844
|
* 1970 00:00:00 UTC</code>.</p>
|
|
1845
|
+
* @public
|
|
1846
1846
|
*/
|
|
1847
1847
|
firstEventTimestamp?: number;
|
|
1848
1848
|
/**
|
|
1849
|
-
* @public
|
|
1850
1849
|
* <p>The time of the most recent log event in the log stream in CloudWatch Logs. This number
|
|
1851
1850
|
* is expressed as the number of milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>. The
|
|
1852
1851
|
* <code>lastEventTime</code> value updates on an eventual consistency basis. It typically
|
|
1853
1852
|
* updates in less than an hour from ingestion, but in rare situations might take
|
|
1854
1853
|
* longer.</p>
|
|
1854
|
+
* @public
|
|
1855
1855
|
*/
|
|
1856
1856
|
lastEventTimestamp?: number;
|
|
1857
1857
|
/**
|
|
1858
|
-
* @public
|
|
1859
1858
|
* <p>The ingestion time, expressed as the number of milliseconds after <code>Jan 1, 1970
|
|
1860
1859
|
* 00:00:00 UTC</code> The <code>lastIngestionTime</code> value updates on an eventual consistency basis. It
|
|
1861
1860
|
* typically updates in less than an hour after ingestion, but in rare situations might take longer.</p>
|
|
1861
|
+
* @public
|
|
1862
1862
|
*/
|
|
1863
1863
|
lastIngestionTime?: number;
|
|
1864
1864
|
/**
|
|
1865
|
-
* @public
|
|
1866
1865
|
* <p>The sequence token.</p>
|
|
1867
1866
|
* <important>
|
|
1868
1867
|
* <p>The sequence token is now ignored in
|
|
@@ -1870,15 +1869,15 @@ export interface LogStream {
|
|
|
1870
1869
|
* actions. <code>PutLogEvents</code> actions are always accepted regardless of receiving an invalid sequence token.
|
|
1871
1870
|
* You don't need to obtain <code>uploadSequenceToken</code> to use a <code>PutLogEvents</code> action.</p>
|
|
1872
1871
|
* </important>
|
|
1872
|
+
* @public
|
|
1873
1873
|
*/
|
|
1874
1874
|
uploadSequenceToken?: string;
|
|
1875
1875
|
/**
|
|
1876
|
-
* @public
|
|
1877
1876
|
* <p>The Amazon Resource Name (ARN) of the log stream.</p>
|
|
1877
|
+
* @public
|
|
1878
1878
|
*/
|
|
1879
1879
|
arn?: string;
|
|
1880
1880
|
/**
|
|
1881
|
-
* @public
|
|
1882
1881
|
* @deprecated
|
|
1883
1882
|
*
|
|
1884
1883
|
* <p>The number of bytes stored.</p>
|
|
@@ -1886,6 +1885,7 @@ export interface LogStream {
|
|
|
1886
1885
|
* <b>Important:</b> As of June 17, 2019, this parameter is no
|
|
1887
1886
|
* longer supported for log streams, and is always reported as zero. This change applies only to
|
|
1888
1887
|
* log streams. The <code>storedBytes</code> parameter for log groups is not affected.</p>
|
|
1888
|
+
* @public
|
|
1889
1889
|
*/
|
|
1890
1890
|
storedBytes?: number;
|
|
1891
1891
|
}
|
|
@@ -1894,13 +1894,13 @@ export interface LogStream {
|
|
|
1894
1894
|
*/
|
|
1895
1895
|
export interface DescribeLogStreamsResponse {
|
|
1896
1896
|
/**
|
|
1897
|
-
* @public
|
|
1898
1897
|
* <p>The log streams.</p>
|
|
1898
|
+
* @public
|
|
1899
1899
|
*/
|
|
1900
1900
|
logStreams?: LogStream[];
|
|
1901
1901
|
/**
|
|
1902
|
-
* @public
|
|
1903
1902
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1903
|
+
* @public
|
|
1904
1904
|
*/
|
|
1905
1905
|
nextToken?: string;
|
|
1906
1906
|
}
|
|
@@ -1909,36 +1909,36 @@ export interface DescribeLogStreamsResponse {
|
|
|
1909
1909
|
*/
|
|
1910
1910
|
export interface DescribeMetricFiltersRequest {
|
|
1911
1911
|
/**
|
|
1912
|
-
* @public
|
|
1913
1912
|
* <p>The name of the log group.</p>
|
|
1913
|
+
* @public
|
|
1914
1914
|
*/
|
|
1915
1915
|
logGroupName?: string;
|
|
1916
1916
|
/**
|
|
1917
|
-
* @public
|
|
1918
1917
|
* <p>The prefix to match. CloudWatch Logs uses the value that you set here only if you also
|
|
1919
1918
|
* include the <code>logGroupName</code> parameter in your request.</p>
|
|
1919
|
+
* @public
|
|
1920
1920
|
*/
|
|
1921
1921
|
filterNamePrefix?: string;
|
|
1922
1922
|
/**
|
|
1923
|
-
* @public
|
|
1924
1923
|
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
1924
|
+
* @public
|
|
1925
1925
|
*/
|
|
1926
1926
|
nextToken?: string;
|
|
1927
1927
|
/**
|
|
1928
|
-
* @public
|
|
1929
1928
|
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
1929
|
+
* @public
|
|
1930
1930
|
*/
|
|
1931
1931
|
limit?: number;
|
|
1932
1932
|
/**
|
|
1933
|
-
* @public
|
|
1934
1933
|
* <p>Filters results to include only those with the specified metric name. If you include this parameter in your request, you
|
|
1935
1934
|
* must also include the <code>metricNamespace</code> parameter.</p>
|
|
1935
|
+
* @public
|
|
1936
1936
|
*/
|
|
1937
1937
|
metricName?: string;
|
|
1938
1938
|
/**
|
|
1939
|
-
* @public
|
|
1940
1939
|
* <p>Filters results to include only those in the specified namespace. If you include this parameter in your request, you
|
|
1941
1940
|
* must also include the <code>metricName</code> parameter.</p>
|
|
1941
|
+
* @public
|
|
1942
1942
|
*/
|
|
1943
1943
|
metricNamespace?: string;
|
|
1944
1944
|
}
|
|
@@ -1980,35 +1980,34 @@ export declare const StandardUnit: {
|
|
|
1980
1980
|
*/
|
|
1981
1981
|
export type StandardUnit = (typeof StandardUnit)[keyof typeof StandardUnit];
|
|
1982
1982
|
/**
|
|
1983
|
-
* @public
|
|
1984
1983
|
* <p>Indicates how to transform ingested log events to metric data in a CloudWatch
|
|
1985
1984
|
* metric.</p>
|
|
1985
|
+
* @public
|
|
1986
1986
|
*/
|
|
1987
1987
|
export interface MetricTransformation {
|
|
1988
1988
|
/**
|
|
1989
|
-
* @public
|
|
1990
1989
|
* <p>The name of the CloudWatch metric.</p>
|
|
1990
|
+
* @public
|
|
1991
1991
|
*/
|
|
1992
1992
|
metricName: string | undefined;
|
|
1993
1993
|
/**
|
|
1994
|
-
* @public
|
|
1995
1994
|
* <p>A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics
|
|
1996
1995
|
* that are similar. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace">Namespaces</a>.</p>
|
|
1996
|
+
* @public
|
|
1997
1997
|
*/
|
|
1998
1998
|
metricNamespace: string | undefined;
|
|
1999
1999
|
/**
|
|
2000
|
-
* @public
|
|
2001
2000
|
* <p>The value to publish to the CloudWatch metric when a filter pattern matches a log event.</p>
|
|
2001
|
+
* @public
|
|
2002
2002
|
*/
|
|
2003
2003
|
metricValue: string | undefined;
|
|
2004
2004
|
/**
|
|
2005
|
-
* @public
|
|
2006
2005
|
* <p>(Optional) The value to emit when a filter pattern does not match a log event.
|
|
2007
2006
|
* This value can be null.</p>
|
|
2007
|
+
* @public
|
|
2008
2008
|
*/
|
|
2009
2009
|
defaultValue?: number;
|
|
2010
2010
|
/**
|
|
2011
|
-
* @public
|
|
2012
2011
|
* <p>The fields to use as dimensions for the metric. One metric filter can include
|
|
2013
2012
|
* as many as three dimensions.</p>
|
|
2014
2013
|
* <important>
|
|
@@ -2027,46 +2026,47 @@ export interface MetricTransformation {
|
|
|
2027
2026
|
* Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges</a>.
|
|
2028
2027
|
* </p>
|
|
2029
2028
|
* </important>
|
|
2029
|
+
* @public
|
|
2030
2030
|
*/
|
|
2031
2031
|
dimensions?: Record<string, string>;
|
|
2032
2032
|
/**
|
|
2033
|
-
* @public
|
|
2034
2033
|
* <p>The unit to assign to the metric. If you omit this, the unit is set as <code>None</code>.</p>
|
|
2034
|
+
* @public
|
|
2035
2035
|
*/
|
|
2036
2036
|
unit?: StandardUnit;
|
|
2037
2037
|
}
|
|
2038
2038
|
/**
|
|
2039
|
-
* @public
|
|
2040
2039
|
* <p>Metric filters express how CloudWatch Logs would extract metric observations
|
|
2041
2040
|
* from ingested log events and transform them into metric data in a CloudWatch metric.</p>
|
|
2041
|
+
* @public
|
|
2042
2042
|
*/
|
|
2043
2043
|
export interface MetricFilter {
|
|
2044
2044
|
/**
|
|
2045
|
-
* @public
|
|
2046
2045
|
* <p>The name of the metric filter.</p>
|
|
2046
|
+
* @public
|
|
2047
2047
|
*/
|
|
2048
2048
|
filterName?: string;
|
|
2049
2049
|
/**
|
|
2050
|
-
* @public
|
|
2051
2050
|
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
2052
2051
|
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
2053
2052
|
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
2053
|
+
* @public
|
|
2054
2054
|
*/
|
|
2055
2055
|
filterPattern?: string;
|
|
2056
2056
|
/**
|
|
2057
|
-
* @public
|
|
2058
2057
|
* <p>The metric transformations.</p>
|
|
2058
|
+
* @public
|
|
2059
2059
|
*/
|
|
2060
2060
|
metricTransformations?: MetricTransformation[];
|
|
2061
2061
|
/**
|
|
2062
|
-
* @public
|
|
2063
2062
|
* <p>The creation time of the metric filter, expressed as the number of milliseconds after
|
|
2064
2063
|
* <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
2064
|
+
* @public
|
|
2065
2065
|
*/
|
|
2066
2066
|
creationTime?: number;
|
|
2067
2067
|
/**
|
|
2068
|
-
* @public
|
|
2069
2068
|
* <p>The name of the log group.</p>
|
|
2069
|
+
* @public
|
|
2070
2070
|
*/
|
|
2071
2071
|
logGroupName?: string;
|
|
2072
2072
|
}
|
|
@@ -2075,13 +2075,13 @@ export interface MetricFilter {
|
|
|
2075
2075
|
*/
|
|
2076
2076
|
export interface DescribeMetricFiltersResponse {
|
|
2077
2077
|
/**
|
|
2078
|
-
* @public
|
|
2079
2078
|
* <p>The metric filters.</p>
|
|
2079
|
+
* @public
|
|
2080
2080
|
*/
|
|
2081
2081
|
metricFilters?: MetricFilter[];
|
|
2082
2082
|
/**
|
|
2083
|
-
* @public
|
|
2084
2083
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
2084
|
+
* @public
|
|
2085
2085
|
*/
|
|
2086
2086
|
nextToken?: string;
|
|
2087
2087
|
}
|
|
@@ -2107,56 +2107,56 @@ export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
|
|
|
2107
2107
|
*/
|
|
2108
2108
|
export interface DescribeQueriesRequest {
|
|
2109
2109
|
/**
|
|
2110
|
-
* @public
|
|
2111
2110
|
* <p>Limits the returned queries to only those for the specified log group.</p>
|
|
2111
|
+
* @public
|
|
2112
2112
|
*/
|
|
2113
2113
|
logGroupName?: string;
|
|
2114
2114
|
/**
|
|
2115
|
-
* @public
|
|
2116
2115
|
* <p>Limits the returned queries to only those that have the specified status. Valid values are <code>Cancelled</code>,
|
|
2117
2116
|
* <code>Complete</code>, <code>Failed</code>, <code>Running</code>, and <code>Scheduled</code>.</p>
|
|
2117
|
+
* @public
|
|
2118
2118
|
*/
|
|
2119
2119
|
status?: QueryStatus;
|
|
2120
2120
|
/**
|
|
2121
|
-
* @public
|
|
2122
2121
|
* <p>Limits the number of returned queries to the specified number.</p>
|
|
2122
|
+
* @public
|
|
2123
2123
|
*/
|
|
2124
2124
|
maxResults?: number;
|
|
2125
2125
|
/**
|
|
2126
|
-
* @public
|
|
2127
2126
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
2127
|
+
* @public
|
|
2128
2128
|
*/
|
|
2129
2129
|
nextToken?: string;
|
|
2130
2130
|
}
|
|
2131
2131
|
/**
|
|
2132
|
-
* @public
|
|
2133
2132
|
* <p>Information about one CloudWatch Logs Insights query that matches the request in a <code>DescribeQueries</code> operation. </p>
|
|
2133
|
+
* @public
|
|
2134
2134
|
*/
|
|
2135
2135
|
export interface QueryInfo {
|
|
2136
2136
|
/**
|
|
2137
|
-
* @public
|
|
2138
2137
|
* <p>The unique ID number of this query.</p>
|
|
2138
|
+
* @public
|
|
2139
2139
|
*/
|
|
2140
2140
|
queryId?: string;
|
|
2141
2141
|
/**
|
|
2142
|
-
* @public
|
|
2143
2142
|
* <p>The query string used in this query.</p>
|
|
2143
|
+
* @public
|
|
2144
2144
|
*/
|
|
2145
2145
|
queryString?: string;
|
|
2146
2146
|
/**
|
|
2147
|
-
* @public
|
|
2148
2147
|
* <p>The status of this query. Possible values are <code>Cancelled</code>,
|
|
2149
2148
|
* <code>Complete</code>, <code>Failed</code>, <code>Running</code>, <code>Scheduled</code>, and <code>Unknown</code>.</p>
|
|
2149
|
+
* @public
|
|
2150
2150
|
*/
|
|
2151
2151
|
status?: QueryStatus;
|
|
2152
2152
|
/**
|
|
2153
|
-
* @public
|
|
2154
2153
|
* <p>The date and time that this query was created.</p>
|
|
2154
|
+
* @public
|
|
2155
2155
|
*/
|
|
2156
2156
|
createTime?: number;
|
|
2157
2157
|
/**
|
|
2158
|
-
* @public
|
|
2159
2158
|
* <p>The name of the log group scanned by this query.</p>
|
|
2159
|
+
* @public
|
|
2160
2160
|
*/
|
|
2161
2161
|
logGroupName?: string;
|
|
2162
2162
|
}
|
|
@@ -2165,13 +2165,13 @@ export interface QueryInfo {
|
|
|
2165
2165
|
*/
|
|
2166
2166
|
export interface DescribeQueriesResponse {
|
|
2167
2167
|
/**
|
|
2168
|
-
* @public
|
|
2169
2168
|
* <p>The list of queries that match the request.</p>
|
|
2169
|
+
* @public
|
|
2170
2170
|
*/
|
|
2171
2171
|
queries?: QueryInfo[];
|
|
2172
2172
|
/**
|
|
2173
|
-
* @public
|
|
2174
2173
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
2174
|
+
* @public
|
|
2175
2175
|
*/
|
|
2176
2176
|
nextToken?: string;
|
|
2177
2177
|
}
|
|
@@ -2180,50 +2180,50 @@ export interface DescribeQueriesResponse {
|
|
|
2180
2180
|
*/
|
|
2181
2181
|
export interface DescribeQueryDefinitionsRequest {
|
|
2182
2182
|
/**
|
|
2183
|
-
* @public
|
|
2184
2183
|
* <p>Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.</p>
|
|
2184
|
+
* @public
|
|
2185
2185
|
*/
|
|
2186
2186
|
queryDefinitionNamePrefix?: string;
|
|
2187
2187
|
/**
|
|
2188
|
-
* @public
|
|
2189
2188
|
* <p>Limits the number of returned query definitions to the specified number.</p>
|
|
2189
|
+
* @public
|
|
2190
2190
|
*/
|
|
2191
2191
|
maxResults?: number;
|
|
2192
2192
|
/**
|
|
2193
|
-
* @public
|
|
2194
2193
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
2194
|
+
* @public
|
|
2195
2195
|
*/
|
|
2196
2196
|
nextToken?: string;
|
|
2197
2197
|
}
|
|
2198
2198
|
/**
|
|
2199
|
-
* @public
|
|
2200
2199
|
* <p>This structure contains details about a saved CloudWatch Logs Insights query definition.</p>
|
|
2200
|
+
* @public
|
|
2201
2201
|
*/
|
|
2202
2202
|
export interface QueryDefinition {
|
|
2203
2203
|
/**
|
|
2204
|
-
* @public
|
|
2205
2204
|
* <p>The unique ID of the query definition.</p>
|
|
2205
|
+
* @public
|
|
2206
2206
|
*/
|
|
2207
2207
|
queryDefinitionId?: string;
|
|
2208
2208
|
/**
|
|
2209
|
-
* @public
|
|
2210
2209
|
* <p>The name of the query definition.</p>
|
|
2210
|
+
* @public
|
|
2211
2211
|
*/
|
|
2212
2212
|
name?: string;
|
|
2213
2213
|
/**
|
|
2214
|
-
* @public
|
|
2215
2214
|
* <p>The query string to use for this definition.
|
|
2216
2215
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
2216
|
+
* @public
|
|
2217
2217
|
*/
|
|
2218
2218
|
queryString?: string;
|
|
2219
2219
|
/**
|
|
2220
|
-
* @public
|
|
2221
2220
|
* <p>The date that the query definition was most recently modified.</p>
|
|
2221
|
+
* @public
|
|
2222
2222
|
*/
|
|
2223
2223
|
lastModified?: number;
|
|
2224
2224
|
/**
|
|
2225
|
-
* @public
|
|
2226
2225
|
* <p>If this query definition contains a list of log groups that it is limited to, that list appears here.</p>
|
|
2226
|
+
* @public
|
|
2227
2227
|
*/
|
|
2228
2228
|
logGroupNames?: string[];
|
|
2229
2229
|
}
|
|
@@ -2232,13 +2232,13 @@ export interface QueryDefinition {
|
|
|
2232
2232
|
*/
|
|
2233
2233
|
export interface DescribeQueryDefinitionsResponse {
|
|
2234
2234
|
/**
|
|
2235
|
-
* @public
|
|
2236
2235
|
* <p>The list of query definitions that match your request.</p>
|
|
2236
|
+
* @public
|
|
2237
2237
|
*/
|
|
2238
2238
|
queryDefinitions?: QueryDefinition[];
|
|
2239
2239
|
/**
|
|
2240
|
-
* @public
|
|
2241
2240
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
2241
|
+
* @public
|
|
2242
2242
|
*/
|
|
2243
2243
|
nextToken?: string;
|
|
2244
2244
|
}
|
|
@@ -2247,35 +2247,35 @@ export interface DescribeQueryDefinitionsResponse {
|
|
|
2247
2247
|
*/
|
|
2248
2248
|
export interface DescribeResourcePoliciesRequest {
|
|
2249
2249
|
/**
|
|
2250
|
-
* @public
|
|
2251
2250
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
2251
|
+
* @public
|
|
2252
2252
|
*/
|
|
2253
2253
|
nextToken?: string;
|
|
2254
2254
|
/**
|
|
2255
|
-
* @public
|
|
2256
2255
|
* <p>The maximum number of resource policies to be displayed with one call of this API.</p>
|
|
2256
|
+
* @public
|
|
2257
2257
|
*/
|
|
2258
2258
|
limit?: number;
|
|
2259
2259
|
}
|
|
2260
2260
|
/**
|
|
2261
|
-
* @public
|
|
2262
2261
|
* <p>A policy enabling one or more entities to put logs to a log group in this account.</p>
|
|
2262
|
+
* @public
|
|
2263
2263
|
*/
|
|
2264
2264
|
export interface ResourcePolicy {
|
|
2265
2265
|
/**
|
|
2266
|
-
* @public
|
|
2267
2266
|
* <p>The name of the resource policy.</p>
|
|
2267
|
+
* @public
|
|
2268
2268
|
*/
|
|
2269
2269
|
policyName?: string;
|
|
2270
2270
|
/**
|
|
2271
|
-
* @public
|
|
2272
2271
|
* <p>The details of the policy.</p>
|
|
2272
|
+
* @public
|
|
2273
2273
|
*/
|
|
2274
2274
|
policyDocument?: string;
|
|
2275
2275
|
/**
|
|
2276
|
-
* @public
|
|
2277
2276
|
* <p>Timestamp showing when this policy was last updated, expressed as the number of
|
|
2278
2277
|
* milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
2278
|
+
* @public
|
|
2279
2279
|
*/
|
|
2280
2280
|
lastUpdatedTime?: number;
|
|
2281
2281
|
}
|
|
@@ -2284,13 +2284,13 @@ export interface ResourcePolicy {
|
|
|
2284
2284
|
*/
|
|
2285
2285
|
export interface DescribeResourcePoliciesResponse {
|
|
2286
2286
|
/**
|
|
2287
|
-
* @public
|
|
2288
2287
|
* <p>The resource policies that exist in this account.</p>
|
|
2288
|
+
* @public
|
|
2289
2289
|
*/
|
|
2290
2290
|
resourcePolicies?: ResourcePolicy[];
|
|
2291
2291
|
/**
|
|
2292
|
-
* @public
|
|
2293
2292
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
2293
|
+
* @public
|
|
2294
2294
|
*/
|
|
2295
2295
|
nextToken?: string;
|
|
2296
2296
|
}
|
|
@@ -2299,23 +2299,23 @@ export interface DescribeResourcePoliciesResponse {
|
|
|
2299
2299
|
*/
|
|
2300
2300
|
export interface DescribeSubscriptionFiltersRequest {
|
|
2301
2301
|
/**
|
|
2302
|
-
* @public
|
|
2303
2302
|
* <p>The name of the log group.</p>
|
|
2303
|
+
* @public
|
|
2304
2304
|
*/
|
|
2305
2305
|
logGroupName: string | undefined;
|
|
2306
2306
|
/**
|
|
2307
|
-
* @public
|
|
2308
2307
|
* <p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>
|
|
2308
|
+
* @public
|
|
2309
2309
|
*/
|
|
2310
2310
|
filterNamePrefix?: string;
|
|
2311
2311
|
/**
|
|
2312
|
-
* @public
|
|
2313
2312
|
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
2313
|
+
* @public
|
|
2314
2314
|
*/
|
|
2315
2315
|
nextToken?: string;
|
|
2316
2316
|
/**
|
|
2317
|
-
* @public
|
|
2318
2317
|
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
2318
|
+
* @public
|
|
2319
2319
|
*/
|
|
2320
2320
|
limit?: number;
|
|
2321
2321
|
}
|
|
@@ -2332,47 +2332,47 @@ export declare const Distribution: {
|
|
|
2332
2332
|
*/
|
|
2333
2333
|
export type Distribution = (typeof Distribution)[keyof typeof Distribution];
|
|
2334
2334
|
/**
|
|
2335
|
-
* @public
|
|
2336
2335
|
* <p>Represents a subscription filter.</p>
|
|
2336
|
+
* @public
|
|
2337
2337
|
*/
|
|
2338
2338
|
export interface SubscriptionFilter {
|
|
2339
2339
|
/**
|
|
2340
|
-
* @public
|
|
2341
2340
|
* <p>The name of the subscription filter.</p>
|
|
2341
|
+
* @public
|
|
2342
2342
|
*/
|
|
2343
2343
|
filterName?: string;
|
|
2344
2344
|
/**
|
|
2345
|
-
* @public
|
|
2346
2345
|
* <p>The name of the log group.</p>
|
|
2346
|
+
* @public
|
|
2347
2347
|
*/
|
|
2348
2348
|
logGroupName?: string;
|
|
2349
2349
|
/**
|
|
2350
|
-
* @public
|
|
2351
2350
|
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
2352
2351
|
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
2353
2352
|
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
2353
|
+
* @public
|
|
2354
2354
|
*/
|
|
2355
2355
|
filterPattern?: string;
|
|
2356
2356
|
/**
|
|
2357
|
-
* @public
|
|
2358
2357
|
* <p>The Amazon Resource Name (ARN) of the destination.</p>
|
|
2358
|
+
* @public
|
|
2359
2359
|
*/
|
|
2360
2360
|
destinationArn?: string;
|
|
2361
2361
|
/**
|
|
2362
|
-
* @public
|
|
2363
2362
|
* <p></p>
|
|
2363
|
+
* @public
|
|
2364
2364
|
*/
|
|
2365
2365
|
roleArn?: string;
|
|
2366
2366
|
/**
|
|
2367
|
-
* @public
|
|
2368
2367
|
* <p>The method used to distribute log data to the destination, which can be either
|
|
2369
2368
|
* random or grouped by log stream.</p>
|
|
2369
|
+
* @public
|
|
2370
2370
|
*/
|
|
2371
2371
|
distribution?: Distribution;
|
|
2372
2372
|
/**
|
|
2373
|
-
* @public
|
|
2374
2373
|
* <p>The creation time of the subscription filter, expressed as the number of milliseconds
|
|
2375
2374
|
* after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
2375
|
+
* @public
|
|
2376
2376
|
*/
|
|
2377
2377
|
creationTime?: number;
|
|
2378
2378
|
}
|
|
@@ -2381,13 +2381,13 @@ export interface SubscriptionFilter {
|
|
|
2381
2381
|
*/
|
|
2382
2382
|
export interface DescribeSubscriptionFiltersResponse {
|
|
2383
2383
|
/**
|
|
2384
|
-
* @public
|
|
2385
2384
|
* <p>The subscription filters.</p>
|
|
2385
|
+
* @public
|
|
2386
2386
|
*/
|
|
2387
2387
|
subscriptionFilters?: SubscriptionFilter[];
|
|
2388
2388
|
/**
|
|
2389
|
-
* @public
|
|
2390
2389
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
2390
|
+
* @public
|
|
2391
2391
|
*/
|
|
2392
2392
|
nextToken?: string;
|
|
2393
2393
|
}
|
|
@@ -2396,15 +2396,14 @@ export interface DescribeSubscriptionFiltersResponse {
|
|
|
2396
2396
|
*/
|
|
2397
2397
|
export interface DisassociateKmsKeyRequest {
|
|
2398
2398
|
/**
|
|
2399
|
-
* @public
|
|
2400
2399
|
* <p>The name of the log group.</p>
|
|
2401
2400
|
* <p>In your <code>DisassociateKmsKey</code> operation,
|
|
2402
2401
|
* you must specify either the <code>resourceIdentifier</code> parameter or the <code>logGroup</code> parameter,
|
|
2403
2402
|
* but you can't specify both.</p>
|
|
2403
|
+
* @public
|
|
2404
2404
|
*/
|
|
2405
2405
|
logGroupName?: string;
|
|
2406
2406
|
/**
|
|
2407
|
-
* @public
|
|
2408
2407
|
* <p>Specifies the target for this operation. You must specify one of the following:</p>
|
|
2409
2408
|
* <ul>
|
|
2410
2409
|
* <li>
|
|
@@ -2430,39 +2429,40 @@ export interface DisassociateKmsKeyRequest {
|
|
|
2430
2429
|
* <p>In your <code>DisssociateKmsKey</code> operation,
|
|
2431
2430
|
* you must specify either the <code>resourceIdentifier</code> parameter or the <code>logGroup</code> parameter,
|
|
2432
2431
|
* but you can't specify both.</p>
|
|
2432
|
+
* @public
|
|
2433
2433
|
*/
|
|
2434
2434
|
resourceIdentifier?: string;
|
|
2435
2435
|
}
|
|
2436
2436
|
/**
|
|
2437
|
-
* @public
|
|
2438
2437
|
* <p>Represents a matched event.</p>
|
|
2438
|
+
* @public
|
|
2439
2439
|
*/
|
|
2440
2440
|
export interface FilteredLogEvent {
|
|
2441
2441
|
/**
|
|
2442
|
-
* @public
|
|
2443
2442
|
* <p>The name of the log stream to which this event belongs.</p>
|
|
2443
|
+
* @public
|
|
2444
2444
|
*/
|
|
2445
2445
|
logStreamName?: string;
|
|
2446
2446
|
/**
|
|
2447
|
-
* @public
|
|
2448
2447
|
* <p>The time the event occurred, expressed as the number of milliseconds after <code>Jan 1,
|
|
2449
2448
|
* 1970 00:00:00 UTC</code>.</p>
|
|
2449
|
+
* @public
|
|
2450
2450
|
*/
|
|
2451
2451
|
timestamp?: number;
|
|
2452
2452
|
/**
|
|
2453
|
-
* @public
|
|
2454
2453
|
* <p>The data contained in the log event.</p>
|
|
2454
|
+
* @public
|
|
2455
2455
|
*/
|
|
2456
2456
|
message?: string;
|
|
2457
2457
|
/**
|
|
2458
|
-
* @public
|
|
2459
2458
|
* <p>The time the event was ingested, expressed as the number of milliseconds after
|
|
2460
2459
|
* <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
2460
|
+
* @public
|
|
2461
2461
|
*/
|
|
2462
2462
|
ingestionTime?: number;
|
|
2463
2463
|
/**
|
|
2464
|
-
* @public
|
|
2465
2464
|
* <p>The ID of the event.</p>
|
|
2465
|
+
* @public
|
|
2466
2466
|
*/
|
|
2467
2467
|
eventId?: string;
|
|
2468
2468
|
}
|
|
@@ -2471,7 +2471,6 @@ export interface FilteredLogEvent {
|
|
|
2471
2471
|
*/
|
|
2472
2472
|
export interface FilterLogEventsRequest {
|
|
2473
2473
|
/**
|
|
2474
|
-
* @public
|
|
2475
2474
|
* <p>The name of the log group to search.</p>
|
|
2476
2475
|
* <note>
|
|
2477
2476
|
* <p>
|
|
@@ -2479,10 +2478,10 @@ export interface FilterLogEventsRequest {
|
|
|
2479
2478
|
* both.
|
|
2480
2479
|
* </p>
|
|
2481
2480
|
* </note>
|
|
2481
|
+
* @public
|
|
2482
2482
|
*/
|
|
2483
2483
|
logGroupName?: string;
|
|
2484
2484
|
/**
|
|
2485
|
-
* @public
|
|
2486
2485
|
* <p>Specify either the name or ARN of the log group to view log events from. If the log group is in a source account
|
|
2487
2486
|
* and you are using a monitoring account, you must use the log group ARN.</p>
|
|
2488
2487
|
* <note>
|
|
@@ -2491,55 +2490,55 @@ export interface FilterLogEventsRequest {
|
|
|
2491
2490
|
* both.
|
|
2492
2491
|
* </p>
|
|
2493
2492
|
* </note>
|
|
2493
|
+
* @public
|
|
2494
2494
|
*/
|
|
2495
2495
|
logGroupIdentifier?: string;
|
|
2496
2496
|
/**
|
|
2497
|
-
* @public
|
|
2498
2497
|
* <p>Filters the results to only logs from the log streams in this list.</p>
|
|
2499
2498
|
* <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, the action
|
|
2500
2499
|
* returns an <code>InvalidParameterException</code> error.</p>
|
|
2500
|
+
* @public
|
|
2501
2501
|
*/
|
|
2502
2502
|
logStreamNames?: string[];
|
|
2503
2503
|
/**
|
|
2504
|
-
* @public
|
|
2505
2504
|
* <p>Filters the results to include only events from log streams that have names starting with this prefix.</p>
|
|
2506
2505
|
* <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, but the value for
|
|
2507
2506
|
* <code>logStreamNamePrefix</code> does not match any log stream names specified in <code>logStreamNames</code>, the action
|
|
2508
2507
|
* returns an <code>InvalidParameterException</code> error.</p>
|
|
2508
|
+
* @public
|
|
2509
2509
|
*/
|
|
2510
2510
|
logStreamNamePrefix?: string;
|
|
2511
2511
|
/**
|
|
2512
|
-
* @public
|
|
2513
2512
|
* <p>The start of the time range, expressed as the number of milliseconds after <code>Jan 1,
|
|
2514
2513
|
* 1970 00:00:00 UTC</code>. Events with a timestamp before this time are not
|
|
2515
2514
|
* returned.</p>
|
|
2515
|
+
* @public
|
|
2516
2516
|
*/
|
|
2517
2517
|
startTime?: number;
|
|
2518
2518
|
/**
|
|
2519
|
-
* @public
|
|
2520
2519
|
* <p>The end of the time range, expressed as the number of milliseconds after <code>Jan 1,
|
|
2521
2520
|
* 1970 00:00:00 UTC</code>. Events with a timestamp later than this time are not
|
|
2522
2521
|
* returned.</p>
|
|
2522
|
+
* @public
|
|
2523
2523
|
*/
|
|
2524
2524
|
endTime?: number;
|
|
2525
2525
|
/**
|
|
2526
|
-
* @public
|
|
2527
2526
|
* <p>The filter pattern to use. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html">Filter and Pattern Syntax</a>.</p>
|
|
2528
2527
|
* <p>If not provided, all the events are matched.</p>
|
|
2528
|
+
* @public
|
|
2529
2529
|
*/
|
|
2530
2530
|
filterPattern?: string;
|
|
2531
2531
|
/**
|
|
2532
|
-
* @public
|
|
2533
2532
|
* <p>The token for the next set of events to return. (You received this token from a previous call.)</p>
|
|
2533
|
+
* @public
|
|
2534
2534
|
*/
|
|
2535
2535
|
nextToken?: string;
|
|
2536
2536
|
/**
|
|
2537
|
-
* @public
|
|
2538
2537
|
* <p>The maximum number of events to return. The default is 10,000 events.</p>
|
|
2538
|
+
* @public
|
|
2539
2539
|
*/
|
|
2540
2540
|
limit?: number;
|
|
2541
2541
|
/**
|
|
2542
|
-
* @public
|
|
2543
2542
|
* @deprecated
|
|
2544
2543
|
*
|
|
2545
2544
|
* <p>If the value is true, the operation attempts to provide responses that contain events
|
|
@@ -2550,30 +2549,31 @@ export interface FilterLogEventsRequest {
|
|
|
2550
2549
|
* <b>Important</b> As of June 17, 2019, this parameter is
|
|
2551
2550
|
* ignored and the value is assumed to be true. The response from this operation always
|
|
2552
2551
|
* interleaves events from multiple log streams within a log group.</p>
|
|
2552
|
+
* @public
|
|
2553
2553
|
*/
|
|
2554
2554
|
interleaved?: boolean;
|
|
2555
2555
|
/**
|
|
2556
|
-
* @public
|
|
2557
2556
|
* <p>Specify <code>true</code> to display the log event fields with all sensitive data unmasked and visible.
|
|
2558
2557
|
* The default is <code>false</code>.</p>
|
|
2559
2558
|
* <p>To use this operation with this parameter, you must be signed into an account with the <code>logs:Unmask</code>
|
|
2560
2559
|
* permission.</p>
|
|
2560
|
+
* @public
|
|
2561
2561
|
*/
|
|
2562
2562
|
unmask?: boolean;
|
|
2563
2563
|
}
|
|
2564
2564
|
/**
|
|
2565
|
-
* @public
|
|
2566
2565
|
* <p>Represents the search status of a log stream.</p>
|
|
2566
|
+
* @public
|
|
2567
2567
|
*/
|
|
2568
2568
|
export interface SearchedLogStream {
|
|
2569
2569
|
/**
|
|
2570
|
-
* @public
|
|
2571
2570
|
* <p>The name of the log stream.</p>
|
|
2571
|
+
* @public
|
|
2572
2572
|
*/
|
|
2573
2573
|
logStreamName?: string;
|
|
2574
2574
|
/**
|
|
2575
|
-
* @public
|
|
2576
2575
|
* <p>Indicates whether all the events in this log stream were searched.</p>
|
|
2576
|
+
* @public
|
|
2577
2577
|
*/
|
|
2578
2578
|
searchedCompletely?: boolean;
|
|
2579
2579
|
}
|
|
@@ -2582,21 +2582,21 @@ export interface SearchedLogStream {
|
|
|
2582
2582
|
*/
|
|
2583
2583
|
export interface FilterLogEventsResponse {
|
|
2584
2584
|
/**
|
|
2585
|
-
* @public
|
|
2586
2585
|
* <p>The matched events.</p>
|
|
2586
|
+
* @public
|
|
2587
2587
|
*/
|
|
2588
2588
|
events?: FilteredLogEvent[];
|
|
2589
2589
|
/**
|
|
2590
|
-
* @public
|
|
2591
2590
|
* <p>
|
|
2592
2591
|
* <b>Important</b> As of May 15, 2020, this parameter is no longer
|
|
2593
2592
|
* supported. This parameter returns an empty list.</p>
|
|
2594
2593
|
* <p>Indicates which log streams have been searched and whether each has been searched completely.</p>
|
|
2594
|
+
* @public
|
|
2595
2595
|
*/
|
|
2596
2596
|
searchedLogStreams?: SearchedLogStream[];
|
|
2597
2597
|
/**
|
|
2598
|
-
* @public
|
|
2599
2598
|
* <p>The token to use when requesting the next set of items. The token expires after 24 hours.</p>
|
|
2599
|
+
* @public
|
|
2600
2600
|
*/
|
|
2601
2601
|
nextToken?: string;
|
|
2602
2602
|
}
|
|
@@ -2605,8 +2605,8 @@ export interface FilterLogEventsResponse {
|
|
|
2605
2605
|
*/
|
|
2606
2606
|
export interface GetDataProtectionPolicyRequest {
|
|
2607
2607
|
/**
|
|
2608
|
-
* @public
|
|
2609
2608
|
* <p>The name or ARN of the log group that contains the data protection policy that you want to see.</p>
|
|
2609
|
+
* @public
|
|
2610
2610
|
*/
|
|
2611
2611
|
logGroupIdentifier: string | undefined;
|
|
2612
2612
|
}
|
|
@@ -2615,18 +2615,18 @@ export interface GetDataProtectionPolicyRequest {
|
|
|
2615
2615
|
*/
|
|
2616
2616
|
export interface GetDataProtectionPolicyResponse {
|
|
2617
2617
|
/**
|
|
2618
|
-
* @public
|
|
2619
2618
|
* <p>The log group name or ARN that you specified in your request.</p>
|
|
2619
|
+
* @public
|
|
2620
2620
|
*/
|
|
2621
2621
|
logGroupIdentifier?: string;
|
|
2622
2622
|
/**
|
|
2623
|
-
* @public
|
|
2624
2623
|
* <p>The data protection policy document for this log group.</p>
|
|
2624
|
+
* @public
|
|
2625
2625
|
*/
|
|
2626
2626
|
policyDocument?: string;
|
|
2627
2627
|
/**
|
|
2628
|
-
* @public
|
|
2629
2628
|
* <p>The date and time that this policy was most recently updated.</p>
|
|
2629
|
+
* @public
|
|
2630
2630
|
*/
|
|
2631
2631
|
lastUpdatedTime?: number;
|
|
2632
2632
|
}
|
|
@@ -2635,8 +2635,8 @@ export interface GetDataProtectionPolicyResponse {
|
|
|
2635
2635
|
*/
|
|
2636
2636
|
export interface GetDeliveryRequest {
|
|
2637
2637
|
/**
|
|
2638
|
-
* @public
|
|
2639
2638
|
* <p>The ID of the delivery that you want to retrieve.</p>
|
|
2639
|
+
* @public
|
|
2640
2640
|
*/
|
|
2641
2641
|
id: string | undefined;
|
|
2642
2642
|
}
|
|
@@ -2645,8 +2645,8 @@ export interface GetDeliveryRequest {
|
|
|
2645
2645
|
*/
|
|
2646
2646
|
export interface GetDeliveryResponse {
|
|
2647
2647
|
/**
|
|
2648
|
-
* @public
|
|
2649
2648
|
* <p>A structure that contains information about the delivery.</p>
|
|
2649
|
+
* @public
|
|
2650
2650
|
*/
|
|
2651
2651
|
delivery?: Delivery;
|
|
2652
2652
|
}
|
|
@@ -2655,8 +2655,8 @@ export interface GetDeliveryResponse {
|
|
|
2655
2655
|
*/
|
|
2656
2656
|
export interface GetDeliveryDestinationRequest {
|
|
2657
2657
|
/**
|
|
2658
|
-
* @public
|
|
2659
2658
|
* <p>The name of the delivery destination that you want to retrieve.</p>
|
|
2659
|
+
* @public
|
|
2660
2660
|
*/
|
|
2661
2661
|
name: string | undefined;
|
|
2662
2662
|
}
|
|
@@ -2665,8 +2665,8 @@ export interface GetDeliveryDestinationRequest {
|
|
|
2665
2665
|
*/
|
|
2666
2666
|
export interface GetDeliveryDestinationResponse {
|
|
2667
2667
|
/**
|
|
2668
|
-
* @public
|
|
2669
2668
|
* <p>A structure containing information about the delivery destination.</p>
|
|
2669
|
+
* @public
|
|
2670
2670
|
*/
|
|
2671
2671
|
deliveryDestination?: DeliveryDestination;
|
|
2672
2672
|
}
|
|
@@ -2675,19 +2675,19 @@ export interface GetDeliveryDestinationResponse {
|
|
|
2675
2675
|
*/
|
|
2676
2676
|
export interface GetDeliveryDestinationPolicyRequest {
|
|
2677
2677
|
/**
|
|
2678
|
-
* @public
|
|
2679
2678
|
* <p>The name of the delivery destination that you want to retrieve the policy of.</p>
|
|
2679
|
+
* @public
|
|
2680
2680
|
*/
|
|
2681
2681
|
deliveryDestinationName: string | undefined;
|
|
2682
2682
|
}
|
|
2683
2683
|
/**
|
|
2684
|
-
* @public
|
|
2685
2684
|
* <p>A structure that contains information about one delivery destination policy.</p>
|
|
2685
|
+
* @public
|
|
2686
2686
|
*/
|
|
2687
2687
|
export interface Policy {
|
|
2688
2688
|
/**
|
|
2689
|
-
* @public
|
|
2690
2689
|
* <p>The contents of the delivery destination policy.</p>
|
|
2690
|
+
* @public
|
|
2691
2691
|
*/
|
|
2692
2692
|
deliveryDestinationPolicy?: string;
|
|
2693
2693
|
}
|
|
@@ -2696,8 +2696,8 @@ export interface Policy {
|
|
|
2696
2696
|
*/
|
|
2697
2697
|
export interface GetDeliveryDestinationPolicyResponse {
|
|
2698
2698
|
/**
|
|
2699
|
-
* @public
|
|
2700
2699
|
* <p>The IAM policy for this delivery destination.</p>
|
|
2700
|
+
* @public
|
|
2701
2701
|
*/
|
|
2702
2702
|
policy?: Policy;
|
|
2703
2703
|
}
|
|
@@ -2706,8 +2706,8 @@ export interface GetDeliveryDestinationPolicyResponse {
|
|
|
2706
2706
|
*/
|
|
2707
2707
|
export interface GetDeliverySourceRequest {
|
|
2708
2708
|
/**
|
|
2709
|
-
* @public
|
|
2710
2709
|
* <p>The name of the delivery source that you want to retrieve.</p>
|
|
2710
|
+
* @public
|
|
2711
2711
|
*/
|
|
2712
2712
|
name: string | undefined;
|
|
2713
2713
|
}
|
|
@@ -2716,8 +2716,8 @@ export interface GetDeliverySourceRequest {
|
|
|
2716
2716
|
*/
|
|
2717
2717
|
export interface GetDeliverySourceResponse {
|
|
2718
2718
|
/**
|
|
2719
|
-
* @public
|
|
2720
2719
|
* <p>A structure containing information about the delivery source.</p>
|
|
2720
|
+
* @public
|
|
2721
2721
|
*/
|
|
2722
2722
|
deliverySource?: DeliverySource;
|
|
2723
2723
|
}
|
|
@@ -2726,10 +2726,10 @@ export interface GetDeliverySourceResponse {
|
|
|
2726
2726
|
*/
|
|
2727
2727
|
export interface GetLogAnomalyDetectorRequest {
|
|
2728
2728
|
/**
|
|
2729
|
-
* @public
|
|
2730
2729
|
* <p>The ARN of the anomaly detector to retrieve information about. You can find the ARNs of log anomaly detectors
|
|
2731
2730
|
* in your account by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListLogAnomalyDetectors.html">ListLogAnomalyDetectors</a>
|
|
2732
2731
|
* operation.</p>
|
|
2732
|
+
* @public
|
|
2733
2733
|
*/
|
|
2734
2734
|
anomalyDetectorArn: string | undefined;
|
|
2735
2735
|
}
|
|
@@ -2738,57 +2738,57 @@ export interface GetLogAnomalyDetectorRequest {
|
|
|
2738
2738
|
*/
|
|
2739
2739
|
export interface GetLogAnomalyDetectorResponse {
|
|
2740
2740
|
/**
|
|
2741
|
-
* @public
|
|
2742
2741
|
* <p>The name of the log anomaly detector</p>
|
|
2742
|
+
* @public
|
|
2743
2743
|
*/
|
|
2744
2744
|
detectorName?: string;
|
|
2745
2745
|
/**
|
|
2746
|
-
* @public
|
|
2747
2746
|
* <p>An array of structures, where each structure contains the ARN of a log group
|
|
2748
2747
|
* associated with this anomaly detector.</p>
|
|
2748
|
+
* @public
|
|
2749
2749
|
*/
|
|
2750
2750
|
logGroupArnList?: string[];
|
|
2751
2751
|
/**
|
|
2752
|
-
* @public
|
|
2753
2752
|
* <p>Specifies how often the anomaly detector runs and look for anomalies. Set this value
|
|
2754
2753
|
* according to the frequency that the log group receives new logs. For example, if the log group
|
|
2755
2754
|
* receives new log events every 10 minutes, then setting <code>evaluationFrequency</code> to
|
|
2756
2755
|
* <code>FIFTEEN_MIN</code> might be appropriate.</p>
|
|
2756
|
+
* @public
|
|
2757
2757
|
*/
|
|
2758
2758
|
evaluationFrequency?: EvaluationFrequency;
|
|
2759
2759
|
/**
|
|
2760
|
-
* @public
|
|
2761
2760
|
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
2762
2761
|
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
2763
2762
|
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
2763
|
+
* @public
|
|
2764
2764
|
*/
|
|
2765
2765
|
filterPattern?: string;
|
|
2766
2766
|
/**
|
|
2767
|
-
* @public
|
|
2768
2767
|
* <p>Specifies whether the anomaly detector is currently active. To change its status, use
|
|
2769
2768
|
* the <code>enabled</code> parameter in the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateLogAnomalyDetector.html">UpdateLogAnomalyDetector</a>
|
|
2770
2769
|
* operation.</p>
|
|
2770
|
+
* @public
|
|
2771
2771
|
*/
|
|
2772
2772
|
anomalyDetectorStatus?: AnomalyDetectorStatus;
|
|
2773
2773
|
/**
|
|
2774
|
-
* @public
|
|
2775
2774
|
* <p>The ID of the KMS key assigned to this anomaly detector, if any.</p>
|
|
2775
|
+
* @public
|
|
2776
2776
|
*/
|
|
2777
2777
|
kmsKeyId?: string;
|
|
2778
2778
|
/**
|
|
2779
|
-
* @public
|
|
2780
2779
|
* <p>The date and time when this anomaly detector was created.</p>
|
|
2780
|
+
* @public
|
|
2781
2781
|
*/
|
|
2782
2782
|
creationTimeStamp?: number;
|
|
2783
2783
|
/**
|
|
2784
|
-
* @public
|
|
2785
2784
|
* <p>The date and time when this anomaly detector was most recently modified.</p>
|
|
2785
|
+
* @public
|
|
2786
2786
|
*/
|
|
2787
2787
|
lastModifiedTimeStamp?: number;
|
|
2788
2788
|
/**
|
|
2789
|
-
* @public
|
|
2790
2789
|
* <p>The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined
|
|
2791
2790
|
* and the anomaly detector model will treat new occurrences of similar event as normal. </p>
|
|
2791
|
+
* @public
|
|
2792
2792
|
*/
|
|
2793
2793
|
anomalyVisibilityTime?: number;
|
|
2794
2794
|
}
|
|
@@ -2797,7 +2797,6 @@ export interface GetLogAnomalyDetectorResponse {
|
|
|
2797
2797
|
*/
|
|
2798
2798
|
export interface GetLogEventsRequest {
|
|
2799
2799
|
/**
|
|
2800
|
-
* @public
|
|
2801
2800
|
* <p>The name of the log group.</p>
|
|
2802
2801
|
* <note>
|
|
2803
2802
|
* <p>
|
|
@@ -2805,10 +2804,10 @@ export interface GetLogEventsRequest {
|
|
|
2805
2804
|
* both.
|
|
2806
2805
|
* </p>
|
|
2807
2806
|
* </note>
|
|
2807
|
+
* @public
|
|
2808
2808
|
*/
|
|
2809
2809
|
logGroupName?: string;
|
|
2810
2810
|
/**
|
|
2811
|
-
* @public
|
|
2812
2811
|
* <p>Specify either the name or ARN of the log group to view events from. If the log group is in a source account
|
|
2813
2812
|
* and you are using a monitoring account, you must use the log group ARN.</p>
|
|
2814
2813
|
* <note>
|
|
@@ -2817,76 +2816,77 @@ export interface GetLogEventsRequest {
|
|
|
2817
2816
|
* both.
|
|
2818
2817
|
* </p>
|
|
2819
2818
|
* </note>
|
|
2819
|
+
* @public
|
|
2820
2820
|
*/
|
|
2821
2821
|
logGroupIdentifier?: string;
|
|
2822
2822
|
/**
|
|
2823
|
-
* @public
|
|
2824
2823
|
* <p>The name of the log stream.</p>
|
|
2824
|
+
* @public
|
|
2825
2825
|
*/
|
|
2826
2826
|
logStreamName: string | undefined;
|
|
2827
2827
|
/**
|
|
2828
|
-
* @public
|
|
2829
2828
|
* <p>The start of the time range, expressed as the number of milliseconds after <code>Jan 1,
|
|
2830
2829
|
* 1970 00:00:00 UTC</code>. Events with a timestamp equal to this time or later than this time
|
|
2831
2830
|
* are included. Events with a timestamp earlier than this time are not included.</p>
|
|
2831
|
+
* @public
|
|
2832
2832
|
*/
|
|
2833
2833
|
startTime?: number;
|
|
2834
2834
|
/**
|
|
2835
|
-
* @public
|
|
2836
2835
|
* <p>The end of the time range, expressed as the number of milliseconds after <code>Jan 1,
|
|
2837
2836
|
* 1970 00:00:00 UTC</code>. Events with a timestamp equal to or later than this time are not
|
|
2838
2837
|
* included.</p>
|
|
2838
|
+
* @public
|
|
2839
2839
|
*/
|
|
2840
2840
|
endTime?: number;
|
|
2841
2841
|
/**
|
|
2842
|
-
* @public
|
|
2843
2842
|
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
2843
|
+
* @public
|
|
2844
2844
|
*/
|
|
2845
2845
|
nextToken?: string;
|
|
2846
2846
|
/**
|
|
2847
|
-
* @public
|
|
2848
2847
|
* <p>The maximum number of log events returned. If you don't specify a limit, the default is
|
|
2849
2848
|
* as many log events as can fit in a response size of 1 MB (up to 10,000 log events).</p>
|
|
2849
|
+
* @public
|
|
2850
2850
|
*/
|
|
2851
2851
|
limit?: number;
|
|
2852
2852
|
/**
|
|
2853
|
-
* @public
|
|
2854
2853
|
* <p>If the value is true, the earliest log events are returned first.
|
|
2855
2854
|
* If the value is false, the latest log events are returned first.
|
|
2856
2855
|
* The default value is false.</p>
|
|
2857
2856
|
* <p>If you are using a previous <code>nextForwardToken</code> value as the <code>nextToken</code> in this operation,
|
|
2858
2857
|
* you must specify <code>true</code> for <code>startFromHead</code>.</p>
|
|
2858
|
+
* @public
|
|
2859
2859
|
*/
|
|
2860
2860
|
startFromHead?: boolean;
|
|
2861
2861
|
/**
|
|
2862
|
-
* @public
|
|
2863
2862
|
* <p>Specify <code>true</code> to display the log event fields with all sensitive data unmasked and visible.
|
|
2864
2863
|
* The default is <code>false</code>.</p>
|
|
2865
2864
|
* <p>To use this operation with this parameter, you must be signed into an account with the <code>logs:Unmask</code>
|
|
2866
2865
|
* permission.</p>
|
|
2866
|
+
* @public
|
|
2867
2867
|
*/
|
|
2868
2868
|
unmask?: boolean;
|
|
2869
2869
|
}
|
|
2870
2870
|
/**
|
|
2871
|
-
* @public
|
|
2872
2871
|
* <p>Represents a log event.</p>
|
|
2872
|
+
* @public
|
|
2873
2873
|
*/
|
|
2874
2874
|
export interface OutputLogEvent {
|
|
2875
2875
|
/**
|
|
2876
|
-
* @public
|
|
2877
2876
|
* <p>The time the event occurred, expressed as the number of milliseconds after <code>Jan 1,
|
|
2878
2877
|
* 1970 00:00:00 UTC</code>.</p>
|
|
2878
|
+
* @public
|
|
2879
2879
|
*/
|
|
2880
2880
|
timestamp?: number;
|
|
2881
2881
|
/**
|
|
2882
|
-
* @public
|
|
2883
2882
|
* <p>The data contained in the log event.</p>
|
|
2883
|
+
* @public
|
|
2884
2884
|
*/
|
|
2885
2885
|
message?: string;
|
|
2886
2886
|
/**
|
|
2887
|
-
* @public
|
|
2888
2887
|
* <p>The time the event was ingested, expressed as the number of milliseconds after
|
|
2889
2888
|
* <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
2889
|
+
* @public
|
|
2890
2890
|
*/
|
|
2891
2891
|
ingestionTime?: number;
|
|
2892
2892
|
}
|
|
@@ -2895,22 +2895,22 @@ export interface OutputLogEvent {
|
|
|
2895
2895
|
*/
|
|
2896
2896
|
export interface GetLogEventsResponse {
|
|
2897
2897
|
/**
|
|
2898
|
-
* @public
|
|
2899
2898
|
* <p>The events.</p>
|
|
2899
|
+
* @public
|
|
2900
2900
|
*/
|
|
2901
2901
|
events?: OutputLogEvent[];
|
|
2902
2902
|
/**
|
|
2903
|
-
* @public
|
|
2904
2903
|
* <p>The token for the next set of items in the forward direction. The token expires after
|
|
2905
2904
|
* 24 hours. If you have reached the end of the stream, it returns the same token you passed
|
|
2906
2905
|
* in.</p>
|
|
2906
|
+
* @public
|
|
2907
2907
|
*/
|
|
2908
2908
|
nextForwardToken?: string;
|
|
2909
2909
|
/**
|
|
2910
|
-
* @public
|
|
2911
2910
|
* <p>The token for the next set of items in the backward direction. The token expires after
|
|
2912
2911
|
* 24 hours. This token is not null. If you have reached the end of the stream, it returns the
|
|
2913
2912
|
* same token you passed in.</p>
|
|
2913
|
+
* @public
|
|
2914
2914
|
*/
|
|
2915
2915
|
nextBackwardToken?: string;
|
|
2916
2916
|
}
|
|
@@ -2919,7 +2919,6 @@ export interface GetLogEventsResponse {
|
|
|
2919
2919
|
*/
|
|
2920
2920
|
export interface GetLogGroupFieldsRequest {
|
|
2921
2921
|
/**
|
|
2922
|
-
* @public
|
|
2923
2922
|
* <p>The name of the log group to search.</p>
|
|
2924
2923
|
* <note>
|
|
2925
2924
|
* <p>
|
|
@@ -2927,19 +2926,19 @@ export interface GetLogGroupFieldsRequest {
|
|
|
2927
2926
|
* both.
|
|
2928
2927
|
* </p>
|
|
2929
2928
|
* </note>
|
|
2929
|
+
* @public
|
|
2930
2930
|
*/
|
|
2931
2931
|
logGroupName?: string;
|
|
2932
2932
|
/**
|
|
2933
|
-
* @public
|
|
2934
2933
|
* <p>The time to set as the center of the query. If you specify <code>time</code>, the 8 minutes before and
|
|
2935
2934
|
* 8 minutes after this time are searched. If you omit <code>time</code>, the most recent 15 minutes
|
|
2936
2935
|
* up to the current time are searched.</p>
|
|
2937
2936
|
* <p>The <code>time</code> value is specified as epoch time, which is the number of seconds
|
|
2938
2937
|
* since <code>January 1, 1970, 00:00:00 UTC</code>.</p>
|
|
2938
|
+
* @public
|
|
2939
2939
|
*/
|
|
2940
2940
|
time?: number;
|
|
2941
2941
|
/**
|
|
2942
|
-
* @public
|
|
2943
2942
|
* <p>Specify either the name or ARN of the log group to view. If the log group is in a source account and
|
|
2944
2943
|
* you are using a monitoring account, you must specify the ARN.</p>
|
|
2945
2944
|
* <note>
|
|
@@ -2948,23 +2947,24 @@ export interface GetLogGroupFieldsRequest {
|
|
|
2948
2947
|
* both.
|
|
2949
2948
|
* </p>
|
|
2950
2949
|
* </note>
|
|
2950
|
+
* @public
|
|
2951
2951
|
*/
|
|
2952
2952
|
logGroupIdentifier?: string;
|
|
2953
2953
|
}
|
|
2954
2954
|
/**
|
|
2955
|
-
* @public
|
|
2956
2955
|
* <p>The fields contained in log events found by a <code>GetLogGroupFields</code> operation,
|
|
2957
2956
|
* along with the percentage of queried log events in which each field appears.</p>
|
|
2957
|
+
* @public
|
|
2958
2958
|
*/
|
|
2959
2959
|
export interface LogGroupField {
|
|
2960
2960
|
/**
|
|
2961
|
-
* @public
|
|
2962
2961
|
* <p>The name of a log field.</p>
|
|
2962
|
+
* @public
|
|
2963
2963
|
*/
|
|
2964
2964
|
name?: string;
|
|
2965
2965
|
/**
|
|
2966
|
-
* @public
|
|
2967
2966
|
* <p>The percentage of log events queried that contained the field.</p>
|
|
2967
|
+
* @public
|
|
2968
2968
|
*/
|
|
2969
2969
|
percent?: number;
|
|
2970
2970
|
}
|
|
@@ -2973,10 +2973,10 @@ export interface LogGroupField {
|
|
|
2973
2973
|
*/
|
|
2974
2974
|
export interface GetLogGroupFieldsResponse {
|
|
2975
2975
|
/**
|
|
2976
|
-
* @public
|
|
2977
2976
|
* <p>The array of fields found in the query. Each object in the array contains the name of the
|
|
2978
2977
|
* field, along with the percentage of time it appeared in the log events that were
|
|
2979
2978
|
* queried.</p>
|
|
2979
|
+
* @public
|
|
2980
2980
|
*/
|
|
2981
2981
|
logGroupFields?: LogGroupField[];
|
|
2982
2982
|
}
|
|
@@ -2985,19 +2985,19 @@ export interface GetLogGroupFieldsResponse {
|
|
|
2985
2985
|
*/
|
|
2986
2986
|
export interface GetLogRecordRequest {
|
|
2987
2987
|
/**
|
|
2988
|
-
* @public
|
|
2989
2988
|
* <p>The pointer corresponding to the log event record you want to retrieve. You get this from
|
|
2990
2989
|
* the response of a <code>GetQueryResults</code> operation. In that response, the value of the
|
|
2991
2990
|
* <code>@ptr</code> field for a log event is the value to use as <code>logRecordPointer</code>
|
|
2992
2991
|
* to retrieve that complete log event record.</p>
|
|
2992
|
+
* @public
|
|
2993
2993
|
*/
|
|
2994
2994
|
logRecordPointer: string | undefined;
|
|
2995
2995
|
/**
|
|
2996
|
-
* @public
|
|
2997
2996
|
* <p>Specify <code>true</code> to display the log event fields with all sensitive data unmasked and visible.
|
|
2998
2997
|
* The default is <code>false</code>.</p>
|
|
2999
2998
|
* <p>To use this operation with this parameter, you must be signed into an account with the <code>logs:Unmask</code>
|
|
3000
2999
|
* permission.</p>
|
|
3000
|
+
* @public
|
|
3001
3001
|
*/
|
|
3002
3002
|
unmask?: boolean;
|
|
3003
3003
|
}
|
|
@@ -3006,8 +3006,8 @@ export interface GetLogRecordRequest {
|
|
|
3006
3006
|
*/
|
|
3007
3007
|
export interface GetLogRecordResponse {
|
|
3008
3008
|
/**
|
|
3009
|
-
* @public
|
|
3010
3009
|
* <p>The requested log event, as a JSON string.</p>
|
|
3010
|
+
* @public
|
|
3011
3011
|
*/
|
|
3012
3012
|
logRecord?: Record<string, string>;
|
|
3013
3013
|
}
|
|
@@ -3016,49 +3016,49 @@ export interface GetLogRecordResponse {
|
|
|
3016
3016
|
*/
|
|
3017
3017
|
export interface GetQueryResultsRequest {
|
|
3018
3018
|
/**
|
|
3019
|
-
* @public
|
|
3020
3019
|
* <p>The ID number of the query.</p>
|
|
3020
|
+
* @public
|
|
3021
3021
|
*/
|
|
3022
3022
|
queryId: string | undefined;
|
|
3023
3023
|
}
|
|
3024
3024
|
/**
|
|
3025
|
-
* @public
|
|
3026
3025
|
* <p>Contains one field from one log event returned by a CloudWatch Logs Insights query, along with the value of that field.</p>
|
|
3027
3026
|
* <p>For more information about the fields that are
|
|
3028
3027
|
* generated by CloudWatch logs, see
|
|
3029
3028
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html">Supported Logs and Discovered Fields</a>.</p>
|
|
3029
|
+
* @public
|
|
3030
3030
|
*/
|
|
3031
3031
|
export interface ResultField {
|
|
3032
3032
|
/**
|
|
3033
|
-
* @public
|
|
3034
3033
|
* <p>The log event field.</p>
|
|
3034
|
+
* @public
|
|
3035
3035
|
*/
|
|
3036
3036
|
field?: string;
|
|
3037
3037
|
/**
|
|
3038
|
-
* @public
|
|
3039
3038
|
* <p>The value of this field.</p>
|
|
3039
|
+
* @public
|
|
3040
3040
|
*/
|
|
3041
3041
|
value?: string;
|
|
3042
3042
|
}
|
|
3043
3043
|
/**
|
|
3044
|
-
* @public
|
|
3045
3044
|
* <p>Contains the number of log events scanned by the query, the number of log events that matched the
|
|
3046
3045
|
* query criteria, and the total number of bytes in the log events that were scanned.</p>
|
|
3046
|
+
* @public
|
|
3047
3047
|
*/
|
|
3048
3048
|
export interface QueryStatistics {
|
|
3049
3049
|
/**
|
|
3050
|
-
* @public
|
|
3051
3050
|
* <p>The number of log events that matched the query string.</p>
|
|
3051
|
+
* @public
|
|
3052
3052
|
*/
|
|
3053
3053
|
recordsMatched?: number;
|
|
3054
3054
|
/**
|
|
3055
|
-
* @public
|
|
3056
3055
|
* <p>The total number of log events scanned during the query.</p>
|
|
3056
|
+
* @public
|
|
3057
3057
|
*/
|
|
3058
3058
|
recordsScanned?: number;
|
|
3059
3059
|
/**
|
|
3060
|
-
* @public
|
|
3061
3060
|
* <p>The total number of bytes in the log events scanned during the query.</p>
|
|
3061
|
+
* @public
|
|
3062
3062
|
*/
|
|
3063
3063
|
bytesScanned?: number;
|
|
3064
3064
|
}
|
|
@@ -3067,58 +3067,57 @@ export interface QueryStatistics {
|
|
|
3067
3067
|
*/
|
|
3068
3068
|
export interface GetQueryResultsResponse {
|
|
3069
3069
|
/**
|
|
3070
|
-
* @public
|
|
3071
3070
|
* <p>The log events that matched the query criteria during the most recent time it ran.</p>
|
|
3072
3071
|
* <p>The <code>results</code> value is an array of arrays. Each log event is one object in the
|
|
3073
3072
|
* top-level array. Each of these log event objects is an array of
|
|
3074
3073
|
* <code>field</code>/<code>value</code> pairs.</p>
|
|
3074
|
+
* @public
|
|
3075
3075
|
*/
|
|
3076
3076
|
results?: ResultField[][];
|
|
3077
3077
|
/**
|
|
3078
|
-
* @public
|
|
3079
3078
|
* <p>Includes the number of log events scanned by the query, the number of log events that
|
|
3080
3079
|
* matched the query criteria, and the total number of bytes in the scanned log events. These
|
|
3081
3080
|
* values reflect the full raw results of the query.</p>
|
|
3081
|
+
* @public
|
|
3082
3082
|
*/
|
|
3083
3083
|
statistics?: QueryStatistics;
|
|
3084
3084
|
/**
|
|
3085
|
-
* @public
|
|
3086
3085
|
* <p>The status of the most recent running of the query. Possible values are <code>Cancelled</code>,
|
|
3087
3086
|
* <code>Complete</code>, <code>Failed</code>, <code>Running</code>, <code>Scheduled</code>,
|
|
3088
3087
|
* <code>Timeout</code>, and <code>Unknown</code>.</p>
|
|
3089
3088
|
* <p>Queries time out after 60 minutes of runtime. To avoid having your queries time out,
|
|
3090
3089
|
* reduce the time range being searched or partition your query into a number of queries.</p>
|
|
3090
|
+
* @public
|
|
3091
3091
|
*/
|
|
3092
3092
|
status?: QueryStatus;
|
|
3093
3093
|
/**
|
|
3094
|
-
* @public
|
|
3095
3094
|
* <p>If you associated an KMS key with the CloudWatch Logs Insights
|
|
3096
3095
|
* query results in this account, this field displays the ARN of the key that's used to encrypt
|
|
3097
3096
|
* the query results when <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a> stores
|
|
3098
3097
|
* them.</p>
|
|
3098
|
+
* @public
|
|
3099
3099
|
*/
|
|
3100
3100
|
encryptionKey?: string;
|
|
3101
3101
|
}
|
|
3102
3102
|
/**
|
|
3103
|
-
* @public
|
|
3104
3103
|
* <p>Represents a log event, which is a record of activity that was recorded
|
|
3105
3104
|
* by the application or resource being monitored.</p>
|
|
3105
|
+
* @public
|
|
3106
3106
|
*/
|
|
3107
3107
|
export interface InputLogEvent {
|
|
3108
3108
|
/**
|
|
3109
|
-
* @public
|
|
3110
3109
|
* <p>The time the event occurred, expressed as the number of milliseconds after <code>Jan 1,
|
|
3111
3110
|
* 1970 00:00:00 UTC</code>.</p>
|
|
3111
|
+
* @public
|
|
3112
3112
|
*/
|
|
3113
3113
|
timestamp: number | undefined;
|
|
3114
3114
|
/**
|
|
3115
|
-
* @public
|
|
3116
3115
|
* <p>The raw event message. Each log event can be no larger than 256 KB.</p>
|
|
3116
|
+
* @public
|
|
3117
3117
|
*/
|
|
3118
3118
|
message: string | undefined;
|
|
3119
3119
|
}
|
|
3120
3120
|
/**
|
|
3121
|
-
* @public
|
|
3122
3121
|
* <p>The sequence token is not valid. You can get the correct sequence token in
|
|
3123
3122
|
* the <code>expectedSequenceToken</code> field in the <code>InvalidSequenceTokenException</code>
|
|
3124
3123
|
* message. </p>
|
|
@@ -3128,6 +3127,7 @@ export interface InputLogEvent {
|
|
|
3128
3127
|
* actions are now always accepted and never return
|
|
3129
3128
|
* <code>InvalidSequenceTokenException</code> regardless of receiving an invalid sequence token. </p>
|
|
3130
3129
|
* </important>
|
|
3130
|
+
* @public
|
|
3131
3131
|
*/
|
|
3132
3132
|
export declare class InvalidSequenceTokenException extends __BaseException {
|
|
3133
3133
|
readonly name: "InvalidSequenceTokenException";
|
|
@@ -3155,26 +3155,26 @@ export type SuppressionState = (typeof SuppressionState)[keyof typeof Suppressio
|
|
|
3155
3155
|
*/
|
|
3156
3156
|
export interface ListAnomaliesRequest {
|
|
3157
3157
|
/**
|
|
3158
|
-
* @public
|
|
3159
3158
|
* <p>Use this to optionally limit the results to only the anomalies found by a certain
|
|
3160
3159
|
* anomaly detector.</p>
|
|
3160
|
+
* @public
|
|
3161
3161
|
*/
|
|
3162
3162
|
anomalyDetectorArn?: string;
|
|
3163
3163
|
/**
|
|
3164
|
-
* @public
|
|
3165
3164
|
* <p>You can specify this parameter if you want to the operation to return only anomalies that
|
|
3166
3165
|
* are currently either suppressed or unsuppressed.</p>
|
|
3166
|
+
* @public
|
|
3167
3167
|
*/
|
|
3168
3168
|
suppressionState?: SuppressionState;
|
|
3169
3169
|
/**
|
|
3170
|
-
* @public
|
|
3171
3170
|
* <p>The maximum number of items to return. If you don't specify a value, the default maximum value of
|
|
3172
3171
|
* 50 items is used.</p>
|
|
3172
|
+
* @public
|
|
3173
3173
|
*/
|
|
3174
3174
|
limit?: number;
|
|
3175
3175
|
/**
|
|
3176
|
-
* @public
|
|
3177
3176
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
3177
|
+
* @public
|
|
3178
3178
|
*/
|
|
3179
3179
|
nextToken?: string;
|
|
3180
3180
|
}
|
|
@@ -3183,14 +3183,14 @@ export interface ListAnomaliesRequest {
|
|
|
3183
3183
|
*/
|
|
3184
3184
|
export interface ListAnomaliesResponse {
|
|
3185
3185
|
/**
|
|
3186
|
-
* @public
|
|
3187
3186
|
* <p>An array of structures, where each structure contains information about one anomaly that a log
|
|
3188
3187
|
* anomaly detector has found.</p>
|
|
3188
|
+
* @public
|
|
3189
3189
|
*/
|
|
3190
3190
|
anomalies?: Anomaly[];
|
|
3191
3191
|
/**
|
|
3192
|
-
* @public
|
|
3193
3192
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
3193
|
+
* @public
|
|
3194
3194
|
*/
|
|
3195
3195
|
nextToken?: string;
|
|
3196
3196
|
}
|
|
@@ -3199,20 +3199,20 @@ export interface ListAnomaliesResponse {
|
|
|
3199
3199
|
*/
|
|
3200
3200
|
export interface ListLogAnomalyDetectorsRequest {
|
|
3201
3201
|
/**
|
|
3202
|
-
* @public
|
|
3203
3202
|
* <p>Use this to optionally filter the results to only include anomaly detectors that are associated with the
|
|
3204
3203
|
* specified log group.</p>
|
|
3204
|
+
* @public
|
|
3205
3205
|
*/
|
|
3206
3206
|
filterLogGroupArn?: string;
|
|
3207
3207
|
/**
|
|
3208
|
-
* @public
|
|
3209
3208
|
* <p>The maximum number of items to return. If you don't specify a value, the default maximum value of
|
|
3210
3209
|
* 50 items is used.</p>
|
|
3210
|
+
* @public
|
|
3211
3211
|
*/
|
|
3212
3212
|
limit?: number;
|
|
3213
3213
|
/**
|
|
3214
|
-
* @public
|
|
3215
3214
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
3215
|
+
* @public
|
|
3216
3216
|
*/
|
|
3217
3217
|
nextToken?: string;
|
|
3218
3218
|
}
|
|
@@ -3221,13 +3221,13 @@ export interface ListLogAnomalyDetectorsRequest {
|
|
|
3221
3221
|
*/
|
|
3222
3222
|
export interface ListLogAnomalyDetectorsResponse {
|
|
3223
3223
|
/**
|
|
3224
|
-
* @public
|
|
3225
3224
|
* <p>An array of structures, where each structure in the array contains information about one anomaly detector.</p>
|
|
3225
|
+
* @public
|
|
3226
3226
|
*/
|
|
3227
3227
|
anomalyDetectors?: AnomalyDetector[];
|
|
3228
3228
|
/**
|
|
3229
|
-
* @public
|
|
3230
3229
|
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
3230
|
+
* @public
|
|
3231
3231
|
*/
|
|
3232
3232
|
nextToken?: string;
|
|
3233
3233
|
}
|
|
@@ -3236,7 +3236,6 @@ export interface ListLogAnomalyDetectorsResponse {
|
|
|
3236
3236
|
*/
|
|
3237
3237
|
export interface ListTagsForResourceRequest {
|
|
3238
3238
|
/**
|
|
3239
|
-
* @public
|
|
3240
3239
|
* <p>The ARN of the resource that you want to view tags for.</p>
|
|
3241
3240
|
* <p>The ARN format of a log group is
|
|
3242
3241
|
* <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:log-group:<i>log-group-name</i>
|
|
@@ -3248,6 +3247,7 @@ export interface ListTagsForResourceRequest {
|
|
|
3248
3247
|
* </p>
|
|
3249
3248
|
* <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
|
|
3250
3249
|
* resources and operations</a>.</p>
|
|
3250
|
+
* @public
|
|
3251
3251
|
*/
|
|
3252
3252
|
resourceArn: string | undefined;
|
|
3253
3253
|
}
|
|
@@ -3256,8 +3256,8 @@ export interface ListTagsForResourceRequest {
|
|
|
3256
3256
|
*/
|
|
3257
3257
|
export interface ListTagsForResourceResponse {
|
|
3258
3258
|
/**
|
|
3259
|
-
* @public
|
|
3260
3259
|
* <p>The list of tags associated with the requested resource.></p>
|
|
3260
|
+
* @public
|
|
3261
3261
|
*/
|
|
3262
3262
|
tags?: Record<string, string>;
|
|
3263
3263
|
}
|
|
@@ -3266,8 +3266,8 @@ export interface ListTagsForResourceResponse {
|
|
|
3266
3266
|
*/
|
|
3267
3267
|
export interface ListTagsLogGroupRequest {
|
|
3268
3268
|
/**
|
|
3269
|
-
* @public
|
|
3270
3269
|
* <p>The name of the log group.</p>
|
|
3270
|
+
* @public
|
|
3271
3271
|
*/
|
|
3272
3272
|
logGroupName: string | undefined;
|
|
3273
3273
|
}
|
|
@@ -3276,117 +3276,117 @@ export interface ListTagsLogGroupRequest {
|
|
|
3276
3276
|
*/
|
|
3277
3277
|
export interface ListTagsLogGroupResponse {
|
|
3278
3278
|
/**
|
|
3279
|
-
* @public
|
|
3280
3279
|
* <p>The tags for the log group.</p>
|
|
3280
|
+
* @public
|
|
3281
3281
|
*/
|
|
3282
3282
|
tags?: Record<string, string>;
|
|
3283
3283
|
}
|
|
3284
3284
|
/**
|
|
3285
|
-
* @public
|
|
3286
3285
|
* <p>This object contains the information for one log event returned in a Live Tail stream.</p>
|
|
3286
|
+
* @public
|
|
3287
3287
|
*/
|
|
3288
3288
|
export interface LiveTailSessionLogEvent {
|
|
3289
3289
|
/**
|
|
3290
|
-
* @public
|
|
3291
3290
|
* <p>The name of the log stream that ingested this log event.</p>
|
|
3291
|
+
* @public
|
|
3292
3292
|
*/
|
|
3293
3293
|
logStreamName?: string;
|
|
3294
3294
|
/**
|
|
3295
|
-
* @public
|
|
3296
3295
|
* <p>The name or ARN of the log group that ingested this log event.</p>
|
|
3296
|
+
* @public
|
|
3297
3297
|
*/
|
|
3298
3298
|
logGroupIdentifier?: string;
|
|
3299
3299
|
/**
|
|
3300
|
-
* @public
|
|
3301
3300
|
* <p>The log event message text.</p>
|
|
3301
|
+
* @public
|
|
3302
3302
|
*/
|
|
3303
3303
|
message?: string;
|
|
3304
3304
|
/**
|
|
3305
|
-
* @public
|
|
3306
3305
|
* <p>The timestamp specifying when this log event was created.</p>
|
|
3306
|
+
* @public
|
|
3307
3307
|
*/
|
|
3308
3308
|
timestamp?: number;
|
|
3309
3309
|
/**
|
|
3310
|
-
* @public
|
|
3311
3310
|
* <p>The timestamp specifying when this log event was ingested into the log group.</p>
|
|
3311
|
+
* @public
|
|
3312
3312
|
*/
|
|
3313
3313
|
ingestionTime?: number;
|
|
3314
3314
|
}
|
|
3315
3315
|
/**
|
|
3316
|
-
* @public
|
|
3317
3316
|
* <p>This object contains the metadata for one <code>LiveTailSessionUpdate</code> structure. It indicates whether
|
|
3318
3317
|
* that update includes only a sample of 500 log events out of a larger number of ingested log events, or if it contains
|
|
3319
3318
|
* all of the matching log events ingested during that second of time.</p>
|
|
3319
|
+
* @public
|
|
3320
3320
|
*/
|
|
3321
3321
|
export interface LiveTailSessionMetadata {
|
|
3322
3322
|
/**
|
|
3323
|
-
* @public
|
|
3324
3323
|
* <p>If this is <code>true</code>, then more than 500 log events matched the request for this update, and the
|
|
3325
3324
|
* <code>sessionResults</code> includes a sample of 500 of those events.</p>
|
|
3326
3325
|
* <p>If this is <code>false</code>, then 500 or fewer log events matched the request for this update, so no sampling
|
|
3327
3326
|
* was necessary. In this case, the
|
|
3328
3327
|
* <code>sessionResults</code> array includes all log events that matched your request during this time.</p>
|
|
3328
|
+
* @public
|
|
3329
3329
|
*/
|
|
3330
3330
|
sampled?: boolean;
|
|
3331
3331
|
}
|
|
3332
3332
|
/**
|
|
3333
|
-
* @public
|
|
3334
3333
|
* <p>This object contains information about this Live Tail session, including the log groups included and the
|
|
3335
3334
|
* log stream filters, if any.</p>
|
|
3335
|
+
* @public
|
|
3336
3336
|
*/
|
|
3337
3337
|
export interface LiveTailSessionStart {
|
|
3338
3338
|
/**
|
|
3339
|
-
* @public
|
|
3340
3339
|
* <p>The unique ID generated by CloudWatch Logs to identify this Live Tail session request.</p>
|
|
3340
|
+
* @public
|
|
3341
3341
|
*/
|
|
3342
3342
|
requestId?: string;
|
|
3343
3343
|
/**
|
|
3344
|
-
* @public
|
|
3345
3344
|
* <p>The unique ID generated by CloudWatch Logs to identify this Live Tail session.</p>
|
|
3345
|
+
* @public
|
|
3346
3346
|
*/
|
|
3347
3347
|
sessionId?: string;
|
|
3348
3348
|
/**
|
|
3349
|
-
* @public
|
|
3350
3349
|
* <p>An array of the names and ARNs of the log groups included in this Live Tail session.</p>
|
|
3350
|
+
* @public
|
|
3351
3351
|
*/
|
|
3352
3352
|
logGroupIdentifiers?: string[];
|
|
3353
3353
|
/**
|
|
3354
|
-
* @public
|
|
3355
3354
|
* <p>If your StartLiveTail operation request included a <code>logStreamNames</code> parameter that filtered the session
|
|
3356
3355
|
* to only include certain log streams, these streams are listed here.</p>
|
|
3356
|
+
* @public
|
|
3357
3357
|
*/
|
|
3358
3358
|
logStreamNames?: string[];
|
|
3359
3359
|
/**
|
|
3360
|
-
* @public
|
|
3361
3360
|
* <p>If your StartLiveTail operation request included a <code>logStreamNamePrefixes</code> parameter that filtered the session
|
|
3362
3361
|
* to only include log streams that have names that start with certain prefixes, these prefixes are listed here.</p>
|
|
3362
|
+
* @public
|
|
3363
3363
|
*/
|
|
3364
3364
|
logStreamNamePrefixes?: string[];
|
|
3365
3365
|
/**
|
|
3366
|
-
* @public
|
|
3367
3366
|
* <p>An optional pattern to filter the results to include only log events that match the pattern.
|
|
3368
3367
|
* For example, a filter pattern of <code>error 404</code> displays only log events that include both <code>error</code>
|
|
3369
3368
|
* and <code>404</code>.</p>
|
|
3370
3369
|
* <p>For more information about filter pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html">Filter and Pattern Syntax</a>.</p>
|
|
3370
|
+
* @public
|
|
3371
3371
|
*/
|
|
3372
3372
|
logEventFilterPattern?: string;
|
|
3373
3373
|
}
|
|
3374
3374
|
/**
|
|
3375
|
-
* @public
|
|
3376
3375
|
* <p>This object contains the log events and metadata for a Live Tail session.</p>
|
|
3376
|
+
* @public
|
|
3377
3377
|
*/
|
|
3378
3378
|
export interface LiveTailSessionUpdate {
|
|
3379
3379
|
/**
|
|
3380
|
-
* @public
|
|
3381
3380
|
* <p>This object contains the session metadata for a Live Tail session.</p>
|
|
3381
|
+
* @public
|
|
3382
3382
|
*/
|
|
3383
3383
|
sessionMetadata?: LiveTailSessionMetadata;
|
|
3384
3384
|
/**
|
|
3385
|
-
* @public
|
|
3386
3385
|
* <p>An array, where each member of the array includes the information for one log event in the Live Tail session.</p>
|
|
3387
3386
|
* <p>A <code>sessionResults</code> array can include as many as 500 log events. If the number of
|
|
3388
3387
|
* log events matching the request exceeds 500 per second, the
|
|
3389
3388
|
* log events are sampled down to 500 log events to be included in each <code>sessionUpdate</code> structure.</p>
|
|
3389
|
+
* @public
|
|
3390
3390
|
*/
|
|
3391
3391
|
sessionResults?: LiveTailSessionLogEvent[];
|
|
3392
3392
|
}
|
|
@@ -3395,12 +3395,11 @@ export interface LiveTailSessionUpdate {
|
|
|
3395
3395
|
*/
|
|
3396
3396
|
export interface PutAccountPolicyRequest {
|
|
3397
3397
|
/**
|
|
3398
|
-
* @public
|
|
3399
3398
|
* <p>A name for the policy. This must be unique within the account.</p>
|
|
3399
|
+
* @public
|
|
3400
3400
|
*/
|
|
3401
3401
|
policyName: string | undefined;
|
|
3402
3402
|
/**
|
|
3403
|
-
* @public
|
|
3404
3403
|
* <p>Specify the policy, in JSON.</p>
|
|
3405
3404
|
* <p>
|
|
3406
3405
|
* <b>Data protection policy</b>
|
|
@@ -3483,22 +3482,22 @@ export interface PutAccountPolicyRequest {
|
|
|
3483
3482
|
* This property is only applicable when the destination is an Kinesis Data Streams data stream.</p>
|
|
3484
3483
|
* </li>
|
|
3485
3484
|
* </ul>
|
|
3485
|
+
* @public
|
|
3486
3486
|
*/
|
|
3487
3487
|
policyDocument: string | undefined;
|
|
3488
3488
|
/**
|
|
3489
|
-
* @public
|
|
3490
3489
|
* <p>The type of policy that you're creating or updating.</p>
|
|
3490
|
+
* @public
|
|
3491
3491
|
*/
|
|
3492
3492
|
policyType: PolicyType | undefined;
|
|
3493
3493
|
/**
|
|
3494
|
-
* @public
|
|
3495
3494
|
* <p>Currently the only valid value for this parameter is <code>ALL</code>, which specifies that the data
|
|
3496
3495
|
* protection policy applies to all log groups in the account. If you omit this parameter, the default
|
|
3497
3496
|
* of <code>ALL</code> is used.</p>
|
|
3497
|
+
* @public
|
|
3498
3498
|
*/
|
|
3499
3499
|
scope?: Scope;
|
|
3500
3500
|
/**
|
|
3501
|
-
* @public
|
|
3502
3501
|
* <p>Use this parameter to apply the subscription filter policy to a subset of log groups in the account.
|
|
3503
3502
|
* Currently, the only supported filter is <code>LogGroupName NOT IN []</code>. The <code>selectionCriteria</code>
|
|
3504
3503
|
* string can be up to 25KB in length. The length is determined by using its UTF-8 bytes.</p>
|
|
@@ -3506,6 +3505,7 @@ export interface PutAccountPolicyRequest {
|
|
|
3506
3505
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Subscriptions-recursion-prevention.html">Log recursion prevention</a>.</p>
|
|
3507
3506
|
* <p>Specifing <code>selectionCriteria</code> is valid only when you specify <code> SUBSCRIPTION_FILTER_POLICY</code>
|
|
3508
3507
|
* for <code>policyType</code>.</p>
|
|
3508
|
+
* @public
|
|
3509
3509
|
*/
|
|
3510
3510
|
selectionCriteria?: string;
|
|
3511
3511
|
}
|
|
@@ -3514,8 +3514,8 @@ export interface PutAccountPolicyRequest {
|
|
|
3514
3514
|
*/
|
|
3515
3515
|
export interface PutAccountPolicyResponse {
|
|
3516
3516
|
/**
|
|
3517
|
-
* @public
|
|
3518
3517
|
* <p>The account policy that you created.</p>
|
|
3518
|
+
* @public
|
|
3519
3519
|
*/
|
|
3520
3520
|
accountPolicy?: AccountPolicy;
|
|
3521
3521
|
}
|
|
@@ -3524,12 +3524,11 @@ export interface PutAccountPolicyResponse {
|
|
|
3524
3524
|
*/
|
|
3525
3525
|
export interface PutDataProtectionPolicyRequest {
|
|
3526
3526
|
/**
|
|
3527
|
-
* @public
|
|
3528
3527
|
* <p>Specify either the log group name or log group ARN.</p>
|
|
3528
|
+
* @public
|
|
3529
3529
|
*/
|
|
3530
3530
|
logGroupIdentifier: string | undefined;
|
|
3531
3531
|
/**
|
|
3532
|
-
* @public
|
|
3533
3532
|
* <p>Specify the data protection policy, in JSON.</p>
|
|
3534
3533
|
* <p>This policy must include two JSON blocks:</p>
|
|
3535
3534
|
* <ul>
|
|
@@ -3564,6 +3563,7 @@ export interface PutDataProtectionPolicyRequest {
|
|
|
3564
3563
|
* <code>Description</code>, and <code>Version</code> fields. The <code>Name</code> is used as a dimension when
|
|
3565
3564
|
* CloudWatch Logs reports audit findings metrics to CloudWatch.</p>
|
|
3566
3565
|
* <p>The JSON specified in <code>policyDocument</code> can be up to 30,720 characters.</p>
|
|
3566
|
+
* @public
|
|
3567
3567
|
*/
|
|
3568
3568
|
policyDocument: string | undefined;
|
|
3569
3569
|
}
|
|
@@ -3572,18 +3572,18 @@ export interface PutDataProtectionPolicyRequest {
|
|
|
3572
3572
|
*/
|
|
3573
3573
|
export interface PutDataProtectionPolicyResponse {
|
|
3574
3574
|
/**
|
|
3575
|
-
* @public
|
|
3576
3575
|
* <p>The log group name or ARN that you specified in your request.</p>
|
|
3576
|
+
* @public
|
|
3577
3577
|
*/
|
|
3578
3578
|
logGroupIdentifier?: string;
|
|
3579
3579
|
/**
|
|
3580
|
-
* @public
|
|
3581
3580
|
* <p>The data protection policy used for this log group.</p>
|
|
3581
|
+
* @public
|
|
3582
3582
|
*/
|
|
3583
3583
|
policyDocument?: string;
|
|
3584
3584
|
/**
|
|
3585
|
-
* @public
|
|
3586
3585
|
* <p>The date and time that this policy was most recently updated.</p>
|
|
3586
|
+
* @public
|
|
3587
3587
|
*/
|
|
3588
3588
|
lastUpdatedTime?: number;
|
|
3589
3589
|
}
|
|
@@ -3592,26 +3592,26 @@ export interface PutDataProtectionPolicyResponse {
|
|
|
3592
3592
|
*/
|
|
3593
3593
|
export interface PutDeliveryDestinationRequest {
|
|
3594
3594
|
/**
|
|
3595
|
-
* @public
|
|
3596
3595
|
* <p>A name for this delivery destination. This name must be unique for all delivery destinations in your account.</p>
|
|
3596
|
+
* @public
|
|
3597
3597
|
*/
|
|
3598
3598
|
name: string | undefined;
|
|
3599
3599
|
/**
|
|
3600
|
-
* @public
|
|
3601
3600
|
* <p>The format for the logs that this delivery destination will receive.</p>
|
|
3601
|
+
* @public
|
|
3602
3602
|
*/
|
|
3603
3603
|
outputFormat?: OutputFormat;
|
|
3604
3604
|
/**
|
|
3605
|
-
* @public
|
|
3606
3605
|
* <p>A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.</p>
|
|
3606
|
+
* @public
|
|
3607
3607
|
*/
|
|
3608
3608
|
deliveryDestinationConfiguration: DeliveryDestinationConfiguration | undefined;
|
|
3609
3609
|
/**
|
|
3610
|
-
* @public
|
|
3611
3610
|
* <p>An optional list of key-value pairs to associate with the resource.</p>
|
|
3612
3611
|
* <p>For more information about tagging, see
|
|
3613
3612
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
|
|
3614
3613
|
* </p>
|
|
3614
|
+
* @public
|
|
3615
3615
|
*/
|
|
3616
3616
|
tags?: Record<string, string>;
|
|
3617
3617
|
}
|
|
@@ -3620,8 +3620,8 @@ export interface PutDeliveryDestinationRequest {
|
|
|
3620
3620
|
*/
|
|
3621
3621
|
export interface PutDeliveryDestinationResponse {
|
|
3622
3622
|
/**
|
|
3623
|
-
* @public
|
|
3624
3623
|
* <p>A structure containing information about the delivery destination that you just created or updated.</p>
|
|
3624
|
+
* @public
|
|
3625
3625
|
*/
|
|
3626
3626
|
deliveryDestination?: DeliveryDestination;
|
|
3627
3627
|
}
|
|
@@ -3630,13 +3630,13 @@ export interface PutDeliveryDestinationResponse {
|
|
|
3630
3630
|
*/
|
|
3631
3631
|
export interface PutDeliveryDestinationPolicyRequest {
|
|
3632
3632
|
/**
|
|
3633
|
-
* @public
|
|
3634
3633
|
* <p>The name of the delivery destination to assign this policy to.</p>
|
|
3634
|
+
* @public
|
|
3635
3635
|
*/
|
|
3636
3636
|
deliveryDestinationName: string | undefined;
|
|
3637
3637
|
/**
|
|
3638
|
-
* @public
|
|
3639
3638
|
* <p>The contents of the policy.</p>
|
|
3639
|
+
* @public
|
|
3640
3640
|
*/
|
|
3641
3641
|
deliveryDestinationPolicy: string | undefined;
|
|
3642
3642
|
}
|
|
@@ -3645,8 +3645,8 @@ export interface PutDeliveryDestinationPolicyRequest {
|
|
|
3645
3645
|
*/
|
|
3646
3646
|
export interface PutDeliveryDestinationPolicyResponse {
|
|
3647
3647
|
/**
|
|
3648
|
-
* @public
|
|
3649
3648
|
* <p>The contents of the policy that you just created.</p>
|
|
3649
|
+
* @public
|
|
3650
3650
|
*/
|
|
3651
3651
|
policy?: Policy;
|
|
3652
3652
|
}
|
|
@@ -3655,29 +3655,29 @@ export interface PutDeliveryDestinationPolicyResponse {
|
|
|
3655
3655
|
*/
|
|
3656
3656
|
export interface PutDeliverySourceRequest {
|
|
3657
3657
|
/**
|
|
3658
|
-
* @public
|
|
3659
3658
|
* <p>A name for this delivery source. This name must be unique for all delivery sources in your account.</p>
|
|
3659
|
+
* @public
|
|
3660
3660
|
*/
|
|
3661
3661
|
name: string | undefined;
|
|
3662
3662
|
/**
|
|
3663
|
-
* @public
|
|
3664
3663
|
* <p>The ARN of the Amazon Web Services resource that is generating and sending logs.
|
|
3665
3664
|
* For example, <code>arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234</code>
|
|
3666
3665
|
* </p>
|
|
3666
|
+
* @public
|
|
3667
3667
|
*/
|
|
3668
3668
|
resourceArn: string | undefined;
|
|
3669
3669
|
/**
|
|
3670
|
-
* @public
|
|
3671
3670
|
* <p>Defines the type of log that the source is sending. For Amazon CodeWhisperer, the valid value is
|
|
3672
3671
|
* <code>EVENT_LOGS</code>.</p>
|
|
3672
|
+
* @public
|
|
3673
3673
|
*/
|
|
3674
3674
|
logType: string | undefined;
|
|
3675
3675
|
/**
|
|
3676
|
-
* @public
|
|
3677
3676
|
* <p>An optional list of key-value pairs to associate with the resource.</p>
|
|
3678
3677
|
* <p>For more information about tagging, see
|
|
3679
3678
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
|
|
3680
3679
|
* </p>
|
|
3680
|
+
* @public
|
|
3681
3681
|
*/
|
|
3682
3682
|
tags?: Record<string, string>;
|
|
3683
3683
|
}
|
|
@@ -3686,8 +3686,8 @@ export interface PutDeliverySourceRequest {
|
|
|
3686
3686
|
*/
|
|
3687
3687
|
export interface PutDeliverySourceResponse {
|
|
3688
3688
|
/**
|
|
3689
|
-
* @public
|
|
3690
3689
|
* <p>A structure containing information about the delivery source that was just created or updated.</p>
|
|
3690
|
+
* @public
|
|
3691
3691
|
*/
|
|
3692
3692
|
deliverySource?: DeliverySource;
|
|
3693
3693
|
}
|
|
@@ -3696,27 +3696,27 @@ export interface PutDeliverySourceResponse {
|
|
|
3696
3696
|
*/
|
|
3697
3697
|
export interface PutDestinationRequest {
|
|
3698
3698
|
/**
|
|
3699
|
-
* @public
|
|
3700
3699
|
* <p>A name for the destination.</p>
|
|
3700
|
+
* @public
|
|
3701
3701
|
*/
|
|
3702
3702
|
destinationName: string | undefined;
|
|
3703
3703
|
/**
|
|
3704
|
-
* @public
|
|
3705
3704
|
* <p>The ARN of an Amazon Kinesis stream to which to deliver matching log events.</p>
|
|
3705
|
+
* @public
|
|
3706
3706
|
*/
|
|
3707
3707
|
targetArn: string | undefined;
|
|
3708
3708
|
/**
|
|
3709
|
-
* @public
|
|
3710
3709
|
* <p>The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon
|
|
3711
3710
|
* Kinesis <code>PutRecord</code> operation on the destination stream.</p>
|
|
3711
|
+
* @public
|
|
3712
3712
|
*/
|
|
3713
3713
|
roleArn: string | undefined;
|
|
3714
3714
|
/**
|
|
3715
|
-
* @public
|
|
3716
3715
|
* <p>An optional list of key-value pairs to associate with the resource.</p>
|
|
3717
3716
|
* <p>For more information about tagging, see
|
|
3718
3717
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
|
|
3719
3718
|
* </p>
|
|
3719
|
+
* @public
|
|
3720
3720
|
*/
|
|
3721
3721
|
tags?: Record<string, string>;
|
|
3722
3722
|
}
|
|
@@ -3725,8 +3725,8 @@ export interface PutDestinationRequest {
|
|
|
3725
3725
|
*/
|
|
3726
3726
|
export interface PutDestinationResponse {
|
|
3727
3727
|
/**
|
|
3728
|
-
* @public
|
|
3729
3728
|
* <p>The destination.</p>
|
|
3729
|
+
* @public
|
|
3730
3730
|
*/
|
|
3731
3731
|
destination?: Destination;
|
|
3732
3732
|
}
|
|
@@ -3735,18 +3735,17 @@ export interface PutDestinationResponse {
|
|
|
3735
3735
|
*/
|
|
3736
3736
|
export interface PutDestinationPolicyRequest {
|
|
3737
3737
|
/**
|
|
3738
|
-
* @public
|
|
3739
3738
|
* <p>A name for an existing destination.</p>
|
|
3739
|
+
* @public
|
|
3740
3740
|
*/
|
|
3741
3741
|
destinationName: string | undefined;
|
|
3742
3742
|
/**
|
|
3743
|
-
* @public
|
|
3744
3743
|
* <p>An IAM policy document that authorizes cross-account users to deliver their log events
|
|
3745
3744
|
* to the associated destination. This can be up to 5120 bytes.</p>
|
|
3745
|
+
* @public
|
|
3746
3746
|
*/
|
|
3747
3747
|
accessPolicy: string | undefined;
|
|
3748
3748
|
/**
|
|
3749
|
-
* @public
|
|
3750
3749
|
* <p>Specify true if you are updating an existing destination policy to grant permission to
|
|
3751
3750
|
* an organization ID instead of granting permission to individual Amazon Web Services accounts. Before
|
|
3752
3751
|
* you update a destination policy this way, you must first update the subscription
|
|
@@ -3758,6 +3757,7 @@ export interface PutDestinationPolicyRequest {
|
|
|
3758
3757
|
* Updating an existing cross-account subscription</a>
|
|
3759
3758
|
* </p>
|
|
3760
3759
|
* <p>If you omit this parameter, the default of <code>false</code> is used.</p>
|
|
3760
|
+
* @public
|
|
3761
3761
|
*/
|
|
3762
3762
|
forceUpdate?: boolean;
|
|
3763
3763
|
}
|
|
@@ -3766,22 +3766,21 @@ export interface PutDestinationPolicyRequest {
|
|
|
3766
3766
|
*/
|
|
3767
3767
|
export interface PutLogEventsRequest {
|
|
3768
3768
|
/**
|
|
3769
|
-
* @public
|
|
3770
3769
|
* <p>The name of the log group.</p>
|
|
3770
|
+
* @public
|
|
3771
3771
|
*/
|
|
3772
3772
|
logGroupName: string | undefined;
|
|
3773
3773
|
/**
|
|
3774
|
-
* @public
|
|
3775
3774
|
* <p>The name of the log stream.</p>
|
|
3775
|
+
* @public
|
|
3776
3776
|
*/
|
|
3777
3777
|
logStreamName: string | undefined;
|
|
3778
3778
|
/**
|
|
3779
|
-
* @public
|
|
3780
3779
|
* <p>The log events.</p>
|
|
3780
|
+
* @public
|
|
3781
3781
|
*/
|
|
3782
3782
|
logEvents: InputLogEvent[] | undefined;
|
|
3783
3783
|
/**
|
|
3784
|
-
* @public
|
|
3785
3784
|
* <p>The sequence token obtained from the response of the previous <code>PutLogEvents</code>
|
|
3786
3785
|
* call.</p>
|
|
3787
3786
|
* <important>
|
|
@@ -3790,27 +3789,28 @@ export interface PutLogEventsRequest {
|
|
|
3790
3789
|
* actions are now accepted and never return <code>InvalidSequenceTokenException</code> or
|
|
3791
3790
|
* <code>DataAlreadyAcceptedException</code> even if the sequence token is not valid.</p>
|
|
3792
3791
|
* </important>
|
|
3792
|
+
* @public
|
|
3793
3793
|
*/
|
|
3794
3794
|
sequenceToken?: string;
|
|
3795
3795
|
}
|
|
3796
3796
|
/**
|
|
3797
|
-
* @public
|
|
3798
3797
|
* <p>Represents the rejected events.</p>
|
|
3798
|
+
* @public
|
|
3799
3799
|
*/
|
|
3800
3800
|
export interface RejectedLogEventsInfo {
|
|
3801
3801
|
/**
|
|
3802
|
-
* @public
|
|
3803
3802
|
* <p>The log events that are too new.</p>
|
|
3803
|
+
* @public
|
|
3804
3804
|
*/
|
|
3805
3805
|
tooNewLogEventStartIndex?: number;
|
|
3806
3806
|
/**
|
|
3807
|
-
* @public
|
|
3808
3807
|
* <p>The log events that are dated too far in the past.</p>
|
|
3808
|
+
* @public
|
|
3809
3809
|
*/
|
|
3810
3810
|
tooOldLogEventEndIndex?: number;
|
|
3811
3811
|
/**
|
|
3812
|
-
* @public
|
|
3813
3812
|
* <p>The expired log events.</p>
|
|
3813
|
+
* @public
|
|
3814
3814
|
*/
|
|
3815
3815
|
expiredLogEventEndIndex?: number;
|
|
3816
3816
|
}
|
|
@@ -3819,7 +3819,6 @@ export interface RejectedLogEventsInfo {
|
|
|
3819
3819
|
*/
|
|
3820
3820
|
export interface PutLogEventsResponse {
|
|
3821
3821
|
/**
|
|
3822
|
-
* @public
|
|
3823
3822
|
* <p>The next sequence token.</p>
|
|
3824
3823
|
* <important>
|
|
3825
3824
|
* <p>This field has been deprecated.</p>
|
|
@@ -3830,18 +3829,19 @@ export interface PutLogEventsResponse {
|
|
|
3830
3829
|
* to wait for the response of a previous <code>PutLogEvents</code> action to obtain
|
|
3831
3830
|
* the <code>nextSequenceToken</code> value.</p>
|
|
3832
3831
|
* </important>
|
|
3832
|
+
* @public
|
|
3833
3833
|
*/
|
|
3834
3834
|
nextSequenceToken?: string;
|
|
3835
3835
|
/**
|
|
3836
|
-
* @public
|
|
3837
3836
|
* <p>The rejected events.</p>
|
|
3837
|
+
* @public
|
|
3838
3838
|
*/
|
|
3839
3839
|
rejectedLogEventsInfo?: RejectedLogEventsInfo;
|
|
3840
3840
|
}
|
|
3841
3841
|
/**
|
|
3842
|
-
* @public
|
|
3843
3842
|
* <p>The most likely cause is an Amazon Web Services access key ID or secret key that's not
|
|
3844
3843
|
* valid.</p>
|
|
3844
|
+
* @public
|
|
3845
3845
|
*/
|
|
3846
3846
|
export declare class UnrecognizedClientException extends __BaseException {
|
|
3847
3847
|
readonly name: "UnrecognizedClientException";
|
|
@@ -3856,23 +3856,23 @@ export declare class UnrecognizedClientException extends __BaseException {
|
|
|
3856
3856
|
*/
|
|
3857
3857
|
export interface PutMetricFilterRequest {
|
|
3858
3858
|
/**
|
|
3859
|
-
* @public
|
|
3860
3859
|
* <p>The name of the log group.</p>
|
|
3860
|
+
* @public
|
|
3861
3861
|
*/
|
|
3862
3862
|
logGroupName: string | undefined;
|
|
3863
3863
|
/**
|
|
3864
|
-
* @public
|
|
3865
3864
|
* <p>A name for the metric filter.</p>
|
|
3865
|
+
* @public
|
|
3866
3866
|
*/
|
|
3867
3867
|
filterName: string | undefined;
|
|
3868
3868
|
/**
|
|
3869
|
-
* @public
|
|
3870
3869
|
* <p>A filter pattern for extracting metric data out of ingested log events.</p>
|
|
3870
|
+
* @public
|
|
3871
3871
|
*/
|
|
3872
3872
|
filterPattern: string | undefined;
|
|
3873
3873
|
/**
|
|
3874
|
-
* @public
|
|
3875
3874
|
* <p>A collection of information that defines how metric data gets emitted.</p>
|
|
3875
|
+
* @public
|
|
3876
3876
|
*/
|
|
3877
3877
|
metricTransformations: MetricTransformation[] | undefined;
|
|
3878
3878
|
}
|
|
@@ -3881,41 +3881,41 @@ export interface PutMetricFilterRequest {
|
|
|
3881
3881
|
*/
|
|
3882
3882
|
export interface PutQueryDefinitionRequest {
|
|
3883
3883
|
/**
|
|
3884
|
-
* @public
|
|
3885
3884
|
* <p>A name for the query definition. If you are saving numerous query definitions, we
|
|
3886
3885
|
* recommend that you name them. This way, you can find the ones you want by using the first part
|
|
3887
3886
|
* of the name as a filter in the <code>queryDefinitionNamePrefix</code> parameter of <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html">DescribeQueryDefinitions</a>.</p>
|
|
3887
|
+
* @public
|
|
3888
3888
|
*/
|
|
3889
3889
|
name: string | undefined;
|
|
3890
3890
|
/**
|
|
3891
|
-
* @public
|
|
3892
3891
|
* <p>If you are updating a query definition, use this parameter to specify the ID of the query
|
|
3893
3892
|
* definition that you want to update. You can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html">DescribeQueryDefinitions</a> to retrieve the IDs of your saved query
|
|
3894
3893
|
* definitions.</p>
|
|
3895
3894
|
* <p>If you are creating a query definition, do not specify this parameter. CloudWatch
|
|
3896
3895
|
* generates a unique ID for the new query definition and include it in the response to this
|
|
3897
3896
|
* operation.</p>
|
|
3897
|
+
* @public
|
|
3898
3898
|
*/
|
|
3899
3899
|
queryDefinitionId?: string;
|
|
3900
3900
|
/**
|
|
3901
|
-
* @public
|
|
3902
3901
|
* <p>Use this parameter to include specific log groups as part of your query definition.</p>
|
|
3903
3902
|
* <p>If you are updating a query definition and you omit this parameter, then the updated
|
|
3904
3903
|
* definition will contain no log groups.</p>
|
|
3904
|
+
* @public
|
|
3905
3905
|
*/
|
|
3906
3906
|
logGroupNames?: string[];
|
|
3907
3907
|
/**
|
|
3908
|
-
* @public
|
|
3909
3908
|
* <p>The query string to use for this definition.
|
|
3910
3909
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
3910
|
+
* @public
|
|
3911
3911
|
*/
|
|
3912
3912
|
queryString: string | undefined;
|
|
3913
3913
|
/**
|
|
3914
|
-
* @public
|
|
3915
3914
|
* <p>Used as an idempotency token, to avoid returning an exception if the service receives the same
|
|
3916
3915
|
* request twice because of a network
|
|
3917
3916
|
*
|
|
3918
3917
|
* error.</p>
|
|
3918
|
+
* @public
|
|
3919
3919
|
*/
|
|
3920
3920
|
clientToken?: string;
|
|
3921
3921
|
}
|
|
@@ -3924,8 +3924,8 @@ export interface PutQueryDefinitionRequest {
|
|
|
3924
3924
|
*/
|
|
3925
3925
|
export interface PutQueryDefinitionResponse {
|
|
3926
3926
|
/**
|
|
3927
|
-
* @public
|
|
3928
3927
|
* <p>The ID of the query definition.</p>
|
|
3928
|
+
* @public
|
|
3929
3929
|
*/
|
|
3930
3930
|
queryDefinitionId?: string;
|
|
3931
3931
|
}
|
|
@@ -3934,12 +3934,11 @@ export interface PutQueryDefinitionResponse {
|
|
|
3934
3934
|
*/
|
|
3935
3935
|
export interface PutResourcePolicyRequest {
|
|
3936
3936
|
/**
|
|
3937
|
-
* @public
|
|
3938
3937
|
* <p>Name of the new policy. This parameter is required.</p>
|
|
3938
|
+
* @public
|
|
3939
3939
|
*/
|
|
3940
3940
|
policyName?: string;
|
|
3941
3941
|
/**
|
|
3942
|
-
* @public
|
|
3943
3942
|
* <p>Details of the new policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string.
|
|
3944
3943
|
* This parameter is required.</p>
|
|
3945
3944
|
* <p>The following example creates a resource policy enabling the Route 53 service to put
|
|
@@ -3979,6 +3978,7 @@ export interface PutResourcePolicyRequest {
|
|
|
3979
3978
|
* ]
|
|
3980
3979
|
* \}</code>
|
|
3981
3980
|
* </p>
|
|
3981
|
+
* @public
|
|
3982
3982
|
*/
|
|
3983
3983
|
policyDocument?: string;
|
|
3984
3984
|
}
|
|
@@ -3987,8 +3987,8 @@ export interface PutResourcePolicyRequest {
|
|
|
3987
3987
|
*/
|
|
3988
3988
|
export interface PutResourcePolicyResponse {
|
|
3989
3989
|
/**
|
|
3990
|
-
* @public
|
|
3991
3990
|
* <p>The new policy.</p>
|
|
3991
|
+
* @public
|
|
3992
3992
|
*/
|
|
3993
3993
|
resourcePolicy?: ResourcePolicy;
|
|
3994
3994
|
}
|
|
@@ -3997,15 +3997,15 @@ export interface PutResourcePolicyResponse {
|
|
|
3997
3997
|
*/
|
|
3998
3998
|
export interface PutRetentionPolicyRequest {
|
|
3999
3999
|
/**
|
|
4000
|
-
* @public
|
|
4001
4000
|
* <p>The name of the log group.</p>
|
|
4001
|
+
* @public
|
|
4002
4002
|
*/
|
|
4003
4003
|
logGroupName: string | undefined;
|
|
4004
4004
|
/**
|
|
4005
|
-
* @public
|
|
4006
4005
|
* <p>The number of days to retain the log events in the specified log group.
|
|
4007
4006
|
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, and 3653.</p>
|
|
4008
4007
|
* <p>To set a log group so that its log events do not expire, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>. </p>
|
|
4008
|
+
* @public
|
|
4009
4009
|
*/
|
|
4010
4010
|
retentionInDays: number | undefined;
|
|
4011
4011
|
}
|
|
@@ -4014,24 +4014,23 @@ export interface PutRetentionPolicyRequest {
|
|
|
4014
4014
|
*/
|
|
4015
4015
|
export interface PutSubscriptionFilterRequest {
|
|
4016
4016
|
/**
|
|
4017
|
-
* @public
|
|
4018
4017
|
* <p>The name of the log group.</p>
|
|
4018
|
+
* @public
|
|
4019
4019
|
*/
|
|
4020
4020
|
logGroupName: string | undefined;
|
|
4021
4021
|
/**
|
|
4022
|
-
* @public
|
|
4023
4022
|
* <p>A name for the subscription filter. If you are updating an existing filter, you must
|
|
4024
4023
|
* specify the correct name in <code>filterName</code>. To find the name of the filter currently
|
|
4025
4024
|
* associated with a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeSubscriptionFilters.html">DescribeSubscriptionFilters</a>.</p>
|
|
4025
|
+
* @public
|
|
4026
4026
|
*/
|
|
4027
4027
|
filterName: string | undefined;
|
|
4028
4028
|
/**
|
|
4029
|
-
* @public
|
|
4030
4029
|
* <p>A filter pattern for subscribing to a filtered stream of log events.</p>
|
|
4030
|
+
* @public
|
|
4031
4031
|
*/
|
|
4032
4032
|
filterPattern: string | undefined;
|
|
4033
4033
|
/**
|
|
4034
|
-
* @public
|
|
4035
4034
|
* <p>The ARN of the destination to deliver matching log events to. Currently, the supported
|
|
4036
4035
|
* destinations are:</p>
|
|
4037
4036
|
* <ul>
|
|
@@ -4055,20 +4054,21 @@ export interface PutSubscriptionFilterRequest {
|
|
|
4055
4054
|
* for same-account delivery.</p>
|
|
4056
4055
|
* </li>
|
|
4057
4056
|
* </ul>
|
|
4057
|
+
* @public
|
|
4058
4058
|
*/
|
|
4059
4059
|
destinationArn: string | undefined;
|
|
4060
4060
|
/**
|
|
4061
|
-
* @public
|
|
4062
4061
|
* <p>The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log
|
|
4063
4062
|
* events to the destination stream. You don't need to provide the ARN when you are working with
|
|
4064
4063
|
* a logical destination for cross-account delivery.</p>
|
|
4064
|
+
* @public
|
|
4065
4065
|
*/
|
|
4066
4066
|
roleArn?: string;
|
|
4067
4067
|
/**
|
|
4068
|
-
* @public
|
|
4069
4068
|
* <p>The method used to distribute log data to the destination. By default, log data is
|
|
4070
4069
|
* grouped by log stream, but the grouping can be set to random for a more even distribution.
|
|
4071
4070
|
* This property is only applicable when the destination is an Amazon Kinesis data stream. </p>
|
|
4071
|
+
* @public
|
|
4072
4072
|
*/
|
|
4073
4073
|
distribution?: Distribution;
|
|
4074
4074
|
}
|
|
@@ -4077,27 +4077,26 @@ export interface PutSubscriptionFilterRequest {
|
|
|
4077
4077
|
*/
|
|
4078
4078
|
export interface StartLiveTailRequest {
|
|
4079
4079
|
/**
|
|
4080
|
-
* @public
|
|
4081
4080
|
* <p>An array where each item in the array is a log group to include in the Live Tail session.</p>
|
|
4082
4081
|
* <p>Specify each log group by its ARN. </p>
|
|
4083
4082
|
* <p>If you specify an ARN, the ARN can't end with an asterisk (*).</p>
|
|
4084
4083
|
* <note>
|
|
4085
4084
|
* <p> You can include up to 10 log groups.</p>
|
|
4086
4085
|
* </note>
|
|
4086
|
+
* @public
|
|
4087
4087
|
*/
|
|
4088
4088
|
logGroupIdentifiers: string[] | undefined;
|
|
4089
4089
|
/**
|
|
4090
|
-
* @public
|
|
4091
4090
|
* <p>If you specify this parameter, then only log events in the log streams that you specify here are
|
|
4092
4091
|
* included in the Live Tail session.</p>
|
|
4093
4092
|
* <p>If you specify this field, you can't also specify the <code>logStreamNamePrefixes</code> field.</p>
|
|
4094
4093
|
* <note>
|
|
4095
4094
|
* <p>You can specify this parameter only if you specify only one log group in <code>logGroupIdentifiers</code>.</p>
|
|
4096
4095
|
* </note>
|
|
4096
|
+
* @public
|
|
4097
4097
|
*/
|
|
4098
4098
|
logStreamNames?: string[];
|
|
4099
4099
|
/**
|
|
4100
|
-
* @public
|
|
4101
4100
|
* <p>If you specify this parameter, then only log events in the log streams that have names that start with the
|
|
4102
4101
|
* prefixes that you specify here are
|
|
4103
4102
|
* included in the Live Tail session.</p>
|
|
@@ -4105,21 +4104,22 @@ export interface StartLiveTailRequest {
|
|
|
4105
4104
|
* <note>
|
|
4106
4105
|
* <p>You can specify this parameter only if you specify only one log group in <code>logGroupIdentifiers</code>.</p>
|
|
4107
4106
|
* </note>
|
|
4107
|
+
* @public
|
|
4108
4108
|
*/
|
|
4109
4109
|
logStreamNamePrefixes?: string[];
|
|
4110
4110
|
/**
|
|
4111
|
-
* @public
|
|
4112
4111
|
* <p>An optional pattern to use to filter the results to include only log events that match the pattern.
|
|
4113
4112
|
* For example, a filter pattern of <code>error 404</code> causes only log events that include both <code>error</code>
|
|
4114
4113
|
* and <code>404</code> to be included in the Live Tail stream.</p>
|
|
4115
4114
|
* <p>Regular expression filter patterns are supported.</p>
|
|
4116
4115
|
* <p>For more information about filter pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html">Filter and Pattern Syntax</a>.</p>
|
|
4116
|
+
* @public
|
|
4117
4117
|
*/
|
|
4118
4118
|
logEventFilterPattern?: string;
|
|
4119
4119
|
}
|
|
4120
4120
|
/**
|
|
4121
|
-
* @public
|
|
4122
4121
|
* <p>his exception is returned if an unknown error occurs during a Live Tail session.</p>
|
|
4122
|
+
* @public
|
|
4123
4123
|
*/
|
|
4124
4124
|
export declare class SessionStreamingException extends __BaseException {
|
|
4125
4125
|
readonly name: "SessionStreamingException";
|
|
@@ -4130,9 +4130,9 @@ export declare class SessionStreamingException extends __BaseException {
|
|
|
4130
4130
|
constructor(opts: __ExceptionOptionType<SessionStreamingException, __BaseException>);
|
|
4131
4131
|
}
|
|
4132
4132
|
/**
|
|
4133
|
-
* @public
|
|
4134
4133
|
* <p>This exception is returned in a Live Tail stream when the Live Tail session times out. Live Tail sessions time
|
|
4135
4134
|
* out after three hours.</p>
|
|
4135
|
+
* @public
|
|
4136
4136
|
*/
|
|
4137
4137
|
export declare class SessionTimeoutException extends __BaseException {
|
|
4138
4138
|
readonly name: "SessionTimeoutException";
|
|
@@ -4143,10 +4143,10 @@ export declare class SessionTimeoutException extends __BaseException {
|
|
|
4143
4143
|
constructor(opts: __ExceptionOptionType<SessionTimeoutException, __BaseException>);
|
|
4144
4144
|
}
|
|
4145
4145
|
/**
|
|
4146
|
-
* @public
|
|
4147
4146
|
* <p>This object includes the stream returned by your
|
|
4148
4147
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartLiveTail.html">StartLiveTail</a>
|
|
4149
4148
|
* request.</p>
|
|
4149
|
+
* @public
|
|
4150
4150
|
*/
|
|
4151
4151
|
export type StartLiveTailResponseStream = StartLiveTailResponseStream.SessionStreamingExceptionMember | StartLiveTailResponseStream.SessionTimeoutExceptionMember | StartLiveTailResponseStream.SessionStartMember | StartLiveTailResponseStream.SessionUpdateMember | StartLiveTailResponseStream.$UnknownMember;
|
|
4152
4152
|
/**
|
|
@@ -4154,9 +4154,9 @@ export type StartLiveTailResponseStream = StartLiveTailResponseStream.SessionStr
|
|
|
4154
4154
|
*/
|
|
4155
4155
|
export declare namespace StartLiveTailResponseStream {
|
|
4156
4156
|
/**
|
|
4157
|
-
* @public
|
|
4158
4157
|
* <p>This object contains information about this Live Tail session, including the log groups included and the
|
|
4159
4158
|
* log stream filters, if any.</p>
|
|
4159
|
+
* @public
|
|
4160
4160
|
*/
|
|
4161
4161
|
interface SessionStartMember {
|
|
4162
4162
|
sessionStart: LiveTailSessionStart;
|
|
@@ -4166,8 +4166,8 @@ export declare namespace StartLiveTailResponseStream {
|
|
|
4166
4166
|
$unknown?: never;
|
|
4167
4167
|
}
|
|
4168
4168
|
/**
|
|
4169
|
-
* @public
|
|
4170
4169
|
* <p>This object contains the log events and session metadata.</p>
|
|
4170
|
+
* @public
|
|
4171
4171
|
*/
|
|
4172
4172
|
interface SessionUpdateMember {
|
|
4173
4173
|
sessionStart?: never;
|
|
@@ -4177,9 +4177,9 @@ export declare namespace StartLiveTailResponseStream {
|
|
|
4177
4177
|
$unknown?: never;
|
|
4178
4178
|
}
|
|
4179
4179
|
/**
|
|
4180
|
-
* @public
|
|
4181
4180
|
* <p>This exception is returned in the stream when the Live Tail session times out. Live Tail sessions time
|
|
4182
4181
|
* out after three hours.</p>
|
|
4182
|
+
* @public
|
|
4183
4183
|
*/
|
|
4184
4184
|
interface SessionTimeoutExceptionMember {
|
|
4185
4185
|
sessionStart?: never;
|
|
@@ -4189,8 +4189,8 @@ export declare namespace StartLiveTailResponseStream {
|
|
|
4189
4189
|
$unknown?: never;
|
|
4190
4190
|
}
|
|
4191
4191
|
/**
|
|
4192
|
-
* @public
|
|
4193
4192
|
* <p>This exception is returned if an unknown error occurs.</p>
|
|
4193
|
+
* @public
|
|
4194
4194
|
*/
|
|
4195
4195
|
interface SessionStreamingExceptionMember {
|
|
4196
4196
|
sessionStart?: never;
|
|
@@ -4223,57 +4223,57 @@ export declare namespace StartLiveTailResponseStream {
|
|
|
4223
4223
|
*/
|
|
4224
4224
|
export interface StartLiveTailResponse {
|
|
4225
4225
|
/**
|
|
4226
|
-
* @public
|
|
4227
4226
|
* <p>An object that includes the stream returned by your request. It can include both log events and exceptions.</p>
|
|
4227
|
+
* @public
|
|
4228
4228
|
*/
|
|
4229
4229
|
responseStream?: AsyncIterable<StartLiveTailResponseStream>;
|
|
4230
4230
|
}
|
|
4231
4231
|
/**
|
|
4232
|
-
* @public
|
|
4233
4232
|
* <p>Reserved.</p>
|
|
4233
|
+
* @public
|
|
4234
4234
|
*/
|
|
4235
4235
|
export interface QueryCompileErrorLocation {
|
|
4236
4236
|
/**
|
|
4237
|
-
* @public
|
|
4238
4237
|
* <p>Reserved.</p>
|
|
4238
|
+
* @public
|
|
4239
4239
|
*/
|
|
4240
4240
|
startCharOffset?: number;
|
|
4241
4241
|
/**
|
|
4242
|
-
* @public
|
|
4243
4242
|
* <p>Reserved.</p>
|
|
4243
|
+
* @public
|
|
4244
4244
|
*/
|
|
4245
4245
|
endCharOffset?: number;
|
|
4246
4246
|
}
|
|
4247
4247
|
/**
|
|
4248
|
-
* @public
|
|
4249
4248
|
* <p>Reserved.</p>
|
|
4249
|
+
* @public
|
|
4250
4250
|
*/
|
|
4251
4251
|
export interface QueryCompileError {
|
|
4252
4252
|
/**
|
|
4253
|
-
* @public
|
|
4254
4253
|
* <p>Reserved.</p>
|
|
4254
|
+
* @public
|
|
4255
4255
|
*/
|
|
4256
4256
|
location?: QueryCompileErrorLocation;
|
|
4257
4257
|
/**
|
|
4258
|
-
* @public
|
|
4259
4258
|
* <p>Reserved.</p>
|
|
4259
|
+
* @public
|
|
4260
4260
|
*/
|
|
4261
4261
|
message?: string;
|
|
4262
4262
|
}
|
|
4263
4263
|
/**
|
|
4264
|
-
* @public
|
|
4265
4264
|
* <p>The query string is not valid. Details about this error are displayed in a
|
|
4266
4265
|
* <code>QueryCompileError</code> object. For more information, see
|
|
4267
4266
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_QueryCompileError.html">QueryCompileError</a>.</p>
|
|
4268
4267
|
* <p>For more information about valid query syntax, see
|
|
4269
4268
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
4269
|
+
* @public
|
|
4270
4270
|
*/
|
|
4271
4271
|
export declare class MalformedQueryException extends __BaseException {
|
|
4272
4272
|
readonly name: "MalformedQueryException";
|
|
4273
4273
|
readonly $fault: "client";
|
|
4274
4274
|
/**
|
|
4275
|
-
* @public
|
|
4276
4275
|
* <p>Reserved.</p>
|
|
4276
|
+
* @public
|
|
4277
4277
|
*/
|
|
4278
4278
|
queryCompileError?: QueryCompileError;
|
|
4279
4279
|
/**
|
|
@@ -4286,27 +4286,26 @@ export declare class MalformedQueryException extends __BaseException {
|
|
|
4286
4286
|
*/
|
|
4287
4287
|
export interface StartQueryRequest {
|
|
4288
4288
|
/**
|
|
4289
|
-
* @public
|
|
4290
4289
|
* <p>The log group on which to perform the query.</p>
|
|
4291
4290
|
* <note>
|
|
4292
4291
|
* <p>A <code>StartQuery</code> operation must include exactly one of the following
|
|
4293
4292
|
* parameters: <code>logGroupName</code>, <code>logGroupNames</code>, or
|
|
4294
4293
|
* <code>logGroupIdentifiers</code>. </p>
|
|
4295
4294
|
* </note>
|
|
4295
|
+
* @public
|
|
4296
4296
|
*/
|
|
4297
4297
|
logGroupName?: string;
|
|
4298
4298
|
/**
|
|
4299
|
-
* @public
|
|
4300
4299
|
* <p>The list of log groups to be queried. You can include up to 50 log groups.</p>
|
|
4301
4300
|
* <note>
|
|
4302
4301
|
* <p>A <code>StartQuery</code> operation must include exactly one of the following
|
|
4303
4302
|
* parameters: <code>logGroupName</code>, <code>logGroupNames</code>, or
|
|
4304
4303
|
* <code>logGroupIdentifiers</code>. </p>
|
|
4305
4304
|
* </note>
|
|
4305
|
+
* @public
|
|
4306
4306
|
*/
|
|
4307
4307
|
logGroupNames?: string[];
|
|
4308
4308
|
/**
|
|
4309
|
-
* @public
|
|
4310
4309
|
* <p>The list of log groups to query. You can include up to 50 log groups.</p>
|
|
4311
4310
|
* <p>You can specify them by the log group name or ARN. If a log group that you're querying is
|
|
4312
4311
|
* in a source account and you're using a monitoring account, you must specify the ARN of the log
|
|
@@ -4314,32 +4313,33 @@ export interface StartQueryRequest {
|
|
|
4314
4313
|
* <p>If you specify an ARN, the ARN can't end with an asterisk (*).</p>
|
|
4315
4314
|
* <p>A <code>StartQuery</code> operation must include exactly one of the following parameters:
|
|
4316
4315
|
* <code>logGroupName</code>, <code>logGroupNames</code>, or <code>logGroupIdentifiers</code>. </p>
|
|
4316
|
+
* @public
|
|
4317
4317
|
*/
|
|
4318
4318
|
logGroupIdentifiers?: string[];
|
|
4319
4319
|
/**
|
|
4320
|
-
* @public
|
|
4321
4320
|
* <p>The beginning of the time range to query. The range is inclusive, so the specified start
|
|
4322
4321
|
* time is included in the query. Specified as epoch time, the number of seconds since
|
|
4323
4322
|
* <code>January 1, 1970, 00:00:00 UTC</code>.</p>
|
|
4323
|
+
* @public
|
|
4324
4324
|
*/
|
|
4325
4325
|
startTime: number | undefined;
|
|
4326
4326
|
/**
|
|
4327
|
-
* @public
|
|
4328
4327
|
* <p>The end of the time range to query. The range is inclusive, so the specified end time is
|
|
4329
4328
|
* included in the query. Specified as epoch time, the number of seconds since <code>January 1,
|
|
4330
4329
|
* 1970, 00:00:00 UTC</code>.</p>
|
|
4330
|
+
* @public
|
|
4331
4331
|
*/
|
|
4332
4332
|
endTime: number | undefined;
|
|
4333
4333
|
/**
|
|
4334
|
-
* @public
|
|
4335
4334
|
* <p>The query string to use.
|
|
4336
4335
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
4336
|
+
* @public
|
|
4337
4337
|
*/
|
|
4338
4338
|
queryString: string | undefined;
|
|
4339
4339
|
/**
|
|
4340
|
-
* @public
|
|
4341
4340
|
* <p>The maximum number of log events to return in the query. If the query string uses the <code>fields</code> command,
|
|
4342
4341
|
* only the specified fields and their values are returned. The default is 1000.</p>
|
|
4342
|
+
* @public
|
|
4343
4343
|
*/
|
|
4344
4344
|
limit?: number;
|
|
4345
4345
|
}
|
|
@@ -4348,8 +4348,8 @@ export interface StartQueryRequest {
|
|
|
4348
4348
|
*/
|
|
4349
4349
|
export interface StartQueryResponse {
|
|
4350
4350
|
/**
|
|
4351
|
-
* @public
|
|
4352
4351
|
* <p>The unique ID of the query. </p>
|
|
4352
|
+
* @public
|
|
4353
4353
|
*/
|
|
4354
4354
|
queryId?: string;
|
|
4355
4355
|
}
|
|
@@ -4358,9 +4358,9 @@ export interface StartQueryResponse {
|
|
|
4358
4358
|
*/
|
|
4359
4359
|
export interface StopQueryRequest {
|
|
4360
4360
|
/**
|
|
4361
|
-
* @public
|
|
4362
4361
|
* <p>The ID number of the query to stop. To find this ID number, use
|
|
4363
4362
|
* <code>DescribeQueries</code>.</p>
|
|
4363
|
+
* @public
|
|
4364
4364
|
*/
|
|
4365
4365
|
queryId: string | undefined;
|
|
4366
4366
|
}
|
|
@@ -4369,8 +4369,8 @@ export interface StopQueryRequest {
|
|
|
4369
4369
|
*/
|
|
4370
4370
|
export interface StopQueryResponse {
|
|
4371
4371
|
/**
|
|
4372
|
-
* @public
|
|
4373
4372
|
* <p>This is true if the query was stopped by the <code>StopQuery</code> operation.</p>
|
|
4373
|
+
* @public
|
|
4374
4374
|
*/
|
|
4375
4375
|
success?: boolean;
|
|
4376
4376
|
}
|
|
@@ -4379,13 +4379,13 @@ export interface StopQueryResponse {
|
|
|
4379
4379
|
*/
|
|
4380
4380
|
export interface TagLogGroupRequest {
|
|
4381
4381
|
/**
|
|
4382
|
-
* @public
|
|
4383
4382
|
* <p>The name of the log group.</p>
|
|
4383
|
+
* @public
|
|
4384
4384
|
*/
|
|
4385
4385
|
logGroupName: string | undefined;
|
|
4386
4386
|
/**
|
|
4387
|
-
* @public
|
|
4388
4387
|
* <p>The key-value pairs to use for the tags.</p>
|
|
4388
|
+
* @public
|
|
4389
4389
|
*/
|
|
4390
4390
|
tags: Record<string, string> | undefined;
|
|
4391
4391
|
}
|
|
@@ -4394,7 +4394,6 @@ export interface TagLogGroupRequest {
|
|
|
4394
4394
|
*/
|
|
4395
4395
|
export interface TagResourceRequest {
|
|
4396
4396
|
/**
|
|
4397
|
-
* @public
|
|
4398
4397
|
* <p>The ARN of the resource that you're adding tags to.</p>
|
|
4399
4398
|
* <p>The ARN format of a log group is
|
|
4400
4399
|
* <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:log-group:<i>log-group-name</i>
|
|
@@ -4406,24 +4405,25 @@ export interface TagResourceRequest {
|
|
|
4406
4405
|
* </p>
|
|
4407
4406
|
* <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
|
|
4408
4407
|
* resources and operations</a>.</p>
|
|
4408
|
+
* @public
|
|
4409
4409
|
*/
|
|
4410
4410
|
resourceArn: string | undefined;
|
|
4411
4411
|
/**
|
|
4412
|
-
* @public
|
|
4413
4412
|
* <p>The list of key-value pairs to associate with the resource.</p>
|
|
4413
|
+
* @public
|
|
4414
4414
|
*/
|
|
4415
4415
|
tags: Record<string, string> | undefined;
|
|
4416
4416
|
}
|
|
4417
4417
|
/**
|
|
4418
|
-
* @public
|
|
4419
4418
|
* <p>A resource can have no more than 50 tags.</p>
|
|
4419
|
+
* @public
|
|
4420
4420
|
*/
|
|
4421
4421
|
export declare class TooManyTagsException extends __BaseException {
|
|
4422
4422
|
readonly name: "TooManyTagsException";
|
|
4423
4423
|
readonly $fault: "client";
|
|
4424
4424
|
/**
|
|
4425
|
-
* @public
|
|
4426
4425
|
* <p>The name of the resource.</p>
|
|
4426
|
+
* @public
|
|
4427
4427
|
*/
|
|
4428
4428
|
resourceName?: string;
|
|
4429
4429
|
/**
|
|
@@ -4436,36 +4436,36 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
4436
4436
|
*/
|
|
4437
4437
|
export interface TestMetricFilterRequest {
|
|
4438
4438
|
/**
|
|
4439
|
-
* @public
|
|
4440
4439
|
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
4441
4440
|
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
4442
4441
|
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
4442
|
+
* @public
|
|
4443
4443
|
*/
|
|
4444
4444
|
filterPattern: string | undefined;
|
|
4445
4445
|
/**
|
|
4446
|
-
* @public
|
|
4447
4446
|
* <p>The log event messages to test.</p>
|
|
4447
|
+
* @public
|
|
4448
4448
|
*/
|
|
4449
4449
|
logEventMessages: string[] | undefined;
|
|
4450
4450
|
}
|
|
4451
4451
|
/**
|
|
4452
|
-
* @public
|
|
4453
4452
|
* <p>Represents a matched event.</p>
|
|
4453
|
+
* @public
|
|
4454
4454
|
*/
|
|
4455
4455
|
export interface MetricFilterMatchRecord {
|
|
4456
4456
|
/**
|
|
4457
|
-
* @public
|
|
4458
4457
|
* <p>The event number.</p>
|
|
4458
|
+
* @public
|
|
4459
4459
|
*/
|
|
4460
4460
|
eventNumber?: number;
|
|
4461
4461
|
/**
|
|
4462
|
-
* @public
|
|
4463
4462
|
* <p>The raw event data.</p>
|
|
4463
|
+
* @public
|
|
4464
4464
|
*/
|
|
4465
4465
|
eventMessage?: string;
|
|
4466
4466
|
/**
|
|
4467
|
-
* @public
|
|
4468
4467
|
* <p>The values extracted from the event data by the filter.</p>
|
|
4468
|
+
* @public
|
|
4469
4469
|
*/
|
|
4470
4470
|
extractedValues?: Record<string, string>;
|
|
4471
4471
|
}
|
|
@@ -4474,8 +4474,8 @@ export interface MetricFilterMatchRecord {
|
|
|
4474
4474
|
*/
|
|
4475
4475
|
export interface TestMetricFilterResponse {
|
|
4476
4476
|
/**
|
|
4477
|
-
* @public
|
|
4478
4477
|
* <p>The matched events.</p>
|
|
4478
|
+
* @public
|
|
4479
4479
|
*/
|
|
4480
4480
|
matches?: MetricFilterMatchRecord[];
|
|
4481
4481
|
}
|
|
@@ -4484,13 +4484,13 @@ export interface TestMetricFilterResponse {
|
|
|
4484
4484
|
*/
|
|
4485
4485
|
export interface UntagLogGroupRequest {
|
|
4486
4486
|
/**
|
|
4487
|
-
* @public
|
|
4488
4487
|
* <p>The name of the log group.</p>
|
|
4488
|
+
* @public
|
|
4489
4489
|
*/
|
|
4490
4490
|
logGroupName: string | undefined;
|
|
4491
4491
|
/**
|
|
4492
|
-
* @public
|
|
4493
4492
|
* <p>The tag keys. The corresponding tags are removed from the log group.</p>
|
|
4493
|
+
* @public
|
|
4494
4494
|
*/
|
|
4495
4495
|
tags: string[] | undefined;
|
|
4496
4496
|
}
|
|
@@ -4499,7 +4499,6 @@ export interface UntagLogGroupRequest {
|
|
|
4499
4499
|
*/
|
|
4500
4500
|
export interface UntagResourceRequest {
|
|
4501
4501
|
/**
|
|
4502
|
-
* @public
|
|
4503
4502
|
* <p>The ARN of the CloudWatch Logs resource that you're removing tags from.</p>
|
|
4504
4503
|
* <p>The ARN format of a log group is
|
|
4505
4504
|
* <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:log-group:<i>log-group-name</i>
|
|
@@ -4511,11 +4510,12 @@ export interface UntagResourceRequest {
|
|
|
4511
4510
|
* </p>
|
|
4512
4511
|
* <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
|
|
4513
4512
|
* resources and operations</a>.</p>
|
|
4513
|
+
* @public
|
|
4514
4514
|
*/
|
|
4515
4515
|
resourceArn: string | undefined;
|
|
4516
4516
|
/**
|
|
4517
|
-
* @public
|
|
4518
4517
|
* <p>The list of tag keys to remove from the resource.</p>
|
|
4518
|
+
* @public
|
|
4519
4519
|
*/
|
|
4520
4520
|
tagKeys: string[] | undefined;
|
|
4521
4521
|
}
|
|
@@ -4533,19 +4533,19 @@ export declare const SuppressionUnit: {
|
|
|
4533
4533
|
*/
|
|
4534
4534
|
export type SuppressionUnit = (typeof SuppressionUnit)[keyof typeof SuppressionUnit];
|
|
4535
4535
|
/**
|
|
4536
|
-
* @public
|
|
4537
4536
|
* <p>If you are suppressing an anomaly temporariliy, this structure defines how long the suppression period
|
|
4538
4537
|
* is to be.</p>
|
|
4538
|
+
* @public
|
|
4539
4539
|
*/
|
|
4540
4540
|
export interface SuppressionPeriod {
|
|
4541
4541
|
/**
|
|
4542
|
-
* @public
|
|
4543
4542
|
* <p>Specifies the number of seconds, minutes or hours to suppress this anomaly. There is no maximum.</p>
|
|
4543
|
+
* @public
|
|
4544
4544
|
*/
|
|
4545
4545
|
value?: number;
|
|
4546
4546
|
/**
|
|
4547
|
-
* @public
|
|
4548
4547
|
* <p>Specifies whether the value of <code>value</code> is in seconds, minutes, or hours.</p>
|
|
4548
|
+
* @public
|
|
4549
4549
|
*/
|
|
4550
4550
|
suppressionUnit?: SuppressionUnit;
|
|
4551
4551
|
}
|
|
@@ -4566,33 +4566,33 @@ export type SuppressionType = (typeof SuppressionType)[keyof typeof SuppressionT
|
|
|
4566
4566
|
*/
|
|
4567
4567
|
export interface UpdateAnomalyRequest {
|
|
4568
4568
|
/**
|
|
4569
|
-
* @public
|
|
4570
4569
|
* <p>If you are suppressing or unsuppressing an anomaly, specify its unique ID here. You can find anomaly IDs by
|
|
4571
4570
|
* using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListAnomalies.html">ListAnomalies</a> operation.</p>
|
|
4571
|
+
* @public
|
|
4572
4572
|
*/
|
|
4573
4573
|
anomalyId?: string;
|
|
4574
4574
|
/**
|
|
4575
|
-
* @public
|
|
4576
4575
|
* <p>If you are suppressing or unsuppressing an pattern, specify its unique ID here. You can find pattern IDs by
|
|
4577
4576
|
* using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListAnomalies.html">ListAnomalies</a> operation.</p>
|
|
4577
|
+
* @public
|
|
4578
4578
|
*/
|
|
4579
4579
|
patternId?: string;
|
|
4580
4580
|
/**
|
|
4581
|
-
* @public
|
|
4582
4581
|
* <p>The ARN of the anomaly detector that this operation is to act on.</p>
|
|
4582
|
+
* @public
|
|
4583
4583
|
*/
|
|
4584
4584
|
anomalyDetectorArn: string | undefined;
|
|
4585
4585
|
/**
|
|
4586
|
-
* @public
|
|
4587
4586
|
* <p>Use this to specify whether the suppression to be temporary or infinite. If you specify <code>LIMITED</code>,
|
|
4588
4587
|
* you must also specify a <code>suppressionPeriod</code>. If you specify <code>INFINITE</code>,
|
|
4589
4588
|
* any value for <code>suppressionPeriod</code> is ignored. </p>
|
|
4589
|
+
* @public
|
|
4590
4590
|
*/
|
|
4591
4591
|
suppressionType?: SuppressionType;
|
|
4592
4592
|
/**
|
|
4593
|
-
* @public
|
|
4594
4593
|
* <p>If you are temporarily suppressing an anomaly or pattern, use this structure to specify
|
|
4595
4594
|
* how long the suppression is to last.</p>
|
|
4595
|
+
* @public
|
|
4596
4596
|
*/
|
|
4597
4597
|
suppressionPeriod?: SuppressionPeriod;
|
|
4598
4598
|
}
|
|
@@ -4601,35 +4601,35 @@ export interface UpdateAnomalyRequest {
|
|
|
4601
4601
|
*/
|
|
4602
4602
|
export interface UpdateLogAnomalyDetectorRequest {
|
|
4603
4603
|
/**
|
|
4604
|
-
* @public
|
|
4605
4604
|
* <p>The ARN of the anomaly detector that you want to update.</p>
|
|
4605
|
+
* @public
|
|
4606
4606
|
*/
|
|
4607
4607
|
anomalyDetectorArn: string | undefined;
|
|
4608
4608
|
/**
|
|
4609
|
-
* @public
|
|
4610
4609
|
* <p>Specifies how often the anomaly detector runs and look for anomalies. Set this value
|
|
4611
4610
|
* according to the frequency that the log group receives new logs. For example, if the log group
|
|
4612
4611
|
* receives new log events every 10 minutes, then setting <code>evaluationFrequency</code> to
|
|
4613
4612
|
* <code>FIFTEEN_MIN</code> might be appropriate.</p>
|
|
4613
|
+
* @public
|
|
4614
4614
|
*/
|
|
4615
4615
|
evaluationFrequency?: EvaluationFrequency;
|
|
4616
4616
|
/**
|
|
4617
|
-
* @public
|
|
4618
4617
|
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
4619
4618
|
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
4620
4619
|
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
4620
|
+
* @public
|
|
4621
4621
|
*/
|
|
4622
4622
|
filterPattern?: string;
|
|
4623
4623
|
/**
|
|
4624
|
-
* @public
|
|
4625
4624
|
* <p>The number of days to use as the life cycle of anomalies. After this time, anomalies are automatically baselined
|
|
4626
4625
|
* and the anomaly detector model will treat new occurrences of similar event as normal. Therefore, if you do not correct the cause of an
|
|
4627
4626
|
* anomaly during this time, it will be considered normal going forward and will not be detected.</p>
|
|
4627
|
+
* @public
|
|
4628
4628
|
*/
|
|
4629
4629
|
anomalyVisibilityTime?: number;
|
|
4630
4630
|
/**
|
|
4631
|
-
* @public
|
|
4632
4631
|
* <p>Use this parameter to pause or restart the anomaly detector. </p>
|
|
4632
|
+
* @public
|
|
4633
4633
|
*/
|
|
4634
4634
|
enabled: boolean | undefined;
|
|
4635
4635
|
}
|