@aws-sdk/client-cloudwatch 3.477.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-cjs/pagination/DescribeAlarmHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeAlarmsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeAnomalyDetectorsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeInsightRulesPaginator.js +2 -24
- package/dist-cjs/pagination/GetMetricDataPaginator.js +2 -24
- package/dist-cjs/pagination/ListDashboardsPaginator.js +2 -23
- package/dist-cjs/pagination/ListManagedInsightRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMetricStreamsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMetricsPaginator.js +2 -23
- 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-es/pagination/DescribeAlarmHistoryPaginator.js +2 -23
- package/dist-es/pagination/DescribeAlarmsPaginator.js +2 -23
- package/dist-es/pagination/DescribeAnomalyDetectorsPaginator.js +2 -23
- package/dist-es/pagination/DescribeInsightRulesPaginator.js +2 -23
- package/dist-es/pagination/GetMetricDataPaginator.js +2 -23
- package/dist-es/pagination/ListDashboardsPaginator.js +2 -22
- package/dist-es/pagination/ListManagedInsightRulesPaginator.js +2 -23
- package/dist-es/pagination/ListMetricStreamsPaginator.js +2 -23
- package/dist-es/pagination/ListMetricsPaginator.js +2 -22
- 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/pagination/DescribeAlarmHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAlarmsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAnomalyDetectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInsightRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetMetricDataPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDashboardsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListManagedInsightRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMetricStreamsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMetricsPaginator.d.ts +1 -1
- 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/dist-types/ts3.4/pagination/DescribeAlarmHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeAlarmsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeAnomalyDetectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeInsightRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDashboardsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListManagedInsightRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMetricStreamsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -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 TagResourceCommand 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 = "TagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "TagResource",
|
|
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_TagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_TagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class TagResourceCommand 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", "TagResource", {})
|
|
22
|
+
.n("CloudWatchClient", "TagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_TagResourceCommand)
|
|
25
|
+
.de(Aws_query_1.de_TagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -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 UntagResourceCommand 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 = "UntagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "GraniteServiceVersion20100801",
|
|
38
|
-
operation: "UntagResource",
|
|
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_UntagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_UntagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagResourceCommand 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", "UntagResource", {})
|
|
22
|
+
.n("CloudWatchClient", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_query_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeAlarmHistory = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudWatchClient_1 = require("../CloudWatchClient");
|
|
5
6
|
const DescribeAlarmHistoryCommand_1 = require("../commands/DescribeAlarmHistoryCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeAlarmHistoryCommand_1.DescribeAlarmHistoryCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeAlarmHistory(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudWatchClient_1.CloudWatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeAlarmHistory = paginateDescribeAlarmHistory;
|
|
7
|
+
exports.paginateDescribeAlarmHistory = (0, core_1.createPaginator)(CloudWatchClient_1.CloudWatchClient, DescribeAlarmHistoryCommand_1.DescribeAlarmHistoryCommand, "NextToken", "NextToken", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeAlarms = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudWatchClient_1 = require("../CloudWatchClient");
|
|
5
6
|
const DescribeAlarmsCommand_1 = require("../commands/DescribeAlarmsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeAlarmsCommand_1.DescribeAlarmsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeAlarms(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudWatchClient_1.CloudWatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeAlarms = paginateDescribeAlarms;
|
|
7
|
+
exports.paginateDescribeAlarms = (0, core_1.createPaginator)(CloudWatchClient_1.CloudWatchClient, DescribeAlarmsCommand_1.DescribeAlarmsCommand, "NextToken", "NextToken", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeAnomalyDetectors = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudWatchClient_1 = require("../CloudWatchClient");
|
|
5
6
|
const DescribeAnomalyDetectorsCommand_1 = require("../commands/DescribeAnomalyDetectorsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeAnomalyDetectorsCommand_1.DescribeAnomalyDetectorsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeAnomalyDetectors(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudWatchClient_1.CloudWatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeAnomalyDetectors = paginateDescribeAnomalyDetectors;
|
|
7
|
+
exports.paginateDescribeAnomalyDetectors = (0, core_1.createPaginator)(CloudWatchClient_1.CloudWatchClient, DescribeAnomalyDetectorsCommand_1.DescribeAnomalyDetectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeInsightRules = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudWatchClient_1 = require("../CloudWatchClient");
|
|
5
6
|
const DescribeInsightRulesCommand_1 = require("../commands/DescribeInsightRulesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeInsightRulesCommand_1.DescribeInsightRulesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeInsightRules(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudWatchClient_1.CloudWatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeInsightRules = paginateDescribeInsightRules;
|
|
7
|
+
exports.paginateDescribeInsightRules = (0, core_1.createPaginator)(CloudWatchClient_1.CloudWatchClient, DescribeInsightRulesCommand_1.DescribeInsightRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetMetricData = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudWatchClient_1 = require("../CloudWatchClient");
|
|
5
6
|
const GetMetricDataCommand_1 = require("../commands/GetMetricDataCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetMetricDataCommand_1.GetMetricDataCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetMetricData(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxDatapoints"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudWatchClient_1.CloudWatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetMetricData = paginateGetMetricData;
|
|
7
|
+
exports.paginateGetMetricData = (0, core_1.createPaginator)(CloudWatchClient_1.CloudWatchClient, GetMetricDataCommand_1.GetMetricDataCommand, "NextToken", "NextToken", "MaxDatapoints");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDashboards = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudWatchClient_1 = require("../CloudWatchClient");
|
|
5
6
|
const ListDashboardsCommand_1 = require("../commands/ListDashboardsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDashboardsCommand_1.ListDashboardsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDashboards(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
if (config.client instanceof CloudWatchClient_1.CloudWatchClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.NextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListDashboards = paginateListDashboards;
|
|
7
|
+
exports.paginateListDashboards = (0, core_1.createPaginator)(CloudWatchClient_1.CloudWatchClient, ListDashboardsCommand_1.ListDashboardsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListManagedInsightRules = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudWatchClient_1 = require("../CloudWatchClient");
|
|
5
6
|
const ListManagedInsightRulesCommand_1 = require("../commands/ListManagedInsightRulesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListManagedInsightRulesCommand_1.ListManagedInsightRulesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListManagedInsightRules(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudWatchClient_1.CloudWatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListManagedInsightRules = paginateListManagedInsightRules;
|
|
7
|
+
exports.paginateListManagedInsightRules = (0, core_1.createPaginator)(CloudWatchClient_1.CloudWatchClient, ListManagedInsightRulesCommand_1.ListManagedInsightRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMetricStreams = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudWatchClient_1 = require("../CloudWatchClient");
|
|
5
6
|
const ListMetricStreamsCommand_1 = require("../commands/ListMetricStreamsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMetricStreamsCommand_1.ListMetricStreamsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMetricStreams(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudWatchClient_1.CloudWatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMetricStreams = paginateListMetricStreams;
|
|
7
|
+
exports.paginateListMetricStreams = (0, core_1.createPaginator)(CloudWatchClient_1.CloudWatchClient, ListMetricStreamsCommand_1.ListMetricStreamsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMetrics = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudWatchClient_1 = require("../CloudWatchClient");
|
|
5
6
|
const ListMetricsCommand_1 = require("../commands/ListMetricsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMetricsCommand_1.ListMetricsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMetrics(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
if (config.client instanceof CloudWatchClient_1.CloudWatchClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.NextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListMetrics = paginateListMetrics;
|
|
7
|
+
exports.paginateListMetrics = (0, core_1.createPaginator)(CloudWatchClient_1.CloudWatchClient, ListMetricsCommand_1.ListMetricsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteAlarmsCommand, se_DeleteAlarmsCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteAlarmsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudWatchClient";
|
|
26
|
-
const commandName = "DeleteAlarmsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "GraniteServiceVersion20100801",
|
|
35
|
-
operation: "DeleteAlarms",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteAlarmsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteAlarmsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteAlarmsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("GraniteServiceVersion20100801", "DeleteAlarms", {})
|
|
19
|
+
.n("CloudWatchClient", "DeleteAlarmsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAlarmsCommand)
|
|
22
|
+
.de(de_DeleteAlarmsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteAnomalyDetectorCommand, se_DeleteAnomalyDetectorCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteAnomalyDetectorCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudWatchClient";
|
|
26
|
-
const commandName = "DeleteAnomalyDetectorCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "GraniteServiceVersion20100801",
|
|
35
|
-
operation: "DeleteAnomalyDetector",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteAnomalyDetectorCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteAnomalyDetectorCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteAnomalyDetectorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("GraniteServiceVersion20100801", "DeleteAnomalyDetector", {})
|
|
19
|
+
.n("CloudWatchClient", "DeleteAnomalyDetectorCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAnomalyDetectorCommand)
|
|
22
|
+
.de(de_DeleteAnomalyDetectorCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteDashboardsCommand, se_DeleteDashboardsCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteDashboardsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudWatchClient";
|
|
26
|
-
const commandName = "DeleteDashboardsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "GraniteServiceVersion20100801",
|
|
35
|
-
operation: "DeleteDashboards",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteDashboardsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteDashboardsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteDashboardsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("GraniteServiceVersion20100801", "DeleteDashboards", {})
|
|
19
|
+
.n("CloudWatchClient", "DeleteDashboardsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteDashboardsCommand)
|
|
22
|
+
.de(de_DeleteDashboardsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|