@aws-sdk/client-cloudwatch-logs 3.95.0 → 3.100.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
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.96.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.95.0...v3.96.0) (2022-05-20)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
|
+
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
20
21
|
const getRuntimeConfig = (config) => {
|
|
21
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
|
+
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
24
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
25
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
26
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
16
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
export var getRuntimeConfig = function (config) {
|
|
18
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
21
|
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
22
|
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
21
23
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
@@ -109,6 +109,12 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
109
109
|
* log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
|
|
110
110
|
* operation, you must use credentials that have permission to write to the S3 bucket
|
|
111
111
|
* that you specify as the destination.</p>
|
|
112
|
+
* <important>
|
|
113
|
+
* <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is not
|
|
114
|
+
* supported. Exporting
|
|
115
|
+
* log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is not supported.</p>
|
|
116
|
+
* <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
|
|
117
|
+
* </important>
|
|
112
118
|
* <p>This is an asynchronous call. If all the required information is provided, this
|
|
113
119
|
* operation initiates an export task and responds with the ID of the task. After the task has started,
|
|
114
120
|
* 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
|
|
@@ -117,8 +123,11 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
117
123
|
* <p>You can export logs from multiple log groups or multiple time ranges to the same S3
|
|
118
124
|
* bucket. To separate out log data for each export task, you can specify a prefix to be used as
|
|
119
125
|
* the Amazon S3 key prefix for all exported objects.</p>
|
|
120
|
-
*
|
|
121
|
-
*
|
|
126
|
+
*
|
|
127
|
+
* <note>
|
|
128
|
+
* <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the
|
|
129
|
+
* exported log fild data by using Linux utilities.</p>
|
|
130
|
+
* </note>
|
|
122
131
|
*/
|
|
123
132
|
createExportTask(args: CreateExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateExportTaskCommandOutput>;
|
|
124
133
|
createExportTask(args: CreateExportTaskCommandInput, cb: (err: any, data?: CreateExportTaskCommandOutput) => void): void;
|
|
@@ -11,6 +11,12 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
|
|
|
11
11
|
* log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
|
|
12
12
|
* operation, you must use credentials that have permission to write to the S3 bucket
|
|
13
13
|
* that you specify as the destination.</p>
|
|
14
|
+
* <important>
|
|
15
|
+
* <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is not
|
|
16
|
+
* supported. Exporting
|
|
17
|
+
* log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is not supported.</p>
|
|
18
|
+
* <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
|
|
19
|
+
* </important>
|
|
14
20
|
* <p>This is an asynchronous call. If all the required information is provided, this
|
|
15
21
|
* operation initiates an export task and responds with the ID of the task. After the task has started,
|
|
16
22
|
* 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
|
|
@@ -19,8 +25,11 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
|
|
|
19
25
|
* <p>You can export logs from multiple log groups or multiple time ranges to the same S3
|
|
20
26
|
* bucket. To separate out log data for each export task, you can specify a prefix to be used as
|
|
21
27
|
* the Amazon S3 key prefix for all exported objects.</p>
|
|
22
|
-
*
|
|
23
|
-
*
|
|
28
|
+
*
|
|
29
|
+
* <note>
|
|
30
|
+
* <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the
|
|
31
|
+
* exported log fild data by using Linux utilities.</p>
|
|
32
|
+
* </note>
|
|
24
33
|
* @example
|
|
25
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
35
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
29
29
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* <p>Multiple requests to update the same resource were in conflict.</p>
|
|
32
|
+
* <p>Multiple concurrent requests to update the same resource were in conflict.</p>
|
|
33
33
|
*/
|
|
34
34
|
export declare class OperationAbortedException extends __BaseException {
|
|
35
35
|
readonly name: "OperationAbortedException";
|
|
@@ -105,7 +105,7 @@ export interface CreateExportTaskRequest {
|
|
|
105
105
|
*/
|
|
106
106
|
from: number | undefined;
|
|
107
107
|
/**
|
|
108
|
-
* <p>The end time of the range for the request,
|
|
108
|
+
* <p>The end time of the range for the request, expressed as the number of milliseconds
|
|
109
109
|
* after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not
|
|
110
110
|
* exported.</p>
|
|
111
111
|
*/
|
|
@@ -584,7 +584,7 @@ export interface LogGroup {
|
|
|
584
584
|
creationTime?: number;
|
|
585
585
|
/**
|
|
586
586
|
* <p>The number of days to retain the log events in the specified log group.
|
|
587
|
-
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p>
|
|
587
|
+
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.</p>
|
|
588
588
|
* <p>To set a log group to never have log events expire, use
|
|
589
589
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>.
|
|
590
590
|
* </p>
|
|
@@ -616,7 +616,7 @@ export declare namespace LogGroup {
|
|
|
616
616
|
export interface DescribeLogGroupsResponse {
|
|
617
617
|
/**
|
|
618
618
|
* <p>The log groups.</p>
|
|
619
|
-
* <p>If the <code>retentionInDays</code> value
|
|
619
|
+
* <p>If the <code>retentionInDays</code> value is not included for a log group, then that log group
|
|
620
620
|
* is set to have its events never expire.</p>
|
|
621
621
|
*/
|
|
622
622
|
logGroups?: LogGroup[];
|
|
@@ -1976,7 +1976,7 @@ export interface PutRetentionPolicyRequest {
|
|
|
1976
1976
|
logGroupName: string | undefined;
|
|
1977
1977
|
/**
|
|
1978
1978
|
* <p>The number of days to retain the log events in the specified log group.
|
|
1979
|
-
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p>
|
|
1979
|
+
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.</p>
|
|
1980
1980
|
* <p>To set a log group to never have log events expire, use
|
|
1981
1981
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>.
|
|
1982
1982
|
* </p>
|
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.100.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.100.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.100.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
36
|
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.99.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.78.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.99.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.99.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|