@aws-sdk/client-cloudwatch 3.988.0 → 3.990.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/index.js CHANGED
@@ -802,6 +802,8 @@ const ScanBy = {
802
802
  TIMESTAMP_DESCENDING: "TimestampDescending",
803
803
  };
804
804
  const EvaluationState = {
805
+ EVALUATION_ERROR: "EVALUATION_ERROR",
806
+ EVALUATION_FAILURE: "EVALUATION_FAILURE",
805
807
  PARTIAL_DATA: "PARTIAL_DATA",
806
808
  };
807
809
  const Statistic = {
@@ -71,6 +71,8 @@ export const ScanBy = {
71
71
  TIMESTAMP_DESCENDING: "TimestampDescending",
72
72
  };
73
73
  export const EvaluationState = {
74
+ EVALUATION_ERROR: "EVALUATION_ERROR",
75
+ EVALUATION_FAILURE: "EVALUATION_FAILURE",
74
76
  PARTIAL_DATA: "PARTIAL_DATA",
75
77
  };
76
78
  export const Statistic = {
@@ -150,7 +150,7 @@ declare const DescribeAlarmsCommand_base: {
150
150
  * // },
151
151
  * // ],
152
152
  * // ThresholdMetricId: "STRING_VALUE",
153
- * // EvaluationState: "PARTIAL_DATA",
153
+ * // EvaluationState: "PARTIAL_DATA" || "EVALUATION_FAILURE" || "EVALUATION_ERROR",
154
154
  * // StateTransitionedTimestamp: new Date("TIMESTAMP"),
155
155
  * // },
156
156
  * // ],
@@ -121,7 +121,7 @@ declare const DescribeAlarmsForMetricCommand_base: {
121
121
  * // },
122
122
  * // ],
123
123
  * // ThresholdMetricId: "STRING_VALUE",
124
- * // EvaluationState: "PARTIAL_DATA",
124
+ * // EvaluationState: "PARTIAL_DATA" || "EVALUATION_FAILURE" || "EVALUATION_ERROR",
125
125
  * // StateTransitionedTimestamp: new Date("TIMESTAMP"),
126
126
  * // },
127
127
  * // ],
@@ -147,6 +147,8 @@ export type ScanBy = (typeof ScanBy)[keyof typeof ScanBy];
147
147
  * @enum
148
148
  */
149
149
  export declare const EvaluationState: {
150
+ readonly EVALUATION_ERROR: "EVALUATION_ERROR";
151
+ readonly EVALUATION_FAILURE: "EVALUATION_FAILURE";
150
152
  readonly PARTIAL_DATA: "PARTIAL_DATA";
151
153
  };
152
154
  /**
@@ -1244,10 +1244,10 @@ export interface MetricAlarm {
1244
1244
  */
1245
1245
  ThresholdMetricId?: string | undefined;
1246
1246
  /**
1247
- * <p>If the value of this field is <code>PARTIAL_DATA</code>, the alarm is being evaluated
1248
- * based on only partial data. This happens if the query used for the alarm returns more
1249
- * than 10,000 metrics. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Metrics_Insights_Alarm.html">Create
1247
+ * <p>If the value of this field is <code>PARTIAL_DATA</code>, it indicates that not all the available data was able to be retrieved due to quota limitations. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Metrics_Insights_Alarm.html">Create
1250
1248
  * alarms on Metrics Insights queries</a>.</p>
1249
+ * <p>If the value of this field is <code>EVALUATION_ERROR</code>, it indicates configuration errors in alarm setup that require review and correction. Refer to StateReason field of the alarm for more details.</p>
1250
+ * <p>If the value of this field is <code>EVALUATION_FAILURE</code>, it indicates temporary CloudWatch issues. We recommend manual monitoring until the issue is resolved </p>
1251
1251
  * @public
1252
1252
  */
1253
1253
  EvaluationState?: EvaluationState | undefined;
@@ -85,6 +85,8 @@ export declare const ScanBy: {
85
85
  };
86
86
  export type ScanBy = (typeof ScanBy)[keyof typeof ScanBy];
87
87
  export declare const EvaluationState: {
88
+ readonly EVALUATION_ERROR: "EVALUATION_ERROR";
89
+ readonly EVALUATION_FAILURE: "EVALUATION_FAILURE";
88
90
  readonly PARTIAL_DATA: "PARTIAL_DATA";
89
91
  };
90
92
  export type EvaluationState =
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
4
- "version": "3.988.0",
4
+ "version": "3.990.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudwatch",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.8",
27
- "@aws-sdk/credential-provider-node": "^3.972.7",
26
+ "@aws-sdk/core": "^3.973.10",
27
+ "@aws-sdk/credential-provider-node": "^3.972.9",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.3",
29
29
  "@aws-sdk/middleware-logger": "^3.972.3",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
- "@aws-sdk/middleware-user-agent": "^3.972.8",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.10",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.3",
33
33
  "@aws-sdk/types": "^3.973.1",
34
- "@aws-sdk/util-endpoints": "3.988.0",
34
+ "@aws-sdk/util-endpoints": "3.990.0",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
- "@aws-sdk/util-user-agent-node": "^3.972.6",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.8",
37
37
  "@smithy/config-resolver": "^4.4.6",
38
38
  "@smithy/core": "^3.23.0",
39
39
  "@smithy/fetch-http-handler": "^5.3.9",