@aws-sdk/client-cloudwatch 3.929.0 → 3.931.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 +1379 -4670
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CloudWatchClient.js +2 -0
- package/dist-es/commands/DeleteAlarmsCommand.js +3 -9
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +3 -9
- package/dist-es/commands/DeleteDashboardsCommand.js +3 -9
- package/dist-es/commands/DeleteInsightRulesCommand.js +3 -9
- package/dist-es/commands/DeleteMetricStreamCommand.js +3 -9
- package/dist-es/commands/DescribeAlarmContributorsCommand.js +3 -9
- package/dist-es/commands/DescribeAlarmHistoryCommand.js +3 -9
- package/dist-es/commands/DescribeAlarmsCommand.js +3 -9
- package/dist-es/commands/DescribeAlarmsForMetricCommand.js +3 -9
- package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +3 -9
- package/dist-es/commands/DescribeInsightRulesCommand.js +3 -9
- package/dist-es/commands/DisableAlarmActionsCommand.js +3 -9
- package/dist-es/commands/DisableInsightRulesCommand.js +3 -9
- package/dist-es/commands/EnableAlarmActionsCommand.js +3 -9
- package/dist-es/commands/EnableInsightRulesCommand.js +3 -9
- package/dist-es/commands/GetDashboardCommand.js +3 -9
- package/dist-es/commands/GetInsightRuleReportCommand.js +3 -9
- package/dist-es/commands/GetMetricDataCommand.js +3 -9
- package/dist-es/commands/GetMetricStatisticsCommand.js +3 -9
- package/dist-es/commands/GetMetricStreamCommand.js +3 -9
- package/dist-es/commands/GetMetricWidgetImageCommand.js +3 -9
- package/dist-es/commands/ListDashboardsCommand.js +3 -9
- package/dist-es/commands/ListManagedInsightRulesCommand.js +3 -9
- package/dist-es/commands/ListMetricStreamsCommand.js +3 -9
- package/dist-es/commands/ListMetricsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutAnomalyDetectorCommand.js +3 -9
- package/dist-es/commands/PutCompositeAlarmCommand.js +3 -9
- package/dist-es/commands/PutDashboardCommand.js +3 -9
- package/dist-es/commands/PutInsightRuleCommand.js +3 -9
- package/dist-es/commands/PutManagedInsightRulesCommand.js +3 -9
- package/dist-es/commands/PutMetricAlarmCommand.js +3 -9
- package/dist-es/commands/PutMetricDataCommand.js +2 -6
- package/dist-es/commands/PutMetricStreamCommand.js +3 -9
- package/dist-es/commands/SetAlarmStateCommand.js +3 -9
- package/dist-es/commands/StartMetricStreamsCommand.js +3 -9
- package/dist-es/commands/StopMetricStreamsCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1345 -0
- package/dist-types/CloudWatchClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +218 -0
- package/dist-types/ts3.4/CloudWatchClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +223 -0
- package/package.json +35 -35
- package/dist-es/protocols/Aws_query.js +0 -4425
- package/dist-types/protocols/Aws_query.d.ts +0 -353
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -473
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsQueryProtocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.cloudwatch",
|
|
32
|
+
xmlNamespace: "http://monitoring.amazonaws.com/doc/2010-08-01/",
|
|
33
|
+
version: "2010-08-01",
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "CloudWatch",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { resolveCompressionConfig, } from "@smithy/middleware-compression";
|
|
8
9
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
10
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
@@ -30,6 +31,7 @@ export class CloudWatchClient extends __Client {
|
|
|
30
31
|
const _config_8 = resolveCompressionConfig(_config_7);
|
|
31
32
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
32
33
|
this.config = _config_9;
|
|
34
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
34
36
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
35
37
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteAlarms } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteAlarmsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DeleteAlarms", {})
|
|
17
13
|
.n("CloudWatchClient", "DeleteAlarmsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteAlarmsCommand)
|
|
20
|
-
.de(de_DeleteAlarmsCommand)
|
|
14
|
+
.sc(DeleteAlarms)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteAnomalyDetector } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteAnomalyDetectorCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DeleteAnomalyDetector", {})
|
|
17
13
|
.n("CloudWatchClient", "DeleteAnomalyDetectorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteAnomalyDetectorCommand)
|
|
20
|
-
.de(de_DeleteAnomalyDetectorCommand)
|
|
14
|
+
.sc(DeleteAnomalyDetector)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteDashboards } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteDashboardsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DeleteDashboards", {})
|
|
17
13
|
.n("CloudWatchClient", "DeleteDashboardsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteDashboardsCommand)
|
|
20
|
-
.de(de_DeleteDashboardsCommand)
|
|
14
|
+
.sc(DeleteDashboards)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteInsightRules } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteInsightRulesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DeleteInsightRules", {})
|
|
17
13
|
.n("CloudWatchClient", "DeleteInsightRulesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteInsightRulesCommand)
|
|
20
|
-
.de(de_DeleteInsightRulesCommand)
|
|
14
|
+
.sc(DeleteInsightRules)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteMetricStream } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteMetricStreamCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DeleteMetricStream", {})
|
|
17
13
|
.n("CloudWatchClient", "DeleteMetricStreamCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteMetricStreamCommand)
|
|
20
|
-
.de(de_DeleteMetricStreamCommand)
|
|
14
|
+
.sc(DeleteMetricStream)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeAlarmContributors } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeAlarmContributorsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DescribeAlarmContributors", {})
|
|
17
13
|
.n("CloudWatchClient", "DescribeAlarmContributorsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeAlarmContributorsCommand)
|
|
20
|
-
.de(de_DescribeAlarmContributorsCommand)
|
|
14
|
+
.sc(DescribeAlarmContributors)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeAlarmHistory } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeAlarmHistoryCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DescribeAlarmHistory", {})
|
|
17
13
|
.n("CloudWatchClient", "DescribeAlarmHistoryCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeAlarmHistoryCommand)
|
|
20
|
-
.de(de_DescribeAlarmHistoryCommand)
|
|
14
|
+
.sc(DescribeAlarmHistory)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeAlarms } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeAlarmsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DescribeAlarms", {})
|
|
17
13
|
.n("CloudWatchClient", "DescribeAlarmsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeAlarmsCommand)
|
|
20
|
-
.de(de_DescribeAlarmsCommand)
|
|
14
|
+
.sc(DescribeAlarms)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeAlarmsForMetric } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeAlarmsForMetricCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DescribeAlarmsForMetric", {})
|
|
17
13
|
.n("CloudWatchClient", "DescribeAlarmsForMetricCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeAlarmsForMetricCommand)
|
|
20
|
-
.de(de_DescribeAlarmsForMetricCommand)
|
|
14
|
+
.sc(DescribeAlarmsForMetric)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeAnomalyDetectors } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeAnomalyDetectorsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DescribeAnomalyDetectors", {})
|
|
17
13
|
.n("CloudWatchClient", "DescribeAnomalyDetectorsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeAnomalyDetectorsCommand)
|
|
20
|
-
.de(de_DescribeAnomalyDetectorsCommand)
|
|
14
|
+
.sc(DescribeAnomalyDetectors)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeInsightRules } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeInsightRulesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DescribeInsightRules", {})
|
|
17
13
|
.n("CloudWatchClient", "DescribeInsightRulesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeInsightRulesCommand)
|
|
20
|
-
.de(de_DescribeInsightRulesCommand)
|
|
14
|
+
.sc(DescribeInsightRules)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisableAlarmActions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisableAlarmActionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DisableAlarmActions", {})
|
|
17
13
|
.n("CloudWatchClient", "DisableAlarmActionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisableAlarmActionsCommand)
|
|
20
|
-
.de(de_DisableAlarmActionsCommand)
|
|
14
|
+
.sc(DisableAlarmActions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisableInsightRules } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisableInsightRulesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "DisableInsightRules", {})
|
|
17
13
|
.n("CloudWatchClient", "DisableInsightRulesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisableInsightRulesCommand)
|
|
20
|
-
.de(de_DisableInsightRulesCommand)
|
|
14
|
+
.sc(DisableInsightRules)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { EnableAlarmActions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class EnableAlarmActionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "EnableAlarmActions", {})
|
|
17
13
|
.n("CloudWatchClient", "EnableAlarmActionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_EnableAlarmActionsCommand)
|
|
20
|
-
.de(de_EnableAlarmActionsCommand)
|
|
14
|
+
.sc(EnableAlarmActions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { EnableInsightRules } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class EnableInsightRulesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "EnableInsightRules", {})
|
|
17
13
|
.n("CloudWatchClient", "EnableInsightRulesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_EnableInsightRulesCommand)
|
|
20
|
-
.de(de_EnableInsightRulesCommand)
|
|
14
|
+
.sc(EnableInsightRules)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetDashboard } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetDashboardCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "GetDashboard", {})
|
|
17
13
|
.n("CloudWatchClient", "GetDashboardCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetDashboardCommand)
|
|
20
|
-
.de(de_GetDashboardCommand)
|
|
14
|
+
.sc(GetDashboard)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetInsightRuleReport } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetInsightRuleReportCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "GetInsightRuleReport", {})
|
|
17
13
|
.n("CloudWatchClient", "GetInsightRuleReportCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetInsightRuleReportCommand)
|
|
20
|
-
.de(de_GetInsightRuleReportCommand)
|
|
14
|
+
.sc(GetInsightRuleReport)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetMetricData } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetMetricDataCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "GetMetricData", {})
|
|
17
13
|
.n("CloudWatchClient", "GetMetricDataCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetMetricDataCommand)
|
|
20
|
-
.de(de_GetMetricDataCommand)
|
|
14
|
+
.sc(GetMetricData)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetMetricStatistics } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetMetricStatisticsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "GetMetricStatistics", {})
|
|
17
13
|
.n("CloudWatchClient", "GetMetricStatisticsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetMetricStatisticsCommand)
|
|
20
|
-
.de(de_GetMetricStatisticsCommand)
|
|
14
|
+
.sc(GetMetricStatistics)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetMetricStream } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetMetricStreamCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "GetMetricStream", {})
|
|
17
13
|
.n("CloudWatchClient", "GetMetricStreamCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetMetricStreamCommand)
|
|
20
|
-
.de(de_GetMetricStreamCommand)
|
|
14
|
+
.sc(GetMetricStream)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetMetricWidgetImage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetMetricWidgetImageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "GetMetricWidgetImage", {})
|
|
17
13
|
.n("CloudWatchClient", "GetMetricWidgetImageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetMetricWidgetImageCommand)
|
|
20
|
-
.de(de_GetMetricWidgetImageCommand)
|
|
14
|
+
.sc(GetMetricWidgetImage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListDashboards } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListDashboardsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GraniteServiceVersion20100801", "ListDashboards", {})
|
|
17
13
|
.n("CloudWatchClient", "ListDashboardsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListDashboardsCommand)
|
|
20
|
-
.de(de_ListDashboardsCommand)
|
|
14
|
+
.sc(ListDashboards)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|