You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-cloudwatch-logs/src/CloudWatchLogs.ts
+25-2Lines changed: 25 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -331,6 +331,10 @@ export class CloudWatchLogs extends CloudWatchLogsClient {
331
331
* log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
332
332
* operation, you must use credentials that have permission to write to the S3 bucket
333
333
* that you specify as the destination.</p>
334
+
* <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is
335
+
* supported. Exporting
336
+
* log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is also supported.</p>
337
+
* <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
334
338
* <p>This is an asynchronous call. If all the required information is provided, this
335
339
* operation initiates an export task and responds with the ID of the task. After the task has started,
336
340
* you can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html">DescribeExportTasks</a> to get the status of the export task. Each account can
@@ -339,8 +343,11 @@ export class CloudWatchLogs extends CloudWatchLogsClient {
339
343
* <p>You can export logs from multiple log groups or multiple time ranges to the same S3
340
344
* bucket. To separate out log data for each export task, you can specify a prefix to be used as
341
345
* the Amazon S3 key prefix for all exported objects.</p>
342
-
* <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets
343
-
* encrypted with SSE-KMS is not supported. </p>
346
+
*
347
+
* <note>
348
+
* <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the
349
+
* exported log fild data by using Linux utilities.</p>
350
+
* </note>
344
351
*/
345
352
publiccreateExportTask(
346
353
args: CreateExportTaskCommandInput,
@@ -1088,6 +1095,7 @@ export class CloudWatchLogs extends CloudWatchLogsClient {
1088
1095
/**
1089
1096
* <p>Lists log events from the specified log group. You can list all the log events or filter the results
1090
1097
* using a filter pattern, a time range, and the name of the log stream.</p>
1098
+
* <p>You must have the <code>logs;FilterLogEvents</code> permission to perform this operation.</p>
1091
1099
* <p>By default, this operation returns as many log events as can fit in 1 MB (up to 10,000
1092
1100
* log events) or all the events found within the time range that you specify. If the results
1093
1101
* include a token, then there are more log events available, and you can get additional results
@@ -1622,6 +1630,17 @@ export class CloudWatchLogs extends CloudWatchLogsClient {
1622
1630
* <p>Sets the retention of the specified log group. A retention policy allows you to
1623
1631
* configure the number of days for which to retain log events in the specified log
1624
1632
* group.</p>
1633
+
* <note>
1634
+
* <p>CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting.
1635
+
* It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer.</p>
1636
+
* <p>This means that if you change a log group to have a longer retention setting when it contains log events
1637
+
* that are past the expiration date, but haven’t been actually deleted, those log events will take
1638
+
* up to 72 hours to be deleted after the new retention date is reached. To make sure
1639
+
* that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours has passed
1640
+
* after the end of the previous
1641
+
* retention period, or you have confirmed that the older log events are deleted.
1642
+
* </p>
1643
+
* </note>
1625
1644
*/
1626
1645
publicputRetentionPolicy(
1627
1646
args: PutRetentionPolicyCommandInput,
@@ -1719,6 +1738,10 @@ export class CloudWatchLogs extends CloudWatchLogsClient {
1719
1738
*
1720
1739
* <p>Queries time out after 15 minutes of execution. If your queries are timing out, reduce the
1721
1740
* time range being searched or partition your query into a number of queries.</p>
1741
+
*
1742
+
* <p>
1743
+
* You are limited to 20 concurrent CloudWatch Logs insights queries, including queries that have been added to dashboards.
* log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
34
34
* operation, you must use credentials that have permission to write to the S3 bucket
35
35
* that you specify as the destination.</p>
36
+
* <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is
37
+
* supported. Exporting
38
+
* log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is also supported.</p>
39
+
* <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
36
40
* <p>This is an asynchronous call. If all the required information is provided, this
37
41
* operation initiates an export task and responds with the ID of the task. After the task has started,
38
42
* you can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html">DescribeExportTasks</a> to get the status of the export task. Each account can
0 commit comments