@aws-sdk/client-cloudwatch-logs 3.202.0 → 3.204.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/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/CloudWatchLogs.d.ts +25 -2
- package/dist-types/commands/CreateExportTaskCommand.d.ts +9 -2
- package/dist-types/commands/FilterLogEventsCommand.d.ts +1 -0
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +11 -0
- package/dist-types/commands/StartQueryCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +5 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
- package/CHANGELOG.md +0 -4171
|
@@ -8,7 +8,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
8
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
-
const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
12
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
@@ -24,8 +23,6 @@ const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "browser",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -10,7 +10,6 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
-
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
14
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
15
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
@@ -28,8 +27,6 @@ const getRuntimeConfig = (config) => {
|
|
|
28
27
|
...config,
|
|
29
28
|
runtime: "node",
|
|
30
29
|
defaultsMode,
|
|
31
|
-
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
-
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
30
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
31
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
32
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
5
6
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
7
|
const getRuntimeConfig = (config) => ({
|
|
7
8
|
apiVersion: "2014-03-28",
|
|
9
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
10
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
8
11
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
12
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
13
|
logger: config?.logger ?? {},
|
|
@@ -4,7 +4,6 @@ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-
|
|
|
4
4
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
8
7
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
9
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
@@ -20,8 +19,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
19
|
...config,
|
|
21
20
|
runtime: "browser",
|
|
22
21
|
defaultsMode,
|
|
23
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
22
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
23
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
24
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
6
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
7
7
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
10
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
11
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
@@ -24,8 +23,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "node",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
2
3
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
4
|
export const getRuntimeConfig = (config) => ({
|
|
4
5
|
apiVersion: "2014-03-28",
|
|
6
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
7
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
5
8
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
9
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
7
10
|
logger: config?.logger ?? {},
|
|
@@ -112,6 +112,10 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
112
112
|
* log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
|
|
113
113
|
* operation, you must use credentials that have permission to write to the S3 bucket
|
|
114
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>
|
|
118
|
+
* <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
|
|
115
119
|
* <p>This is an asynchronous call. If all the required information is provided, this
|
|
116
120
|
* operation initiates an export task and responds with the ID of the task. After the task has started,
|
|
117
121
|
* 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
|
|
@@ -120,8 +124,11 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
120
124
|
* <p>You can export logs from multiple log groups or multiple time ranges to the same S3
|
|
121
125
|
* bucket. To separate out log data for each export task, you can specify a prefix to be used as
|
|
122
126
|
* the Amazon S3 key prefix for all exported objects.</p>
|
|
123
|
-
*
|
|
124
|
-
*
|
|
127
|
+
*
|
|
128
|
+
* <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>
|
|
131
|
+
* </note>
|
|
125
132
|
*/
|
|
126
133
|
createExportTask(args: CreateExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateExportTaskCommandOutput>;
|
|
127
134
|
createExportTask(args: CreateExportTaskCommandInput, cb: (err: any, data?: CreateExportTaskCommandOutput) => void): void;
|
|
@@ -323,6 +330,7 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
323
330
|
/**
|
|
324
331
|
* <p>Lists log events from the specified log group. You can list all the log events or filter the results
|
|
325
332
|
* using a filter pattern, a time range, and the name of the log stream.</p>
|
|
333
|
+
* <p>You must have the <code>logs;FilterLogEvents</code> permission to perform this operation.</p>
|
|
326
334
|
* <p>By default, this operation returns as many log events as can fit in 1 MB (up to 10,000
|
|
327
335
|
* log events) or all the events found within the time range that you specify. If the results
|
|
328
336
|
* include a token, then there are more log events available, and you can get additional results
|
|
@@ -528,6 +536,17 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
528
536
|
* <p>Sets the retention of the specified log group. A retention policy allows you to
|
|
529
537
|
* configure the number of days for which to retain log events in the specified log
|
|
530
538
|
* group.</p>
|
|
539
|
+
* <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>
|
|
549
|
+
* </note>
|
|
531
550
|
*/
|
|
532
551
|
putRetentionPolicy(args: PutRetentionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutRetentionPolicyCommandOutput>;
|
|
533
552
|
putRetentionPolicy(args: PutRetentionPolicyCommandInput, cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void): void;
|
|
@@ -573,6 +592,10 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
|
573
592
|
*
|
|
574
593
|
* <p>Queries time out after 15 minutes of execution. If your queries are timing out, reduce the
|
|
575
594
|
* time range being searched or partition your query into a number of queries.</p>
|
|
595
|
+
*
|
|
596
|
+
* <p>
|
|
597
|
+
* You are limited to 20 concurrent CloudWatch Logs insights queries, including queries that have been added to dashboards.
|
|
598
|
+
* </p>
|
|
576
599
|
*/
|
|
577
600
|
startQuery(args: StartQueryCommandInput, options?: __HttpHandlerOptions): Promise<StartQueryCommandOutput>;
|
|
578
601
|
startQuery(args: StartQueryCommandInput, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
|
|
@@ -12,6 +12,10 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
|
|
|
12
12
|
* log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
|
|
13
13
|
* operation, you must use credentials that have permission to write to the S3 bucket
|
|
14
14
|
* that you specify as the destination.</p>
|
|
15
|
+
* <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is
|
|
16
|
+
* supported. Exporting
|
|
17
|
+
* log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is also supported.</p>
|
|
18
|
+
* <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
|
|
15
19
|
* <p>This is an asynchronous call. If all the required information is provided, this
|
|
16
20
|
* operation initiates an export task and responds with the ID of the task. After the task has started,
|
|
17
21
|
* 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
|
|
@@ -20,8 +24,11 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
|
|
|
20
24
|
* <p>You can export logs from multiple log groups or multiple time ranges to the same S3
|
|
21
25
|
* bucket. To separate out log data for each export task, you can specify a prefix to be used as
|
|
22
26
|
* the Amazon S3 key prefix for all exported objects.</p>
|
|
23
|
-
*
|
|
24
|
-
*
|
|
27
|
+
*
|
|
28
|
+
* <note>
|
|
29
|
+
* <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the
|
|
30
|
+
* exported log fild data by using Linux utilities.</p>
|
|
31
|
+
* </note>
|
|
25
32
|
* @example
|
|
26
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
34
|
* ```javascript
|
|
@@ -10,6 +10,7 @@ export interface FilterLogEventsCommandOutput extends FilterLogEventsResponse, _
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Lists log events from the specified log group. You can list all the log events or filter the results
|
|
12
12
|
* using a filter pattern, a time range, and the name of the log stream.</p>
|
|
13
|
+
* <p>You must have the <code>logs;FilterLogEvents</code> permission to perform this operation.</p>
|
|
13
14
|
* <p>By default, this operation returns as many log events as can fit in 1 MB (up to 10,000
|
|
14
15
|
* log events) or all the events found within the time range that you specify. If the results
|
|
15
16
|
* include a token, then there are more log events available, and you can get additional results
|
|
@@ -11,6 +11,17 @@ export interface PutRetentionPolicyCommandOutput extends __MetadataBearer {
|
|
|
11
11
|
* <p>Sets the retention of the specified log group. A retention policy allows you to
|
|
12
12
|
* configure the number of days for which to retain log events in the specified log
|
|
13
13
|
* group.</p>
|
|
14
|
+
* <note>
|
|
15
|
+
* <p>CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting.
|
|
16
|
+
* It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer.</p>
|
|
17
|
+
* <p>This means that if you change a log group to have a longer retention setting when it contains log events
|
|
18
|
+
* that are past the expiration date, but haven’t been actually deleted, those log events will take
|
|
19
|
+
* up to 72 hours to be deleted after the new retention date is reached. To make sure
|
|
20
|
+
* that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours has passed
|
|
21
|
+
* after the end of the previous
|
|
22
|
+
* retention period, or you have confirmed that the older log events are deleted.
|
|
23
|
+
* </p>
|
|
24
|
+
* </note>
|
|
14
25
|
* @example
|
|
15
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
27
|
* ```javascript
|
|
@@ -14,6 +14,10 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB
|
|
|
14
14
|
*
|
|
15
15
|
* <p>Queries time out after 15 minutes of execution. If your queries are timing out, reduce the
|
|
16
16
|
* time range being searched or partition your query into a number of queries.</p>
|
|
17
|
+
*
|
|
18
|
+
* <p>
|
|
19
|
+
* You are limited to 20 concurrent CloudWatch Logs insights queries, including queries that have been added to dashboards.
|
|
20
|
+
* </p>
|
|
17
21
|
* @example
|
|
18
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
23
|
* ```javascript
|
|
@@ -96,6 +96,7 @@ export interface CreateExportTaskRequest {
|
|
|
96
96
|
* <p>The end time of the range for the request, expressed as the number of milliseconds
|
|
97
97
|
* after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not
|
|
98
98
|
* exported.</p>
|
|
99
|
+
* <p>You must specify a time that is not earlier than when this log group was created.</p>
|
|
99
100
|
*/
|
|
100
101
|
to: number | undefined;
|
|
101
102
|
/**
|
|
@@ -256,7 +257,8 @@ export interface DescribeDestinationsRequest {
|
|
|
256
257
|
*/
|
|
257
258
|
nextToken?: string;
|
|
258
259
|
/**
|
|
259
|
-
* <p>The maximum number of items returned. If you don't specify a value, the default
|
|
260
|
+
* <p>The maximum number of items returned. If you don't specify a value, the default maximum value of
|
|
261
|
+
* 50 items is used.</p>
|
|
260
262
|
*/
|
|
261
263
|
limit?: number;
|
|
262
264
|
}
|
|
@@ -438,7 +440,7 @@ export interface LogGroup {
|
|
|
438
440
|
creationTime?: number;
|
|
439
441
|
/**
|
|
440
442
|
* <p>The number of days to retain the log events in the specified log group.
|
|
441
|
-
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p>
|
|
443
|
+
* 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>
|
|
442
444
|
* <p>To set a log group to never have log events expire, use
|
|
443
445
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>.
|
|
444
446
|
* </p>
|
|
@@ -1541,7 +1543,7 @@ export interface PutRetentionPolicyRequest {
|
|
|
1541
1543
|
logGroupName: string | undefined;
|
|
1542
1544
|
/**
|
|
1543
1545
|
* <p>The number of days to retain the log events in the specified log group.
|
|
1544
|
-
* Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p>
|
|
1546
|
+
* 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>
|
|
1545
1547
|
* <p>To set a log group to never have log events expire, use
|
|
1546
1548
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>.
|
|
1547
1549
|
* </p>
|
|
@@ -6,8 +6,6 @@ import { CloudWatchLogsClientConfig } from "./CloudWatchLogsClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
23
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
22
|
apiVersion: string;
|
|
25
23
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -6,8 +6,6 @@ import { CloudWatchLogsClientConfig } from "./CloudWatchLogsClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
23
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
22
|
apiVersion: string;
|
|
25
23
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -5,6 +5,8 @@ import { CloudWatchLogsClientConfig } from "./CloudWatchLogsClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
10
|
disableHostPrefix: boolean;
|
|
9
11
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
10
12
|
logger?: __Logger | undefined;
|
|
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
6
|
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider: (
|
|
12
10
|
input: any
|
|
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
33
31
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
32
|
apiVersion: string;
|
|
35
33
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
6
|
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider: (
|
|
12
10
|
input: any
|
|
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
33
31
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
32
|
apiVersion: string;
|
|
35
33
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -2,6 +2,8 @@ import { Logger as __Logger } from "@aws-sdk/types";
|
|
|
2
2
|
import { CloudWatchLogsClientConfig } from "./CloudWatchLogsClient";
|
|
3
3
|
export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
4
4
|
apiVersion: string;
|
|
5
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
6
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
5
7
|
disableHostPrefix: boolean;
|
|
6
8
|
endpointProvider: (
|
|
7
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.204.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",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.204.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.204.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.204.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.201.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
28
|
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"@aws-sdk/smithy-client": "3.201.0",
|
|
42
42
|
"@aws-sdk/types": "3.201.0",
|
|
43
43
|
"@aws-sdk/url-parser": "3.201.0",
|
|
44
|
+
"@aws-sdk/util-base64": "3.202.0",
|
|
44
45
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
46
|
"@aws-sdk/util-base64-node": "3.201.0",
|
|
46
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|