@aws-sdk/client-cloudwatch 3.478.0 → 3.481.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/commands/DeleteAlarmsCommand.js +18 -41
- package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +18 -41
- package/dist-cjs/commands/DeleteDashboardsCommand.js +18 -41
- package/dist-cjs/commands/DeleteInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/DeleteMetricStreamCommand.js +18 -41
- package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +18 -41
- package/dist-cjs/commands/DescribeAlarmsCommand.js +18 -41
- package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +18 -41
- package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +18 -41
- package/dist-cjs/commands/DescribeInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/DisableAlarmActionsCommand.js +18 -41
- package/dist-cjs/commands/DisableInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/EnableAlarmActionsCommand.js +18 -41
- package/dist-cjs/commands/EnableInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/GetDashboardCommand.js +18 -41
- package/dist-cjs/commands/GetInsightRuleReportCommand.js +18 -41
- package/dist-cjs/commands/GetMetricDataCommand.js +18 -41
- package/dist-cjs/commands/GetMetricStatisticsCommand.js +18 -41
- package/dist-cjs/commands/GetMetricStreamCommand.js +18 -41
- package/dist-cjs/commands/GetMetricWidgetImageCommand.js +18 -41
- package/dist-cjs/commands/ListDashboardsCommand.js +18 -41
- package/dist-cjs/commands/ListManagedInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/ListMetricStreamsCommand.js +18 -41
- package/dist-cjs/commands/ListMetricsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutAnomalyDetectorCommand.js +18 -41
- package/dist-cjs/commands/PutCompositeAlarmCommand.js +18 -41
- package/dist-cjs/commands/PutDashboardCommand.js +18 -41
- package/dist-cjs/commands/PutInsightRuleCommand.js +18 -41
- package/dist-cjs/commands/PutManagedInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/PutMetricAlarmCommand.js +18 -41
- package/dist-cjs/commands/PutMetricDataCommand.js +18 -41
- package/dist-cjs/commands/PutMetricStreamCommand.js +18 -41
- package/dist-cjs/commands/SetAlarmStateCommand.js +18 -41
- package/dist-cjs/commands/StartMetricStreamsCommand.js +18 -41
- package/dist-cjs/commands/StopMetricStreamsCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/DeleteAlarmsCommand.js +18 -41
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +18 -41
- package/dist-es/commands/DeleteDashboardsCommand.js +18 -41
- package/dist-es/commands/DeleteInsightRulesCommand.js +18 -41
- package/dist-es/commands/DeleteMetricStreamCommand.js +18 -41
- package/dist-es/commands/DescribeAlarmHistoryCommand.js +18 -41
- package/dist-es/commands/DescribeAlarmsCommand.js +18 -41
- package/dist-es/commands/DescribeAlarmsForMetricCommand.js +18 -41
- package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +18 -41
- package/dist-es/commands/DescribeInsightRulesCommand.js +18 -41
- package/dist-es/commands/DisableAlarmActionsCommand.js +18 -41
- package/dist-es/commands/DisableInsightRulesCommand.js +18 -41
- package/dist-es/commands/EnableAlarmActionsCommand.js +18 -41
- package/dist-es/commands/EnableInsightRulesCommand.js +18 -41
- package/dist-es/commands/GetDashboardCommand.js +18 -41
- package/dist-es/commands/GetInsightRuleReportCommand.js +18 -41
- package/dist-es/commands/GetMetricDataCommand.js +18 -41
- package/dist-es/commands/GetMetricStatisticsCommand.js +18 -41
- package/dist-es/commands/GetMetricStreamCommand.js +18 -41
- package/dist-es/commands/GetMetricWidgetImageCommand.js +18 -41
- package/dist-es/commands/ListDashboardsCommand.js +18 -41
- package/dist-es/commands/ListManagedInsightRulesCommand.js +18 -41
- package/dist-es/commands/ListMetricStreamsCommand.js +18 -41
- package/dist-es/commands/ListMetricsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutAnomalyDetectorCommand.js +18 -41
- package/dist-es/commands/PutCompositeAlarmCommand.js +18 -41
- package/dist-es/commands/PutDashboardCommand.js +18 -41
- package/dist-es/commands/PutInsightRuleCommand.js +18 -41
- package/dist-es/commands/PutManagedInsightRulesCommand.js +18 -41
- package/dist-es/commands/PutMetricAlarmCommand.js +18 -41
- package/dist-es/commands/PutMetricDataCommand.js +18 -41
- package/dist-es/commands/PutMetricStreamCommand.js +18 -41
- package/dist-es/commands/SetAlarmStateCommand.js +18 -41
- package/dist-es/commands/StartMetricStreamsCommand.js +18 -41
- package/dist-es/commands/StopMetricStreamsCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/DeleteAlarmsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDashboardsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMetricStreamCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/DisableAlarmActionsCommand.d.ts +6 -21
- package/dist-types/commands/DisableInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/EnableAlarmActionsCommand.d.ts +6 -21
- package/dist-types/commands/EnableInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/GetDashboardCommand.d.ts +6 -21
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +6 -21
- package/dist-types/commands/GetMetricDataCommand.d.ts +6 -21
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +6 -21
- package/dist-types/commands/GetMetricStreamCommand.d.ts +6 -21
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +6 -21
- package/dist-types/commands/ListDashboardsCommand.d.ts +6 -21
- package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/ListMetricStreamsCommand.d.ts +6 -21
- package/dist-types/commands/ListMetricsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +6 -21
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +6 -21
- package/dist-types/commands/PutDashboardCommand.d.ts +6 -21
- package/dist-types/commands/PutInsightRuleCommand.d.ts +6 -21
- package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +6 -21
- package/dist-types/commands/PutMetricDataCommand.d.ts +6 -21
- package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -21
- package/dist-types/commands/SetAlarmStateCommand.d.ts +6 -21
- package/dist-types/commands/StartMetricStreamsCommand.d.ts +6 -21
- package/dist-types/commands/StopMetricStreamsCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class PutDashboardCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudWatchClient";
|
|
29
|
-
const commandName = "PutDashboardCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "PutDashboard",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_PutDashboardCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_PutDashboardCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutDashboardCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("GraniteServiceVersion20100801", "PutDashboard", {})
|
|
22
|
+
.n("CloudWatchClient", "PutDashboardCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_PutDashboardCommand)
|
|
25
|
+
.de(Aws_query_1.de_PutDashboardCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutDashboardCommand = PutDashboardCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class PutInsightRuleCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudWatchClient";
|
|
29
|
-
const commandName = "PutInsightRuleCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "PutInsightRule",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_PutInsightRuleCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_PutInsightRuleCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutInsightRuleCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("GraniteServiceVersion20100801", "PutInsightRule", {})
|
|
22
|
+
.n("CloudWatchClient", "PutInsightRuleCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_PutInsightRuleCommand)
|
|
25
|
+
.de(Aws_query_1.de_PutInsightRuleCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutInsightRuleCommand = PutInsightRuleCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class PutManagedInsightRulesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudWatchClient";
|
|
29
|
-
const commandName = "PutManagedInsightRulesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "PutManagedInsightRules",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_PutManagedInsightRulesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_PutManagedInsightRulesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutManagedInsightRulesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("GraniteServiceVersion20100801", "PutManagedInsightRules", {})
|
|
22
|
+
.n("CloudWatchClient", "PutManagedInsightRulesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_PutManagedInsightRulesCommand)
|
|
25
|
+
.de(Aws_query_1.de_PutManagedInsightRulesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutManagedInsightRulesCommand = PutManagedInsightRulesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class PutMetricAlarmCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudWatchClient";
|
|
29
|
-
const commandName = "PutMetricAlarmCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "PutMetricAlarm",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_PutMetricAlarmCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_PutMetricAlarmCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutMetricAlarmCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("GraniteServiceVersion20100801", "PutMetricAlarm", {})
|
|
22
|
+
.n("CloudWatchClient", "PutMetricAlarmCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_PutMetricAlarmCommand)
|
|
25
|
+
.de(Aws_query_1.de_PutMetricAlarmCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutMetricAlarmCommand = PutMetricAlarmCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class PutMetricDataCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudWatchClient";
|
|
29
|
-
const commandName = "PutMetricDataCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "PutMetricData",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_PutMetricDataCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_PutMetricDataCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutMetricDataCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("GraniteServiceVersion20100801", "PutMetricData", {})
|
|
22
|
+
.n("CloudWatchClient", "PutMetricDataCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_PutMetricDataCommand)
|
|
25
|
+
.de(Aws_query_1.de_PutMetricDataCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutMetricDataCommand = PutMetricDataCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class PutMetricStreamCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudWatchClient";
|
|
29
|
-
const commandName = "PutMetricStreamCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "PutMetricStream",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_PutMetricStreamCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_PutMetricStreamCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutMetricStreamCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("GraniteServiceVersion20100801", "PutMetricStream", {})
|
|
22
|
+
.n("CloudWatchClient", "PutMetricStreamCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_PutMetricStreamCommand)
|
|
25
|
+
.de(Aws_query_1.de_PutMetricStreamCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutMetricStreamCommand = PutMetricStreamCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class SetAlarmStateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudWatchClient";
|
|
29
|
-
const commandName = "SetAlarmStateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "SetAlarmState",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_SetAlarmStateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_SetAlarmStateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class SetAlarmStateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("GraniteServiceVersion20100801", "SetAlarmState", {})
|
|
22
|
+
.n("CloudWatchClient", "SetAlarmStateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_SetAlarmStateCommand)
|
|
25
|
+
.de(Aws_query_1.de_SetAlarmStateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.SetAlarmStateCommand = SetAlarmStateCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class StartMetricStreamsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudWatchClient";
|
|
29
|
-
const commandName = "StartMetricStreamsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "StartMetricStreams",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_StartMetricStreamsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_StartMetricStreamsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class StartMetricStreamsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("GraniteServiceVersion20100801", "StartMetricStreams", {})
|
|
22
|
+
.n("CloudWatchClient", "StartMetricStreamsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_StartMetricStreamsCommand)
|
|
25
|
+
.de(Aws_query_1.de_StartMetricStreamsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.StartMetricStreamsCommand = StartMetricStreamsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class StopMetricStreamsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudWatchClient";
|
|
29
|
-
const commandName = "StopMetricStreamsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "StopMetricStreams",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_StopMetricStreamsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_StopMetricStreamsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class StopMetricStreamsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("GraniteServiceVersion20100801", "StopMetricStreams", {})
|
|
22
|
+
.n("CloudWatchClient", "StopMetricStreamsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_StopMetricStreamsCommand)
|
|
25
|
+
.de(Aws_query_1.de_StopMetricStreamsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.StopMetricStreamsCommand = StopMetricStreamsCommand;
|