@aws-sdk/client-cloudwatch-logs 3.1047.0 → 3.1048.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/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +9 -13
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-es/CloudWatchLogsClient.js +1 -4
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-types/CloudWatchLogsClient.d.ts +1 -2
- package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +6 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +7 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
5
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new endpoints_1.EndpointCache({
|
|
@@ -15,4 +15,4 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws =
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
-
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
-
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
3
|
+
var client$1 = require('@aws-sdk/core/client');
|
|
7
4
|
var core = require('@smithy/core');
|
|
8
5
|
var client = require('@smithy/core/client');
|
|
9
6
|
var config = require('@smithy/core/config');
|
|
@@ -14,7 +11,6 @@ var retry = require('@smithy/core/retry');
|
|
|
14
11
|
var schema = require('@smithy/core/schema');
|
|
15
12
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
16
13
|
var runtimeConfig = require('./runtimeConfig');
|
|
17
|
-
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
18
14
|
var schemas_0 = require('./schemas/schemas_0');
|
|
19
15
|
var errors = require('./models/errors');
|
|
20
16
|
var CloudWatchLogsServiceException = require('./models/CloudWatchLogsServiceException');
|
|
@@ -73,9 +69,9 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
73
69
|
};
|
|
74
70
|
|
|
75
71
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
76
|
-
const extensionConfiguration = Object.assign(
|
|
72
|
+
const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
77
73
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
78
|
-
return Object.assign(runtimeConfig,
|
|
74
|
+
return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
79
75
|
};
|
|
80
76
|
|
|
81
77
|
class CloudWatchLogsClient extends client.Client {
|
|
@@ -85,22 +81,22 @@ class CloudWatchLogsClient extends client.Client {
|
|
|
85
81
|
super(_config_0);
|
|
86
82
|
this.initConfig = _config_0;
|
|
87
83
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
88
|
-
const _config_2 =
|
|
84
|
+
const _config_2 = client$1.resolveUserAgentConfig(_config_1);
|
|
89
85
|
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
90
86
|
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
91
|
-
const _config_5 =
|
|
87
|
+
const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
|
|
92
88
|
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
93
89
|
const _config_7 = eventStreams.resolveEventStreamSerdeConfig(_config_6);
|
|
94
90
|
const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
|
|
95
91
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
96
92
|
this.config = _config_9;
|
|
97
93
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
98
|
-
this.middlewareStack.use(
|
|
94
|
+
this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
|
|
99
95
|
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
100
96
|
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
101
|
-
this.middlewareStack.use(
|
|
102
|
-
this.middlewareStack.use(
|
|
103
|
-
this.middlewareStack.use(
|
|
97
|
+
this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
|
|
104
100
|
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
105
101
|
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultCloudWatchLogsHttpAuthSchemeParametersProvider,
|
|
106
102
|
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
@@ -4,8 +4,8 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
8
|
+
const client_2 = require("@smithy/core/client");
|
|
9
9
|
const config_1 = require("@smithy/core/config");
|
|
10
10
|
const event_streams_1 = require("@smithy/core/event-streams");
|
|
11
11
|
const retry_1 = require("@smithy/core/retry");
|
|
@@ -14,7 +14,7 @@ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
15
|
const getRuntimeConfig = (config) => {
|
|
16
16
|
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
17
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
17
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
18
18
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
19
19
|
return {
|
|
20
20
|
...clientSharedValues,
|
|
@@ -23,10 +23,10 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
defaultsMode,
|
|
24
24
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
25
25
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
26
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
26
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
27
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
28
28
|
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
|
-
region: config?.region ?? (0,
|
|
29
|
+
region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
|
|
30
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
31
31
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
32
32
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
@@ -6,7 +6,6 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const client_1 = require("@aws-sdk/core/client");
|
|
7
7
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
10
9
|
const client_2 = require("@smithy/core/client");
|
|
11
10
|
const config_1 = require("@smithy/core/config");
|
|
12
11
|
const event_streams_1 = require("@smithy/core/event-streams");
|
|
@@ -32,7 +31,7 @@ const getRuntimeConfig = (config) => {
|
|
|
32
31
|
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
33
32
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
34
33
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
35
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
34
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
36
35
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
37
36
|
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
38
37
|
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -46,7 +45,7 @@ const getRuntimeConfig = (config) => {
|
|
|
46
45
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
46
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
48
47
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
49
|
-
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(
|
|
48
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
50
49
|
};
|
|
51
50
|
};
|
|
52
51
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/
|
|
2
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
|
-
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
-
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
5
2
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
3
|
import { Client as __Client, } from "@smithy/core/client";
|
|
7
4
|
import { resolveRegionConfig } from "@smithy/core/config";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { awsEndpointFunctions } from "@aws-sdk/
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/core/client";
|
|
2
2
|
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { createDefaultUserAgentProvider } from "@aws-sdk/
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
4
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
5
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
6
|
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
7
|
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from "@aws-sdk/core/client";
|
|
2
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
3
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/
|
|
2
|
-
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
3
2
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
3
|
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
4
|
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
@@ -46,6 +46,9 @@ declare const GetQueryResultsCommand_base: {
|
|
|
46
46
|
* automated scheduled query executions. Scheduled queries use <code>GetQueryResults</code>
|
|
47
47
|
* internally to retrieve query results for processing and delivery to configured
|
|
48
48
|
* destinations.</p>
|
|
49
|
+
* <p>You can retrieve up to 100,000 log event results from a query, if available, by using
|
|
50
|
+
* pagination. Use the <code>nextToken</code> returned in the response to request additional
|
|
51
|
+
* pages of results, with each page returning up to 10,000 log events.</p>
|
|
49
52
|
* <p>If you are using CloudWatch cross-account observability, you can use this operation
|
|
50
53
|
* in a monitoring account to start queries in linked source accounts. For more information, see
|
|
51
54
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
|
|
@@ -4859,7 +4859,9 @@ export interface GetQueryResultsRequest {
|
|
|
4859
4859
|
*/
|
|
4860
4860
|
nextToken?: string | undefined;
|
|
4861
4861
|
/**
|
|
4862
|
-
* <p>The maximum number of log events to return in the response. The maximum is 10,000 log
|
|
4862
|
+
* <p>The maximum number of log events to return in the response. The maximum is 10,000 log
|
|
4863
|
+
* events per request. You can retrieve up to 100,000 log event results from a query by
|
|
4864
|
+
* paginating with the <code>nextToken</code>.</p>
|
|
4863
4865
|
* @public
|
|
4864
4866
|
*/
|
|
4865
4867
|
maxItems?: number | undefined;
|
|
@@ -4977,7 +4979,8 @@ export interface GetQueryResultsResponse {
|
|
|
4977
4979
|
/**
|
|
4978
4980
|
* <p>If there are more log events remaining in the results, the response includes a
|
|
4979
4981
|
* <code>nextToken</code>. You can use this token in a subsequent <code>GetQueryResults</code>
|
|
4980
|
-
* request to get the next set of results
|
|
4982
|
+
* request to get the next set of results. You can retrieve up to 100,000 log event results
|
|
4983
|
+
* from a query by paginating with this token.</p>
|
|
4981
4984
|
* @public
|
|
4982
4985
|
*/
|
|
4983
4986
|
nextToken?: string | undefined;
|
|
@@ -8105,6 +8108,7 @@ export interface StartQueryRequest {
|
|
|
8105
8108
|
* <p>The maximum number of log events to return in the query. If the query string uses the
|
|
8106
8109
|
* <code>fields</code> command, only the specified fields and their values are returned. The
|
|
8107
8110
|
* default is 10,000.</p>
|
|
8111
|
+
* <p>The maximum value is 100,000.</p>
|
|
8108
8112
|
* @public
|
|
8109
8113
|
*/
|
|
8110
8114
|
limit?: number | undefined;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
14
14
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
15
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
26
26
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
region: string | import("@smithy/types").Provider<any>;
|
|
28
28
|
profile?: string;
|
|
29
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
29
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
30
30
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
31
31
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HostHeaderInputConfig,
|
|
3
3
|
HostHeaderResolvedConfig,
|
|
4
|
-
} from "@aws-sdk/middleware-host-header";
|
|
5
|
-
import {
|
|
6
4
|
UserAgentInputConfig,
|
|
7
5
|
UserAgentResolvedConfig,
|
|
8
|
-
} from "@aws-sdk/
|
|
6
|
+
} from "@aws-sdk/core/client";
|
|
9
7
|
import {
|
|
10
8
|
DefaultsMode as __DefaultsMode,
|
|
11
9
|
SmithyConfiguration as __SmithyConfiguration,
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
12
12
|
_: unknown
|
|
13
13
|
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
14
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/
|
|
15
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
17
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
13
13
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
19
19
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
34
34
|
region: string | import("@smithy/types").Provider<any>;
|
|
35
35
|
profile?: string;
|
|
36
36
|
defaultUserAgentProvider: (
|
|
37
|
-
config?: import("@aws-sdk/
|
|
37
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
38
38
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
39
39
|
credentialDefaultProvider:
|
|
40
40
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
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.1048.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-logs",
|
|
@@ -27,25 +27,17 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/core": "^3.974.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
33
|
-
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.40",
|
|
36
|
-
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
30
|
+
"@aws-sdk/core": "^3.974.11",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.42",
|
|
37
32
|
"@aws-sdk/types": "^3.973.8",
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@smithy/core": "^3.24.1",
|
|
42
|
-
"@smithy/fetch-http-handler": "^5.4.1",
|
|
43
|
-
"@smithy/node-http-handler": "^4.7.1",
|
|
33
|
+
"@smithy/core": "^3.24.2",
|
|
34
|
+
"@smithy/fetch-http-handler": "^5.4.2",
|
|
35
|
+
"@smithy/node-http-handler": "^4.7.2",
|
|
44
36
|
"@smithy/types": "^4.14.1",
|
|
45
37
|
"tslib": "^2.6.2"
|
|
46
38
|
},
|
|
47
39
|
"devDependencies": {
|
|
48
|
-
"@smithy/snapshot-testing": "^2.1.
|
|
40
|
+
"@smithy/snapshot-testing": "^2.1.2",
|
|
49
41
|
"@tsconfig/node20": "20.1.8",
|
|
50
42
|
"@types/node": "^20.14.8",
|
|
51
43
|
"concurrently": "7.0.0",
|