@aws-sdk/client-cloudwatch 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/CloudWatchClient.js +13 -13
- package/dist-cjs/commands/DeleteAlarmsCommand.js +3 -3
- package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +3 -3
- package/dist-cjs/commands/DeleteDashboardsCommand.js +3 -3
- package/dist-cjs/commands/DeleteInsightRulesCommand.js +3 -3
- package/dist-cjs/commands/DeleteMetricStreamCommand.js +3 -3
- package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +3 -3
- package/dist-cjs/commands/DescribeAlarmsCommand.js +3 -3
- package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +3 -3
- package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +3 -3
- package/dist-cjs/commands/DescribeInsightRulesCommand.js +3 -3
- package/dist-cjs/commands/DisableAlarmActionsCommand.js +3 -3
- package/dist-cjs/commands/DisableInsightRulesCommand.js +3 -3
- package/dist-cjs/commands/EnableAlarmActionsCommand.js +3 -3
- package/dist-cjs/commands/EnableInsightRulesCommand.js +3 -3
- package/dist-cjs/commands/GetDashboardCommand.js +3 -3
- package/dist-cjs/commands/GetInsightRuleReportCommand.js +3 -3
- package/dist-cjs/commands/GetMetricDataCommand.js +3 -3
- package/dist-cjs/commands/GetMetricStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetMetricStreamCommand.js +3 -3
- package/dist-cjs/commands/GetMetricWidgetImageCommand.js +3 -3
- package/dist-cjs/commands/ListDashboardsCommand.js +3 -3
- package/dist-cjs/commands/ListMetricStreamsCommand.js +3 -3
- package/dist-cjs/commands/ListMetricsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAnomalyDetectorCommand.js +3 -3
- package/dist-cjs/commands/PutCompositeAlarmCommand.js +3 -3
- package/dist-cjs/commands/PutDashboardCommand.js +3 -3
- package/dist-cjs/commands/PutInsightRuleCommand.js +3 -3
- package/dist-cjs/commands/PutMetricAlarmCommand.js +3 -3
- package/dist-cjs/commands/PutMetricDataCommand.js +3 -3
- package/dist-cjs/commands/PutMetricStreamCommand.js +3 -3
- package/dist-cjs/commands/SetAlarmStateCommand.js +3 -3
- package/dist-cjs/commands/StartMetricStreamsCommand.js +3 -3
- package/dist-cjs/commands/StopMetricStreamsCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +256 -256
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForAlarmExists.js +3 -3
- package/dist-cjs/waiters/waitForCompositeAlarmExists.js +3 -3
- package/dist-es/CloudWatch.js +36 -36
- package/dist-es/pagination/DescribeAlarmHistoryPaginator.js +4 -4
- package/dist-es/pagination/DescribeAlarmsPaginator.js +4 -4
- package/dist-es/pagination/DescribeInsightRulesPaginator.js +4 -4
- package/dist-es/pagination/GetMetricDataPaginator.js +4 -4
- package/dist-es/pagination/ListDashboardsPaginator.js +4 -4
- package/dist-es/pagination/ListMetricStreamsPaginator.js +4 -4
- package/dist-es/pagination/ListMetricsPaginator.js +4 -4
- package/dist-es/protocols/Aws_query.js +76 -76
- package/dist-es/waiters/waitForAlarmExists.js +1 -1
- package/dist-es/waiters/waitForCompositeAlarmExists.js +1 -1
- package/dist-types/CloudWatchClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CloudWatchClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListMetricsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListMetricsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listMetrics.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listMetrics.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateListMetrics(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof CloudWatch)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof CloudWatchClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|