@aws-sdk/client-cloudwatch-logs 3.215.0 → 3.218.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.
Files changed (55) hide show
  1. package/README.md +15 -14
  2. package/dist-cjs/CloudWatchLogs.js +45 -0
  3. package/dist-cjs/commands/DeleteDataProtectionPolicyCommand.js +46 -0
  4. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +46 -0
  5. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoint/ruleset.js +5 -5
  8. package/dist-cjs/models/models_0.js +30 -3
  9. package/dist-cjs/protocols/Aws_json1_1.js +221 -2
  10. package/dist-es/CloudWatchLogs.js +45 -0
  11. package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +42 -0
  12. package/dist-es/commands/GetDataProtectionPolicyCommand.js +42 -0
  13. package/dist-es/commands/PutDataProtectionPolicyCommand.js +42 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/endpoint/ruleset.js +5 -5
  16. package/dist-es/models/models_0.js +22 -0
  17. package/dist-es/protocols/Aws_json1_1.js +213 -0
  18. package/dist-types/CloudWatchLogs.d.ts +184 -114
  19. package/dist-types/CloudWatchLogsClient.d.ts +20 -16
  20. package/dist-types/commands/AssociateKmsKeyCommand.d.ts +11 -10
  21. package/dist-types/commands/CreateExportTaskCommand.d.ts +11 -11
  22. package/dist-types/commands/CreateLogGroupCommand.d.ts +14 -12
  23. package/dist-types/commands/CreateLogStreamCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +38 -0
  25. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +3 -0
  26. package/dist-types/commands/DescribeLogStreamsCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribeQueriesCommand.d.ts +3 -3
  28. package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +5 -3
  29. package/dist-types/commands/FilterLogEventsCommand.d.ts +8 -4
  30. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +37 -0
  31. package/dist-types/commands/GetLogEventsCommand.d.ts +4 -0
  32. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +10 -6
  33. package/dist-types/commands/GetQueryResultsCommand.d.ts +4 -2
  34. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +51 -0
  35. package/dist-types/commands/PutDestinationCommand.d.ts +3 -3
  36. package/dist-types/commands/PutLogEventsCommand.d.ts +11 -8
  37. package/dist-types/commands/PutMetricFilterCommand.d.ts +5 -5
  38. package/dist-types/commands/PutQueryDefinitionCommand.d.ts +7 -7
  39. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +11 -10
  40. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +10 -11
  41. package/dist-types/commands/StartQueryCommand.d.ts +9 -4
  42. package/dist-types/commands/index.d.ts +3 -0
  43. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  44. package/dist-types/models/models_0.d.ts +369 -115
  45. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  46. package/dist-types/ts3.4/CloudWatchLogs.d.ts +51 -0
  47. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +18 -0
  48. package/dist-types/ts3.4/commands/DeleteDataProtectionPolicyCommand.d.ts +37 -0
  49. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +41 -0
  50. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  52. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  53. package/dist-types/ts3.4/models/models_0.d.ts +53 -0
  54. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  55. package/package.json +4 -4
@@ -5,6 +5,7 @@ import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./c
5
5
  import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
6
6
  import { CreateLogGroupCommandInput, CreateLogGroupCommandOutput } from "./commands/CreateLogGroupCommand";
7
7
  import { CreateLogStreamCommandInput, CreateLogStreamCommandOutput } from "./commands/CreateLogStreamCommand";
8
+ import { DeleteDataProtectionPolicyCommandInput, DeleteDataProtectionPolicyCommandOutput } from "./commands/DeleteDataProtectionPolicyCommand";
8
9
  import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from "./commands/DeleteDestinationCommand";
9
10
  import { DeleteLogGroupCommandInput, DeleteLogGroupCommandOutput } from "./commands/DeleteLogGroupCommand";
10
11
  import { DeleteLogStreamCommandInput, DeleteLogStreamCommandOutput } from "./commands/DeleteLogStreamCommand";
@@ -24,12 +25,14 @@ import { DescribeResourcePoliciesCommandInput, DescribeResourcePoliciesCommandOu
24
25
  import { DescribeSubscriptionFiltersCommandInput, DescribeSubscriptionFiltersCommandOutput } from "./commands/DescribeSubscriptionFiltersCommand";
25
26
  import { DisassociateKmsKeyCommandInput, DisassociateKmsKeyCommandOutput } from "./commands/DisassociateKmsKeyCommand";
26
27
  import { FilterLogEventsCommandInput, FilterLogEventsCommandOutput } from "./commands/FilterLogEventsCommand";
28
+ import { GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput } from "./commands/GetDataProtectionPolicyCommand";
27
29
  import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/GetLogEventsCommand";
28
30
  import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
29
31
  import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/GetLogRecordCommand";
30
32
  import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
31
33
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
32
34
  import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
35
+ import { PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput } from "./commands/PutDataProtectionPolicyCommand";
33
36
  import { PutDestinationCommandInput, PutDestinationCommandOutput } from "./commands/PutDestinationCommand";
34
37
  import { PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput } from "./commands/PutDestinationPolicyCommand";
35
38
  import { PutLogEventsCommandInput, PutLogEventsCommandOutput } from "./commands/PutLogEventsCommand";
@@ -48,22 +51,23 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
48
51
  /**
49
52
  * <p>You can use Amazon CloudWatch Logs to monitor, store, and access your log files from
50
53
  * EC2 instances, CloudTrail, and other sources. You can then retrieve the associated
51
- * log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the
52
- * Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch Logs SDK.</p>
54
+ * log data from CloudWatch Logs using the CloudWatch console. Alternatively, you can use
55
+ * CloudWatch Logs commands in the Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch
56
+ * Logs SDK.</p>
53
57
  * <p>You can use CloudWatch Logs to:</p>
54
58
  * <ul>
55
59
  * <li>
56
60
  * <p>
57
- * <b>Monitor logs from EC2 instances in real-time</b>: You
61
+ * <b>Monitor logs from EC2 instances in real time</b>: You
58
62
  * can use CloudWatch Logs to monitor applications and systems using log data. For example,
59
- * CloudWatch Logs can track the number of errors that occur in your application logs and
60
- * send you a notification whenever the rate of errors exceeds a threshold that you specify.
61
- * CloudWatch Logs uses your log data for monitoring so no code changes are required. For
62
- * example, you can monitor application logs for specific literal terms (such as
63
- * "NullReferenceException") or count the number of occurrences of a literal term at a
64
- * particular position in log data (such as "404" status codes in an Apache access log). When
65
- * the term you are searching for is found, CloudWatch Logs reports the data to a CloudWatch
66
- * metric that you specify.</p>
63
+ * CloudWatch Logs can track the number of errors that occur in your application logs. Then,
64
+ * it can send you a notification whenever the rate of errors exceeds a threshold that you
65
+ * specify. CloudWatch Logs uses your log data for monitoring so no code changes are
66
+ * required. For example, you can monitor application logs for specific literal terms (such
67
+ * as "NullReferenceException"). You can also count the number of occurrences of a literal
68
+ * term at a particular position in log data (such as "404" status codes in an Apache access
69
+ * log). When the term you are searching for is found, CloudWatch Logs reports the data to a
70
+ * CloudWatch metric that you specify.</p>
67
71
  * </li>
68
72
  * <li>
69
73
  * <p>
@@ -75,27 +79,28 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
75
79
  * <p>
76
80
  * <b>Archive log data</b>: You can use CloudWatch Logs to
77
81
  * store your log data in highly durable storage. You can change the log retention setting so
78
- * that any log events older than this setting are automatically deleted. The CloudWatch Logs
79
- * agent makes it easy to quickly send both rotated and non-rotated log data off of a host
80
- * and into the log service. You can then access the raw log data when you need it.</p>
82
+ * that any log events earlier than this setting are automatically deleted. The CloudWatch
83
+ * Logs agent helps to quickly send both rotated and non-rotated log data off of a host and
84
+ * into the log service. You can then access the raw log data when you need it.</p>
81
85
  * </li>
82
86
  * </ul>
83
87
  */
84
88
  export declare class CloudWatchLogs extends CloudWatchLogsClient {
85
89
  /**
86
- * <p>Associates the specified Key Management Service customer master key (CMK) with the specified log group.</p>
87
- * <p>Associating an KMS CMK with a log group overrides any existing associations between the log group and a CMK.
88
- * After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK.
89
- * This association is stored as long as the data encrypted with the CMK is still within CloudWatch Logs.
90
- * This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
90
+ * <p>Associates the specified KMS key with the specified log
91
+ * group.</p>
92
+ * <p>Associating a KMS key with a log group overrides any existing
93
+ * associations between the log group and a KMS key. After a KMS key is associated with a log group, all newly ingested data for the log group is encrypted
94
+ * using the KMS key. This association is stored as long as the data encrypted
95
+ * with the KMS keyis still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
91
96
  * <important>
92
- * <p>CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK
93
- * with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric
94
- * Keys</a>.</p>
97
+ * <p>CloudWatch Logs supports only symmetric KMS keys. Do not use an associate
98
+ * an asymmetric KMS key with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
99
+ * Symmetric and Asymmetric Keys</a>.</p>
95
100
  * </important>
96
101
  * <p>It can take up to 5 minutes for this operation to take effect.</p>
97
- * <p>If you attempt to associate a CMK with a log group but the CMK does not exist or the
98
- * CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>
102
+ * <p>If you attempt to associate a KMS key with a log group but the KMS key does not exist or the KMS key is disabled, you receive an
103
+ * <code>InvalidParameterException</code> error. </p>
99
104
  */
100
105
  associateKmsKey(args: AssociateKmsKeyCommandInput, options?: __HttpHandlerOptions): Promise<AssociateKmsKeyCommandOutput>;
101
106
  associateKmsKey(args: AssociateKmsKeyCommandInput, cb: (err: any, data?: AssociateKmsKeyCommandOutput) => void): void;
@@ -108,13 +113,13 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
108
113
  cancelExportTask(args: CancelExportTaskCommandInput, cb: (err: any, data?: CancelExportTaskCommandOutput) => void): void;
109
114
  cancelExportTask(args: CancelExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelExportTaskCommandOutput) => void): void;
110
115
  /**
111
- * <p>Creates an export task, which allows you to efficiently export data from a
112
- * log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
113
- * operation, you must use credentials that have permission to write to the S3 bucket
114
- * that you specify as the destination.</p>
115
- * <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is
116
- * supported. Exporting
117
- * log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is also supported.</p>
116
+ * <p>Creates an export task so that you can efficiently export data from a log group to an
117
+ * Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you must use
118
+ * credentials that have permission to write to the S3 bucket that you specify as the
119
+ * destination.</p>
120
+ * <p>Exporting log data to S3 buckets that are encrypted by KMS is supported.
121
+ * Exporting log data to Amazon S3 buckets that have S3 Object Lock enabled with a
122
+ * retention period is also supported.</p>
118
123
  * <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
119
124
  * <p>This is an asynchronous call. If all the required information is provided, this
120
125
  * operation initiates an export task and responds with the ID of the task. After the task has started,
@@ -122,12 +127,12 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
122
127
  * only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time.
123
128
  * To cancel an export task, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html">CancelExportTask</a>.</p>
124
129
  * <p>You can export logs from multiple log groups or multiple time ranges to the same S3
125
- * bucket. To separate out log data for each export task, you can specify a prefix to be used as
126
- * the Amazon S3 key prefix for all exported objects.</p>
130
+ * bucket. To separate log data for each export task, specify a prefix to be used as the Amazon
131
+ * S3 key prefix for all exported objects.</p>
127
132
  *
128
133
  * <note>
129
- * <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the
130
- * exported log fild data by using Linux utilities.</p>
134
+ * <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can
135
+ * sort the exported log field data by using Linux utilities.</p>
131
136
  * </note>
132
137
  */
133
138
  createExportTask(args: CreateExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateExportTaskCommandOutput>;
@@ -138,7 +143,8 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
138
143
  * <p>You must use the following guidelines when naming a log group:</p>
139
144
  * <ul>
140
145
  * <li>
141
- * <p>Log group names must be unique within a region for an Amazon Web Services account.</p>
146
+ * <p>Log group names must be unique within a Region for an Amazon Web Services
147
+ * account.</p>
142
148
  * </li>
143
149
  * <li>
144
150
  * <p>Log group names can be between 1 and 512 characters long.</p>
@@ -148,18 +154,19 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
148
154
  * '/' (forward slash), '.' (period), and '#' (number sign)</p>
149
155
  * </li>
150
156
  * </ul>
151
- * <p>When you create a log group, by default the log events in the log group never expire. To set
152
- * a retention policy so that events expire and are deleted after a specified time, use
153
- * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html">PutRetentionPolicy</a>.</p>
154
- * <p>If you associate a Key Management Service customer master key (CMK) with the log group, ingested data is encrypted using the CMK.
155
- * This association is stored as long as the data encrypted with the CMK is still within CloudWatch Logs.
156
- * This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
157
- * <p>If you attempt to associate a CMK with the log group but the CMK does not exist or the
158
- * CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>
157
+ * <p>When you create a log group, by default the log events in the log group do not expire.
158
+ * To set a retention policy so that events expire and are deleted after a specified time, use
159
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html">PutRetentionPolicy</a>.</p>
160
+ * <p>If you associate an KMS key with the log group, ingested data is
161
+ * encrypted using the KMS key. This association is stored as long as the data
162
+ * encrypted with the KMS key is still within CloudWatch Logs. This enables
163
+ * CloudWatch Logs to decrypt this data whenever it is requested.</p>
164
+ * <p>If you attempt to associate a KMS key with the log group but the KMS keydoes not exist or the KMS key is disabled, you receive an
165
+ * <code>InvalidParameterException</code> error. </p>
159
166
  * <important>
160
- * <p>CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with
161
- * your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric
162
- * Keys</a>.</p>
167
+ * <p>CloudWatch Logs supports only symmetric KMS keys. Do not associate an
168
+ * asymmetric KMS key with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
169
+ * Symmetric and Asymmetric Keys</a>.</p>
163
170
  * </important>
164
171
  */
165
172
  createLogGroup(args: CreateLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateLogGroupCommandOutput>;
@@ -180,13 +187,20 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
180
187
  * <p>Log stream names can be between 1 and 512 characters long.</p>
181
188
  * </li>
182
189
  * <li>
183
- * <p>The ':' (colon) and '*' (asterisk) characters are not allowed.</p>
190
+ * <p>Don't use ':' (colon) or '*' (asterisk) characters.</p>
184
191
  * </li>
185
192
  * </ul>
186
193
  */
187
194
  createLogStream(args: CreateLogStreamCommandInput, options?: __HttpHandlerOptions): Promise<CreateLogStreamCommandOutput>;
188
195
  createLogStream(args: CreateLogStreamCommandInput, cb: (err: any, data?: CreateLogStreamCommandOutput) => void): void;
189
196
  createLogStream(args: CreateLogStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLogStreamCommandOutput) => void): void;
197
+ /**
198
+ * <p>Deletes the data protection policy from the specified log group. </p>
199
+ * <p>For more information about data protection policies, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDataProtectionPolicy.html">PutDataProtectionPolicy</a>.</p>
200
+ */
201
+ deleteDataProtectionPolicy(args: DeleteDataProtectionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataProtectionPolicyCommandOutput>;
202
+ deleteDataProtectionPolicy(args: DeleteDataProtectionPolicyCommandInput, cb: (err: any, data?: DeleteDataProtectionPolicyCommandOutput) => void): void;
203
+ deleteDataProtectionPolicy(args: DeleteDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataProtectionPolicyCommandOutput) => void): void;
190
204
  /**
191
205
  * <p>Deletes the specified destination, and eventually disables all the
192
206
  * subscription filters that publish to it. This operation does not delete the
@@ -268,6 +282,9 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
268
282
  * </code> condition key to control access.
269
283
  * For more information about using tags to control access, see
270
284
  * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
285
+ * <p>If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and
286
+ * view data from the linked source accounts. For more information, see
287
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
271
288
  */
272
289
  describeLogGroups(args: DescribeLogGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLogGroupsCommandOutput>;
273
290
  describeLogGroups(args: DescribeLogGroupsCommandInput, cb: (err: any, data?: DescribeLogGroupsCommandOutput) => void): void;
@@ -277,6 +294,9 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
277
294
  * You can list all the log streams or filter the results by prefix.
278
295
  * You can also control how the results are ordered.</p>
279
296
  * <p>This operation has a limit of five transactions per second, after which transactions are throttled.</p>
297
+ * <p>If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and
298
+ * view data from the linked source accounts. For more information, see
299
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
280
300
  */
281
301
  describeLogStreams(args: DescribeLogStreamsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLogStreamsCommandOutput>;
282
302
  describeLogStreams(args: DescribeLogStreamsCommandInput, cb: (err: any, data?: DescribeLogStreamsCommandOutput) => void): void;
@@ -290,9 +310,9 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
290
310
  describeMetricFilters(args: DescribeMetricFiltersCommandInput, cb: (err: any, data?: DescribeMetricFiltersCommandOutput) => void): void;
291
311
  describeMetricFilters(args: DescribeMetricFiltersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMetricFiltersCommandOutput) => void): void;
292
312
  /**
293
- * <p>Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have
294
- * been executed recently in this account. You can request all queries or limit it to queries of
295
- * a specific log group or queries with a certain status.</p>
313
+ * <p>Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have
314
+ * been run recently in this account. You can request all queries or limit it to queries of a
315
+ * specific log group or queries with a certain status.</p>
296
316
  */
297
317
  describeQueries(args: DescribeQueriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQueriesCommandOutput>;
298
318
  describeQueries(args: DescribeQueriesCommandInput, cb: (err: any, data?: DescribeQueriesCommandOutput) => void): void;
@@ -319,9 +339,11 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
319
339
  describeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, cb: (err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void): void;
320
340
  describeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void): void;
321
341
  /**
322
- * <p>Disassociates the associated Key Management Service customer master key (CMK) from the specified log group.</p>
323
- * <p>After the KMS CMK is disassociated from the log group, CloudWatch Logs stops encrypting newly ingested data for the log group.
324
- * All previously ingested data remains encrypted, and CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.</p>
342
+ * <p>Disassociates the associated KMS key from the specified log
343
+ * group.</p>
344
+ * <p>After the KMS key is disassociated from the log group, CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data
345
+ * remains encrypted, and CloudWatch Logs requires permissions for the KMS key
346
+ * whenever the encrypted data is requested.</p>
325
347
  * <p>Note that it can take up to 5 minutes for this operation to take effect.</p>
326
348
  */
327
349
  disassociateKmsKey(args: DisassociateKmsKeyCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateKmsKeyCommandOutput>;
@@ -331,17 +353,27 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
331
353
  * <p>Lists log events from the specified log group. You can list all the log events or filter the results
332
354
  * using a filter pattern, a time range, and the name of the log stream.</p>
333
355
  * <p>You must have the <code>logs;FilterLogEvents</code> permission to perform this operation.</p>
356
+ *
334
357
  * <p>By default, this operation returns as many log events as can fit in 1 MB (up to 10,000
335
- * log events) or all the events found within the time range that you specify. If the results
336
- * include a token, then there are more log events available, and you can get additional results
337
- * by specifying the token in a subsequent call. This operation can return empty results
338
- * while there are more log events available through the token.</p>
358
+ * log events) or all the events found within the specified time range. If the results include a
359
+ * token, that means there are more log events available. You can get additional results by
360
+ * specifying the token in a subsequent call. This operation can return empty results while there
361
+ * are more log events available through the token.</p>
339
362
  * <p>The returned log events are sorted by event timestamp, the timestamp when the event was ingested
340
363
  * by CloudWatch Logs, and the ID of the <code>PutLogEvents</code> request.</p>
364
+ * <p>If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and
365
+ * view data from the linked source accounts. For more information, see
366
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
341
367
  */
342
368
  filterLogEvents(args: FilterLogEventsCommandInput, options?: __HttpHandlerOptions): Promise<FilterLogEventsCommandOutput>;
343
369
  filterLogEvents(args: FilterLogEventsCommandInput, cb: (err: any, data?: FilterLogEventsCommandOutput) => void): void;
344
370
  filterLogEvents(args: FilterLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FilterLogEventsCommandOutput) => void): void;
371
+ /**
372
+ * <p>Returns information about a log group data protection policy.</p>
373
+ */
374
+ getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetDataProtectionPolicyCommandOutput>;
375
+ getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
376
+ getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
345
377
  /**
346
378
  * <p>Lists log events from the specified log stream. You can list all of the log events or
347
379
  * filter using a time range.</p>
@@ -349,19 +381,27 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
349
381
  * <p>By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events).
350
382
  * You can get additional log events by specifying one of the tokens in a subsequent call.
351
383
  * This operation can return empty results while there are more log events available through the token.</p>
384
+ *
385
+ * <p>If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and
386
+ * view data from the linked source accounts. For more information, see
387
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
352
388
  */
353
389
  getLogEvents(args: GetLogEventsCommandInput, options?: __HttpHandlerOptions): Promise<GetLogEventsCommandOutput>;
354
390
  getLogEvents(args: GetLogEventsCommandInput, cb: (err: any, data?: GetLogEventsCommandOutput) => void): void;
355
391
  getLogEvents(args: GetLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogEventsCommandOutput) => void): void;
356
392
  /**
357
- * <p>Returns a list of the fields that are included in log events in the specified log group, along with the percentage of log events
358
- * that contain each field. The search is limited to a time period that you specify.</p>
359
- * <p>In the results, fields that start with @ are fields generated by CloudWatch Logs. For
360
- * example, <code>@timestamp</code> is the timestamp of each log event. For more information about the fields that are
361
- * generated by CloudWatch logs, see
362
- * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html">Supported Logs and Discovered Fields</a>.</p>
393
+ * <p>Returns a list of the fields that are included in log events in the specified log group.
394
+ * Includes the percentage of log events that contain each field. The search is limited to a time
395
+ * period that you specify.</p>
396
+ * <p>In the results, fields that start with <code>@</code> are fields generated by CloudWatch
397
+ * Logs. For example, <code>@timestamp</code> is the timestamp of each log event. For more
398
+ * information about the fields that are generated by CloudWatch logs, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html">Supported
399
+ * Logs and Discovered Fields</a>.</p>
363
400
  * <p>The response results are sorted by the frequency percentage, starting
364
401
  * with the highest percentage.</p>
402
+ * <p>If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and
403
+ * view data from the linked source accounts. For more information, see
404
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
365
405
  */
366
406
  getLogGroupFields(args: GetLogGroupFieldsCommandInput, options?: __HttpHandlerOptions): Promise<GetLogGroupFieldsCommandOutput>;
367
407
  getLogGroupFields(args: GetLogGroupFieldsCommandInput, cb: (err: any, data?: GetLogGroupFieldsCommandOutput) => void): void;
@@ -382,11 +422,13 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
382
422
  * in a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogRecord.html">GetLogRecord</a>
383
423
  * operation to get the full log record.</p>
384
424
  * <p>
385
- * <code>GetQueryResults</code>
386
- * does not start a query execution. To run a query, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a>.</p>
425
+ * <code>GetQueryResults</code> does not start running a query. To run a query, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a>.</p>
387
426
  * <p>If the value of the <code>Status</code> field in the output is <code>Running</code>, this operation
388
427
  * returns only partial results. If you see a value of <code>Scheduled</code> or <code>Running</code> for the status,
389
428
  * you can retry the operation later to see the final results. </p>
429
+ * <p>If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account to start
430
+ * queries in linked source accounts. For more information, see
431
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
390
432
  */
391
433
  getQueryResults(args: GetQueryResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryResultsCommandOutput>;
392
434
  getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
@@ -410,11 +452,31 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
410
452
  listTagsLogGroup(args: ListTagsLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsLogGroupCommandOutput>;
411
453
  listTagsLogGroup(args: ListTagsLogGroupCommandInput, cb: (err: any, data?: ListTagsLogGroupCommandOutput) => void): void;
412
454
  listTagsLogGroup(args: ListTagsLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsLogGroupCommandOutput) => void): void;
455
+ /**
456
+ * <p>Creates a data protection policy for the specified log group. A data protection policy can help safeguard sensitive
457
+ * data that's ingested by the log group by auditing and masking the sensitive log data.</p>
458
+ * <important>
459
+ * <p>Sensitive data is detected and masked when it is ingested into the log group. When you set a
460
+ * data protection policy, log events ingested into the log group before that time are not masked.</p>
461
+ * </important>
462
+ * <p>By default, when a user views a log event that includes masked data, the sensitive data is replaced by asterisks.
463
+ * A user who has the <code>logs:Unmask</code> permission can use a
464
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogEvents.html">GetLogEvents</a> or
465
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_FilterLogEvents.html">FilterLogEvents</a>
466
+ * operation with the <code>unmask</code> parameter set to <code>true</code> to view the unmasked
467
+ * log events. Users with the <code>logs:Unmask</code> can also view unmasked data in the CloudWatch Logs
468
+ * console by running a CloudWatch Logs Insights query with the <code>unmask</code> query command.</p>
469
+ * <p>For more information, including a list of types of data that can be audited and masked, see
470
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html">Protect sensitive log data with masking</a>.</p>
471
+ */
472
+ putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutDataProtectionPolicyCommandOutput>;
473
+ putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
474
+ putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
413
475
  /**
414
476
  * <p>Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions.</p>
415
- * <p>A destination encapsulates a physical resource (such
416
- * as an Amazon Kinesis stream) and enables you to subscribe to a real-time stream of log events
417
- * for a different account, ingested using <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>.</p>
477
+ * <p>A destination encapsulates a physical resource (such as an Amazon Kinesis stream). With
478
+ * a destination, you can subscribe to a real-time stream of log events for a different account,
479
+ * ingested using <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>.</p>
418
480
  * <p>Through an access policy, a destination controls what is written to it.
419
481
  * By default, <code>PutDestination</code> does not set any access policy with the destination,
420
482
  * which means a cross-account user cannot call <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutSubscriptionFilter.html">PutSubscriptionFilter</a> against
@@ -454,15 +516,16 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
454
516
  * <p>None of the log events in the batch can be more than 2 hours in the future.</p>
455
517
  * </li>
456
518
  * <li>
457
- * <p>None of the log events in the batch can be older than 14 days or older than the retention
458
- * period of the log group.</p>
519
+ * <p>None of the log events in the batch can be more than 14 days in the past. Also,
520
+ * none of the log events can be from earlier than the retention period of the log
521
+ * group.</p>
459
522
  * </li>
460
523
  * <li>
461
524
  * <p>The log events in the batch must be in chronological order by their timestamp. The
462
- * timestamp is the time the event occurred, expressed as the number of milliseconds after
463
- * Jan 1, 1970 00:00:00 UTC. (In Amazon Web Services Tools for PowerShell and the Amazon Web Services SDK for .NET, the
464
- * timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For example,
465
- * 2017-09-15T13:45:30.) </p>
525
+ * timestamp is the time that the event occurred, expressed as the number of milliseconds
526
+ * after <code>Jan 1, 1970 00:00:00 UTC</code>. (In Amazon Web Services Tools for PowerShell
527
+ * and the Amazon Web Services SDK for .NET, the timestamp is specified in .NET format:
528
+ * <code>yyyy-mm-ddThh:mm:ss</code>. For example, <code>2017-09-15T13:45:30</code>.) </p>
466
529
  * </li>
467
530
  * <li>
468
531
  * <p>A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails.</p>
@@ -471,17 +534,19 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
471
534
  * <p>The maximum number of log events in a batch is 10,000.</p>
472
535
  * </li>
473
536
  * <li>
474
- * <p>There is a quota of 5 requests per second per log stream. Additional requests are throttled. This quota can't be changed.</p>
537
+ * <p>There is a quota of five requests per second per log stream. Additional requests
538
+ * are throttled. This quota can't be changed.</p>
475
539
  * </li>
476
540
  * </ul>
477
- * <p>If a call to <code>PutLogEvents</code> returns "UnrecognizedClientException" the most likely cause is an invalid Amazon Web Services access key ID or secret key. </p>
541
+ * <p>If a call to <code>PutLogEvents</code> returns "UnrecognizedClientException" the most
542
+ * likely cause is a non-valid Amazon Web Services access key ID or secret key. </p>
478
543
  */
479
544
  putLogEvents(args: PutLogEventsCommandInput, options?: __HttpHandlerOptions): Promise<PutLogEventsCommandOutput>;
480
545
  putLogEvents(args: PutLogEventsCommandInput, cb: (err: any, data?: PutLogEventsCommandOutput) => void): void;
481
546
  putLogEvents(args: PutLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLogEventsCommandOutput) => void): void;
482
547
  /**
483
- * <p>Creates or updates a metric filter and associates it with the specified log group.
484
- * Metric filters allow you to configure rules to extract metric data from log events ingested
548
+ * <p>Creates or updates a metric filter and associates it with the specified log group. With
549
+ * metric filters, you can configure rules to extract metric data from log events ingested
485
550
  * through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>.</p>
486
551
  * <p>The maximum number of metric filters that can be associated with a log group is
487
552
  * 100.</p>
@@ -494,9 +559,9 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
494
559
  * found for
495
560
  * a dimension is treated as a separate metric and accrues charges as a separate custom metric.
496
561
  * </p>
497
- * <p>To help prevent accidental high charges, Amazon disables a metric filter
498
- * if it generates 1000 different name/value pairs for the dimensions that you
499
- * have specified within a certain amount of time.</p>
562
+ * <p>CloudWatch Logs disables a metric filter if it generates 1,000 different name/value pairs for
563
+ * your specified dimensions within a certain amount of time. This helps to prevent accidental
564
+ * high charges.</p>
500
565
  * <p>You can also set up a billing alarm to alert you if your charges are higher than
501
566
  * expected. For more information,
502
567
  * see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html">
@@ -511,13 +576,13 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
511
576
  * <p>Creates or updates a query definition for CloudWatch Logs Insights. For
512
577
  * more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html">Analyzing Log Data with CloudWatch Logs Insights</a>.</p>
513
578
  *
514
- * <p>To update a query definition, specify its
515
- * <code>queryDefinitionId</code> in your request. The values of <code>name</code>, <code>queryString</code>,
516
- * and <code>logGroupNames</code> are changed to the values that you specify in your update
517
- * operation. No current values are retained from the current query definition. For example, if
518
- * you update a current query definition that includes log groups, and you don't specify the
519
- * <code>logGroupNames</code> parameter in your update operation, the query definition changes
520
- * to contain no log groups.</p>
579
+ * <p>To update a query definition, specify its <code>queryDefinitionId</code> in your request.
580
+ * The values of <code>name</code>, <code>queryString</code>, and <code>logGroupNames</code> are
581
+ * changed to the values that you specify in your update operation. No current values are
582
+ * retained from the current query definition. For example, imagine updating a current query
583
+ * definition that includes log groups. If you don't specify the <code>logGroupNames</code>
584
+ * parameter in your update operation, the query definition changes to contain no log
585
+ * groups.</p>
521
586
  * <p>You must have the <code>logs:PutQueryDefinition</code> permission to be able to perform
522
587
  * this operation.</p>
523
588
  */
@@ -533,19 +598,20 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
533
598
  putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
534
599
  putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
535
600
  /**
536
- * <p>Sets the retention of the specified log group. A retention policy allows you to
601
+ * <p>Sets the retention of the specified log group. With a retention policy, you can
537
602
  * configure the number of days for which to retain log events in the specified log
538
603
  * group.</p>
539
604
  * <note>
540
- * <p>CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting.
541
- * It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer.</p>
542
- * <p>This means that if you change a log group to have a longer retention setting when it contains log events
543
- * that are past the expiration date, but haven’t been actually deleted, those log events will take
544
- * up to 72 hours to be deleted after the new retention date is reached. To make sure
545
- * that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours has passed
546
- * after the end of the previous
547
- * retention period, or you have confirmed that the older log events are deleted.
548
- * </p>
605
+ * <p>CloudWatch Logs doesn’t immediately delete log events when they reach their retention
606
+ * setting. It typically takes up to 72 hours after that before log events are deleted, but in
607
+ * rare situations might take longer.</p>
608
+ * <p>To illustrate, imagine that you change a log group to have a longer retention setting
609
+ * when it contains log events that are past the expiration date, but haven’t been deleted.
610
+ * Those log events will take up to 72 hours to be deleted after the new retention date is
611
+ * reached. To make sure that log data is deleted permanently, keep a log group at its lower
612
+ * retention setting until 72 hours after the previous retention period ends. Alternatively,
613
+ * wait to change the retention setting until you confirm that the earlier log events are
614
+ * deleted. </p>
549
615
  * </note>
550
616
  */
551
617
  putRetentionPolicy(args: PutRetentionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutRetentionPolicyCommandOutput>;
@@ -553,27 +619,26 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
553
619
  putRetentionPolicy(args: PutRetentionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void): void;
554
620
  /**
555
621
  * <p>Creates or updates a subscription filter and associates it with the specified log
556
- * group. Subscription filters allow you to subscribe to a real-time stream of log events
557
- * ingested through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a> and have them delivered to a specific
558
- * destination. When log events are sent to the
559
- * receiving service, they are Base64 encoded
560
- * and compressed with the gzip format.</p>
622
+ * group. With subscription filters, you can subscribe to a real-time stream of log events
623
+ * ingested through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>
624
+ * and have them delivered to a specific destination. When log events are sent to the receiving
625
+ * service, they are Base64 encoded and compressed with the GZIP format.</p>
561
626
  * <p>The following destinations are supported for subscription filters:</p>
562
627
  * <ul>
563
628
  * <li>
564
- * <p>An Amazon Kinesis stream belonging to the same account as the subscription filter,
565
- * for same-account delivery.</p>
629
+ * <p>An Amazon Kinesis data stream belonging to the same account as the subscription
630
+ * filter, for same-account delivery.</p>
566
631
  * </li>
567
632
  * <li>
568
633
  * <p>A logical destination that belongs to a different account, for cross-account delivery.</p>
569
634
  * </li>
570
635
  * <li>
571
- * <p>An Amazon Kinesis Firehose delivery stream that belongs to the same account as the
572
- * subscription filter, for same-account delivery.</p>
636
+ * <p>An Amazon Kinesis Data Firehose delivery stream that belongs to the same account as
637
+ * the subscription filter, for same-account delivery.</p>
573
638
  * </li>
574
639
  * <li>
575
- * <p>An Lambda function that belongs to the same account as the subscription filter,
576
- * for same-account delivery.</p>
640
+ * <p>An Lambda function that belongs to the same account as the
641
+ * subscription filter, for same-account delivery.</p>
577
642
  * </li>
578
643
  * </ul>
579
644
  * <p>Each log group can have up to two subscription filters associated with it. If you are
@@ -590,12 +655,17 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
590
655
  * and time range to query and the query string to use.</p>
591
656
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
592
657
  *
593
- * <p>Queries time out after 15 minutes of execution. If your queries are timing out, reduce the
658
+ * <p>Queries time out after 15 minutes of runtime. If your queries are timing out, reduce the
594
659
  * time range being searched or partition your query into a number of queries.</p>
595
660
  *
596
- * <p>
597
- * You are limited to 20 concurrent CloudWatch Logs insights queries, including queries that have been added to dashboards.
598
- * </p>
661
+ * <p>If you are using CloudWatch cross-account observability, you can use this operation in a
662
+ * monitoring account to start a query in a linked source account. For more information, see
663
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch
664
+ * cross-account observability</a>. For a cross-account <code>StartQuery</code> operation,
665
+ * the query definition must be defined in the monitoring account.</p>
666
+ *
667
+ * <p>You can have up to 20 concurrent CloudWatch Logs insights queries, including queries
668
+ * that have been added to dashboards. </p>
599
669
  */
600
670
  startQuery(args: StartQueryCommandInput, options?: __HttpHandlerOptions): Promise<StartQueryCommandOutput>;
601
671
  startQuery(args: StartQueryCommandInput, cb: (err: any, data?: StartQueryCommandOutput) => void): void;