@aws-sdk/client-cloudwatch 3.948.0 → 3.949.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.
|
@@ -27,10 +27,10 @@ const getRuntimeConfig = (config) => {
|
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
29
|
protocol: config?.protocol ??
|
|
30
|
-
new protocols_1.
|
|
30
|
+
new protocols_1.AwsJson1_0Protocol({
|
|
31
31
|
defaultNamespace: "com.amazonaws.cloudwatch",
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
serviceTarget: "GraniteServiceVersion20100801",
|
|
33
|
+
awsQueryCompatible: true,
|
|
34
34
|
}),
|
|
35
35
|
serviceId: config?.serviceId ?? "CloudWatch",
|
|
36
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
-
import {
|
|
2
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
5
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -24,10 +24,10 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
26
|
protocol: config?.protocol ??
|
|
27
|
-
new
|
|
27
|
+
new AwsJson1_0Protocol({
|
|
28
28
|
defaultNamespace: "com.amazonaws.cloudwatch",
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
serviceTarget: "GraniteServiceVersion20100801",
|
|
30
|
+
awsQueryCompatible: true,
|
|
31
31
|
}),
|
|
32
32
|
serviceId: config?.serviceId ?? "CloudWatch",
|
|
33
33
|
urlParser: config?.urlParser ?? parseUrl,
|
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.949.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",
|