@aws-sdk/client-cloudwatch 3.621.0 → 3.622.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 +15 -19
- package/dist-es/CloudWatchClient.js +12 -18
- package/dist-es/commands/PutMetricDataCommand.js +3 -1
- package/dist-types/CloudWatchClient.d.ts +2 -4
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/CloudWatchClient.d.ts +6 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/package.json +10 -10
package/dist-cjs/index.js
CHANGED
|
@@ -207,26 +207,28 @@ var _CloudWatchClient = class _CloudWatchClient extends import_smithy_client.Cli
|
|
|
207
207
|
constructor(...[configuration]) {
|
|
208
208
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
209
209
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
210
|
-
const _config_2 = (0,
|
|
211
|
-
const _config_3 = (0,
|
|
212
|
-
const _config_4 = (0,
|
|
213
|
-
const _config_5 = (0,
|
|
214
|
-
const _config_6 = (0,
|
|
210
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
211
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
212
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
213
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
214
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
215
215
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
216
216
|
const _config_8 = (0, import_middleware_compression.resolveCompressionConfig)(_config_7);
|
|
217
217
|
const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
218
218
|
super(_config_9);
|
|
219
219
|
this.config = _config_9;
|
|
220
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
221
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
222
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
223
220
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
224
221
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
225
222
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
223
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
224
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
225
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
226
226
|
this.middlewareStack.use(
|
|
227
227
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
228
|
-
httpAuthSchemeParametersProvider:
|
|
229
|
-
identityProviderConfigProvider:
|
|
228
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCloudWatchHttpAuthSchemeParametersProvider,
|
|
229
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
230
|
+
"aws.auth#sigv4": config.credentials
|
|
231
|
+
})
|
|
230
232
|
})
|
|
231
233
|
);
|
|
232
234
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -239,14 +241,6 @@ var _CloudWatchClient = class _CloudWatchClient extends import_smithy_client.Cli
|
|
|
239
241
|
destroy() {
|
|
240
242
|
super.destroy();
|
|
241
243
|
}
|
|
242
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
243
|
-
return import_httpAuthSchemeProvider.defaultCloudWatchHttpAuthSchemeParametersProvider;
|
|
244
|
-
}
|
|
245
|
-
getIdentityProviderConfigProvider() {
|
|
246
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
247
|
-
"aws.auth#sigv4": config.credentials
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
244
|
};
|
|
251
245
|
__name(_CloudWatchClient, "CloudWatchClient");
|
|
252
246
|
var CloudWatchClient = _CloudWatchClient;
|
|
@@ -5227,7 +5221,9 @@ var _PutMetricDataCommand = class _PutMetricDataCommand extends import_smithy_cl
|
|
|
5227
5221
|
return [
|
|
5228
5222
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5229
5223
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
5230
|
-
(0, import_middleware_compression.getCompressionPlugin)(config, {
|
|
5224
|
+
(0, import_middleware_compression.getCompressionPlugin)(config, {
|
|
5225
|
+
encodings: ["gzip"]
|
|
5226
|
+
})
|
|
5231
5227
|
];
|
|
5232
5228
|
}).s("GraniteServiceVersion20100801", "PutMetricData", {}).n("CloudWatchClient", "PutMetricDataCommand").f(void 0, void 0).ser(se_PutMetricDataCommand).de(de_PutMetricDataCommand).build() {
|
|
5233
5229
|
};
|
|
@@ -18,37 +18,31 @@ export class CloudWatchClient extends __Client {
|
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
|
-
const _config_2 =
|
|
22
|
-
const _config_3 =
|
|
23
|
-
const _config_4 =
|
|
24
|
-
const _config_5 =
|
|
25
|
-
const _config_6 =
|
|
21
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
23
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
24
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
25
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
26
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
27
|
const _config_8 = resolveCompressionConfig(_config_7);
|
|
28
28
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
29
29
|
super(_config_9);
|
|
30
30
|
this.config = _config_9;
|
|
31
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
32
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
33
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
34
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
35
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
36
33
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
35
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
36
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
37
37
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
38
|
-
httpAuthSchemeParametersProvider:
|
|
39
|
-
identityProviderConfigProvider:
|
|
38
|
+
httpAuthSchemeParametersProvider: defaultCloudWatchHttpAuthSchemeParametersProvider,
|
|
39
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
40
|
+
"aws.auth#sigv4": config.credentials,
|
|
41
|
+
}),
|
|
40
42
|
}));
|
|
41
43
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
42
44
|
}
|
|
43
45
|
destroy() {
|
|
44
46
|
super.destroy();
|
|
45
47
|
}
|
|
46
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
47
|
-
return defaultCloudWatchHttpAuthSchemeParametersProvider;
|
|
48
|
-
}
|
|
49
|
-
getIdentityProviderConfigProvider() {
|
|
50
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
51
|
-
"aws.auth#sigv4": config.credentials,
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
48
|
}
|
|
@@ -14,7 +14,9 @@ export class PutMetricDataCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getCompressionPlugin(config, {
|
|
17
|
+
getCompressionPlugin(config, {
|
|
18
|
+
encodings: ["gzip"],
|
|
19
|
+
}),
|
|
18
20
|
];
|
|
19
21
|
})
|
|
20
22
|
.s("GraniteServiceVersion20100801", "PutMetricData", {})
|
|
@@ -170,7 +170,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
170
170
|
/**
|
|
171
171
|
* @public
|
|
172
172
|
*/
|
|
173
|
-
export type CloudWatchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
173
|
+
export type CloudWatchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & CompressionInputConfig & ClientInputEndpointParameters;
|
|
174
174
|
/**
|
|
175
175
|
* @public
|
|
176
176
|
*
|
|
@@ -181,7 +181,7 @@ export interface CloudWatchClientConfig extends CloudWatchClientConfigType {
|
|
|
181
181
|
/**
|
|
182
182
|
* @public
|
|
183
183
|
*/
|
|
184
|
-
export type CloudWatchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
184
|
+
export type CloudWatchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & CompressionResolvedConfig & ClientResolvedEndpointParameters;
|
|
185
185
|
/**
|
|
186
186
|
* @public
|
|
187
187
|
*
|
|
@@ -217,6 +217,4 @@ export declare class CloudWatchClient extends __Client<__HttpHandlerOptions, Ser
|
|
|
217
217
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
218
218
|
*/
|
|
219
219
|
destroy(): void;
|
|
220
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
221
|
-
private getIdentityProviderConfigProvider;
|
|
222
220
|
}
|
|
@@ -30,12 +30,12 @@ export declare const defaultCloudWatchHttpAuthSchemeProvider: CloudWatchHttpAuth
|
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
httpAuthSchemeProvider?: CloudWatchHttpAuthSchemeProvider;
|
|
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
readonly httpAuthSchemeProvider: CloudWatchHttpAuthSchemeProvider;
|
|
@@ -29,13 +29,13 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
29
29
|
serviceId: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
33
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
32
34
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
33
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
34
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
37
|
}) => import("@smithy/types").EndpointV2;
|
|
36
38
|
tls?: boolean | undefined;
|
|
37
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
38
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
40
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchHttpAuthSchemeProvider;
|
|
41
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -29,13 +29,13 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
29
29
|
serviceId: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
33
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
32
34
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
33
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
34
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
37
|
}) => import("@smithy/types").EndpointV2;
|
|
36
38
|
tls?: boolean | undefined;
|
|
37
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
38
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
40
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchHttpAuthSchemeProvider;
|
|
41
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -26,13 +26,13 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
29
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
30
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
29
31
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
30
32
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
33
|
logger?: import("@smithy/types").Logger | undefined;
|
|
32
34
|
}) => import("@smithy/types").EndpointV2;
|
|
33
35
|
tls?: boolean | undefined;
|
|
34
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
36
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
37
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchHttpAuthSchemeProvider;
|
|
38
38
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -315,11 +315,11 @@ export type CloudWatchClientConfigType = Partial<
|
|
|
315
315
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
316
316
|
> &
|
|
317
317
|
ClientDefaults &
|
|
318
|
-
RegionInputConfig &
|
|
319
|
-
EndpointInputConfig<EndpointParameters> &
|
|
320
|
-
HostHeaderInputConfig &
|
|
321
318
|
UserAgentInputConfig &
|
|
322
319
|
RetryInputConfig &
|
|
320
|
+
RegionInputConfig &
|
|
321
|
+
HostHeaderInputConfig &
|
|
322
|
+
EndpointInputConfig<EndpointParameters> &
|
|
323
323
|
HttpAuthSchemeInputConfig &
|
|
324
324
|
CompressionInputConfig &
|
|
325
325
|
ClientInputEndpointParameters;
|
|
@@ -328,11 +328,11 @@ export type CloudWatchClientResolvedConfigType =
|
|
|
328
328
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
329
329
|
Required<ClientDefaults> &
|
|
330
330
|
RuntimeExtensionsConfig &
|
|
331
|
-
RegionResolvedConfig &
|
|
332
|
-
EndpointResolvedConfig<EndpointParameters> &
|
|
333
|
-
HostHeaderResolvedConfig &
|
|
334
331
|
UserAgentResolvedConfig &
|
|
335
332
|
RetryResolvedConfig &
|
|
333
|
+
RegionResolvedConfig &
|
|
334
|
+
HostHeaderResolvedConfig &
|
|
335
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
336
336
|
HttpAuthSchemeResolvedConfig &
|
|
337
337
|
CompressionResolvedConfig &
|
|
338
338
|
ClientResolvedEndpointParameters;
|
|
@@ -349,6 +349,4 @@ export declare class CloudWatchClient extends __Client<
|
|
|
349
349
|
...[configuration]: __CheckOptionalClientConfig<CloudWatchClientConfig>
|
|
350
350
|
);
|
|
351
351
|
destroy(): void;
|
|
352
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
353
|
-
private getIdentityProviderConfigProvider;
|
|
354
352
|
}
|
|
@@ -38,6 +38,11 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
38
38
|
serviceId: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
42
|
+
retryStrategy?:
|
|
43
|
+
| import("@smithy/types").RetryStrategy
|
|
44
|
+
| import("@smithy/types").RetryStrategyV2
|
|
45
|
+
| undefined;
|
|
41
46
|
endpoint?:
|
|
42
47
|
| ((
|
|
43
48
|
| string
|
|
@@ -62,11 +67,6 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
62
67
|
}
|
|
63
68
|
) => import("@smithy/types").EndpointV2;
|
|
64
69
|
tls?: boolean | undefined;
|
|
65
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2
|
|
69
|
-
| undefined;
|
|
70
70
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
71
71
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchHttpAuthSchemeProvider;
|
|
72
72
|
credentials?:
|
|
@@ -42,6 +42,11 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
42
42
|
serviceId: string;
|
|
43
43
|
logger: import("@smithy/types").Logger;
|
|
44
44
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
45
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
46
|
+
retryStrategy?:
|
|
47
|
+
| import("@smithy/types").RetryStrategy
|
|
48
|
+
| import("@smithy/types").RetryStrategyV2
|
|
49
|
+
| undefined;
|
|
45
50
|
endpoint?:
|
|
46
51
|
| ((
|
|
47
52
|
| string
|
|
@@ -66,11 +71,6 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
66
71
|
}
|
|
67
72
|
) => import("@smithy/types").EndpointV2;
|
|
68
73
|
tls?: boolean | undefined;
|
|
69
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
70
|
-
retryStrategy?:
|
|
71
|
-
| import("@smithy/types").RetryStrategy
|
|
72
|
-
| import("@smithy/types").RetryStrategyV2
|
|
73
|
-
| undefined;
|
|
74
74
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
75
75
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchHttpAuthSchemeProvider;
|
|
76
76
|
credentials?:
|
|
@@ -36,6 +36,11 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
36
36
|
| import("@smithy/types").Provider<
|
|
37
37
|
import("@smithy/smithy-client").DefaultsMode
|
|
38
38
|
>;
|
|
39
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
|
+
retryStrategy?:
|
|
41
|
+
| import("@smithy/types").RetryStrategy
|
|
42
|
+
| import("@smithy/types").RetryStrategyV2
|
|
43
|
+
| undefined;
|
|
39
44
|
endpoint?:
|
|
40
45
|
| string
|
|
41
46
|
| import("@smithy/types").Endpoint
|
|
@@ -50,11 +55,6 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
50
55
|
}
|
|
51
56
|
) => import("@smithy/types").EndpointV2;
|
|
52
57
|
tls?: boolean | undefined;
|
|
53
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
54
|
-
retryStrategy?:
|
|
55
|
-
| import("@smithy/types").RetryStrategy
|
|
56
|
-
| import("@smithy/types").RetryStrategyV2
|
|
57
|
-
| undefined;
|
|
58
58
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
59
59
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchHttpAuthSchemeProvider;
|
|
60
60
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.622.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",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.622.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.622.0",
|
|
25
|
+
"@aws-sdk/core": "3.622.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.622.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
@@ -34,27 +34,27 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.3.
|
|
37
|
+
"@smithy/core": "^2.3.2",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.2.4",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
41
|
"@smithy/middleware-compression": "^3.0.7",
|
|
42
42
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
43
43
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
44
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
+
"@smithy/middleware-retry": "^3.0.14",
|
|
45
45
|
"@smithy/middleware-serde": "^3.0.3",
|
|
46
46
|
"@smithy/middleware-stack": "^3.0.3",
|
|
47
47
|
"@smithy/node-config-provider": "^3.1.4",
|
|
48
48
|
"@smithy/node-http-handler": "^3.1.4",
|
|
49
49
|
"@smithy/protocol-http": "^4.1.0",
|
|
50
|
-
"@smithy/smithy-client": "^3.1.
|
|
50
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
51
51
|
"@smithy/types": "^3.3.0",
|
|
52
52
|
"@smithy/url-parser": "^3.0.3",
|
|
53
53
|
"@smithy/util-base64": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^3.0.14",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^3.0.14",
|
|
58
58
|
"@smithy/util-endpoints": "^2.0.5",
|
|
59
59
|
"@smithy/util-middleware": "^3.0.3",
|
|
60
60
|
"@smithy/util-retry": "^3.0.3",
|