@aws-sdk/client-cloudwatch 3.952.0 → 3.953.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 +541 -369
- package/dist-cjs/runtimeConfig.shared.js +8 -6
- package/dist-es/commands/DeleteAlarmsCommand.js +2 -2
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/DeleteDashboardsCommand.js +2 -2
- package/dist-es/commands/DeleteInsightRulesCommand.js +2 -2
- package/dist-es/commands/DeleteMetricStreamCommand.js +2 -2
- package/dist-es/commands/DescribeAlarmContributorsCommand.js +2 -2
- package/dist-es/commands/DescribeAlarmHistoryCommand.js +2 -2
- package/dist-es/commands/DescribeAlarmsCommand.js +2 -2
- package/dist-es/commands/DescribeAlarmsForMetricCommand.js +2 -2
- package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +2 -2
- package/dist-es/commands/DescribeInsightRulesCommand.js +2 -2
- package/dist-es/commands/DisableAlarmActionsCommand.js +2 -2
- package/dist-es/commands/DisableInsightRulesCommand.js +2 -2
- package/dist-es/commands/EnableAlarmActionsCommand.js +2 -2
- package/dist-es/commands/EnableInsightRulesCommand.js +2 -2
- package/dist-es/commands/GetDashboardCommand.js +2 -2
- package/dist-es/commands/GetInsightRuleReportCommand.js +2 -2
- package/dist-es/commands/GetMetricDataCommand.js +2 -2
- package/dist-es/commands/GetMetricStatisticsCommand.js +2 -2
- package/dist-es/commands/GetMetricStreamCommand.js +2 -2
- package/dist-es/commands/GetMetricWidgetImageCommand.js +2 -2
- package/dist-es/commands/ListDashboardsCommand.js +2 -2
- package/dist-es/commands/ListManagedInsightRulesCommand.js +2 -2
- package/dist-es/commands/ListMetricStreamsCommand.js +2 -2
- package/dist-es/commands/ListMetricsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/PutCompositeAlarmCommand.js +2 -2
- package/dist-es/commands/PutDashboardCommand.js +2 -2
- package/dist-es/commands/PutInsightRuleCommand.js +2 -2
- package/dist-es/commands/PutManagedInsightRulesCommand.js +2 -2
- package/dist-es/commands/PutMetricAlarmCommand.js +2 -2
- package/dist-es/commands/PutMetricDataCommand.js +2 -2
- package/dist-es/commands/PutMetricStreamCommand.js +2 -2
- package/dist-es/commands/SetAlarmStateCommand.js +2 -2
- package/dist-es/commands/StartMetricStreamsCommand.js +2 -2
- package/dist-es/commands/StopMetricStreamsCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +8 -6
- package/dist-es/schemas/schemas_0.js +323 -314
- package/dist-types/CloudWatchClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +164 -218
- package/dist-types/ts3.4/CloudWatchClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +163 -218
- package/package.json +36 -36
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartMetricStreams } from "../schemas/schemas_0";
|
|
4
|
+
import { StartMetricStreams$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartMetricStreamsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartMetricStreamsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("GraniteServiceVersion20100801", "StartMetricStreams", {})
|
|
13
13
|
.n("CloudWatchClient", "StartMetricStreamsCommand")
|
|
14
|
-
.sc(StartMetricStreams)
|
|
14
|
+
.sc(StartMetricStreams$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StopMetricStreams } from "../schemas/schemas_0";
|
|
4
|
+
import { StopMetricStreams$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StopMetricStreamsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StopMetricStreamsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("GraniteServiceVersion20100801", "StopMetricStreams", {})
|
|
13
13
|
.n("CloudWatchClient", "StopMetricStreamsCommand")
|
|
14
|
-
.sc(StopMetricStreams)
|
|
14
|
+
.sc(StopMetricStreams$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("GraniteServiceVersion20100801", "TagResource", {})
|
|
13
13
|
.n("CloudWatchClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("GraniteServiceVersion20100801", "UntagResource", {})
|
|
13
13
|
.n("CloudWatchClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,14 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudwatch",
|
|
29
|
+
xmlNamespace: "http://monitoring.amazonaws.com/doc/2010-08-01/",
|
|
30
|
+
version: "2010-08-01",
|
|
31
|
+
serviceTarget: "GraniteServiceVersion20100801",
|
|
32
|
+
awsQueryCompatible: true,
|
|
33
|
+
},
|
|
32
34
|
serviceId: config?.serviceId ?? "CloudWatch",
|
|
33
35
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
36
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|