@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.
Files changed (65) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/CloudWatchClient.js +13 -13
  3. package/dist-cjs/commands/DeleteAlarmsCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +3 -3
  5. package/dist-cjs/commands/DeleteDashboardsCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteInsightRulesCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteMetricStreamCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeAlarmsCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeInsightRulesCommand.js +3 -3
  13. package/dist-cjs/commands/DisableAlarmActionsCommand.js +3 -3
  14. package/dist-cjs/commands/DisableInsightRulesCommand.js +3 -3
  15. package/dist-cjs/commands/EnableAlarmActionsCommand.js +3 -3
  16. package/dist-cjs/commands/EnableInsightRulesCommand.js +3 -3
  17. package/dist-cjs/commands/GetDashboardCommand.js +3 -3
  18. package/dist-cjs/commands/GetInsightRuleReportCommand.js +3 -3
  19. package/dist-cjs/commands/GetMetricDataCommand.js +3 -3
  20. package/dist-cjs/commands/GetMetricStatisticsCommand.js +3 -3
  21. package/dist-cjs/commands/GetMetricStreamCommand.js +3 -3
  22. package/dist-cjs/commands/GetMetricWidgetImageCommand.js +3 -3
  23. package/dist-cjs/commands/ListDashboardsCommand.js +3 -3
  24. package/dist-cjs/commands/ListMetricStreamsCommand.js +3 -3
  25. package/dist-cjs/commands/ListMetricsCommand.js +3 -3
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  27. package/dist-cjs/commands/PutAnomalyDetectorCommand.js +3 -3
  28. package/dist-cjs/commands/PutCompositeAlarmCommand.js +3 -3
  29. package/dist-cjs/commands/PutDashboardCommand.js +3 -3
  30. package/dist-cjs/commands/PutInsightRuleCommand.js +3 -3
  31. package/dist-cjs/commands/PutMetricAlarmCommand.js +3 -3
  32. package/dist-cjs/commands/PutMetricDataCommand.js +3 -3
  33. package/dist-cjs/commands/PutMetricStreamCommand.js +3 -3
  34. package/dist-cjs/commands/SetAlarmStateCommand.js +3 -3
  35. package/dist-cjs/commands/StartMetricStreamsCommand.js +3 -3
  36. package/dist-cjs/commands/StopMetricStreamsCommand.js +3 -3
  37. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  38. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  39. package/dist-cjs/endpoints.js +1 -1
  40. package/dist-cjs/protocols/Aws_query.js +256 -256
  41. package/dist-cjs/runtimeConfig.browser.js +4 -4
  42. package/dist-cjs/runtimeConfig.js +9 -9
  43. package/dist-cjs/runtimeConfig.native.js +1 -1
  44. package/dist-cjs/waiters/waitForAlarmExists.js +3 -3
  45. package/dist-cjs/waiters/waitForCompositeAlarmExists.js +3 -3
  46. package/dist-es/CloudWatch.js +36 -36
  47. package/dist-es/pagination/DescribeAlarmHistoryPaginator.js +4 -4
  48. package/dist-es/pagination/DescribeAlarmsPaginator.js +4 -4
  49. package/dist-es/pagination/DescribeInsightRulesPaginator.js +4 -4
  50. package/dist-es/pagination/GetMetricDataPaginator.js +4 -4
  51. package/dist-es/pagination/ListDashboardsPaginator.js +4 -4
  52. package/dist-es/pagination/ListMetricStreamsPaginator.js +4 -4
  53. package/dist-es/pagination/ListMetricsPaginator.js +4 -4
  54. package/dist-es/protocols/Aws_query.js +76 -76
  55. package/dist-es/waiters/waitForAlarmExists.js +1 -1
  56. package/dist-es/waiters/waitForCompositeAlarmExists.js +1 -1
  57. package/dist-types/CloudWatchClient.d.ts +2 -2
  58. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  59. package/dist-types/runtimeConfig.d.ts +1 -1
  60. package/dist-types/runtimeConfig.native.d.ts +3 -3
  61. package/dist-types/ts3.4/CloudWatchClient.d.ts +2 -2
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  65. 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];