@aws-sdk/client-cloudwatch 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_query.js +2 -2
- package/dist-es/CloudWatch.js +161 -154
- package/dist-es/CloudWatchClient.js +28 -22
- package/dist-es/commands/DeleteAlarmsCommand.js +29 -22
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +28 -21
- package/dist-es/commands/DeleteDashboardsCommand.js +28 -21
- package/dist-es/commands/DeleteInsightRulesCommand.js +28 -21
- package/dist-es/commands/DeleteMetricStreamCommand.js +28 -21
- package/dist-es/commands/DescribeAlarmHistoryCommand.js +28 -21
- package/dist-es/commands/DescribeAlarmsCommand.js +28 -21
- package/dist-es/commands/DescribeAlarmsForMetricCommand.js +28 -21
- package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +28 -21
- package/dist-es/commands/DescribeInsightRulesCommand.js +28 -21
- package/dist-es/commands/DisableAlarmActionsCommand.js +29 -22
- package/dist-es/commands/DisableInsightRulesCommand.js +28 -21
- package/dist-es/commands/EnableAlarmActionsCommand.js +29 -22
- package/dist-es/commands/EnableInsightRulesCommand.js +28 -21
- package/dist-es/commands/GetDashboardCommand.js +28 -21
- package/dist-es/commands/GetInsightRuleReportCommand.js +28 -21
- package/dist-es/commands/GetMetricDataCommand.js +28 -21
- package/dist-es/commands/GetMetricStatisticsCommand.js +28 -21
- package/dist-es/commands/GetMetricStreamCommand.js +28 -21
- package/dist-es/commands/GetMetricWidgetImageCommand.js +28 -21
- package/dist-es/commands/ListDashboardsCommand.js +28 -21
- package/dist-es/commands/ListManagedInsightRulesCommand.js +28 -21
- package/dist-es/commands/ListMetricStreamsCommand.js +28 -21
- package/dist-es/commands/ListMetricsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutAnomalyDetectorCommand.js +28 -21
- package/dist-es/commands/PutCompositeAlarmCommand.js +29 -22
- package/dist-es/commands/PutDashboardCommand.js +28 -21
- package/dist-es/commands/PutInsightRuleCommand.js +28 -21
- package/dist-es/commands/PutManagedInsightRulesCommand.js +28 -21
- package/dist-es/commands/PutMetricAlarmCommand.js +29 -22
- package/dist-es/commands/PutMetricDataCommand.js +29 -22
- package/dist-es/commands/PutMetricStreamCommand.js +28 -21
- package/dist-es/commands/SetAlarmStateCommand.js +29 -22
- package/dist-es/commands/StartMetricStreamsCommand.js +28 -21
- package/dist-es/commands/StopMetricStreamsCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CloudWatchServiceException.js +10 -5
- package/dist-es/models/models_0.js +254 -459
- package/dist-es/pagination/DescribeAlarmHistoryPaginator.js +68 -25
- package/dist-es/pagination/DescribeAlarmsPaginator.js +68 -25
- package/dist-es/pagination/DescribeAnomalyDetectorsPaginator.js +68 -25
- package/dist-es/pagination/DescribeInsightRulesPaginator.js +68 -25
- package/dist-es/pagination/GetMetricDataPaginator.js +68 -25
- package/dist-es/pagination/ListDashboardsPaginator.js +67 -24
- package/dist-es/pagination/ListManagedInsightRulesPaginator.js +68 -25
- package/dist-es/pagination/ListMetricStreamsPaginator.js +68 -25
- package/dist-es/pagination/ListMetricsPaginator.js +67 -24
- package/dist-es/protocols/Aws_query.js +3782 -2746
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForAlarmExists.js +49 -29
- package/dist-es/waiters/waitForCompositeAlarmExists.js +49 -29
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeInsightRulesInputFilterSensitiveLog, DescribeInsightRulesOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryDescribeInsightRulesCommand, serializeAws_queryDescribeInsightRulesCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeInsightRulesCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeInsightRulesCommand, _super);
|
|
8
|
+
function DescribeInsightRulesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeInsightRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "DescribeInsightRulesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeInsightRulesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeInsightRulesOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeInsightRulesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryDescribeInsightRulesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeInsightRulesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryDescribeInsightRulesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeInsightRulesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeInsightRulesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DisableAlarmActionsInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryDisableAlarmActionsCommand, serializeAws_queryDisableAlarmActionsCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DisableAlarmActionsCommand = (function (_super) {
|
|
7
|
+
__extends(DisableAlarmActionsCommand, _super);
|
|
8
|
+
function DisableAlarmActionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DisableAlarmActionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "DisableAlarmActionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DisableAlarmActionsInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisableAlarmActionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryDisableAlarmActionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DisableAlarmActionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryDisableAlarmActionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DisableAlarmActionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisableAlarmActionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DisableInsightRulesInputFilterSensitiveLog, DisableInsightRulesOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryDisableInsightRulesCommand, serializeAws_queryDisableInsightRulesCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DisableInsightRulesCommand = (function (_super) {
|
|
7
|
+
__extends(DisableInsightRulesCommand, _super);
|
|
8
|
+
function DisableInsightRulesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DisableInsightRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "DisableInsightRulesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DisableInsightRulesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DisableInsightRulesOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisableInsightRulesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryDisableInsightRulesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DisableInsightRulesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryDisableInsightRulesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DisableInsightRulesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisableInsightRulesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { EnableAlarmActionsInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryEnableAlarmActionsCommand, serializeAws_queryEnableAlarmActionsCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var EnableAlarmActionsCommand = (function (_super) {
|
|
7
|
+
__extends(EnableAlarmActionsCommand, _super);
|
|
8
|
+
function EnableAlarmActionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
EnableAlarmActionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "EnableAlarmActionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: EnableAlarmActionsInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
EnableAlarmActionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryEnableAlarmActionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
EnableAlarmActionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryEnableAlarmActionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return EnableAlarmActionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { EnableAlarmActionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { EnableInsightRulesInputFilterSensitiveLog, EnableInsightRulesOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryEnableInsightRulesCommand, serializeAws_queryEnableInsightRulesCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var EnableInsightRulesCommand = (function (_super) {
|
|
7
|
+
__extends(EnableInsightRulesCommand, _super);
|
|
8
|
+
function EnableInsightRulesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
EnableInsightRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "EnableInsightRulesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: EnableInsightRulesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: EnableInsightRulesOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
EnableInsightRulesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryEnableInsightRulesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
EnableInsightRulesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryEnableInsightRulesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return EnableInsightRulesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { EnableInsightRulesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetDashboardInputFilterSensitiveLog, GetDashboardOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetDashboardCommand, serializeAws_queryGetDashboardCommand } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDashboardCommand = (function (_super) {
|
|
7
|
+
__extends(GetDashboardCommand, _super);
|
|
8
|
+
function GetDashboardCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDashboardCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "GetDashboardCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDashboardInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetDashboardOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDashboardCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetDashboardCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDashboardCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetDashboardCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDashboardCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDashboardCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetInsightRuleReportInputFilterSensitiveLog, GetInsightRuleReportOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetInsightRuleReportCommand, serializeAws_queryGetInsightRuleReportCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInsightRuleReportCommand = (function (_super) {
|
|
7
|
+
__extends(GetInsightRuleReportCommand, _super);
|
|
8
|
+
function GetInsightRuleReportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInsightRuleReportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "GetInsightRuleReportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInsightRuleReportInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInsightRuleReportOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetInsightRuleReportCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetInsightRuleReportCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInsightRuleReportCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetInsightRuleReportCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInsightRuleReportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInsightRuleReportCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetMetricDataInputFilterSensitiveLog, GetMetricDataOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetMetricDataCommand, serializeAws_queryGetMetricDataCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetMetricDataCommand = (function (_super) {
|
|
7
|
+
__extends(GetMetricDataCommand, _super);
|
|
8
|
+
function GetMetricDataCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetMetricDataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "GetMetricDataCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetMetricDataInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetMetricDataOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetMetricDataCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetMetricDataCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetMetricDataCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetMetricDataCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetMetricDataCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetMetricDataCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetMetricStatisticsInputFilterSensitiveLog, GetMetricStatisticsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetMetricStatisticsCommand, serializeAws_queryGetMetricStatisticsCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetMetricStatisticsCommand = (function (_super) {
|
|
7
|
+
__extends(GetMetricStatisticsCommand, _super);
|
|
8
|
+
function GetMetricStatisticsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetMetricStatisticsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "GetMetricStatisticsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetMetricStatisticsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetMetricStatisticsOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetMetricStatisticsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetMetricStatisticsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetMetricStatisticsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetMetricStatisticsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetMetricStatisticsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetMetricStatisticsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetMetricStreamInputFilterSensitiveLog, GetMetricStreamOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetMetricStreamCommand, serializeAws_queryGetMetricStreamCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetMetricStreamCommand = (function (_super) {
|
|
7
|
+
__extends(GetMetricStreamCommand, _super);
|
|
8
|
+
function GetMetricStreamCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetMetricStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudWatchClient";
|
|
18
|
+
var commandName = "GetMetricStreamCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetMetricStreamInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetMetricStreamOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetMetricStreamCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetMetricStreamCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetMetricStreamCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetMetricStreamCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetMetricStreamCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetMetricStreamCommand };
|