Skip to content

Commit e89084d

Browse files
author
awstools
committed
feat(client-cloudwatch-logs): CloudWatch Logs supports "DELIVERY" log class. This log class is used only for delivering AWS Lambda logs to Amazon S3 or Amazon Data Firehose.
1 parent 2a08ba6 commit e89084d

File tree

9 files changed

+47
-21
lines changed

9 files changed

+47
-21
lines changed

clients/client-cloudwatch-logs/src/commands/AssociateKmsKeyCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {}
6565
* will be unencryptable and unusable.</p>
6666
* </important>
6767
* <note>
68-
* <p>CloudWatch Logs supports only symmetric KMS keys. Do not use an associate
68+
* <p>CloudWatch Logs supports only symmetric KMS keys. Do not associate
6969
* an asymmetric KMS key with your log group or query results. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
7070
* Symmetric and Asymmetric Keys</a>.</p>
7171
* </note>

clients/client-cloudwatch-logs/src/commands/CreateExportTaskCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
4545
* bucket. To separate log data for each export task, specify a prefix to be used as the Amazon
4646
* S3 key prefix for all exported objects.</p>
4747
* <note>
48-
* <p>We recommend that you don't regularly export to Amazon S3 as a way to continuously archive your logs. For that use case, we instaed recommend that
48+
* <p>We recommend that you don't regularly export to Amazon S3 as a way to continuously archive your logs. For that use case, we instead recommend that
4949
* you use subscriptions. For more information about subscriptions, see
5050
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Subscriptions.html">Real-time processing of log data with subscriptions</a>.</p>
5151
* </note>

clients/client-cloudwatch-logs/src/commands/CreateLogGroupCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export interface CreateLogGroupCommandOutput extends __MetadataBearer {}
7373
* tags: { // Tags
7474
* "<keys>": "STRING_VALUE",
7575
* },
76-
* logGroupClass: "STANDARD" || "INFREQUENT_ACCESS",
76+
* logGroupClass: "STANDARD" || "INFREQUENT_ACCESS" || "DELIVERY",
7777
* };
7878
* const command = new CreateLogGroupCommand(input);
7979
* const response = await client.send(command);

clients/client-cloudwatch-logs/src/commands/DescribeAccountPoliciesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface DescribeAccountPoliciesCommandOutput extends DescribeAccountPol
3636
* <code>logs:DescribeAccountPolicies</code> permissions.</p>
3737
* </li>
3838
* <li>
39-
* <p>To see subscription filter policies, you must have the <code>logs:DescrubeSubscriptionFilters</code> and
39+
* <p>To see subscription filter policies, you must have the <code>logs:DescribeSubscriptionFilters</code> and
4040
* <code>logs:DescribeAccountPolicies</code> permissions.</p>
4141
* </li>
4242
* <li>

clients/client-cloudwatch-logs/src/commands/DescribeLogGroupsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface DescribeLogGroupsCommandOutput extends DescribeLogGroupsRespons
5555
* nextToken: "STRING_VALUE",
5656
* limit: Number("int"),
5757
* includeLinkedAccounts: true || false,
58-
* logGroupClass: "STANDARD" || "INFREQUENT_ACCESS",
58+
* logGroupClass: "STANDARD" || "INFREQUENT_ACCESS" || "DELIVERY",
5959
* };
6060
* const command = new DescribeLogGroupsCommand(input);
6161
* const response = await client.send(command);
@@ -73,7 +73,7 @@ export interface DescribeLogGroupsCommandOutput extends DescribeLogGroupsRespons
7373
* // inheritedProperties: [ // InheritedProperties
7474
* // "ACCOUNT_DATA_PROTECTION",
7575
* // ],
76-
* // logGroupClass: "STANDARD" || "INFREQUENT_ACCESS",
76+
* // logGroupClass: "STANDARD" || "INFREQUENT_ACCESS" || "DELIVERY",
7777
* // logGroupArn: "STRING_VALUE",
7878
* // },
7979
* // ],

clients/client-cloudwatch-logs/src/commands/PutLogEventsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __Metad
6161
* <p>A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails.</p>
6262
* </li>
6363
* <li>
64-
* <p>Each log event can be no larger than 256 KB.</p>
64+
* <p>Each log event can be no larger than 1 MB.</p>
6565
* </li>
6666
* <li>
6767
* <p>The maximum number of log events in a batch is 10,000.</p>

clients/client-cloudwatch-logs/src/commands/StartLiveTailCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ export interface StartLiveTailCommandOutput extends StartLiveTailResponse, __Met
6666
* object is returned when the session times out, after it has been kept open for three hours.</p>
6767
* </li>
6868
* </ul>
69+
* <note>
70+
* <p>The <code>StartLiveTail</code> API routes requests to <code>streaming-logs.<i>Region</i>.amazonaws.com</code> using SDK host prefix injection.
71+
* VPC endpoint support is not available for this API.</p>
72+
* </note>
6973
* <important>
7074
* <p>You can end a session before it times out by closing the session stream or by closing the client that is receiving the
7175
* stream. The session also ends if the established connection between the client and the server breaks.</p>

clients/client-cloudwatch-logs/src/models/models_0.ts

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,7 @@ export interface CreateLogAnomalyDetectorResponse {
12381238
* @enum
12391239
*/
12401240
export const LogGroupClass = {
1241+
DELIVERY: "DELIVERY",
12411242
INFREQUENT_ACCESS: "INFREQUENT_ACCESS",
12421243
STANDARD: "STANDARD",
12431244
} as const;
@@ -1279,7 +1280,7 @@ export interface CreateLogGroupRequest {
12791280
tags?: Record<string, string> | undefined;
12801281

12811282
/**
1282-
* <p>Use this parameter to specify the log group class for this log group. There are two classes:</p>
1283+
* <p>Use this parameter to specify the log group class for this log group. There are three classes:</p>
12831284
* <ul>
12841285
* <li>
12851286
* <p>The <code>Standard</code> log class supports all CloudWatch Logs features.</p>
@@ -1288,6 +1289,11 @@ export interface CreateLogGroupRequest {
12881289
* <p>The <code>Infrequent Access</code> log class supports a subset of CloudWatch Logs features
12891290
* and incurs lower costs.</p>
12901291
* </li>
1292+
* <li>
1293+
* <p>Use the <code>Delivery</code> log class only for delivering Lambda logs to store in Amazon S3 or
1294+
* Amazon Data Firehose. Log events in log groups in the Delivery class are kept in CloudWatch Logs for only one day. This log class doesn't offer rich CloudWatch Logs capabilities such as
1295+
* CloudWatch Logs Insights queries.</p>
1296+
* </li>
12911297
* </ul>
12921298
* <p>If you omit this parameter, the default of <code>STANDARD</code> is used.</p>
12931299
* <important>
@@ -2581,7 +2587,7 @@ export interface DescribeLogGroupsRequest {
25812587
includeLinkedAccounts?: boolean | undefined;
25822588

25832589
/**
2584-
* <p>Specifies the log group class for this log group. There are two classes:</p>
2590+
* <p>Specifies the log group class for this log group. There are three classes:</p>
25852591
* <ul>
25862592
* <li>
25872593
* <p>The <code>Standard</code> log class supports all CloudWatch Logs features.</p>
@@ -2590,6 +2596,11 @@ export interface DescribeLogGroupsRequest {
25902596
* <p>The <code>Infrequent Access</code> log class supports a subset of CloudWatch Logs features
25912597
* and incurs lower costs.</p>
25922598
* </li>
2599+
* <li>
2600+
* <p>Use the <code>Delivery</code> log class only for delivering Lambda logs to store in Amazon S3 or
2601+
* Amazon Data Firehose. Log events in log groups in the Delivery class are kept in CloudWatch Logs for only one day. This log class doesn't offer rich CloudWatch Logs capabilities such as
2602+
* CloudWatch Logs Insights queries.</p>
2603+
* </li>
25932604
* </ul>
25942605
* <p>For details about the features supported by each class, see
25952606
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html">Log classes</a>
@@ -2681,7 +2692,7 @@ export interface LogGroup {
26812692
inheritedProperties?: InheritedProperty[] | undefined;
26822693

26832694
/**
2684-
* <p>This specifies the log group class for this log group. There are two classes:</p>
2695+
* <p>This specifies the log group class for this log group. There are three classes:</p>
26852696
* <ul>
26862697
* <li>
26872698
* <p>The <code>Standard</code> log class supports all CloudWatch Logs features.</p>
@@ -2690,8 +2701,13 @@ export interface LogGroup {
26902701
* <p>The <code>Infrequent Access</code> log class supports a subset of CloudWatch Logs features
26912702
* and incurs lower costs.</p>
26922703
* </li>
2704+
* <li>
2705+
* <p>Use the <code>Delivery</code> log class only for delivering Lambda logs to store in Amazon S3 or
2706+
* Amazon Data Firehose. Log events in log groups in the Delivery class are kept in CloudWatch Logs for only one day. This log class doesn't offer rich CloudWatch Logs capabilities such as
2707+
* CloudWatch Logs Insights queries.</p>
2708+
* </li>
26932709
* </ul>
2694-
* <p>For details about the features supported by each class, see
2710+
* <p>For details about the features supported by the Standard and Infrequent Access classes, see
26952711
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html">Log classes</a>
26962712
* </p>
26972713
* @public
@@ -5545,7 +5561,7 @@ export interface InputLogEvent {
55455561
timestamp: number | undefined;
55465562

55475563
/**
5548-
* <p>The raw event message. Each log event can be no larger than 256 KB.</p>
5564+
* <p>The raw event message. Each log event can be no larger than 1 MB.</p>
55495565
* @public
55505566
*/
55515567
message: string | undefined;

0 commit comments

Comments
 (0)