@aws-sdk/client-cloudwatch-logs 3.799.0 → 3.800.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/AssociateKmsKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateExportTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateLogGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +2 -2
- package/dist-types/commands/PutLogEventsCommand.d.ts +1 -1
- package/dist-types/commands/StartLiveTailCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +21 -5
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -64,7 +64,7 @@ declare const AssociateKmsKeyCommand_base: {
|
|
|
64
64
|
* will be unencryptable and unusable.</p>
|
|
65
65
|
* </important>
|
|
66
66
|
* <note>
|
|
67
|
-
* <p>CloudWatch Logs supports only symmetric KMS keys. Do not
|
|
67
|
+
* <p>CloudWatch Logs supports only symmetric KMS keys. Do not associate
|
|
68
68
|
* 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
|
|
69
69
|
* Symmetric and Asymmetric Keys</a>.</p>
|
|
70
70
|
* </note>
|
|
@@ -44,7 +44,7 @@ declare const CreateExportTaskCommand_base: {
|
|
|
44
44
|
* bucket. To separate log data for each export task, specify a prefix to be used as the Amazon
|
|
45
45
|
* S3 key prefix for all exported objects.</p>
|
|
46
46
|
* <note>
|
|
47
|
-
* <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
|
|
47
|
+
* <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
|
|
48
48
|
* you use subscriptions. For more information about subscriptions, see
|
|
49
49
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Subscriptions.html">Real-time processing of log data with subscriptions</a>.</p>
|
|
50
50
|
* </note>
|
|
@@ -72,7 +72,7 @@ declare const CreateLogGroupCommand_base: {
|
|
|
72
72
|
* tags: { // Tags
|
|
73
73
|
* "<keys>": "STRING_VALUE",
|
|
74
74
|
* },
|
|
75
|
-
* logGroupClass: "STANDARD" || "INFREQUENT_ACCESS",
|
|
75
|
+
* logGroupClass: "STANDARD" || "INFREQUENT_ACCESS" || "DELIVERY",
|
|
76
76
|
* };
|
|
77
77
|
* const command = new CreateLogGroupCommand(input);
|
|
78
78
|
* const response = await client.send(command);
|
|
@@ -35,7 +35,7 @@ declare const DescribeAccountPoliciesCommand_base: {
|
|
|
35
35
|
* <code>logs:DescribeAccountPolicies</code> permissions.</p>
|
|
36
36
|
* </li>
|
|
37
37
|
* <li>
|
|
38
|
-
* <p>To see subscription filter policies, you must have the <code>logs:
|
|
38
|
+
* <p>To see subscription filter policies, you must have the <code>logs:DescribeSubscriptionFilters</code> and
|
|
39
39
|
* <code>logs:DescribeAccountPolicies</code> permissions.</p>
|
|
40
40
|
* </li>
|
|
41
41
|
* <li>
|
|
@@ -54,7 +54,7 @@ declare const DescribeLogGroupsCommand_base: {
|
|
|
54
54
|
* nextToken: "STRING_VALUE",
|
|
55
55
|
* limit: Number("int"),
|
|
56
56
|
* includeLinkedAccounts: true || false,
|
|
57
|
-
* logGroupClass: "STANDARD" || "INFREQUENT_ACCESS",
|
|
57
|
+
* logGroupClass: "STANDARD" || "INFREQUENT_ACCESS" || "DELIVERY",
|
|
58
58
|
* };
|
|
59
59
|
* const command = new DescribeLogGroupsCommand(input);
|
|
60
60
|
* const response = await client.send(command);
|
|
@@ -72,7 +72,7 @@ declare const DescribeLogGroupsCommand_base: {
|
|
|
72
72
|
* // inheritedProperties: [ // InheritedProperties
|
|
73
73
|
* // "ACCOUNT_DATA_PROTECTION",
|
|
74
74
|
* // ],
|
|
75
|
-
* // logGroupClass: "STANDARD" || "INFREQUENT_ACCESS",
|
|
75
|
+
* // logGroupClass: "STANDARD" || "INFREQUENT_ACCESS" || "DELIVERY",
|
|
76
76
|
* // logGroupArn: "STRING_VALUE",
|
|
77
77
|
* // },
|
|
78
78
|
* // ],
|
|
@@ -60,7 +60,7 @@ declare const PutLogEventsCommand_base: {
|
|
|
60
60
|
* <p>A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails.</p>
|
|
61
61
|
* </li>
|
|
62
62
|
* <li>
|
|
63
|
-
* <p>Each log event can be no larger than
|
|
63
|
+
* <p>Each log event can be no larger than 1 MB.</p>
|
|
64
64
|
* </li>
|
|
65
65
|
* <li>
|
|
66
66
|
* <p>The maximum number of log events in a batch is 10,000.</p>
|
|
@@ -61,6 +61,10 @@ declare const StartLiveTailCommand_base: {
|
|
|
61
61
|
* object is returned when the session times out, after it has been kept open for three hours.</p>
|
|
62
62
|
* </li>
|
|
63
63
|
* </ul>
|
|
64
|
+
* <note>
|
|
65
|
+
* <p>The <code>StartLiveTail</code> API routes requests to <code>streaming-logs.<i>Region</i>.amazonaws.com</code> using SDK host prefix injection.
|
|
66
|
+
* VPC endpoint support is not available for this API.</p>
|
|
67
|
+
* </note>
|
|
64
68
|
* <important>
|
|
65
69
|
* <p>You can end a session before it times out by closing the session stream or by closing the client that is receiving the
|
|
66
70
|
* stream. The session also ends if the established connection between the client and the server breaks.</p>
|
|
@@ -1021,6 +1021,7 @@ export interface CreateLogAnomalyDetectorResponse {
|
|
|
1021
1021
|
* @enum
|
|
1022
1022
|
*/
|
|
1023
1023
|
export declare const LogGroupClass: {
|
|
1024
|
+
readonly DELIVERY: "DELIVERY";
|
|
1024
1025
|
readonly INFREQUENT_ACCESS: "INFREQUENT_ACCESS";
|
|
1025
1026
|
readonly STANDARD: "STANDARD";
|
|
1026
1027
|
};
|
|
@@ -1057,7 +1058,7 @@ export interface CreateLogGroupRequest {
|
|
|
1057
1058
|
*/
|
|
1058
1059
|
tags?: Record<string, string> | undefined;
|
|
1059
1060
|
/**
|
|
1060
|
-
* <p>Use this parameter to specify the log group class for this log group. There are
|
|
1061
|
+
* <p>Use this parameter to specify the log group class for this log group. There are three classes:</p>
|
|
1061
1062
|
* <ul>
|
|
1062
1063
|
* <li>
|
|
1063
1064
|
* <p>The <code>Standard</code> log class supports all CloudWatch Logs features.</p>
|
|
@@ -1066,6 +1067,11 @@ export interface CreateLogGroupRequest {
|
|
|
1066
1067
|
* <p>The <code>Infrequent Access</code> log class supports a subset of CloudWatch Logs features
|
|
1067
1068
|
* and incurs lower costs.</p>
|
|
1068
1069
|
* </li>
|
|
1070
|
+
* <li>
|
|
1071
|
+
* <p>Use the <code>Delivery</code> log class only for delivering Lambda logs to store in Amazon S3 or
|
|
1072
|
+
* 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
|
|
1073
|
+
* CloudWatch Logs Insights queries.</p>
|
|
1074
|
+
* </li>
|
|
1069
1075
|
* </ul>
|
|
1070
1076
|
* <p>If you omit this parameter, the default of <code>STANDARD</code> is used.</p>
|
|
1071
1077
|
* <important>
|
|
@@ -2212,7 +2218,7 @@ export interface DescribeLogGroupsRequest {
|
|
|
2212
2218
|
*/
|
|
2213
2219
|
includeLinkedAccounts?: boolean | undefined;
|
|
2214
2220
|
/**
|
|
2215
|
-
* <p>Specifies the log group class for this log group. There are
|
|
2221
|
+
* <p>Specifies the log group class for this log group. There are three classes:</p>
|
|
2216
2222
|
* <ul>
|
|
2217
2223
|
* <li>
|
|
2218
2224
|
* <p>The <code>Standard</code> log class supports all CloudWatch Logs features.</p>
|
|
@@ -2221,6 +2227,11 @@ export interface DescribeLogGroupsRequest {
|
|
|
2221
2227
|
* <p>The <code>Infrequent Access</code> log class supports a subset of CloudWatch Logs features
|
|
2222
2228
|
* and incurs lower costs.</p>
|
|
2223
2229
|
* </li>
|
|
2230
|
+
* <li>
|
|
2231
|
+
* <p>Use the <code>Delivery</code> log class only for delivering Lambda logs to store in Amazon S3 or
|
|
2232
|
+
* 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
|
|
2233
|
+
* CloudWatch Logs Insights queries.</p>
|
|
2234
|
+
* </li>
|
|
2224
2235
|
* </ul>
|
|
2225
2236
|
* <p>For details about the features supported by each class, see
|
|
2226
2237
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html">Log classes</a>
|
|
@@ -2300,7 +2311,7 @@ export interface LogGroup {
|
|
|
2300
2311
|
*/
|
|
2301
2312
|
inheritedProperties?: InheritedProperty[] | undefined;
|
|
2302
2313
|
/**
|
|
2303
|
-
* <p>This specifies the log group class for this log group. There are
|
|
2314
|
+
* <p>This specifies the log group class for this log group. There are three classes:</p>
|
|
2304
2315
|
* <ul>
|
|
2305
2316
|
* <li>
|
|
2306
2317
|
* <p>The <code>Standard</code> log class supports all CloudWatch Logs features.</p>
|
|
@@ -2309,8 +2320,13 @@ export interface LogGroup {
|
|
|
2309
2320
|
* <p>The <code>Infrequent Access</code> log class supports a subset of CloudWatch Logs features
|
|
2310
2321
|
* and incurs lower costs.</p>
|
|
2311
2322
|
* </li>
|
|
2323
|
+
* <li>
|
|
2324
|
+
* <p>Use the <code>Delivery</code> log class only for delivering Lambda logs to store in Amazon S3 or
|
|
2325
|
+
* 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
|
|
2326
|
+
* CloudWatch Logs Insights queries.</p>
|
|
2327
|
+
* </li>
|
|
2312
2328
|
* </ul>
|
|
2313
|
-
* <p>For details about the features supported by
|
|
2329
|
+
* <p>For details about the features supported by the Standard and Infrequent Access classes, see
|
|
2314
2330
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html">Log classes</a>
|
|
2315
2331
|
* </p>
|
|
2316
2332
|
* @public
|
|
@@ -4852,7 +4868,7 @@ export interface InputLogEvent {
|
|
|
4852
4868
|
*/
|
|
4853
4869
|
timestamp: number | undefined;
|
|
4854
4870
|
/**
|
|
4855
|
-
* <p>The raw event message. Each log event can be no larger than
|
|
4871
|
+
* <p>The raw event message. Each log event can be no larger than 1 MB.</p>
|
|
4856
4872
|
* @public
|
|
4857
4873
|
*/
|
|
4858
4874
|
message: string | undefined;
|
|
@@ -285,6 +285,7 @@ export interface CreateLogAnomalyDetectorResponse {
|
|
|
285
285
|
anomalyDetectorArn?: string | undefined;
|
|
286
286
|
}
|
|
287
287
|
export declare const LogGroupClass: {
|
|
288
|
+
readonly DELIVERY: "DELIVERY";
|
|
288
289
|
readonly INFREQUENT_ACCESS: "INFREQUENT_ACCESS";
|
|
289
290
|
readonly STANDARD: "STANDARD";
|
|
290
291
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch-logs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.800.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-logs",
|