@aws-sdk/client-cloudwatch-logs 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/CloudWatchLogs.js +0 -36
- package/dist-cjs/CloudWatchLogsClient.js +0 -41
- package/dist-cjs/commands/AssociateKmsKeyCommand.js +0 -36
- package/dist-cjs/commands/CancelExportTaskCommand.js +0 -25
- package/dist-cjs/commands/CreateExportTaskCommand.js +0 -37
- package/dist-cjs/commands/CreateLogGroupCommand.js +0 -50
- package/dist-cjs/commands/CreateLogStreamCommand.js +0 -40
- package/dist-cjs/commands/DeleteDestinationCommand.js +0 -26
- package/dist-cjs/commands/DeleteLogGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteLogStreamCommand.js +0 -25
- package/dist-cjs/commands/DeleteMetricFilterCommand.js +0 -24
- package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +0 -28
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -25
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +0 -25
- package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +0 -24
- package/dist-cjs/commands/DescribeDestinationsCommand.js +0 -24
- package/dist-cjs/commands/DescribeExportTasksCommand.js +0 -25
- package/dist-cjs/commands/DescribeLogGroupsCommand.js +0 -32
- package/dist-cjs/commands/DescribeLogStreamsCommand.js +0 -27
- package/dist-cjs/commands/DescribeMetricFiltersCommand.js +0 -26
- package/dist-cjs/commands/DescribeQueriesCommand.js +0 -26
- package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +0 -26
- package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +0 -24
- package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +0 -25
- package/dist-cjs/commands/DisassociateKmsKeyCommand.js +0 -27
- package/dist-cjs/commands/FilterLogEventsCommand.js +0 -32
- package/dist-cjs/commands/GetLogEventsCommand.js +0 -29
- package/dist-cjs/commands/GetLogGroupFieldsCommand.js +0 -31
- package/dist-cjs/commands/GetLogRecordCommand.js +0 -27
- package/dist-cjs/commands/GetQueryResultsCommand.js +0 -34
- package/dist-cjs/commands/ListTagsLogGroupCommand.js +0 -24
- package/dist-cjs/commands/PutDestinationCommand.js +0 -33
- package/dist-cjs/commands/PutDestinationPolicyCommand.js +0 -29
- package/dist-cjs/commands/PutLogEventsCommand.js +0 -61
- package/dist-cjs/commands/PutMetricFilterCommand.js +0 -46
- package/dist-cjs/commands/PutQueryDefinitionCommand.js +0 -35
- package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -26
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +0 -26
- package/dist-cjs/commands/PutSubscriptionFilterCommand.js +0 -52
- package/dist-cjs/commands/StartQueryCommand.js +0 -29
- package/dist-cjs/commands/StopQueryCommand.js +0 -25
- package/dist-cjs/commands/TagLogGroupCommand.js +0 -33
- package/dist-cjs/commands/TestMetricFilterCommand.js +0 -25
- package/dist-cjs/commands/UntagLogGroupCommand.js +0 -30
- package/dist-cjs/commands/index.js +45 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -52
- package/dist-cjs/models/models_0.js +0 -300
- package/dist-cjs/pagination/DescribeDestinationsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeLogGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeLogStreamsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeMetricFiltersPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeSubscriptionFiltersPaginator.js +0 -10
- package/dist-cjs/pagination/FilterLogEventsPaginator.js +0 -10
- package/dist-cjs/pagination/GetLogEventsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +42 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -52
- package/dist-es/pagination/index.js +8 -0
- package/dist-types/commands/index.d.ts +42 -0
- package/dist-types/index.d.ts +4 -52
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +43 -433
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +24 -122
- package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/index.d.ts +42 -0
- package/dist-types/ts3.4/index.d.ts +4 -52
- package/dist-types/ts3.4/models/models_0.d.ts +392 -1434
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -1,232 +1,145 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
2
|
export interface AssociateKmsKeyRequest {
|
|
3
|
-
|
|
4
|
-
* <p>The name of the log group.</p>
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
logGroupName: string | undefined;
|
|
7
|
-
|
|
8
|
-
* <p>The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK.
|
|
9
|
-
* 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 - Key Management Service</a> and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric Keys</a>.</p>
|
|
10
|
-
*/
|
|
5
|
+
|
|
11
6
|
kmsKeyId: string | undefined;
|
|
12
7
|
}
|
|
13
8
|
export declare namespace AssociateKmsKeyRequest {
|
|
14
|
-
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
9
|
+
|
|
17
10
|
const filterSensitiveLog: (obj: AssociateKmsKeyRequest) => any;
|
|
18
11
|
}
|
|
19
|
-
|
|
20
|
-
* <p>A parameter is specified incorrectly.</p>
|
|
21
|
-
*/
|
|
12
|
+
|
|
22
13
|
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
23
14
|
name: "InvalidParameterException";
|
|
24
15
|
$fault: "client";
|
|
25
16
|
message?: string;
|
|
26
17
|
}
|
|
27
18
|
export declare namespace InvalidParameterException {
|
|
28
|
-
|
|
29
|
-
* @internal
|
|
30
|
-
*/
|
|
19
|
+
|
|
31
20
|
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
32
21
|
}
|
|
33
|
-
|
|
34
|
-
* <p>Multiple requests to update the same resource were in conflict.</p>
|
|
35
|
-
*/
|
|
22
|
+
|
|
36
23
|
export interface OperationAbortedException extends __SmithyException, $MetadataBearer {
|
|
37
24
|
name: "OperationAbortedException";
|
|
38
25
|
$fault: "client";
|
|
39
26
|
message?: string;
|
|
40
27
|
}
|
|
41
28
|
export declare namespace OperationAbortedException {
|
|
42
|
-
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
29
|
+
|
|
45
30
|
const filterSensitiveLog: (obj: OperationAbortedException) => any;
|
|
46
31
|
}
|
|
47
|
-
|
|
48
|
-
* <p>The specified resource does not exist.</p>
|
|
49
|
-
*/
|
|
32
|
+
|
|
50
33
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
51
34
|
name: "ResourceNotFoundException";
|
|
52
35
|
$fault: "client";
|
|
53
36
|
message?: string;
|
|
54
37
|
}
|
|
55
38
|
export declare namespace ResourceNotFoundException {
|
|
56
|
-
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
39
|
+
|
|
59
40
|
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
60
41
|
}
|
|
61
|
-
|
|
62
|
-
* <p>The service cannot complete the request.</p>
|
|
63
|
-
*/
|
|
42
|
+
|
|
64
43
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
65
44
|
name: "ServiceUnavailableException";
|
|
66
45
|
$fault: "server";
|
|
67
46
|
message?: string;
|
|
68
47
|
}
|
|
69
48
|
export declare namespace ServiceUnavailableException {
|
|
70
|
-
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
49
|
+
|
|
73
50
|
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
74
51
|
}
|
|
75
52
|
export interface CancelExportTaskRequest {
|
|
76
|
-
|
|
77
|
-
* <p>The ID of the export task.</p>
|
|
78
|
-
*/
|
|
53
|
+
|
|
79
54
|
taskId: string | undefined;
|
|
80
55
|
}
|
|
81
56
|
export declare namespace CancelExportTaskRequest {
|
|
82
|
-
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
57
|
+
|
|
85
58
|
const filterSensitiveLog: (obj: CancelExportTaskRequest) => any;
|
|
86
59
|
}
|
|
87
|
-
|
|
88
|
-
* <p>The operation is not valid on the specified resource.</p>
|
|
89
|
-
*/
|
|
60
|
+
|
|
90
61
|
export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
|
|
91
62
|
name: "InvalidOperationException";
|
|
92
63
|
$fault: "client";
|
|
93
64
|
message?: string;
|
|
94
65
|
}
|
|
95
66
|
export declare namespace InvalidOperationException {
|
|
96
|
-
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
67
|
+
|
|
99
68
|
const filterSensitiveLog: (obj: InvalidOperationException) => any;
|
|
100
69
|
}
|
|
101
70
|
export interface CreateExportTaskRequest {
|
|
102
|
-
|
|
103
|
-
* <p>The name of the export task.</p>
|
|
104
|
-
*/
|
|
71
|
+
|
|
105
72
|
taskName?: string;
|
|
106
|
-
|
|
107
|
-
* <p>The name of the log group.</p>
|
|
108
|
-
*/
|
|
73
|
+
|
|
109
74
|
logGroupName: string | undefined;
|
|
110
|
-
|
|
111
|
-
* <p>Export only log streams that match the provided prefix. If you don't
|
|
112
|
-
* specify a value, no prefix filter is applied.</p>
|
|
113
|
-
*/
|
|
75
|
+
|
|
114
76
|
logStreamNamePrefix?: string;
|
|
115
|
-
|
|
116
|
-
* <p>The start time of the range for the request, expressed as the number of milliseconds
|
|
117
|
-
* after Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not
|
|
118
|
-
* exported.</p>
|
|
119
|
-
*/
|
|
77
|
+
|
|
120
78
|
from: number | undefined;
|
|
121
|
-
|
|
122
|
-
* <p>The end time of the range for the request, expreswatchlogsdocused as the number of milliseconds
|
|
123
|
-
* after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not
|
|
124
|
-
* exported.</p>
|
|
125
|
-
*/
|
|
79
|
+
|
|
126
80
|
to: number | undefined;
|
|
127
|
-
|
|
128
|
-
* <p>The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services region.</p>
|
|
129
|
-
*/
|
|
81
|
+
|
|
130
82
|
destination: string | undefined;
|
|
131
|
-
|
|
132
|
-
* <p>The prefix used as the start of the key for every object exported. If you don't
|
|
133
|
-
* specify a value, the default is <code>exportedlogs</code>.</p>
|
|
134
|
-
*/
|
|
83
|
+
|
|
135
84
|
destinationPrefix?: string;
|
|
136
85
|
}
|
|
137
86
|
export declare namespace CreateExportTaskRequest {
|
|
138
|
-
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
87
|
+
|
|
141
88
|
const filterSensitiveLog: (obj: CreateExportTaskRequest) => any;
|
|
142
89
|
}
|
|
143
90
|
export interface CreateExportTaskResponse {
|
|
144
|
-
|
|
145
|
-
* <p>The ID of the export task.</p>
|
|
146
|
-
*/
|
|
91
|
+
|
|
147
92
|
taskId?: string;
|
|
148
93
|
}
|
|
149
94
|
export declare namespace CreateExportTaskResponse {
|
|
150
|
-
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
95
|
+
|
|
153
96
|
const filterSensitiveLog: (obj: CreateExportTaskResponse) => any;
|
|
154
97
|
}
|
|
155
|
-
|
|
156
|
-
* <p>You have reached the maximum number of resources that can be created.</p>
|
|
157
|
-
*/
|
|
98
|
+
|
|
158
99
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
159
100
|
name: "LimitExceededException";
|
|
160
101
|
$fault: "client";
|
|
161
102
|
message?: string;
|
|
162
103
|
}
|
|
163
104
|
export declare namespace LimitExceededException {
|
|
164
|
-
|
|
165
|
-
* @internal
|
|
166
|
-
*/
|
|
105
|
+
|
|
167
106
|
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
168
107
|
}
|
|
169
|
-
|
|
170
|
-
* <p>The specified resource already exists.</p>
|
|
171
|
-
*/
|
|
108
|
+
|
|
172
109
|
export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
173
110
|
name: "ResourceAlreadyExistsException";
|
|
174
111
|
$fault: "client";
|
|
175
112
|
message?: string;
|
|
176
113
|
}
|
|
177
114
|
export declare namespace ResourceAlreadyExistsException {
|
|
178
|
-
|
|
179
|
-
* @internal
|
|
180
|
-
*/
|
|
115
|
+
|
|
181
116
|
const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
|
|
182
117
|
}
|
|
183
118
|
export interface CreateLogGroupRequest {
|
|
184
|
-
|
|
185
|
-
* <p>The name of the log group.</p>
|
|
186
|
-
*/
|
|
119
|
+
|
|
187
120
|
logGroupName: string | undefined;
|
|
188
|
-
|
|
189
|
-
* <p>The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
|
190
|
-
* 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 - Key Management Service</a>.</p>
|
|
191
|
-
*/
|
|
121
|
+
|
|
192
122
|
kmsKeyId?: string;
|
|
193
|
-
|
|
194
|
-
* <p>The key-value pairs to use for the tags.</p>
|
|
195
|
-
* <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
|
|
196
|
-
* log groups using the <code>aws:Resource/<i>key-name</i>
|
|
197
|
-
* </code> or <code>aws:TagKeys</code> condition keys.
|
|
198
|
-
* For more information about using tags to control access, see
|
|
199
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
|
|
200
|
-
*/
|
|
123
|
+
|
|
201
124
|
tags?: {
|
|
202
125
|
[key: string]: string;
|
|
203
126
|
};
|
|
204
127
|
}
|
|
205
128
|
export declare namespace CreateLogGroupRequest {
|
|
206
|
-
|
|
207
|
-
* @internal
|
|
208
|
-
*/
|
|
129
|
+
|
|
209
130
|
const filterSensitiveLog: (obj: CreateLogGroupRequest) => any;
|
|
210
131
|
}
|
|
211
132
|
export interface CreateLogStreamRequest {
|
|
212
|
-
|
|
213
|
-
* <p>The name of the log group.</p>
|
|
214
|
-
*/
|
|
133
|
+
|
|
215
134
|
logGroupName: string | undefined;
|
|
216
|
-
|
|
217
|
-
* <p>The name of the log stream.</p>
|
|
218
|
-
*/
|
|
135
|
+
|
|
219
136
|
logStreamName: string | undefined;
|
|
220
137
|
}
|
|
221
138
|
export declare namespace CreateLogStreamRequest {
|
|
222
|
-
|
|
223
|
-
* @internal
|
|
224
|
-
*/
|
|
139
|
+
|
|
225
140
|
const filterSensitiveLog: (obj: CreateLogStreamRequest) => any;
|
|
226
141
|
}
|
|
227
|
-
|
|
228
|
-
* <p>The event was already logged.</p>
|
|
229
|
-
*/
|
|
142
|
+
|
|
230
143
|
export interface DataAlreadyAcceptedException extends __SmithyException, $MetadataBearer {
|
|
231
144
|
name: "DataAlreadyAcceptedException";
|
|
232
145
|
$fault: "client";
|
|
@@ -234,205 +147,126 @@ export interface DataAlreadyAcceptedException extends __SmithyException, $Metada
|
|
|
234
147
|
message?: string;
|
|
235
148
|
}
|
|
236
149
|
export declare namespace DataAlreadyAcceptedException {
|
|
237
|
-
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
150
|
+
|
|
240
151
|
const filterSensitiveLog: (obj: DataAlreadyAcceptedException) => any;
|
|
241
152
|
}
|
|
242
153
|
export interface DeleteDestinationRequest {
|
|
243
|
-
|
|
244
|
-
* <p>The name of the destination.</p>
|
|
245
|
-
*/
|
|
154
|
+
|
|
246
155
|
destinationName: string | undefined;
|
|
247
156
|
}
|
|
248
157
|
export declare namespace DeleteDestinationRequest {
|
|
249
|
-
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
158
|
+
|
|
252
159
|
const filterSensitiveLog: (obj: DeleteDestinationRequest) => any;
|
|
253
160
|
}
|
|
254
161
|
export interface DeleteLogGroupRequest {
|
|
255
|
-
|
|
256
|
-
* <p>The name of the log group.</p>
|
|
257
|
-
*/
|
|
162
|
+
|
|
258
163
|
logGroupName: string | undefined;
|
|
259
164
|
}
|
|
260
165
|
export declare namespace DeleteLogGroupRequest {
|
|
261
|
-
|
|
262
|
-
* @internal
|
|
263
|
-
*/
|
|
166
|
+
|
|
264
167
|
const filterSensitiveLog: (obj: DeleteLogGroupRequest) => any;
|
|
265
168
|
}
|
|
266
169
|
export interface DeleteLogStreamRequest {
|
|
267
|
-
|
|
268
|
-
* <p>The name of the log group.</p>
|
|
269
|
-
*/
|
|
170
|
+
|
|
270
171
|
logGroupName: string | undefined;
|
|
271
|
-
|
|
272
|
-
* <p>The name of the log stream.</p>
|
|
273
|
-
*/
|
|
172
|
+
|
|
274
173
|
logStreamName: string | undefined;
|
|
275
174
|
}
|
|
276
175
|
export declare namespace DeleteLogStreamRequest {
|
|
277
|
-
|
|
278
|
-
* @internal
|
|
279
|
-
*/
|
|
176
|
+
|
|
280
177
|
const filterSensitiveLog: (obj: DeleteLogStreamRequest) => any;
|
|
281
178
|
}
|
|
282
179
|
export interface DeleteMetricFilterRequest {
|
|
283
|
-
|
|
284
|
-
* <p>The name of the log group.</p>
|
|
285
|
-
*/
|
|
180
|
+
|
|
286
181
|
logGroupName: string | undefined;
|
|
287
|
-
|
|
288
|
-
* <p>The name of the metric filter.</p>
|
|
289
|
-
*/
|
|
182
|
+
|
|
290
183
|
filterName: string | undefined;
|
|
291
184
|
}
|
|
292
185
|
export declare namespace DeleteMetricFilterRequest {
|
|
293
|
-
|
|
294
|
-
* @internal
|
|
295
|
-
*/
|
|
186
|
+
|
|
296
187
|
const filterSensitiveLog: (obj: DeleteMetricFilterRequest) => any;
|
|
297
188
|
}
|
|
298
189
|
export interface DeleteQueryDefinitionRequest {
|
|
299
|
-
|
|
300
|
-
* <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
|
|
301
|
-
* IDs of your saved query definitions.</p>
|
|
302
|
-
*/
|
|
190
|
+
|
|
303
191
|
queryDefinitionId: string | undefined;
|
|
304
192
|
}
|
|
305
193
|
export declare namespace DeleteQueryDefinitionRequest {
|
|
306
|
-
|
|
307
|
-
* @internal
|
|
308
|
-
*/
|
|
194
|
+
|
|
309
195
|
const filterSensitiveLog: (obj: DeleteQueryDefinitionRequest) => any;
|
|
310
196
|
}
|
|
311
197
|
export interface DeleteQueryDefinitionResponse {
|
|
312
|
-
|
|
313
|
-
* <p>A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation
|
|
314
|
-
* failed.</p>
|
|
315
|
-
*/
|
|
198
|
+
|
|
316
199
|
success?: boolean;
|
|
317
200
|
}
|
|
318
201
|
export declare namespace DeleteQueryDefinitionResponse {
|
|
319
|
-
|
|
320
|
-
* @internal
|
|
321
|
-
*/
|
|
202
|
+
|
|
322
203
|
const filterSensitiveLog: (obj: DeleteQueryDefinitionResponse) => any;
|
|
323
204
|
}
|
|
324
205
|
export interface DeleteResourcePolicyRequest {
|
|
325
|
-
|
|
326
|
-
* <p>The name of the policy to be revoked. This parameter is required.</p>
|
|
327
|
-
*/
|
|
206
|
+
|
|
328
207
|
policyName?: string;
|
|
329
208
|
}
|
|
330
209
|
export declare namespace DeleteResourcePolicyRequest {
|
|
331
|
-
|
|
332
|
-
* @internal
|
|
333
|
-
*/
|
|
210
|
+
|
|
334
211
|
const filterSensitiveLog: (obj: DeleteResourcePolicyRequest) => any;
|
|
335
212
|
}
|
|
336
213
|
export interface DeleteRetentionPolicyRequest {
|
|
337
|
-
|
|
338
|
-
* <p>The name of the log group.</p>
|
|
339
|
-
*/
|
|
214
|
+
|
|
340
215
|
logGroupName: string | undefined;
|
|
341
216
|
}
|
|
342
217
|
export declare namespace DeleteRetentionPolicyRequest {
|
|
343
|
-
|
|
344
|
-
* @internal
|
|
345
|
-
*/
|
|
218
|
+
|
|
346
219
|
const filterSensitiveLog: (obj: DeleteRetentionPolicyRequest) => any;
|
|
347
220
|
}
|
|
348
221
|
export interface DeleteSubscriptionFilterRequest {
|
|
349
|
-
|
|
350
|
-
* <p>The name of the log group.</p>
|
|
351
|
-
*/
|
|
222
|
+
|
|
352
223
|
logGroupName: string | undefined;
|
|
353
|
-
|
|
354
|
-
* <p>The name of the subscription filter.</p>
|
|
355
|
-
*/
|
|
224
|
+
|
|
356
225
|
filterName: string | undefined;
|
|
357
226
|
}
|
|
358
227
|
export declare namespace DeleteSubscriptionFilterRequest {
|
|
359
|
-
|
|
360
|
-
* @internal
|
|
361
|
-
*/
|
|
228
|
+
|
|
362
229
|
const filterSensitiveLog: (obj: DeleteSubscriptionFilterRequest) => any;
|
|
363
230
|
}
|
|
364
231
|
export interface DescribeDestinationsRequest {
|
|
365
|
-
|
|
366
|
-
* <p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>
|
|
367
|
-
*/
|
|
232
|
+
|
|
368
233
|
DestinationNamePrefix?: string;
|
|
369
|
-
|
|
370
|
-
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
371
|
-
*/
|
|
234
|
+
|
|
372
235
|
nextToken?: string;
|
|
373
|
-
|
|
374
|
-
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
375
|
-
*/
|
|
236
|
+
|
|
376
237
|
limit?: number;
|
|
377
238
|
}
|
|
378
239
|
export declare namespace DescribeDestinationsRequest {
|
|
379
|
-
|
|
380
|
-
* @internal
|
|
381
|
-
*/
|
|
240
|
+
|
|
382
241
|
const filterSensitiveLog: (obj: DescribeDestinationsRequest) => any;
|
|
383
242
|
}
|
|
384
|
-
|
|
385
|
-
* <p>Represents a cross-account destination that receives subscription log events.</p>
|
|
386
|
-
*/
|
|
243
|
+
|
|
387
244
|
export interface Destination {
|
|
388
|
-
|
|
389
|
-
* <p>The name of the destination.</p>
|
|
390
|
-
*/
|
|
245
|
+
|
|
391
246
|
destinationName?: string;
|
|
392
|
-
|
|
393
|
-
* <p>The Amazon Resource Name (ARN) of the physical target where the log events are
|
|
394
|
-
* delivered (for example, a Kinesis stream).</p>
|
|
395
|
-
*/
|
|
247
|
+
|
|
396
248
|
targetArn?: string;
|
|
397
|
-
|
|
398
|
-
* <p>A role for impersonation, used when delivering log events to the target.</p>
|
|
399
|
-
*/
|
|
249
|
+
|
|
400
250
|
roleArn?: string;
|
|
401
|
-
|
|
402
|
-
* <p>An IAM policy document that governs which Amazon Web Services accounts can create subscription filters
|
|
403
|
-
* against this destination.</p>
|
|
404
|
-
*/
|
|
251
|
+
|
|
405
252
|
accessPolicy?: string;
|
|
406
|
-
|
|
407
|
-
* <p>The ARN of this destination.</p>
|
|
408
|
-
*/
|
|
253
|
+
|
|
409
254
|
arn?: string;
|
|
410
|
-
|
|
411
|
-
* <p>The creation time of the destination, expressed as the number of milliseconds after Jan
|
|
412
|
-
* 1, 1970 00:00:00 UTC.</p>
|
|
413
|
-
*/
|
|
255
|
+
|
|
414
256
|
creationTime?: number;
|
|
415
257
|
}
|
|
416
258
|
export declare namespace Destination {
|
|
417
|
-
|
|
418
|
-
* @internal
|
|
419
|
-
*/
|
|
259
|
+
|
|
420
260
|
const filterSensitiveLog: (obj: Destination) => any;
|
|
421
261
|
}
|
|
422
262
|
export interface DescribeDestinationsResponse {
|
|
423
|
-
|
|
424
|
-
* <p>The destinations.</p>
|
|
425
|
-
*/
|
|
263
|
+
|
|
426
264
|
destinations?: Destination[];
|
|
427
|
-
|
|
428
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
429
|
-
*/
|
|
265
|
+
|
|
430
266
|
nextToken?: string;
|
|
431
267
|
}
|
|
432
268
|
export declare namespace DescribeDestinationsResponse {
|
|
433
|
-
|
|
434
|
-
* @internal
|
|
435
|
-
*/
|
|
269
|
+
|
|
436
270
|
const filterSensitiveLog: (obj: DescribeDestinationsResponse) => any;
|
|
437
271
|
}
|
|
438
272
|
export declare enum ExportTaskStatusCode {
|
|
@@ -444,214 +278,117 @@ export declare enum ExportTaskStatusCode {
|
|
|
444
278
|
RUNNING = "RUNNING"
|
|
445
279
|
}
|
|
446
280
|
export interface DescribeExportTasksRequest {
|
|
447
|
-
|
|
448
|
-
* <p>The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.</p>
|
|
449
|
-
*/
|
|
281
|
+
|
|
450
282
|
taskId?: string;
|
|
451
|
-
|
|
452
|
-
* <p>The status code of the export task. Specifying a status code filters the results to zero or more export tasks.</p>
|
|
453
|
-
*/
|
|
283
|
+
|
|
454
284
|
statusCode?: ExportTaskStatusCode | string;
|
|
455
|
-
|
|
456
|
-
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
457
|
-
*/
|
|
285
|
+
|
|
458
286
|
nextToken?: string;
|
|
459
|
-
|
|
460
|
-
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
461
|
-
*/
|
|
287
|
+
|
|
462
288
|
limit?: number;
|
|
463
289
|
}
|
|
464
290
|
export declare namespace DescribeExportTasksRequest {
|
|
465
|
-
|
|
466
|
-
* @internal
|
|
467
|
-
*/
|
|
291
|
+
|
|
468
292
|
const filterSensitiveLog: (obj: DescribeExportTasksRequest) => any;
|
|
469
293
|
}
|
|
470
|
-
|
|
471
|
-
* <p>Represents the status of an export task.</p>
|
|
472
|
-
*/
|
|
294
|
+
|
|
473
295
|
export interface ExportTaskExecutionInfo {
|
|
474
|
-
|
|
475
|
-
* <p>The creation time of the export task, expressed as the number of milliseconds after Jan
|
|
476
|
-
* 1, 1970 00:00:00 UTC.</p>
|
|
477
|
-
*/
|
|
296
|
+
|
|
478
297
|
creationTime?: number;
|
|
479
|
-
|
|
480
|
-
* <p>The completion time of the export task, expressed as the number of milliseconds after
|
|
481
|
-
* Jan 1, 1970 00:00:00 UTC.</p>
|
|
482
|
-
*/
|
|
298
|
+
|
|
483
299
|
completionTime?: number;
|
|
484
300
|
}
|
|
485
301
|
export declare namespace ExportTaskExecutionInfo {
|
|
486
|
-
|
|
487
|
-
* @internal
|
|
488
|
-
*/
|
|
302
|
+
|
|
489
303
|
const filterSensitiveLog: (obj: ExportTaskExecutionInfo) => any;
|
|
490
304
|
}
|
|
491
|
-
|
|
492
|
-
* <p>Represents the status of an export task.</p>
|
|
493
|
-
*/
|
|
305
|
+
|
|
494
306
|
export interface ExportTaskStatus {
|
|
495
|
-
|
|
496
|
-
* <p>The status code of the export task.</p>
|
|
497
|
-
*/
|
|
307
|
+
|
|
498
308
|
code?: ExportTaskStatusCode | string;
|
|
499
|
-
|
|
500
|
-
* <p>The status message related to the status code.</p>
|
|
501
|
-
*/
|
|
309
|
+
|
|
502
310
|
message?: string;
|
|
503
311
|
}
|
|
504
312
|
export declare namespace ExportTaskStatus {
|
|
505
|
-
|
|
506
|
-
* @internal
|
|
507
|
-
*/
|
|
313
|
+
|
|
508
314
|
const filterSensitiveLog: (obj: ExportTaskStatus) => any;
|
|
509
315
|
}
|
|
510
|
-
|
|
511
|
-
* <p>Represents an export task.</p>
|
|
512
|
-
*/
|
|
316
|
+
|
|
513
317
|
export interface ExportTask {
|
|
514
|
-
|
|
515
|
-
* <p>The ID of the export task.</p>
|
|
516
|
-
*/
|
|
318
|
+
|
|
517
319
|
taskId?: string;
|
|
518
|
-
|
|
519
|
-
* <p>The name of the export task.</p>
|
|
520
|
-
*/
|
|
320
|
+
|
|
521
321
|
taskName?: string;
|
|
522
|
-
|
|
523
|
-
* <p>The name of the log group from which logs data was exported.</p>
|
|
524
|
-
*/
|
|
322
|
+
|
|
525
323
|
logGroupName?: string;
|
|
526
|
-
|
|
527
|
-
* <p>The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
528
|
-
* Events with a timestamp before this time are not exported.</p>
|
|
529
|
-
*/
|
|
324
|
+
|
|
530
325
|
from?: number;
|
|
531
|
-
|
|
532
|
-
* <p>The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
533
|
-
* Events with a timestamp later than this time are not exported.</p>
|
|
534
|
-
*/
|
|
326
|
+
|
|
535
327
|
to?: number;
|
|
536
|
-
|
|
537
|
-
* <p>The name of the S3 bucket to which the log data was exported.</p>
|
|
538
|
-
*/
|
|
328
|
+
|
|
539
329
|
destination?: string;
|
|
540
|
-
|
|
541
|
-
* <p>The prefix that was used as the start of Amazon S3 key for every object exported.</p>
|
|
542
|
-
*/
|
|
330
|
+
|
|
543
331
|
destinationPrefix?: string;
|
|
544
|
-
|
|
545
|
-
* <p>The status of the export task.</p>
|
|
546
|
-
*/
|
|
332
|
+
|
|
547
333
|
status?: ExportTaskStatus;
|
|
548
|
-
|
|
549
|
-
* <p>Execution information about the export task.</p>
|
|
550
|
-
*/
|
|
334
|
+
|
|
551
335
|
executionInfo?: ExportTaskExecutionInfo;
|
|
552
336
|
}
|
|
553
337
|
export declare namespace ExportTask {
|
|
554
|
-
|
|
555
|
-
* @internal
|
|
556
|
-
*/
|
|
338
|
+
|
|
557
339
|
const filterSensitiveLog: (obj: ExportTask) => any;
|
|
558
340
|
}
|
|
559
341
|
export interface DescribeExportTasksResponse {
|
|
560
|
-
|
|
561
|
-
* <p>The export tasks.</p>
|
|
562
|
-
*/
|
|
342
|
+
|
|
563
343
|
exportTasks?: ExportTask[];
|
|
564
|
-
|
|
565
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
566
|
-
*/
|
|
344
|
+
|
|
567
345
|
nextToken?: string;
|
|
568
346
|
}
|
|
569
347
|
export declare namespace DescribeExportTasksResponse {
|
|
570
|
-
|
|
571
|
-
* @internal
|
|
572
|
-
*/
|
|
348
|
+
|
|
573
349
|
const filterSensitiveLog: (obj: DescribeExportTasksResponse) => any;
|
|
574
350
|
}
|
|
575
351
|
export interface DescribeLogGroupsRequest {
|
|
576
|
-
|
|
577
|
-
* <p>The prefix to match.</p>
|
|
578
|
-
*/
|
|
352
|
+
|
|
579
353
|
logGroupNamePrefix?: string;
|
|
580
|
-
|
|
581
|
-
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
582
|
-
*/
|
|
354
|
+
|
|
583
355
|
nextToken?: string;
|
|
584
|
-
|
|
585
|
-
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
586
|
-
*/
|
|
356
|
+
|
|
587
357
|
limit?: number;
|
|
588
358
|
}
|
|
589
359
|
export declare namespace DescribeLogGroupsRequest {
|
|
590
|
-
|
|
591
|
-
* @internal
|
|
592
|
-
*/
|
|
360
|
+
|
|
593
361
|
const filterSensitiveLog: (obj: DescribeLogGroupsRequest) => any;
|
|
594
362
|
}
|
|
595
|
-
|
|
596
|
-
* <p>Represents a log group.</p>
|
|
597
|
-
*/
|
|
363
|
+
|
|
598
364
|
export interface LogGroup {
|
|
599
|
-
|
|
600
|
-
* <p>The name of the log group.</p>
|
|
601
|
-
*/
|
|
365
|
+
|
|
602
366
|
logGroupName?: string;
|
|
603
|
-
|
|
604
|
-
* <p>The creation time of the log group, expressed as the number of milliseconds after Jan
|
|
605
|
-
* 1, 1970 00:00:00 UTC.</p>
|
|
606
|
-
*/
|
|
367
|
+
|
|
607
368
|
creationTime?: number;
|
|
608
|
-
|
|
609
|
-
* <p>The number of days to retain the log events in the specified log group.
|
|
610
|
-
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p>
|
|
611
|
-
* <p>To set a log group to never have log events expire, use
|
|
612
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>.
|
|
613
|
-
* </p>
|
|
614
|
-
*/
|
|
369
|
+
|
|
615
370
|
retentionInDays?: number;
|
|
616
|
-
|
|
617
|
-
* <p>The number of metric filters.</p>
|
|
618
|
-
*/
|
|
371
|
+
|
|
619
372
|
metricFilterCount?: number;
|
|
620
|
-
|
|
621
|
-
* <p>The Amazon Resource Name (ARN) of the log group.</p>
|
|
622
|
-
*/
|
|
373
|
+
|
|
623
374
|
arn?: string;
|
|
624
|
-
|
|
625
|
-
* <p>The number of bytes stored.</p>
|
|
626
|
-
*/
|
|
375
|
+
|
|
627
376
|
storedBytes?: number;
|
|
628
|
-
|
|
629
|
-
* <p>The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.</p>
|
|
630
|
-
*/
|
|
377
|
+
|
|
631
378
|
kmsKeyId?: string;
|
|
632
379
|
}
|
|
633
380
|
export declare namespace LogGroup {
|
|
634
|
-
|
|
635
|
-
* @internal
|
|
636
|
-
*/
|
|
381
|
+
|
|
637
382
|
const filterSensitiveLog: (obj: LogGroup) => any;
|
|
638
383
|
}
|
|
639
384
|
export interface DescribeLogGroupsResponse {
|
|
640
|
-
|
|
641
|
-
* <p>The log groups.</p>
|
|
642
|
-
* <p>If the <code>retentionInDays</code> value if not included for a log group, then that log group
|
|
643
|
-
* is set to have its events never expire.</p>
|
|
644
|
-
*/
|
|
385
|
+
|
|
645
386
|
logGroups?: LogGroup[];
|
|
646
|
-
|
|
647
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
648
|
-
*/
|
|
387
|
+
|
|
649
388
|
nextToken?: string;
|
|
650
389
|
}
|
|
651
390
|
export declare namespace DescribeLogGroupsResponse {
|
|
652
|
-
|
|
653
|
-
* @internal
|
|
654
|
-
*/
|
|
391
|
+
|
|
655
392
|
const filterSensitiveLog: (obj: DescribeLogGroupsResponse) => any;
|
|
656
393
|
}
|
|
657
394
|
export declare enum OrderBy {
|
|
@@ -659,156 +396,72 @@ export declare enum OrderBy {
|
|
|
659
396
|
LogStreamName = "LogStreamName"
|
|
660
397
|
}
|
|
661
398
|
export interface DescribeLogStreamsRequest {
|
|
662
|
-
|
|
663
|
-
* <p>The name of the log group.</p>
|
|
664
|
-
*/
|
|
399
|
+
|
|
665
400
|
logGroupName: string | undefined;
|
|
666
|
-
|
|
667
|
-
* <p>The prefix to match.</p>
|
|
668
|
-
* <p>If <code>orderBy</code> is <code>LastEventTime</code>, you cannot specify this
|
|
669
|
-
* parameter.</p>
|
|
670
|
-
*/
|
|
401
|
+
|
|
671
402
|
logStreamNamePrefix?: string;
|
|
672
|
-
|
|
673
|
-
* <p>If the value is <code>LogStreamName</code>, the results are ordered by log stream name.
|
|
674
|
-
* If the value is <code>LastEventTime</code>, the results are ordered by the event time.
|
|
675
|
-
* The default value is <code>LogStreamName</code>.</p>
|
|
676
|
-
* <p>If you order the results by event time, you cannot specify the <code>logStreamNamePrefix</code> parameter.</p>
|
|
677
|
-
* <p>
|
|
678
|
-
* <code>lastEventTimestamp</code> represents the time of the most recent log event in the
|
|
679
|
-
* log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after
|
|
680
|
-
* Jan 1, 1970 00:00:00 UTC. <code>lastEventTimestamp</code> updates on an eventual consistency
|
|
681
|
-
* basis. It typically updates in less than an hour from ingestion, but in rare situations might
|
|
682
|
-
* take longer.</p>
|
|
683
|
-
*/
|
|
403
|
+
|
|
684
404
|
orderBy?: OrderBy | string;
|
|
685
|
-
|
|
686
|
-
* <p>If the value is true, results are returned in descending order.
|
|
687
|
-
* If the value is to false, results are returned in ascending order.
|
|
688
|
-
* The default value is false.</p>
|
|
689
|
-
*/
|
|
405
|
+
|
|
690
406
|
descending?: boolean;
|
|
691
|
-
|
|
692
|
-
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
693
|
-
*/
|
|
407
|
+
|
|
694
408
|
nextToken?: string;
|
|
695
|
-
|
|
696
|
-
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
697
|
-
*/
|
|
409
|
+
|
|
698
410
|
limit?: number;
|
|
699
411
|
}
|
|
700
412
|
export declare namespace DescribeLogStreamsRequest {
|
|
701
|
-
|
|
702
|
-
* @internal
|
|
703
|
-
*/
|
|
413
|
+
|
|
704
414
|
const filterSensitiveLog: (obj: DescribeLogStreamsRequest) => any;
|
|
705
415
|
}
|
|
706
|
-
|
|
707
|
-
* <p>Represents a log stream, which is a sequence of log events from
|
|
708
|
-
* a single emitter of logs.</p>
|
|
709
|
-
*/
|
|
416
|
+
|
|
710
417
|
export interface LogStream {
|
|
711
|
-
|
|
712
|
-
* <p>The name of the log stream.</p>
|
|
713
|
-
*/
|
|
418
|
+
|
|
714
419
|
logStreamName?: string;
|
|
715
|
-
|
|
716
|
-
* <p>The creation time of the stream, expressed as the number of milliseconds after Jan 1,
|
|
717
|
-
* 1970 00:00:00 UTC.</p>
|
|
718
|
-
*/
|
|
420
|
+
|
|
719
421
|
creationTime?: number;
|
|
720
|
-
|
|
721
|
-
* <p>The time of the first event, expressed as the number of milliseconds after Jan 1, 1970
|
|
722
|
-
* 00:00:00 UTC.</p>
|
|
723
|
-
*/
|
|
422
|
+
|
|
724
423
|
firstEventTimestamp?: number;
|
|
725
|
-
|
|
726
|
-
* <p>The time of the most recent log event in the log stream in CloudWatch Logs. This number
|
|
727
|
-
* is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The
|
|
728
|
-
* <code>lastEventTime</code> value updates on an eventual consistency basis. It typically
|
|
729
|
-
* updates in less than an hour from ingestion, but in rare situations might take
|
|
730
|
-
* longer.</p>
|
|
731
|
-
*/
|
|
424
|
+
|
|
732
425
|
lastEventTimestamp?: number;
|
|
733
|
-
|
|
734
|
-
* <p>The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
|
|
735
|
-
* UTC.</p>
|
|
736
|
-
*/
|
|
426
|
+
|
|
737
427
|
lastIngestionTime?: number;
|
|
738
|
-
|
|
739
|
-
* <p>The sequence token.</p>
|
|
740
|
-
*/
|
|
428
|
+
|
|
741
429
|
uploadSequenceToken?: string;
|
|
742
|
-
|
|
743
|
-
* <p>The Amazon Resource Name (ARN) of the log stream.</p>
|
|
744
|
-
*/
|
|
430
|
+
|
|
745
431
|
arn?: string;
|
|
746
|
-
|
|
747
|
-
* @deprecated
|
|
748
|
-
*
|
|
749
|
-
* <p>The number of bytes stored.</p>
|
|
750
|
-
* <p>
|
|
751
|
-
* <b>Important:</b> On June 17, 2019, this parameter was
|
|
752
|
-
* deprecated for log streams, and is always reported as zero. This change applies only to log
|
|
753
|
-
* streams. The <code>storedBytes</code> parameter for log groups is not affected.</p>
|
|
754
|
-
*/
|
|
432
|
+
|
|
755
433
|
storedBytes?: number;
|
|
756
434
|
}
|
|
757
435
|
export declare namespace LogStream {
|
|
758
|
-
|
|
759
|
-
* @internal
|
|
760
|
-
*/
|
|
436
|
+
|
|
761
437
|
const filterSensitiveLog: (obj: LogStream) => any;
|
|
762
438
|
}
|
|
763
439
|
export interface DescribeLogStreamsResponse {
|
|
764
|
-
|
|
765
|
-
* <p>The log streams.</p>
|
|
766
|
-
*/
|
|
440
|
+
|
|
767
441
|
logStreams?: LogStream[];
|
|
768
|
-
|
|
769
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
770
|
-
*/
|
|
442
|
+
|
|
771
443
|
nextToken?: string;
|
|
772
444
|
}
|
|
773
445
|
export declare namespace DescribeLogStreamsResponse {
|
|
774
|
-
|
|
775
|
-
* @internal
|
|
776
|
-
*/
|
|
446
|
+
|
|
777
447
|
const filterSensitiveLog: (obj: DescribeLogStreamsResponse) => any;
|
|
778
448
|
}
|
|
779
449
|
export interface DescribeMetricFiltersRequest {
|
|
780
|
-
|
|
781
|
-
* <p>The name of the log group.</p>
|
|
782
|
-
*/
|
|
450
|
+
|
|
783
451
|
logGroupName?: string;
|
|
784
|
-
|
|
785
|
-
* <p>The prefix to match. CloudWatch Logs uses the value you set here
|
|
786
|
-
* only if you also include the <code>logGroupName</code> parameter in your request.</p>
|
|
787
|
-
*/
|
|
452
|
+
|
|
788
453
|
filterNamePrefix?: string;
|
|
789
|
-
|
|
790
|
-
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
791
|
-
*/
|
|
454
|
+
|
|
792
455
|
nextToken?: string;
|
|
793
|
-
|
|
794
|
-
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
795
|
-
*/
|
|
456
|
+
|
|
796
457
|
limit?: number;
|
|
797
|
-
|
|
798
|
-
* <p>Filters results to include only those with the specified metric name. If you include this parameter in your request, you
|
|
799
|
-
* must also include the <code>metricNamespace</code> parameter.</p>
|
|
800
|
-
*/
|
|
458
|
+
|
|
801
459
|
metricName?: string;
|
|
802
|
-
|
|
803
|
-
* <p>Filters results to include only those in the specified namespace. If you include this parameter in your request, you
|
|
804
|
-
* must also include the <code>metricName</code> parameter.</p>
|
|
805
|
-
*/
|
|
460
|
+
|
|
806
461
|
metricNamespace?: string;
|
|
807
462
|
}
|
|
808
463
|
export declare namespace DescribeMetricFiltersRequest {
|
|
809
|
-
|
|
810
|
-
* @internal
|
|
811
|
-
*/
|
|
464
|
+
|
|
812
465
|
const filterSensitiveLog: (obj: DescribeMetricFiltersRequest) => any;
|
|
813
466
|
}
|
|
814
467
|
export declare enum StandardUnit {
|
|
@@ -840,112 +493,52 @@ export declare enum StandardUnit {
|
|
|
840
493
|
Terabytes = "Terabytes",
|
|
841
494
|
TerabytesSecond = "Terabytes/Second"
|
|
842
495
|
}
|
|
843
|
-
|
|
844
|
-
* <p>Indicates how to transform ingested log events to metric data in a CloudWatch
|
|
845
|
-
* metric.</p>
|
|
846
|
-
*/
|
|
496
|
+
|
|
847
497
|
export interface MetricTransformation {
|
|
848
|
-
|
|
849
|
-
* <p>The name of the CloudWatch metric.</p>
|
|
850
|
-
*/
|
|
498
|
+
|
|
851
499
|
metricName: string | undefined;
|
|
852
|
-
|
|
853
|
-
* <p>A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics
|
|
854
|
-
* that are similar. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace">Namespaces</a>.</p>
|
|
855
|
-
*/
|
|
500
|
+
|
|
856
501
|
metricNamespace: string | undefined;
|
|
857
|
-
|
|
858
|
-
* <p>The value to publish to the CloudWatch metric when a filter pattern matches a log event.</p>
|
|
859
|
-
*/
|
|
502
|
+
|
|
860
503
|
metricValue: string | undefined;
|
|
861
|
-
|
|
862
|
-
* <p>(Optional) The value to emit when a filter pattern does not match a log event.
|
|
863
|
-
* This value can be null.</p>
|
|
864
|
-
*/
|
|
504
|
+
|
|
865
505
|
defaultValue?: number;
|
|
866
|
-
|
|
867
|
-
* <p>The fields to use as dimensions for the metric. One metric filter can include
|
|
868
|
-
* as many as three dimensions.</p>
|
|
869
|
-
* <important>
|
|
870
|
-
* <p>Metrics extracted from log events are charged as custom metrics.
|
|
871
|
-
* To prevent unexpected high charges, do not specify high-cardinality fields such as
|
|
872
|
-
* <code>IPAddress</code> or <code>requestID</code> as dimensions. Each different value
|
|
873
|
-
* found for
|
|
874
|
-
* a dimension is treated as a separate metric and accrues charges as a separate custom metric.
|
|
875
|
-
* </p>
|
|
876
|
-
* <p>To help prevent accidental high charges, Amazon disables a metric filter
|
|
877
|
-
* if it generates 1000 different name/value pairs for the dimensions that you
|
|
878
|
-
* have specified within a certain amount of time.</p>
|
|
879
|
-
* <p>You can also set up a billing alarm to alert you if your charges are higher than
|
|
880
|
-
* expected. For more information,
|
|
881
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html">
|
|
882
|
-
* Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges</a>.
|
|
883
|
-
* </p>
|
|
884
|
-
* </important>
|
|
885
|
-
*/
|
|
506
|
+
|
|
886
507
|
dimensions?: {
|
|
887
508
|
[key: string]: string;
|
|
888
509
|
};
|
|
889
|
-
|
|
890
|
-
* <p>The unit to assign to the metric. If you omit this, the unit is set as <code>None</code>.</p>
|
|
891
|
-
*/
|
|
510
|
+
|
|
892
511
|
unit?: StandardUnit | string;
|
|
893
512
|
}
|
|
894
513
|
export declare namespace MetricTransformation {
|
|
895
|
-
|
|
896
|
-
* @internal
|
|
897
|
-
*/
|
|
514
|
+
|
|
898
515
|
const filterSensitiveLog: (obj: MetricTransformation) => any;
|
|
899
516
|
}
|
|
900
|
-
|
|
901
|
-
* <p>Metric filters express how CloudWatch Logs would extract metric observations
|
|
902
|
-
* from ingested log events and transform them into metric data in a CloudWatch metric.</p>
|
|
903
|
-
*/
|
|
517
|
+
|
|
904
518
|
export interface MetricFilter {
|
|
905
|
-
|
|
906
|
-
* <p>The name of the metric filter.</p>
|
|
907
|
-
*/
|
|
519
|
+
|
|
908
520
|
filterName?: string;
|
|
909
|
-
|
|
910
|
-
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
911
|
-
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
912
|
-
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
913
|
-
*/
|
|
521
|
+
|
|
914
522
|
filterPattern?: string;
|
|
915
|
-
|
|
916
|
-
* <p>The metric transformations.</p>
|
|
917
|
-
*/
|
|
523
|
+
|
|
918
524
|
metricTransformations?: MetricTransformation[];
|
|
919
|
-
|
|
920
|
-
* <p>The creation time of the metric filter, expressed as the number of milliseconds after
|
|
921
|
-
* Jan 1, 1970 00:00:00 UTC.</p>
|
|
922
|
-
*/
|
|
525
|
+
|
|
923
526
|
creationTime?: number;
|
|
924
|
-
|
|
925
|
-
* <p>The name of the log group.</p>
|
|
926
|
-
*/
|
|
527
|
+
|
|
927
528
|
logGroupName?: string;
|
|
928
529
|
}
|
|
929
530
|
export declare namespace MetricFilter {
|
|
930
|
-
|
|
931
|
-
* @internal
|
|
932
|
-
*/
|
|
531
|
+
|
|
933
532
|
const filterSensitiveLog: (obj: MetricFilter) => any;
|
|
934
533
|
}
|
|
935
534
|
export interface DescribeMetricFiltersResponse {
|
|
936
|
-
|
|
937
|
-
* <p>The metric filters.</p>
|
|
938
|
-
*/
|
|
535
|
+
|
|
939
536
|
metricFilters?: MetricFilter[];
|
|
940
|
-
|
|
941
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
942
|
-
*/
|
|
537
|
+
|
|
943
538
|
nextToken?: string;
|
|
944
539
|
}
|
|
945
540
|
export declare namespace DescribeMetricFiltersResponse {
|
|
946
|
-
|
|
947
|
-
* @internal
|
|
948
|
-
*/
|
|
541
|
+
|
|
949
542
|
const filterSensitiveLog: (obj: DescribeMetricFiltersResponse) => any;
|
|
950
543
|
}
|
|
951
544
|
export declare enum QueryStatus {
|
|
@@ -958,727 +551,387 @@ export declare enum QueryStatus {
|
|
|
958
551
|
Unknown = "Unknown"
|
|
959
552
|
}
|
|
960
553
|
export interface DescribeQueriesRequest {
|
|
961
|
-
|
|
962
|
-
* <p>Limits the returned queries to only those for the specified log group.</p>
|
|
963
|
-
*/
|
|
554
|
+
|
|
964
555
|
logGroupName?: string;
|
|
965
|
-
|
|
966
|
-
* <p>Limits the returned queries to only those that have the specified status. Valid values are <code>Cancelled</code>,
|
|
967
|
-
* <code>Complete</code>, <code>Failed</code>, <code>Running</code>, and <code>Scheduled</code>.</p>
|
|
968
|
-
*/
|
|
556
|
+
|
|
969
557
|
status?: QueryStatus | string;
|
|
970
|
-
|
|
971
|
-
* <p>Limits the number of returned queries to the specified number.</p>
|
|
972
|
-
*/
|
|
558
|
+
|
|
973
559
|
maxResults?: number;
|
|
974
|
-
|
|
975
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
976
|
-
*/
|
|
560
|
+
|
|
977
561
|
nextToken?: string;
|
|
978
562
|
}
|
|
979
563
|
export declare namespace DescribeQueriesRequest {
|
|
980
|
-
|
|
981
|
-
* @internal
|
|
982
|
-
*/
|
|
564
|
+
|
|
983
565
|
const filterSensitiveLog: (obj: DescribeQueriesRequest) => any;
|
|
984
566
|
}
|
|
985
|
-
|
|
986
|
-
* <p>Information about one CloudWatch Logs Insights query that matches the request in a <code>DescribeQueries</code> operation. </p>
|
|
987
|
-
*/
|
|
567
|
+
|
|
988
568
|
export interface QueryInfo {
|
|
989
|
-
|
|
990
|
-
* <p>The unique ID number of this query.</p>
|
|
991
|
-
*/
|
|
569
|
+
|
|
992
570
|
queryId?: string;
|
|
993
|
-
|
|
994
|
-
* <p>The query string used in this query.</p>
|
|
995
|
-
*/
|
|
571
|
+
|
|
996
572
|
queryString?: string;
|
|
997
|
-
|
|
998
|
-
* <p>The status of this query. Possible values are <code>Cancelled</code>,
|
|
999
|
-
* <code>Complete</code>, <code>Failed</code>, <code>Running</code>, <code>Scheduled</code>, and <code>Unknown</code>.</p>
|
|
1000
|
-
*/
|
|
573
|
+
|
|
1001
574
|
status?: QueryStatus | string;
|
|
1002
|
-
|
|
1003
|
-
* <p>The date and time that this query was created.</p>
|
|
1004
|
-
*/
|
|
575
|
+
|
|
1005
576
|
createTime?: number;
|
|
1006
|
-
|
|
1007
|
-
* <p>The name of the log group scanned by this query.</p>
|
|
1008
|
-
*/
|
|
577
|
+
|
|
1009
578
|
logGroupName?: string;
|
|
1010
579
|
}
|
|
1011
580
|
export declare namespace QueryInfo {
|
|
1012
|
-
|
|
1013
|
-
* @internal
|
|
1014
|
-
*/
|
|
581
|
+
|
|
1015
582
|
const filterSensitiveLog: (obj: QueryInfo) => any;
|
|
1016
583
|
}
|
|
1017
584
|
export interface DescribeQueriesResponse {
|
|
1018
|
-
|
|
1019
|
-
* <p>The list of queries that match the request.</p>
|
|
1020
|
-
*/
|
|
585
|
+
|
|
1021
586
|
queries?: QueryInfo[];
|
|
1022
|
-
|
|
1023
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1024
|
-
*/
|
|
587
|
+
|
|
1025
588
|
nextToken?: string;
|
|
1026
589
|
}
|
|
1027
590
|
export declare namespace DescribeQueriesResponse {
|
|
1028
|
-
|
|
1029
|
-
* @internal
|
|
1030
|
-
*/
|
|
591
|
+
|
|
1031
592
|
const filterSensitiveLog: (obj: DescribeQueriesResponse) => any;
|
|
1032
593
|
}
|
|
1033
594
|
export interface DescribeQueryDefinitionsRequest {
|
|
1034
|
-
|
|
1035
|
-
* <p>Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.</p>
|
|
1036
|
-
*/
|
|
595
|
+
|
|
1037
596
|
queryDefinitionNamePrefix?: string;
|
|
1038
|
-
|
|
1039
|
-
* <p>Limits the number of returned query definitions to the specified number.</p>
|
|
1040
|
-
*/
|
|
597
|
+
|
|
1041
598
|
maxResults?: number;
|
|
1042
|
-
|
|
1043
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1044
|
-
*/
|
|
599
|
+
|
|
1045
600
|
nextToken?: string;
|
|
1046
601
|
}
|
|
1047
602
|
export declare namespace DescribeQueryDefinitionsRequest {
|
|
1048
|
-
|
|
1049
|
-
* @internal
|
|
1050
|
-
*/
|
|
603
|
+
|
|
1051
604
|
const filterSensitiveLog: (obj: DescribeQueryDefinitionsRequest) => any;
|
|
1052
605
|
}
|
|
1053
|
-
|
|
1054
|
-
* <p>This structure contains details about a saved CloudWatch Logs Insights query definition.</p>
|
|
1055
|
-
*/
|
|
606
|
+
|
|
1056
607
|
export interface QueryDefinition {
|
|
1057
|
-
|
|
1058
|
-
* <p>The unique ID of the query definition.</p>
|
|
1059
|
-
*/
|
|
608
|
+
|
|
1060
609
|
queryDefinitionId?: string;
|
|
1061
|
-
|
|
1062
|
-
* <p>The name of the query definition.</p>
|
|
1063
|
-
*/
|
|
610
|
+
|
|
1064
611
|
name?: string;
|
|
1065
|
-
|
|
1066
|
-
* <p>The query string to use for this definition.
|
|
1067
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
1068
|
-
*/
|
|
612
|
+
|
|
1069
613
|
queryString?: string;
|
|
1070
|
-
|
|
1071
|
-
* <p>The date that the query definition was most recently modified.</p>
|
|
1072
|
-
*/
|
|
614
|
+
|
|
1073
615
|
lastModified?: number;
|
|
1074
|
-
|
|
1075
|
-
* <p>If this query definition contains a list of log groups that it is limited to, that list appears here.</p>
|
|
1076
|
-
*/
|
|
616
|
+
|
|
1077
617
|
logGroupNames?: string[];
|
|
1078
618
|
}
|
|
1079
619
|
export declare namespace QueryDefinition {
|
|
1080
|
-
|
|
1081
|
-
* @internal
|
|
1082
|
-
*/
|
|
620
|
+
|
|
1083
621
|
const filterSensitiveLog: (obj: QueryDefinition) => any;
|
|
1084
622
|
}
|
|
1085
623
|
export interface DescribeQueryDefinitionsResponse {
|
|
1086
|
-
|
|
1087
|
-
* <p>The list of query definitions that match your request.</p>
|
|
1088
|
-
*/
|
|
624
|
+
|
|
1089
625
|
queryDefinitions?: QueryDefinition[];
|
|
1090
|
-
|
|
1091
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1092
|
-
*/
|
|
626
|
+
|
|
1093
627
|
nextToken?: string;
|
|
1094
628
|
}
|
|
1095
629
|
export declare namespace DescribeQueryDefinitionsResponse {
|
|
1096
|
-
|
|
1097
|
-
* @internal
|
|
1098
|
-
*/
|
|
630
|
+
|
|
1099
631
|
const filterSensitiveLog: (obj: DescribeQueryDefinitionsResponse) => any;
|
|
1100
632
|
}
|
|
1101
633
|
export interface DescribeResourcePoliciesRequest {
|
|
1102
|
-
|
|
1103
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1104
|
-
*/
|
|
634
|
+
|
|
1105
635
|
nextToken?: string;
|
|
1106
|
-
|
|
1107
|
-
* <p>The maximum number of resource policies to be displayed with one call of this API.</p>
|
|
1108
|
-
*/
|
|
636
|
+
|
|
1109
637
|
limit?: number;
|
|
1110
638
|
}
|
|
1111
639
|
export declare namespace DescribeResourcePoliciesRequest {
|
|
1112
|
-
|
|
1113
|
-
* @internal
|
|
1114
|
-
*/
|
|
640
|
+
|
|
1115
641
|
const filterSensitiveLog: (obj: DescribeResourcePoliciesRequest) => any;
|
|
1116
642
|
}
|
|
1117
|
-
|
|
1118
|
-
* <p>A policy enabling one or more entities to put logs to a log group in this account.</p>
|
|
1119
|
-
*/
|
|
643
|
+
|
|
1120
644
|
export interface ResourcePolicy {
|
|
1121
|
-
|
|
1122
|
-
* <p>The name of the resource policy.</p>
|
|
1123
|
-
*/
|
|
645
|
+
|
|
1124
646
|
policyName?: string;
|
|
1125
|
-
|
|
1126
|
-
* <p>The details of the policy.</p>
|
|
1127
|
-
*/
|
|
647
|
+
|
|
1128
648
|
policyDocument?: string;
|
|
1129
|
-
|
|
1130
|
-
* <p>Timestamp showing when this policy was last updated, expressed as the number of
|
|
1131
|
-
* milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
|
|
1132
|
-
*/
|
|
649
|
+
|
|
1133
650
|
lastUpdatedTime?: number;
|
|
1134
651
|
}
|
|
1135
652
|
export declare namespace ResourcePolicy {
|
|
1136
|
-
|
|
1137
|
-
* @internal
|
|
1138
|
-
*/
|
|
653
|
+
|
|
1139
654
|
const filterSensitiveLog: (obj: ResourcePolicy) => any;
|
|
1140
655
|
}
|
|
1141
656
|
export interface DescribeResourcePoliciesResponse {
|
|
1142
|
-
|
|
1143
|
-
* <p>The resource policies that exist in this account.</p>
|
|
1144
|
-
*/
|
|
657
|
+
|
|
1145
658
|
resourcePolicies?: ResourcePolicy[];
|
|
1146
|
-
|
|
1147
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1148
|
-
*/
|
|
659
|
+
|
|
1149
660
|
nextToken?: string;
|
|
1150
661
|
}
|
|
1151
662
|
export declare namespace DescribeResourcePoliciesResponse {
|
|
1152
|
-
|
|
1153
|
-
* @internal
|
|
1154
|
-
*/
|
|
663
|
+
|
|
1155
664
|
const filterSensitiveLog: (obj: DescribeResourcePoliciesResponse) => any;
|
|
1156
665
|
}
|
|
1157
666
|
export interface DescribeSubscriptionFiltersRequest {
|
|
1158
|
-
|
|
1159
|
-
* <p>The name of the log group.</p>
|
|
1160
|
-
*/
|
|
667
|
+
|
|
1161
668
|
logGroupName: string | undefined;
|
|
1162
|
-
|
|
1163
|
-
* <p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>
|
|
1164
|
-
*/
|
|
669
|
+
|
|
1165
670
|
filterNamePrefix?: string;
|
|
1166
|
-
|
|
1167
|
-
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
1168
|
-
*/
|
|
671
|
+
|
|
1169
672
|
nextToken?: string;
|
|
1170
|
-
|
|
1171
|
-
* <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
|
|
1172
|
-
*/
|
|
673
|
+
|
|
1173
674
|
limit?: number;
|
|
1174
675
|
}
|
|
1175
676
|
export declare namespace DescribeSubscriptionFiltersRequest {
|
|
1176
|
-
|
|
1177
|
-
* @internal
|
|
1178
|
-
*/
|
|
677
|
+
|
|
1179
678
|
const filterSensitiveLog: (obj: DescribeSubscriptionFiltersRequest) => any;
|
|
1180
679
|
}
|
|
1181
680
|
export declare enum Distribution {
|
|
1182
681
|
ByLogStream = "ByLogStream",
|
|
1183
682
|
Random = "Random"
|
|
1184
683
|
}
|
|
1185
|
-
|
|
1186
|
-
* <p>Represents a subscription filter.</p>
|
|
1187
|
-
*/
|
|
684
|
+
|
|
1188
685
|
export interface SubscriptionFilter {
|
|
1189
|
-
|
|
1190
|
-
* <p>The name of the subscription filter.</p>
|
|
1191
|
-
*/
|
|
686
|
+
|
|
1192
687
|
filterName?: string;
|
|
1193
|
-
|
|
1194
|
-
* <p>The name of the log group.</p>
|
|
1195
|
-
*/
|
|
688
|
+
|
|
1196
689
|
logGroupName?: string;
|
|
1197
|
-
|
|
1198
|
-
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
1199
|
-
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
1200
|
-
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
1201
|
-
*/
|
|
690
|
+
|
|
1202
691
|
filterPattern?: string;
|
|
1203
|
-
|
|
1204
|
-
* <p>The Amazon Resource Name (ARN) of the destination.</p>
|
|
1205
|
-
*/
|
|
692
|
+
|
|
1206
693
|
destinationArn?: string;
|
|
1207
|
-
|
|
1208
|
-
* <p></p>
|
|
1209
|
-
*/
|
|
694
|
+
|
|
1210
695
|
roleArn?: string;
|
|
1211
|
-
|
|
1212
|
-
* <p>The method used to distribute log data to the destination, which can be either
|
|
1213
|
-
* random or grouped by log stream.</p>
|
|
1214
|
-
*/
|
|
696
|
+
|
|
1215
697
|
distribution?: Distribution | string;
|
|
1216
|
-
|
|
1217
|
-
* <p>The creation time of the subscription filter, expressed as the number of milliseconds
|
|
1218
|
-
* after Jan 1, 1970 00:00:00 UTC.</p>
|
|
1219
|
-
*/
|
|
698
|
+
|
|
1220
699
|
creationTime?: number;
|
|
1221
700
|
}
|
|
1222
701
|
export declare namespace SubscriptionFilter {
|
|
1223
|
-
|
|
1224
|
-
* @internal
|
|
1225
|
-
*/
|
|
702
|
+
|
|
1226
703
|
const filterSensitiveLog: (obj: SubscriptionFilter) => any;
|
|
1227
704
|
}
|
|
1228
705
|
export interface DescribeSubscriptionFiltersResponse {
|
|
1229
|
-
|
|
1230
|
-
* <p>The subscription filters.</p>
|
|
1231
|
-
*/
|
|
706
|
+
|
|
1232
707
|
subscriptionFilters?: SubscriptionFilter[];
|
|
1233
|
-
|
|
1234
|
-
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
1235
|
-
*/
|
|
708
|
+
|
|
1236
709
|
nextToken?: string;
|
|
1237
710
|
}
|
|
1238
711
|
export declare namespace DescribeSubscriptionFiltersResponse {
|
|
1239
|
-
|
|
1240
|
-
* @internal
|
|
1241
|
-
*/
|
|
712
|
+
|
|
1242
713
|
const filterSensitiveLog: (obj: DescribeSubscriptionFiltersResponse) => any;
|
|
1243
714
|
}
|
|
1244
715
|
export interface DisassociateKmsKeyRequest {
|
|
1245
|
-
|
|
1246
|
-
* <p>The name of the log group.</p>
|
|
1247
|
-
*/
|
|
716
|
+
|
|
1248
717
|
logGroupName: string | undefined;
|
|
1249
718
|
}
|
|
1250
719
|
export declare namespace DisassociateKmsKeyRequest {
|
|
1251
|
-
|
|
1252
|
-
* @internal
|
|
1253
|
-
*/
|
|
720
|
+
|
|
1254
721
|
const filterSensitiveLog: (obj: DisassociateKmsKeyRequest) => any;
|
|
1255
722
|
}
|
|
1256
|
-
|
|
1257
|
-
* <p>Represents a matched event.</p>
|
|
1258
|
-
*/
|
|
723
|
+
|
|
1259
724
|
export interface FilteredLogEvent {
|
|
1260
|
-
|
|
1261
|
-
* <p>The name of the log stream to which this event belongs.</p>
|
|
1262
|
-
*/
|
|
725
|
+
|
|
1263
726
|
logStreamName?: string;
|
|
1264
|
-
|
|
1265
|
-
* <p>The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970
|
|
1266
|
-
* 00:00:00 UTC.</p>
|
|
1267
|
-
*/
|
|
727
|
+
|
|
1268
728
|
timestamp?: number;
|
|
1269
|
-
|
|
1270
|
-
* <p>The data contained in the log event.</p>
|
|
1271
|
-
*/
|
|
729
|
+
|
|
1272
730
|
message?: string;
|
|
1273
|
-
|
|
1274
|
-
* <p>The time the event was ingested, expressed as the number of milliseconds after Jan 1,
|
|
1275
|
-
* 1970 00:00:00 UTC.</p>
|
|
1276
|
-
*/
|
|
731
|
+
|
|
1277
732
|
ingestionTime?: number;
|
|
1278
|
-
|
|
1279
|
-
* <p>The ID of the event.</p>
|
|
1280
|
-
*/
|
|
733
|
+
|
|
1281
734
|
eventId?: string;
|
|
1282
735
|
}
|
|
1283
736
|
export declare namespace FilteredLogEvent {
|
|
1284
|
-
|
|
1285
|
-
* @internal
|
|
1286
|
-
*/
|
|
737
|
+
|
|
1287
738
|
const filterSensitiveLog: (obj: FilteredLogEvent) => any;
|
|
1288
739
|
}
|
|
1289
740
|
export interface FilterLogEventsRequest {
|
|
1290
|
-
|
|
1291
|
-
* <p>The name of the log group to search.</p>
|
|
1292
|
-
*/
|
|
741
|
+
|
|
1293
742
|
logGroupName: string | undefined;
|
|
1294
|
-
|
|
1295
|
-
* <p>Filters the results to only logs from the log streams in this list.</p>
|
|
1296
|
-
* <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, the action
|
|
1297
|
-
* returns an <code>InvalidParameterException</code> error.</p>
|
|
1298
|
-
*/
|
|
743
|
+
|
|
1299
744
|
logStreamNames?: string[];
|
|
1300
|
-
|
|
1301
|
-
* <p>Filters the results to include only events from log streams that have names starting with this prefix.</p>
|
|
1302
|
-
* <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, but the value for
|
|
1303
|
-
* <code>logStreamNamePrefix</code> does not match any log stream names specified in <code>logStreamNames</code>, the action
|
|
1304
|
-
* returns an <code>InvalidParameterException</code> error.</p>
|
|
1305
|
-
*/
|
|
745
|
+
|
|
1306
746
|
logStreamNamePrefix?: string;
|
|
1307
|
-
|
|
1308
|
-
* <p>The start of the time range, expressed as the number of milliseconds after Jan 1, 1970
|
|
1309
|
-
* 00:00:00 UTC. Events with a timestamp before this time are not returned.</p>
|
|
1310
|
-
*/
|
|
747
|
+
|
|
1311
748
|
startTime?: number;
|
|
1312
|
-
|
|
1313
|
-
* <p>The end of the time range, expressed as the number of milliseconds after Jan 1, 1970
|
|
1314
|
-
* 00:00:00 UTC. Events with a timestamp later than this time are not returned.</p>
|
|
1315
|
-
*/
|
|
749
|
+
|
|
1316
750
|
endTime?: number;
|
|
1317
|
-
|
|
1318
|
-
* <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>
|
|
1319
|
-
* <p>If not provided, all the events are matched.</p>
|
|
1320
|
-
*/
|
|
751
|
+
|
|
1321
752
|
filterPattern?: string;
|
|
1322
|
-
|
|
1323
|
-
* <p>The token for the next set of events to return. (You received this token from a previous call.)</p>
|
|
1324
|
-
*/
|
|
753
|
+
|
|
1325
754
|
nextToken?: string;
|
|
1326
|
-
|
|
1327
|
-
* <p>The maximum number of events to return. The default is 10,000 events.</p>
|
|
1328
|
-
*/
|
|
755
|
+
|
|
1329
756
|
limit?: number;
|
|
1330
|
-
|
|
1331
|
-
* @deprecated
|
|
1332
|
-
*
|
|
1333
|
-
* <p>If the value is true, the operation makes a best effort to provide responses that
|
|
1334
|
-
* contain events from multiple log streams within the log group, interleaved in a single
|
|
1335
|
-
* response. If the value is false, all the matched log events in the first log stream are
|
|
1336
|
-
* searched first, then those in the next log stream, and so on. The default is false.</p>
|
|
1337
|
-
* <p>
|
|
1338
|
-
* <b>Important:</b> Starting on June 17, 2019, this parameter
|
|
1339
|
-
* is ignored and the value is assumed to be true. The response from this operation always
|
|
1340
|
-
* interleaves events from multiple log streams within a log group.</p>
|
|
1341
|
-
*/
|
|
757
|
+
|
|
1342
758
|
interleaved?: boolean;
|
|
1343
759
|
}
|
|
1344
760
|
export declare namespace FilterLogEventsRequest {
|
|
1345
|
-
|
|
1346
|
-
* @internal
|
|
1347
|
-
*/
|
|
761
|
+
|
|
1348
762
|
const filterSensitiveLog: (obj: FilterLogEventsRequest) => any;
|
|
1349
763
|
}
|
|
1350
|
-
|
|
1351
|
-
* <p>Represents the search status of a log stream.</p>
|
|
1352
|
-
*/
|
|
764
|
+
|
|
1353
765
|
export interface SearchedLogStream {
|
|
1354
|
-
|
|
1355
|
-
* <p>The name of the log stream.</p>
|
|
1356
|
-
*/
|
|
766
|
+
|
|
1357
767
|
logStreamName?: string;
|
|
1358
|
-
|
|
1359
|
-
* <p>Indicates whether all the events in this log stream were searched.</p>
|
|
1360
|
-
*/
|
|
768
|
+
|
|
1361
769
|
searchedCompletely?: boolean;
|
|
1362
770
|
}
|
|
1363
771
|
export declare namespace SearchedLogStream {
|
|
1364
|
-
|
|
1365
|
-
* @internal
|
|
1366
|
-
*/
|
|
772
|
+
|
|
1367
773
|
const filterSensitiveLog: (obj: SearchedLogStream) => any;
|
|
1368
774
|
}
|
|
1369
775
|
export interface FilterLogEventsResponse {
|
|
1370
|
-
|
|
1371
|
-
* <p>The matched events.</p>
|
|
1372
|
-
*/
|
|
776
|
+
|
|
1373
777
|
events?: FilteredLogEvent[];
|
|
1374
|
-
|
|
1375
|
-
* <p>
|
|
1376
|
-
* <b>IMPORTANT</b> Starting on May 15, 2020,
|
|
1377
|
-
* this parameter will be deprecated. This parameter will be an empty list
|
|
1378
|
-
* after the deprecation occurs.</p>
|
|
1379
|
-
* <p>Indicates which log streams have been searched and whether each has been searched completely.</p>
|
|
1380
|
-
*/
|
|
778
|
+
|
|
1381
779
|
searchedLogStreams?: SearchedLogStream[];
|
|
1382
|
-
|
|
1383
|
-
* <p>The token to use when requesting the next set of items. The token expires after 24 hours.</p>
|
|
1384
|
-
*/
|
|
780
|
+
|
|
1385
781
|
nextToken?: string;
|
|
1386
782
|
}
|
|
1387
783
|
export declare namespace FilterLogEventsResponse {
|
|
1388
|
-
|
|
1389
|
-
* @internal
|
|
1390
|
-
*/
|
|
784
|
+
|
|
1391
785
|
const filterSensitiveLog: (obj: FilterLogEventsResponse) => any;
|
|
1392
786
|
}
|
|
1393
787
|
export interface GetLogEventsRequest {
|
|
1394
|
-
|
|
1395
|
-
* <p>The name of the log group.</p>
|
|
1396
|
-
*/
|
|
788
|
+
|
|
1397
789
|
logGroupName: string | undefined;
|
|
1398
|
-
|
|
1399
|
-
* <p>The name of the log stream.</p>
|
|
1400
|
-
*/
|
|
790
|
+
|
|
1401
791
|
logStreamName: string | undefined;
|
|
1402
|
-
|
|
1403
|
-
* <p>The start of the time range, expressed as the number of milliseconds after Jan 1, 1970
|
|
1404
|
-
* 00:00:00 UTC. Events with a timestamp equal to this time or later than this time are included.
|
|
1405
|
-
* Events with a timestamp earlier than this time are not included.</p>
|
|
1406
|
-
*/
|
|
792
|
+
|
|
1407
793
|
startTime?: number;
|
|
1408
|
-
|
|
1409
|
-
* <p>The end of the time range, expressed as the number of milliseconds after Jan 1, 1970
|
|
1410
|
-
* 00:00:00 UTC. Events with a timestamp equal to or later than this time are not
|
|
1411
|
-
* included.</p>
|
|
1412
|
-
*/
|
|
794
|
+
|
|
1413
795
|
endTime?: number;
|
|
1414
|
-
|
|
1415
|
-
* <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
|
|
1416
|
-
*/
|
|
796
|
+
|
|
1417
797
|
nextToken?: string;
|
|
1418
|
-
|
|
1419
|
-
* <p>The maximum number of log events returned. If you don't specify a value, the maximum is
|
|
1420
|
-
* as many log events as can fit in a response size of 1 MB, up to 10,000 log events.</p>
|
|
1421
|
-
*/
|
|
798
|
+
|
|
1422
799
|
limit?: number;
|
|
1423
|
-
|
|
1424
|
-
* <p>If the value is true, the earliest log events are returned first.
|
|
1425
|
-
* If the value is false, the latest log events are returned first.
|
|
1426
|
-
* The default value is false.</p>
|
|
1427
|
-
* <p>If you are using a previous <code>nextForwardToken</code> value as the <code>nextToken</code> in this operation,
|
|
1428
|
-
* you must specify <code>true</code> for <code>startFromHead</code>.</p>
|
|
1429
|
-
*/
|
|
800
|
+
|
|
1430
801
|
startFromHead?: boolean;
|
|
1431
802
|
}
|
|
1432
803
|
export declare namespace GetLogEventsRequest {
|
|
1433
|
-
|
|
1434
|
-
* @internal
|
|
1435
|
-
*/
|
|
804
|
+
|
|
1436
805
|
const filterSensitiveLog: (obj: GetLogEventsRequest) => any;
|
|
1437
806
|
}
|
|
1438
|
-
|
|
1439
|
-
* <p>Represents a log event.</p>
|
|
1440
|
-
*/
|
|
807
|
+
|
|
1441
808
|
export interface OutputLogEvent {
|
|
1442
|
-
|
|
1443
|
-
* <p>The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970
|
|
1444
|
-
* 00:00:00 UTC.</p>
|
|
1445
|
-
*/
|
|
809
|
+
|
|
1446
810
|
timestamp?: number;
|
|
1447
|
-
|
|
1448
|
-
* <p>The data contained in the log event.</p>
|
|
1449
|
-
*/
|
|
811
|
+
|
|
1450
812
|
message?: string;
|
|
1451
|
-
|
|
1452
|
-
* <p>The time the event was ingested, expressed as the number of milliseconds after Jan 1,
|
|
1453
|
-
* 1970 00:00:00 UTC.</p>
|
|
1454
|
-
*/
|
|
813
|
+
|
|
1455
814
|
ingestionTime?: number;
|
|
1456
815
|
}
|
|
1457
816
|
export declare namespace OutputLogEvent {
|
|
1458
|
-
|
|
1459
|
-
* @internal
|
|
1460
|
-
*/
|
|
817
|
+
|
|
1461
818
|
const filterSensitiveLog: (obj: OutputLogEvent) => any;
|
|
1462
819
|
}
|
|
1463
820
|
export interface GetLogEventsResponse {
|
|
1464
|
-
|
|
1465
|
-
* <p>The events.</p>
|
|
1466
|
-
*/
|
|
821
|
+
|
|
1467
822
|
events?: OutputLogEvent[];
|
|
1468
|
-
|
|
1469
|
-
* <p>The token for the next set of items in the forward direction. The token expires after
|
|
1470
|
-
* 24 hours. If you have reached the end of the stream, it returns the same token you passed
|
|
1471
|
-
* in.</p>
|
|
1472
|
-
*/
|
|
823
|
+
|
|
1473
824
|
nextForwardToken?: string;
|
|
1474
|
-
|
|
1475
|
-
* <p>The token for the next set of items in the backward direction. The token expires after
|
|
1476
|
-
* 24 hours. This token is never null. If you have reached the end of the stream, it returns the
|
|
1477
|
-
* same token you passed in.</p>
|
|
1478
|
-
*/
|
|
825
|
+
|
|
1479
826
|
nextBackwardToken?: string;
|
|
1480
827
|
}
|
|
1481
828
|
export declare namespace GetLogEventsResponse {
|
|
1482
|
-
|
|
1483
|
-
* @internal
|
|
1484
|
-
*/
|
|
829
|
+
|
|
1485
830
|
const filterSensitiveLog: (obj: GetLogEventsResponse) => any;
|
|
1486
831
|
}
|
|
1487
832
|
export interface GetLogGroupFieldsRequest {
|
|
1488
|
-
|
|
1489
|
-
* <p>The name of the log group to search.</p>
|
|
1490
|
-
*/
|
|
833
|
+
|
|
1491
834
|
logGroupName: string | undefined;
|
|
1492
|
-
|
|
1493
|
-
* <p>The time to set as the center of the query. If you specify <code>time</code>, the 15 minutes
|
|
1494
|
-
* before this time are queries. If you omit <code>time</code> the 8
|
|
1495
|
-
* minutes before and 8 minutes after this time are searched.</p>
|
|
1496
|
-
* <p>The <code>time</code> value is specified as epoch time, the number of seconds since
|
|
1497
|
-
* January 1, 1970, 00:00:00 UTC.</p>
|
|
1498
|
-
*/
|
|
835
|
+
|
|
1499
836
|
time?: number;
|
|
1500
837
|
}
|
|
1501
838
|
export declare namespace GetLogGroupFieldsRequest {
|
|
1502
|
-
|
|
1503
|
-
* @internal
|
|
1504
|
-
*/
|
|
839
|
+
|
|
1505
840
|
const filterSensitiveLog: (obj: GetLogGroupFieldsRequest) => any;
|
|
1506
841
|
}
|
|
1507
|
-
|
|
1508
|
-
* <p>The fields contained in log events found by a <code>GetLogGroupFields</code> operation,
|
|
1509
|
-
* along with the percentage of queried log events in which each field appears.</p>
|
|
1510
|
-
*/
|
|
842
|
+
|
|
1511
843
|
export interface LogGroupField {
|
|
1512
|
-
|
|
1513
|
-
* <p>The name of a log field.</p>
|
|
1514
|
-
*/
|
|
844
|
+
|
|
1515
845
|
name?: string;
|
|
1516
|
-
|
|
1517
|
-
* <p>The percentage of log events queried that contained the field.</p>
|
|
1518
|
-
*/
|
|
846
|
+
|
|
1519
847
|
percent?: number;
|
|
1520
848
|
}
|
|
1521
849
|
export declare namespace LogGroupField {
|
|
1522
|
-
|
|
1523
|
-
* @internal
|
|
1524
|
-
*/
|
|
850
|
+
|
|
1525
851
|
const filterSensitiveLog: (obj: LogGroupField) => any;
|
|
1526
852
|
}
|
|
1527
853
|
export interface GetLogGroupFieldsResponse {
|
|
1528
|
-
|
|
1529
|
-
* <p>The array of fields found in the query. Each object in the array contains the name of the field, along with the
|
|
1530
|
-
* percentage of time it appeared in the log events that were queried.</p>
|
|
1531
|
-
*/
|
|
854
|
+
|
|
1532
855
|
logGroupFields?: LogGroupField[];
|
|
1533
856
|
}
|
|
1534
857
|
export declare namespace GetLogGroupFieldsResponse {
|
|
1535
|
-
|
|
1536
|
-
* @internal
|
|
1537
|
-
*/
|
|
858
|
+
|
|
1538
859
|
const filterSensitiveLog: (obj: GetLogGroupFieldsResponse) => any;
|
|
1539
860
|
}
|
|
1540
861
|
export interface GetLogRecordRequest {
|
|
1541
|
-
|
|
1542
|
-
* <p>The pointer corresponding to the log event record you want to retrieve. You get this from
|
|
1543
|
-
* the response of a <code>GetQueryResults</code> operation. In that response, the value of the
|
|
1544
|
-
* <code>@ptr</code> field for a log event is the value to use as <code>logRecordPointer</code>
|
|
1545
|
-
* to retrieve that complete log event record.</p>
|
|
1546
|
-
*/
|
|
862
|
+
|
|
1547
863
|
logRecordPointer: string | undefined;
|
|
1548
864
|
}
|
|
1549
865
|
export declare namespace GetLogRecordRequest {
|
|
1550
|
-
|
|
1551
|
-
* @internal
|
|
1552
|
-
*/
|
|
866
|
+
|
|
1553
867
|
const filterSensitiveLog: (obj: GetLogRecordRequest) => any;
|
|
1554
868
|
}
|
|
1555
869
|
export interface GetLogRecordResponse {
|
|
1556
|
-
|
|
1557
|
-
* <p>The requested log event, as a JSON string.</p>
|
|
1558
|
-
*/
|
|
870
|
+
|
|
1559
871
|
logRecord?: {
|
|
1560
872
|
[key: string]: string;
|
|
1561
873
|
};
|
|
1562
874
|
}
|
|
1563
875
|
export declare namespace GetLogRecordResponse {
|
|
1564
|
-
|
|
1565
|
-
* @internal
|
|
1566
|
-
*/
|
|
876
|
+
|
|
1567
877
|
const filterSensitiveLog: (obj: GetLogRecordResponse) => any;
|
|
1568
878
|
}
|
|
1569
879
|
export interface GetQueryResultsRequest {
|
|
1570
|
-
|
|
1571
|
-
* <p>The ID number of the query.</p>
|
|
1572
|
-
*/
|
|
880
|
+
|
|
1573
881
|
queryId: string | undefined;
|
|
1574
882
|
}
|
|
1575
883
|
export declare namespace GetQueryResultsRequest {
|
|
1576
|
-
|
|
1577
|
-
* @internal
|
|
1578
|
-
*/
|
|
884
|
+
|
|
1579
885
|
const filterSensitiveLog: (obj: GetQueryResultsRequest) => any;
|
|
1580
886
|
}
|
|
1581
|
-
|
|
1582
|
-
* <p>Contains one field from one log event returned by a CloudWatch Logs Insights query, along with the value of that field.</p>
|
|
1583
|
-
* <p>For more information about the fields that are
|
|
1584
|
-
* generated by CloudWatch logs, see
|
|
1585
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html">Supported Logs and Discovered Fields</a>.</p>
|
|
1586
|
-
*/
|
|
887
|
+
|
|
1587
888
|
export interface ResultField {
|
|
1588
|
-
|
|
1589
|
-
* <p>The log event field.</p>
|
|
1590
|
-
*/
|
|
889
|
+
|
|
1591
890
|
field?: string;
|
|
1592
|
-
|
|
1593
|
-
* <p>The value of this field.</p>
|
|
1594
|
-
*/
|
|
891
|
+
|
|
1595
892
|
value?: string;
|
|
1596
893
|
}
|
|
1597
894
|
export declare namespace ResultField {
|
|
1598
|
-
|
|
1599
|
-
* @internal
|
|
1600
|
-
*/
|
|
895
|
+
|
|
1601
896
|
const filterSensitiveLog: (obj: ResultField) => any;
|
|
1602
897
|
}
|
|
1603
|
-
|
|
1604
|
-
* <p>Contains the number of log events scanned by the query, the number of log events that matched the
|
|
1605
|
-
* query criteria, and the total number of bytes in the log events that were scanned.</p>
|
|
1606
|
-
*/
|
|
898
|
+
|
|
1607
899
|
export interface QueryStatistics {
|
|
1608
|
-
|
|
1609
|
-
* <p>The number of log events that matched the query string.</p>
|
|
1610
|
-
*/
|
|
900
|
+
|
|
1611
901
|
recordsMatched?: number;
|
|
1612
|
-
|
|
1613
|
-
* <p>The total number of log events scanned during the query.</p>
|
|
1614
|
-
*/
|
|
902
|
+
|
|
1615
903
|
recordsScanned?: number;
|
|
1616
|
-
|
|
1617
|
-
* <p>The total number of bytes in the log events scanned during the query.</p>
|
|
1618
|
-
*/
|
|
904
|
+
|
|
1619
905
|
bytesScanned?: number;
|
|
1620
906
|
}
|
|
1621
907
|
export declare namespace QueryStatistics {
|
|
1622
|
-
|
|
1623
|
-
* @internal
|
|
1624
|
-
*/
|
|
908
|
+
|
|
1625
909
|
const filterSensitiveLog: (obj: QueryStatistics) => any;
|
|
1626
910
|
}
|
|
1627
911
|
export interface GetQueryResultsResponse {
|
|
1628
|
-
|
|
1629
|
-
* <p>The log events that matched the query criteria during the most recent time it ran.</p>
|
|
1630
|
-
* <p>The <code>results</code> value is an array of arrays. Each log event is one object in the
|
|
1631
|
-
* top-level array. Each of these log event objects is an array of
|
|
1632
|
-
* <code>field</code>/<code>value</code> pairs.</p>
|
|
1633
|
-
*/
|
|
912
|
+
|
|
1634
913
|
results?: ResultField[][];
|
|
1635
|
-
|
|
1636
|
-
* <p>Includes the number of log events scanned by the query, the number of log events that matched the
|
|
1637
|
-
* query criteria, and the total number of bytes in the log events that were scanned. These values
|
|
1638
|
-
* reflect the full raw results of the query.</p>
|
|
1639
|
-
*/
|
|
914
|
+
|
|
1640
915
|
statistics?: QueryStatistics;
|
|
1641
|
-
|
|
1642
|
-
* <p>The status of the most recent running of the query. Possible values are <code>Cancelled</code>,
|
|
1643
|
-
* <code>Complete</code>, <code>Failed</code>, <code>Running</code>, <code>Scheduled</code>,
|
|
1644
|
-
* <code>Timeout</code>, and <code>Unknown</code>.</p>
|
|
1645
|
-
* <p>Queries time out after 15 minutes of execution. To avoid having your queries time out,
|
|
1646
|
-
* reduce the time range being searched or partition your query into a number of queries.</p>
|
|
1647
|
-
*/
|
|
916
|
+
|
|
1648
917
|
status?: QueryStatus | string;
|
|
1649
918
|
}
|
|
1650
919
|
export declare namespace GetQueryResultsResponse {
|
|
1651
|
-
|
|
1652
|
-
* @internal
|
|
1653
|
-
*/
|
|
920
|
+
|
|
1654
921
|
const filterSensitiveLog: (obj: GetQueryResultsResponse) => any;
|
|
1655
922
|
}
|
|
1656
|
-
|
|
1657
|
-
* <p>Represents a log event, which is a record of activity that was recorded
|
|
1658
|
-
* by the application or resource being monitored.</p>
|
|
1659
|
-
*/
|
|
923
|
+
|
|
1660
924
|
export interface InputLogEvent {
|
|
1661
|
-
|
|
1662
|
-
* <p>The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970
|
|
1663
|
-
* 00:00:00 UTC.</p>
|
|
1664
|
-
*/
|
|
925
|
+
|
|
1665
926
|
timestamp: number | undefined;
|
|
1666
|
-
|
|
1667
|
-
* <p>The raw event message.</p>
|
|
1668
|
-
*/
|
|
927
|
+
|
|
1669
928
|
message: string | undefined;
|
|
1670
929
|
}
|
|
1671
930
|
export declare namespace InputLogEvent {
|
|
1672
|
-
|
|
1673
|
-
* @internal
|
|
1674
|
-
*/
|
|
931
|
+
|
|
1675
932
|
const filterSensitiveLog: (obj: InputLogEvent) => any;
|
|
1676
933
|
}
|
|
1677
|
-
|
|
1678
|
-
* <p>The sequence token is not valid. You can get the correct sequence token in
|
|
1679
|
-
* the <code>expectedSequenceToken</code> field in the <code>InvalidSequenceTokenException</code>
|
|
1680
|
-
* message. </p>
|
|
1681
|
-
*/
|
|
934
|
+
|
|
1682
935
|
export interface InvalidSequenceTokenException extends __SmithyException, $MetadataBearer {
|
|
1683
936
|
name: "InvalidSequenceTokenException";
|
|
1684
937
|
$fault: "client";
|
|
@@ -1686,609 +939,314 @@ export interface InvalidSequenceTokenException extends __SmithyException, $Metad
|
|
|
1686
939
|
message?: string;
|
|
1687
940
|
}
|
|
1688
941
|
export declare namespace InvalidSequenceTokenException {
|
|
1689
|
-
|
|
1690
|
-
* @internal
|
|
1691
|
-
*/
|
|
942
|
+
|
|
1692
943
|
const filterSensitiveLog: (obj: InvalidSequenceTokenException) => any;
|
|
1693
944
|
}
|
|
1694
945
|
export interface ListTagsLogGroupRequest {
|
|
1695
|
-
|
|
1696
|
-
* <p>The name of the log group.</p>
|
|
1697
|
-
*/
|
|
946
|
+
|
|
1698
947
|
logGroupName: string | undefined;
|
|
1699
948
|
}
|
|
1700
949
|
export declare namespace ListTagsLogGroupRequest {
|
|
1701
|
-
|
|
1702
|
-
* @internal
|
|
1703
|
-
*/
|
|
950
|
+
|
|
1704
951
|
const filterSensitiveLog: (obj: ListTagsLogGroupRequest) => any;
|
|
1705
952
|
}
|
|
1706
953
|
export interface ListTagsLogGroupResponse {
|
|
1707
|
-
|
|
1708
|
-
* <p>The tags for the log group.</p>
|
|
1709
|
-
*/
|
|
954
|
+
|
|
1710
955
|
tags?: {
|
|
1711
956
|
[key: string]: string;
|
|
1712
957
|
};
|
|
1713
958
|
}
|
|
1714
959
|
export declare namespace ListTagsLogGroupResponse {
|
|
1715
|
-
|
|
1716
|
-
* @internal
|
|
1717
|
-
*/
|
|
960
|
+
|
|
1718
961
|
const filterSensitiveLog: (obj: ListTagsLogGroupResponse) => any;
|
|
1719
962
|
}
|
|
1720
963
|
export interface PutDestinationRequest {
|
|
1721
|
-
|
|
1722
|
-
* <p>A name for the destination.</p>
|
|
1723
|
-
*/
|
|
964
|
+
|
|
1724
965
|
destinationName: string | undefined;
|
|
1725
|
-
|
|
1726
|
-
* <p>The ARN of an Amazon Kinesis stream to which to deliver matching log events.</p>
|
|
1727
|
-
*/
|
|
966
|
+
|
|
1728
967
|
targetArn: string | undefined;
|
|
1729
|
-
|
|
1730
|
-
* <p>The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon
|
|
1731
|
-
* Kinesis <code>PutRecord</code> operation on the destination stream.</p>
|
|
1732
|
-
*/
|
|
968
|
+
|
|
1733
969
|
roleArn: string | undefined;
|
|
1734
970
|
}
|
|
1735
971
|
export declare namespace PutDestinationRequest {
|
|
1736
|
-
|
|
1737
|
-
* @internal
|
|
1738
|
-
*/
|
|
972
|
+
|
|
1739
973
|
const filterSensitiveLog: (obj: PutDestinationRequest) => any;
|
|
1740
974
|
}
|
|
1741
975
|
export interface PutDestinationResponse {
|
|
1742
|
-
|
|
1743
|
-
* <p>The destination.</p>
|
|
1744
|
-
*/
|
|
976
|
+
|
|
1745
977
|
destination?: Destination;
|
|
1746
978
|
}
|
|
1747
979
|
export declare namespace PutDestinationResponse {
|
|
1748
|
-
|
|
1749
|
-
* @internal
|
|
1750
|
-
*/
|
|
980
|
+
|
|
1751
981
|
const filterSensitiveLog: (obj: PutDestinationResponse) => any;
|
|
1752
982
|
}
|
|
1753
983
|
export interface PutDestinationPolicyRequest {
|
|
1754
|
-
|
|
1755
|
-
* <p>A name for an existing destination.</p>
|
|
1756
|
-
*/
|
|
984
|
+
|
|
1757
985
|
destinationName: string | undefined;
|
|
1758
|
-
|
|
1759
|
-
* <p>An IAM policy document that authorizes cross-account users to deliver their log events
|
|
1760
|
-
* to the associated destination. This can be up to 5120 bytes.</p>
|
|
1761
|
-
*/
|
|
986
|
+
|
|
1762
987
|
accessPolicy: string | undefined;
|
|
1763
988
|
}
|
|
1764
989
|
export declare namespace PutDestinationPolicyRequest {
|
|
1765
|
-
|
|
1766
|
-
* @internal
|
|
1767
|
-
*/
|
|
990
|
+
|
|
1768
991
|
const filterSensitiveLog: (obj: PutDestinationPolicyRequest) => any;
|
|
1769
992
|
}
|
|
1770
993
|
export interface PutLogEventsRequest {
|
|
1771
|
-
|
|
1772
|
-
* <p>The name of the log group.</p>
|
|
1773
|
-
*/
|
|
994
|
+
|
|
1774
995
|
logGroupName: string | undefined;
|
|
1775
|
-
|
|
1776
|
-
* <p>The name of the log stream.</p>
|
|
1777
|
-
*/
|
|
996
|
+
|
|
1778
997
|
logStreamName: string | undefined;
|
|
1779
|
-
|
|
1780
|
-
* <p>The log events.</p>
|
|
1781
|
-
*/
|
|
998
|
+
|
|
1782
999
|
logEvents: InputLogEvent[] | undefined;
|
|
1783
|
-
|
|
1784
|
-
* <p>The sequence token obtained from the response of the previous <code>PutLogEvents</code>
|
|
1785
|
-
* call. An upload in a newly created log stream does not require a sequence token. You can also
|
|
1786
|
-
* get the sequence token using <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html">DescribeLogStreams</a>. If you call <code>PutLogEvents</code> twice within a narrow
|
|
1787
|
-
* time period using the same value for <code>sequenceToken</code>, both calls might be
|
|
1788
|
-
* successful or one might be rejected.</p>
|
|
1789
|
-
*/
|
|
1000
|
+
|
|
1790
1001
|
sequenceToken?: string;
|
|
1791
1002
|
}
|
|
1792
1003
|
export declare namespace PutLogEventsRequest {
|
|
1793
|
-
|
|
1794
|
-
* @internal
|
|
1795
|
-
*/
|
|
1004
|
+
|
|
1796
1005
|
const filterSensitiveLog: (obj: PutLogEventsRequest) => any;
|
|
1797
1006
|
}
|
|
1798
|
-
|
|
1799
|
-
* <p>Represents the rejected events.</p>
|
|
1800
|
-
*/
|
|
1007
|
+
|
|
1801
1008
|
export interface RejectedLogEventsInfo {
|
|
1802
|
-
|
|
1803
|
-
* <p>The log events that are too new.</p>
|
|
1804
|
-
*/
|
|
1009
|
+
|
|
1805
1010
|
tooNewLogEventStartIndex?: number;
|
|
1806
|
-
|
|
1807
|
-
* <p>The log events that are too old.</p>
|
|
1808
|
-
*/
|
|
1011
|
+
|
|
1809
1012
|
tooOldLogEventEndIndex?: number;
|
|
1810
|
-
|
|
1811
|
-
* <p>The expired log events.</p>
|
|
1812
|
-
*/
|
|
1013
|
+
|
|
1813
1014
|
expiredLogEventEndIndex?: number;
|
|
1814
1015
|
}
|
|
1815
1016
|
export declare namespace RejectedLogEventsInfo {
|
|
1816
|
-
|
|
1817
|
-
* @internal
|
|
1818
|
-
*/
|
|
1017
|
+
|
|
1819
1018
|
const filterSensitiveLog: (obj: RejectedLogEventsInfo) => any;
|
|
1820
1019
|
}
|
|
1821
1020
|
export interface PutLogEventsResponse {
|
|
1822
|
-
|
|
1823
|
-
* <p>The next sequence token.</p>
|
|
1824
|
-
*/
|
|
1021
|
+
|
|
1825
1022
|
nextSequenceToken?: string;
|
|
1826
|
-
|
|
1827
|
-
* <p>The rejected events.</p>
|
|
1828
|
-
*/
|
|
1023
|
+
|
|
1829
1024
|
rejectedLogEventsInfo?: RejectedLogEventsInfo;
|
|
1830
1025
|
}
|
|
1831
1026
|
export declare namespace PutLogEventsResponse {
|
|
1832
|
-
|
|
1833
|
-
* @internal
|
|
1834
|
-
*/
|
|
1027
|
+
|
|
1835
1028
|
const filterSensitiveLog: (obj: PutLogEventsResponse) => any;
|
|
1836
1029
|
}
|
|
1837
|
-
|
|
1838
|
-
* <p>The most likely cause is an invalid Amazon Web Services access key ID or secret key.</p>
|
|
1839
|
-
*/
|
|
1030
|
+
|
|
1840
1031
|
export interface UnrecognizedClientException extends __SmithyException, $MetadataBearer {
|
|
1841
1032
|
name: "UnrecognizedClientException";
|
|
1842
1033
|
$fault: "client";
|
|
1843
1034
|
message?: string;
|
|
1844
1035
|
}
|
|
1845
1036
|
export declare namespace UnrecognizedClientException {
|
|
1846
|
-
|
|
1847
|
-
* @internal
|
|
1848
|
-
*/
|
|
1037
|
+
|
|
1849
1038
|
const filterSensitiveLog: (obj: UnrecognizedClientException) => any;
|
|
1850
1039
|
}
|
|
1851
1040
|
export interface PutMetricFilterRequest {
|
|
1852
|
-
|
|
1853
|
-
* <p>The name of the log group.</p>
|
|
1854
|
-
*/
|
|
1041
|
+
|
|
1855
1042
|
logGroupName: string | undefined;
|
|
1856
|
-
|
|
1857
|
-
* <p>A name for the metric filter.</p>
|
|
1858
|
-
*/
|
|
1043
|
+
|
|
1859
1044
|
filterName: string | undefined;
|
|
1860
|
-
|
|
1861
|
-
* <p>A filter pattern for extracting metric data out of ingested log events.</p>
|
|
1862
|
-
*/
|
|
1045
|
+
|
|
1863
1046
|
filterPattern: string | undefined;
|
|
1864
|
-
|
|
1865
|
-
* <p>A collection of information that defines how metric data gets emitted.</p>
|
|
1866
|
-
*/
|
|
1047
|
+
|
|
1867
1048
|
metricTransformations: MetricTransformation[] | undefined;
|
|
1868
1049
|
}
|
|
1869
1050
|
export declare namespace PutMetricFilterRequest {
|
|
1870
|
-
|
|
1871
|
-
* @internal
|
|
1872
|
-
*/
|
|
1051
|
+
|
|
1873
1052
|
const filterSensitiveLog: (obj: PutMetricFilterRequest) => any;
|
|
1874
1053
|
}
|
|
1875
1054
|
export interface PutQueryDefinitionRequest {
|
|
1876
|
-
|
|
1877
|
-
* <p>A name for the query definition. If you are saving a lot of query definitions, we
|
|
1878
|
-
* recommend that you name them so that you can easily find the ones you want by using the first
|
|
1879
|
-
* part 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>
|
|
1880
|
-
*/
|
|
1055
|
+
|
|
1881
1056
|
name: string | undefined;
|
|
1882
|
-
|
|
1883
|
-
* <p>If you are updating a query definition, use this parameter to specify the ID of the query
|
|
1884
|
-
* 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
|
|
1885
|
-
* definitions.</p>
|
|
1886
|
-
* <p>If you are creating a query definition, do not specify this parameter. CloudWatch
|
|
1887
|
-
* generates a unique ID for the new query definition and include it in the response to this
|
|
1888
|
-
* operation.</p>
|
|
1889
|
-
*/
|
|
1057
|
+
|
|
1890
1058
|
queryDefinitionId?: string;
|
|
1891
|
-
|
|
1892
|
-
* <p>Use this parameter to include specific log groups as part of your query definition.</p>
|
|
1893
|
-
* <p>If you are updating a query definition and you omit this parameter, then the updated
|
|
1894
|
-
* definition will contain no log groups.</p>
|
|
1895
|
-
*/
|
|
1059
|
+
|
|
1896
1060
|
logGroupNames?: string[];
|
|
1897
|
-
|
|
1898
|
-
* <p>The query string to use for this definition.
|
|
1899
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
1900
|
-
*/
|
|
1061
|
+
|
|
1901
1062
|
queryString: string | undefined;
|
|
1902
1063
|
}
|
|
1903
1064
|
export declare namespace PutQueryDefinitionRequest {
|
|
1904
|
-
|
|
1905
|
-
* @internal
|
|
1906
|
-
*/
|
|
1065
|
+
|
|
1907
1066
|
const filterSensitiveLog: (obj: PutQueryDefinitionRequest) => any;
|
|
1908
1067
|
}
|
|
1909
1068
|
export interface PutQueryDefinitionResponse {
|
|
1910
|
-
|
|
1911
|
-
* <p>The ID of the query definition.</p>
|
|
1912
|
-
*/
|
|
1069
|
+
|
|
1913
1070
|
queryDefinitionId?: string;
|
|
1914
1071
|
}
|
|
1915
1072
|
export declare namespace PutQueryDefinitionResponse {
|
|
1916
|
-
|
|
1917
|
-
* @internal
|
|
1918
|
-
*/
|
|
1073
|
+
|
|
1919
1074
|
const filterSensitiveLog: (obj: PutQueryDefinitionResponse) => any;
|
|
1920
1075
|
}
|
|
1921
1076
|
export interface PutResourcePolicyRequest {
|
|
1922
|
-
|
|
1923
|
-
* <p>Name of the new policy. This parameter is required.</p>
|
|
1924
|
-
*/
|
|
1077
|
+
|
|
1925
1078
|
policyName?: string;
|
|
1926
|
-
|
|
1927
|
-
* <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.
|
|
1928
|
-
* This parameter is required.</p>
|
|
1929
|
-
* <p>The following example creates a resource policy enabling the Route 53 service to put
|
|
1930
|
-
* DNS query logs in to the specified log group. Replace <code>"logArn"</code> with the ARN of
|
|
1931
|
-
* your CloudWatch Logs resource, such as a log group or log stream.</p>
|
|
1932
|
-
* <p>CloudWatch Logs also supports <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourcearn">aws:SourceArn</a>
|
|
1933
|
-
* and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourceaccount">aws:SourceAccount</a>
|
|
1934
|
-
* condition context keys.</p>
|
|
1935
|
-
* <p>In the example resource policy, you would replace the value of <code>SourceArn</code> with the resource making the
|
|
1936
|
-
* call from Route 53 to CloudWatch Logs and replace the value of <code>SourceAccount</code> with
|
|
1937
|
-
* the Amazon Web Services account ID making that call.</p>
|
|
1938
|
-
* <p></p>
|
|
1939
|
-
* <p>
|
|
1940
|
-
* <code>{
|
|
1941
|
-
* "Version": "2012-10-17",
|
|
1942
|
-
* "Statement": [
|
|
1943
|
-
* {
|
|
1944
|
-
* "Sid": "Route53LogsToCloudWatchLogs",
|
|
1945
|
-
* "Effect": "Allow",
|
|
1946
|
-
* "Principal": {
|
|
1947
|
-
* "Service": [
|
|
1948
|
-
* "route53.amazonaws.com"
|
|
1949
|
-
* ]
|
|
1950
|
-
* },
|
|
1951
|
-
* "Action": "logs:PutLogEvents",
|
|
1952
|
-
* "Resource": "logArn",
|
|
1953
|
-
* "Condition": {
|
|
1954
|
-
* "ArnLike": {
|
|
1955
|
-
* "aws:SourceArn": "myRoute53ResourceArn"
|
|
1956
|
-
* },
|
|
1957
|
-
* "StringEquals": {
|
|
1958
|
-
* "aws:SourceAccount": "myAwsAccountId"
|
|
1959
|
-
* }
|
|
1960
|
-
* }
|
|
1961
|
-
* }
|
|
1962
|
-
* ]
|
|
1963
|
-
* }</code>
|
|
1964
|
-
*
|
|
1965
|
-
* </p>
|
|
1966
|
-
*/
|
|
1079
|
+
|
|
1967
1080
|
policyDocument?: string;
|
|
1968
1081
|
}
|
|
1969
1082
|
export declare namespace PutResourcePolicyRequest {
|
|
1970
|
-
|
|
1971
|
-
* @internal
|
|
1972
|
-
*/
|
|
1083
|
+
|
|
1973
1084
|
const filterSensitiveLog: (obj: PutResourcePolicyRequest) => any;
|
|
1974
1085
|
}
|
|
1975
1086
|
export interface PutResourcePolicyResponse {
|
|
1976
|
-
|
|
1977
|
-
* <p>The new policy.</p>
|
|
1978
|
-
*/
|
|
1087
|
+
|
|
1979
1088
|
resourcePolicy?: ResourcePolicy;
|
|
1980
1089
|
}
|
|
1981
1090
|
export declare namespace PutResourcePolicyResponse {
|
|
1982
|
-
|
|
1983
|
-
* @internal
|
|
1984
|
-
*/
|
|
1091
|
+
|
|
1985
1092
|
const filterSensitiveLog: (obj: PutResourcePolicyResponse) => any;
|
|
1986
1093
|
}
|
|
1987
1094
|
export interface PutRetentionPolicyRequest {
|
|
1988
|
-
|
|
1989
|
-
* <p>The name of the log group.</p>
|
|
1990
|
-
*/
|
|
1095
|
+
|
|
1991
1096
|
logGroupName: string | undefined;
|
|
1992
|
-
|
|
1993
|
-
* <p>The number of days to retain the log events in the specified log group.
|
|
1994
|
-
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p>
|
|
1995
|
-
* <p>To set a log group to never have log events expire, use
|
|
1996
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>.
|
|
1997
|
-
* </p>
|
|
1998
|
-
*/
|
|
1097
|
+
|
|
1999
1098
|
retentionInDays: number | undefined;
|
|
2000
1099
|
}
|
|
2001
1100
|
export declare namespace PutRetentionPolicyRequest {
|
|
2002
|
-
|
|
2003
|
-
* @internal
|
|
2004
|
-
*/
|
|
1101
|
+
|
|
2005
1102
|
const filterSensitiveLog: (obj: PutRetentionPolicyRequest) => any;
|
|
2006
1103
|
}
|
|
2007
1104
|
export interface PutSubscriptionFilterRequest {
|
|
2008
|
-
|
|
2009
|
-
* <p>The name of the log group.</p>
|
|
2010
|
-
*/
|
|
1105
|
+
|
|
2011
1106
|
logGroupName: string | undefined;
|
|
2012
|
-
|
|
2013
|
-
* <p>A name for the subscription filter. If you are updating an existing filter, you must
|
|
2014
|
-
* specify the correct name in <code>filterName</code>. To find the name of the filter currently
|
|
2015
|
-
* associated with a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeSubscriptionFilters.html">DescribeSubscriptionFilters</a>.</p>
|
|
2016
|
-
*/
|
|
1107
|
+
|
|
2017
1108
|
filterName: string | undefined;
|
|
2018
|
-
|
|
2019
|
-
* <p>A filter pattern for subscribing to a filtered stream of log events.</p>
|
|
2020
|
-
*/
|
|
1109
|
+
|
|
2021
1110
|
filterPattern: string | undefined;
|
|
2022
|
-
|
|
2023
|
-
* <p>The ARN of the destination to deliver matching log events to. Currently, the supported
|
|
2024
|
-
* destinations are:</p>
|
|
2025
|
-
* <ul>
|
|
2026
|
-
* <li>
|
|
2027
|
-
* <p>An Amazon Kinesis stream belonging to the same account as the subscription filter,
|
|
2028
|
-
* for same-account delivery.</p>
|
|
2029
|
-
* </li>
|
|
2030
|
-
* <li>
|
|
2031
|
-
* <p>A logical destination (specified using an ARN) belonging to a different account,
|
|
2032
|
-
* for cross-account delivery.</p>
|
|
2033
|
-
* <p>If you are setting up a cross-account subscription, the destination must have an
|
|
2034
|
-
* IAM policy associated with it that allows the sender to send logs to the destination.
|
|
2035
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html">PutDestinationPolicy</a>.</p>
|
|
2036
|
-
* </li>
|
|
2037
|
-
* <li>
|
|
2038
|
-
* <p>An Amazon Kinesis Firehose delivery stream belonging to the same account as the
|
|
2039
|
-
* subscription filter, for same-account delivery.</p>
|
|
2040
|
-
* </li>
|
|
2041
|
-
* <li>
|
|
2042
|
-
* <p>A Lambda function belonging to the same account as the subscription filter,
|
|
2043
|
-
* for same-account delivery.</p>
|
|
2044
|
-
* </li>
|
|
2045
|
-
* </ul>
|
|
2046
|
-
*/
|
|
1111
|
+
|
|
2047
1112
|
destinationArn: string | undefined;
|
|
2048
|
-
|
|
2049
|
-
* <p>The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log
|
|
2050
|
-
* events to the destination stream. You don't need to provide the ARN when you are working with
|
|
2051
|
-
* a logical destination for cross-account delivery.</p>
|
|
2052
|
-
*/
|
|
1113
|
+
|
|
2053
1114
|
roleArn?: string;
|
|
2054
|
-
|
|
2055
|
-
* <p>The method used to distribute log data to the destination. By default, log data is
|
|
2056
|
-
* grouped by log stream, but the grouping can be set to random for a more even distribution.
|
|
2057
|
-
* This property is only applicable when the destination is an Amazon Kinesis stream. </p>
|
|
2058
|
-
*/
|
|
1115
|
+
|
|
2059
1116
|
distribution?: Distribution | string;
|
|
2060
1117
|
}
|
|
2061
1118
|
export declare namespace PutSubscriptionFilterRequest {
|
|
2062
|
-
|
|
2063
|
-
* @internal
|
|
2064
|
-
*/
|
|
1119
|
+
|
|
2065
1120
|
const filterSensitiveLog: (obj: PutSubscriptionFilterRequest) => any;
|
|
2066
1121
|
}
|
|
2067
|
-
|
|
2068
|
-
* <p>Reserved.</p>
|
|
2069
|
-
*/
|
|
1122
|
+
|
|
2070
1123
|
export interface QueryCompileErrorLocation {
|
|
2071
|
-
|
|
2072
|
-
* <p>Reserved.</p>
|
|
2073
|
-
*/
|
|
1124
|
+
|
|
2074
1125
|
startCharOffset?: number;
|
|
2075
|
-
|
|
2076
|
-
* <p>Reserved.</p>
|
|
2077
|
-
*/
|
|
1126
|
+
|
|
2078
1127
|
endCharOffset?: number;
|
|
2079
1128
|
}
|
|
2080
1129
|
export declare namespace QueryCompileErrorLocation {
|
|
2081
|
-
|
|
2082
|
-
* @internal
|
|
2083
|
-
*/
|
|
1130
|
+
|
|
2084
1131
|
const filterSensitiveLog: (obj: QueryCompileErrorLocation) => any;
|
|
2085
1132
|
}
|
|
2086
|
-
|
|
2087
|
-
* <p>Reserved.</p>
|
|
2088
|
-
*/
|
|
1133
|
+
|
|
2089
1134
|
export interface QueryCompileError {
|
|
2090
|
-
|
|
2091
|
-
* <p>Reserved.</p>
|
|
2092
|
-
*/
|
|
1135
|
+
|
|
2093
1136
|
location?: QueryCompileErrorLocation;
|
|
2094
|
-
|
|
2095
|
-
* <p>Reserved.</p>
|
|
2096
|
-
*/
|
|
1137
|
+
|
|
2097
1138
|
message?: string;
|
|
2098
1139
|
}
|
|
2099
1140
|
export declare namespace QueryCompileError {
|
|
2100
|
-
|
|
2101
|
-
* @internal
|
|
2102
|
-
*/
|
|
1141
|
+
|
|
2103
1142
|
const filterSensitiveLog: (obj: QueryCompileError) => any;
|
|
2104
1143
|
}
|
|
2105
|
-
|
|
2106
|
-
* <p>The query string is not valid. Details about this error are displayed in a
|
|
2107
|
-
* <code>QueryCompileError</code> object. For more information, see
|
|
2108
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_QueryCompileError.html">QueryCompileError</a>.</p>
|
|
2109
|
-
* <p>For more information about valid query syntax, see
|
|
2110
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
2111
|
-
*/
|
|
1144
|
+
|
|
2112
1145
|
export interface MalformedQueryException extends __SmithyException, $MetadataBearer {
|
|
2113
1146
|
name: "MalformedQueryException";
|
|
2114
1147
|
$fault: "client";
|
|
2115
|
-
|
|
2116
|
-
* <p>Reserved.</p>
|
|
2117
|
-
*/
|
|
1148
|
+
|
|
2118
1149
|
queryCompileError?: QueryCompileError;
|
|
2119
1150
|
message?: string;
|
|
2120
1151
|
}
|
|
2121
1152
|
export declare namespace MalformedQueryException {
|
|
2122
|
-
|
|
2123
|
-
* @internal
|
|
2124
|
-
*/
|
|
1153
|
+
|
|
2125
1154
|
const filterSensitiveLog: (obj: MalformedQueryException) => any;
|
|
2126
1155
|
}
|
|
2127
1156
|
export interface StartQueryRequest {
|
|
2128
|
-
|
|
2129
|
-
* <p>The log group on which to perform the query.</p>
|
|
2130
|
-
* <p>A <code>StartQuery</code> operation must include a <code>logGroupNames</code> or a <code>logGroupName</code> parameter, but
|
|
2131
|
-
* not both.</p>
|
|
2132
|
-
*/
|
|
1157
|
+
|
|
2133
1158
|
logGroupName?: string;
|
|
2134
|
-
|
|
2135
|
-
* <p>The list of log groups to be queried. You can include up to 20 log groups.</p>
|
|
2136
|
-
* <p>A <code>StartQuery</code> operation must include a <code>logGroupNames</code> or a <code>logGroupName</code> parameter, but
|
|
2137
|
-
* not both.</p>
|
|
2138
|
-
*/
|
|
1159
|
+
|
|
2139
1160
|
logGroupNames?: string[];
|
|
2140
|
-
|
|
2141
|
-
* <p>The beginning of the time range to query. The range is inclusive, so the specified
|
|
2142
|
-
* start time is included in the query. Specified as epoch time, the
|
|
2143
|
-
* number of seconds since January 1, 1970, 00:00:00 UTC.</p>
|
|
2144
|
-
*/
|
|
1161
|
+
|
|
2145
1162
|
startTime: number | undefined;
|
|
2146
|
-
|
|
2147
|
-
* <p>The end of the time range to query. The range is inclusive, so the specified
|
|
2148
|
-
* end time is included in the query. Specified as epoch
|
|
2149
|
-
* time, the number of seconds since January 1, 1970, 00:00:00 UTC.</p>
|
|
2150
|
-
*/
|
|
1163
|
+
|
|
2151
1164
|
endTime: number | undefined;
|
|
2152
|
-
|
|
2153
|
-
* <p>The query string to use.
|
|
2154
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
2155
|
-
*/
|
|
1165
|
+
|
|
2156
1166
|
queryString: string | undefined;
|
|
2157
|
-
|
|
2158
|
-
* <p>The maximum number of log events to return in the query. If the query string uses the <code>fields</code> command,
|
|
2159
|
-
* only the specified fields and their values are returned. The default is 1000.</p>
|
|
2160
|
-
*/
|
|
1167
|
+
|
|
2161
1168
|
limit?: number;
|
|
2162
1169
|
}
|
|
2163
1170
|
export declare namespace StartQueryRequest {
|
|
2164
|
-
|
|
2165
|
-
* @internal
|
|
2166
|
-
*/
|
|
1171
|
+
|
|
2167
1172
|
const filterSensitiveLog: (obj: StartQueryRequest) => any;
|
|
2168
1173
|
}
|
|
2169
1174
|
export interface StartQueryResponse {
|
|
2170
|
-
|
|
2171
|
-
* <p>The unique ID of the query. </p>
|
|
2172
|
-
*/
|
|
1175
|
+
|
|
2173
1176
|
queryId?: string;
|
|
2174
1177
|
}
|
|
2175
1178
|
export declare namespace StartQueryResponse {
|
|
2176
|
-
|
|
2177
|
-
* @internal
|
|
2178
|
-
*/
|
|
1179
|
+
|
|
2179
1180
|
const filterSensitiveLog: (obj: StartQueryResponse) => any;
|
|
2180
1181
|
}
|
|
2181
1182
|
export interface StopQueryRequest {
|
|
2182
|
-
|
|
2183
|
-
* <p>The ID number of the query to stop. To find this ID number, use
|
|
2184
|
-
* <code>DescribeQueries</code>.</p>
|
|
2185
|
-
*/
|
|
1183
|
+
|
|
2186
1184
|
queryId: string | undefined;
|
|
2187
1185
|
}
|
|
2188
1186
|
export declare namespace StopQueryRequest {
|
|
2189
|
-
|
|
2190
|
-
* @internal
|
|
2191
|
-
*/
|
|
1187
|
+
|
|
2192
1188
|
const filterSensitiveLog: (obj: StopQueryRequest) => any;
|
|
2193
1189
|
}
|
|
2194
1190
|
export interface StopQueryResponse {
|
|
2195
|
-
|
|
2196
|
-
* <p>This is true if the query was stopped by the <code>StopQuery</code> operation.</p>
|
|
2197
|
-
*/
|
|
1191
|
+
|
|
2198
1192
|
success?: boolean;
|
|
2199
1193
|
}
|
|
2200
1194
|
export declare namespace StopQueryResponse {
|
|
2201
|
-
|
|
2202
|
-
* @internal
|
|
2203
|
-
*/
|
|
1195
|
+
|
|
2204
1196
|
const filterSensitiveLog: (obj: StopQueryResponse) => any;
|
|
2205
1197
|
}
|
|
2206
1198
|
export interface TagLogGroupRequest {
|
|
2207
|
-
|
|
2208
|
-
* <p>The name of the log group.</p>
|
|
2209
|
-
*/
|
|
1199
|
+
|
|
2210
1200
|
logGroupName: string | undefined;
|
|
2211
|
-
|
|
2212
|
-
* <p>The key-value pairs to use for the tags.</p>
|
|
2213
|
-
*/
|
|
1201
|
+
|
|
2214
1202
|
tags: {
|
|
2215
1203
|
[key: string]: string;
|
|
2216
1204
|
} | undefined;
|
|
2217
1205
|
}
|
|
2218
1206
|
export declare namespace TagLogGroupRequest {
|
|
2219
|
-
|
|
2220
|
-
* @internal
|
|
2221
|
-
*/
|
|
1207
|
+
|
|
2222
1208
|
const filterSensitiveLog: (obj: TagLogGroupRequest) => any;
|
|
2223
1209
|
}
|
|
2224
1210
|
export interface TestMetricFilterRequest {
|
|
2225
|
-
|
|
2226
|
-
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
2227
|
-
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
2228
|
-
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
2229
|
-
*/
|
|
1211
|
+
|
|
2230
1212
|
filterPattern: string | undefined;
|
|
2231
|
-
|
|
2232
|
-
* <p>The log event messages to test.</p>
|
|
2233
|
-
*/
|
|
1213
|
+
|
|
2234
1214
|
logEventMessages: string[] | undefined;
|
|
2235
1215
|
}
|
|
2236
1216
|
export declare namespace TestMetricFilterRequest {
|
|
2237
|
-
|
|
2238
|
-
* @internal
|
|
2239
|
-
*/
|
|
1217
|
+
|
|
2240
1218
|
const filterSensitiveLog: (obj: TestMetricFilterRequest) => any;
|
|
2241
1219
|
}
|
|
2242
|
-
|
|
2243
|
-
* <p>Represents a matched event.</p>
|
|
2244
|
-
*/
|
|
1220
|
+
|
|
2245
1221
|
export interface MetricFilterMatchRecord {
|
|
2246
|
-
|
|
2247
|
-
* <p>The event number.</p>
|
|
2248
|
-
*/
|
|
1222
|
+
|
|
2249
1223
|
eventNumber?: number;
|
|
2250
|
-
|
|
2251
|
-
* <p>The raw event data.</p>
|
|
2252
|
-
*/
|
|
1224
|
+
|
|
2253
1225
|
eventMessage?: string;
|
|
2254
|
-
|
|
2255
|
-
* <p>The values extracted from the event data by the filter.</p>
|
|
2256
|
-
*/
|
|
1226
|
+
|
|
2257
1227
|
extractedValues?: {
|
|
2258
1228
|
[key: string]: string;
|
|
2259
1229
|
};
|
|
2260
1230
|
}
|
|
2261
1231
|
export declare namespace MetricFilterMatchRecord {
|
|
2262
|
-
|
|
2263
|
-
* @internal
|
|
2264
|
-
*/
|
|
1232
|
+
|
|
2265
1233
|
const filterSensitiveLog: (obj: MetricFilterMatchRecord) => any;
|
|
2266
1234
|
}
|
|
2267
1235
|
export interface TestMetricFilterResponse {
|
|
2268
|
-
|
|
2269
|
-
* <p>The matched events.</p>
|
|
2270
|
-
*/
|
|
1236
|
+
|
|
2271
1237
|
matches?: MetricFilterMatchRecord[];
|
|
2272
1238
|
}
|
|
2273
1239
|
export declare namespace TestMetricFilterResponse {
|
|
2274
|
-
|
|
2275
|
-
* @internal
|
|
2276
|
-
*/
|
|
1240
|
+
|
|
2277
1241
|
const filterSensitiveLog: (obj: TestMetricFilterResponse) => any;
|
|
2278
1242
|
}
|
|
2279
1243
|
export interface UntagLogGroupRequest {
|
|
2280
|
-
|
|
2281
|
-
* <p>The name of the log group.</p>
|
|
2282
|
-
*/
|
|
1244
|
+
|
|
2283
1245
|
logGroupName: string | undefined;
|
|
2284
|
-
|
|
2285
|
-
* <p>The tag keys. The corresponding tags are removed from the log group.</p>
|
|
2286
|
-
*/
|
|
1246
|
+
|
|
2287
1247
|
tags: string[] | undefined;
|
|
2288
1248
|
}
|
|
2289
1249
|
export declare namespace UntagLogGroupRequest {
|
|
2290
|
-
|
|
2291
|
-
* @internal
|
|
2292
|
-
*/
|
|
1250
|
+
|
|
2293
1251
|
const filterSensitiveLog: (obj: UntagLogGroupRequest) => any;
|
|
2294
1252
|
}
|