@aws-sdk/client-cloudwatch 3.300.0 → 3.303.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 (43) hide show
  1. package/dist-cjs/models/models_0.js +93 -107
  2. package/dist-es/models/models_0.js +93 -107
  3. package/dist-types/commands/DeleteAlarmsCommand.d.ts +2 -2
  4. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +10 -12
  5. package/dist-types/commands/DeleteDashboardsCommand.d.ts +2 -2
  6. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +2 -2
  7. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +1 -1
  8. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +2 -2
  9. package/dist-types/commands/DescribeAlarmsCommand.d.ts +3 -3
  10. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +3 -3
  11. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +4 -4
  12. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +1 -1
  13. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +2 -2
  14. package/dist-types/commands/DisableInsightRulesCommand.d.ts +2 -2
  15. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +2 -2
  16. package/dist-types/commands/EnableInsightRulesCommand.d.ts +2 -2
  17. package/dist-types/commands/GetDashboardCommand.d.ts +1 -1
  18. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +2 -2
  19. package/dist-types/commands/GetMetricDataCommand.d.ts +8 -8
  20. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +5 -5
  21. package/dist-types/commands/GetMetricStreamCommand.d.ts +1 -1
  22. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +1 -1
  23. package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +1 -1
  25. package/dist-types/commands/ListMetricStreamsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListMetricsCommand.d.ts +3 -3
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +13 -15
  29. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +4 -4
  30. package/dist-types/commands/PutDashboardCommand.d.ts +1 -1
  31. package/dist-types/commands/PutInsightRuleCommand.d.ts +3 -3
  32. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +5 -5
  33. package/dist-types/commands/PutMetricAlarmCommand.d.ts +10 -10
  34. package/dist-types/commands/PutMetricDataCommand.d.ts +8 -8
  35. package/dist-types/commands/PutMetricStreamCommand.d.ts +10 -10
  36. package/dist-types/commands/SetAlarmStateCommand.d.ts +1 -1
  37. package/dist-types/commands/StartMetricStreamsCommand.d.ts +2 -2
  38. package/dist-types/commands/StopMetricStreamsCommand.d.ts +2 -2
  39. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  40. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  41. package/dist-types/models/models_0.d.ts +164 -94
  42. package/dist-types/ts3.4/models/models_0.d.ts +115 -93
  43. package/package.json +35 -35
@@ -2,27 +2,42 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum ActionsSuppressedBy {
7
- Alarm = "Alarm",
8
- ExtensionPeriod = "ExtensionPeriod",
9
- WaitPeriod = "WaitPeriod"
10
- }
7
+ export declare const ActionsSuppressedBy: {
8
+ readonly Alarm: "Alarm";
9
+ readonly ExtensionPeriod: "ExtensionPeriod";
10
+ readonly WaitPeriod: "WaitPeriod";
11
+ };
11
12
  /**
12
13
  * @public
13
14
  */
14
- export declare enum AlarmType {
15
- CompositeAlarm = "CompositeAlarm",
16
- MetricAlarm = "MetricAlarm"
17
- }
15
+ export type ActionsSuppressedBy = (typeof ActionsSuppressedBy)[keyof typeof ActionsSuppressedBy];
18
16
  /**
19
17
  * @public
18
+ * @enum
20
19
  */
21
- export declare enum HistoryItemType {
22
- Action = "Action",
23
- ConfigurationUpdate = "ConfigurationUpdate",
24
- StateUpdate = "StateUpdate"
25
- }
20
+ export declare const AlarmType: {
21
+ readonly CompositeAlarm: "CompositeAlarm";
22
+ readonly MetricAlarm: "MetricAlarm";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
28
+ /**
29
+ * @public
30
+ * @enum
31
+ */
32
+ export declare const HistoryItemType: {
33
+ readonly Action: "Action";
34
+ readonly ConfigurationUpdate: "ConfigurationUpdate";
35
+ readonly StateUpdate: "StateUpdate";
36
+ };
37
+ /**
38
+ * @public
39
+ */
40
+ export type HistoryItemType = (typeof HistoryItemType)[keyof typeof HistoryItemType];
26
41
  /**
27
42
  * @public
28
43
  * <p>Represents the history of a specific alarm.</p>
@@ -136,36 +151,41 @@ export interface Metric {
136
151
  }
137
152
  /**
138
153
  * @public
139
- */
140
- export declare enum StandardUnit {
141
- Bits = "Bits",
142
- Bits_Second = "Bits/Second",
143
- Bytes = "Bytes",
144
- Bytes_Second = "Bytes/Second",
145
- Count = "Count",
146
- Count_Second = "Count/Second",
147
- Gigabits = "Gigabits",
148
- Gigabits_Second = "Gigabits/Second",
149
- Gigabytes = "Gigabytes",
150
- Gigabytes_Second = "Gigabytes/Second",
151
- Kilobits = "Kilobits",
152
- Kilobits_Second = "Kilobits/Second",
153
- Kilobytes = "Kilobytes",
154
- Kilobytes_Second = "Kilobytes/Second",
155
- Megabits = "Megabits",
156
- Megabits_Second = "Megabits/Second",
157
- Megabytes = "Megabytes",
158
- Megabytes_Second = "Megabytes/Second",
159
- Microseconds = "Microseconds",
160
- Milliseconds = "Milliseconds",
161
- None = "None",
162
- Percent = "Percent",
163
- Seconds = "Seconds",
164
- Terabits = "Terabits",
165
- Terabits_Second = "Terabits/Second",
166
- Terabytes = "Terabytes",
167
- Terabytes_Second = "Terabytes/Second"
168
- }
154
+ * @enum
155
+ */
156
+ export declare const StandardUnit: {
157
+ readonly Bits: "Bits";
158
+ readonly Bits_Second: "Bits/Second";
159
+ readonly Bytes: "Bytes";
160
+ readonly Bytes_Second: "Bytes/Second";
161
+ readonly Count: "Count";
162
+ readonly Count_Second: "Count/Second";
163
+ readonly Gigabits: "Gigabits";
164
+ readonly Gigabits_Second: "Gigabits/Second";
165
+ readonly Gigabytes: "Gigabytes";
166
+ readonly Gigabytes_Second: "Gigabytes/Second";
167
+ readonly Kilobits: "Kilobits";
168
+ readonly Kilobits_Second: "Kilobits/Second";
169
+ readonly Kilobytes: "Kilobytes";
170
+ readonly Kilobytes_Second: "Kilobytes/Second";
171
+ readonly Megabits: "Megabits";
172
+ readonly Megabits_Second: "Megabits/Second";
173
+ readonly Megabytes: "Megabytes";
174
+ readonly Megabytes_Second: "Megabytes/Second";
175
+ readonly Microseconds: "Microseconds";
176
+ readonly Milliseconds: "Milliseconds";
177
+ readonly None: "None";
178
+ readonly Percent: "Percent";
179
+ readonly Seconds: "Seconds";
180
+ readonly Terabits: "Terabits";
181
+ readonly Terabits_Second: "Terabits/Second";
182
+ readonly Terabytes: "Terabytes";
183
+ readonly Terabytes_Second: "Terabytes/Second";
184
+ };
185
+ /**
186
+ * @public
187
+ */
188
+ export type StandardUnit = (typeof StandardUnit)[keyof typeof StandardUnit];
169
189
  /**
170
190
  * @public
171
191
  * <p>This structure defines the metric to be returned, along with the statistics, period, and units.</p>
@@ -346,12 +366,17 @@ export interface SingleMetricAnomalyDetector {
346
366
  }
347
367
  /**
348
368
  * @public
369
+ * @enum
349
370
  */
350
- export declare enum AnomalyDetectorStateValue {
351
- PENDING_TRAINING = "PENDING_TRAINING",
352
- TRAINED = "TRAINED",
353
- TRAINED_INSUFFICIENT_DATA = "TRAINED_INSUFFICIENT_DATA"
354
- }
371
+ export declare const AnomalyDetectorStateValue: {
372
+ readonly PENDING_TRAINING: "PENDING_TRAINING";
373
+ readonly TRAINED: "TRAINED";
374
+ readonly TRAINED_INSUFFICIENT_DATA: "TRAINED_INSUFFICIENT_DATA";
375
+ };
376
+ /**
377
+ * @public
378
+ */
379
+ export type AnomalyDetectorStateValue = (typeof AnomalyDetectorStateValue)[keyof typeof AnomalyDetectorStateValue];
355
380
  /**
356
381
  * @public
357
382
  * <p>An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression.
@@ -406,11 +431,16 @@ export interface AnomalyDetector {
406
431
  }
407
432
  /**
408
433
  * @public
434
+ * @enum
409
435
  */
410
- export declare enum AnomalyDetectorType {
411
- METRIC_MATH = "METRIC_MATH",
412
- SINGLE_METRIC = "SINGLE_METRIC"
413
- }
436
+ export declare const AnomalyDetectorType: {
437
+ readonly METRIC_MATH: "METRIC_MATH";
438
+ readonly SINGLE_METRIC: "SINGLE_METRIC";
439
+ };
440
+ /**
441
+ * @public
442
+ */
443
+ export type AnomalyDetectorType = (typeof AnomalyDetectorType)[keyof typeof AnomalyDetectorType];
414
444
  /**
415
445
  * @public
416
446
  * <p>This array is empty if the API operation was successful for all the rules specified in the request. If the operation could
@@ -436,24 +466,34 @@ export interface PartialFailure {
436
466
  }
437
467
  /**
438
468
  * @public
469
+ * @enum
439
470
  */
440
- export declare enum ComparisonOperator {
441
- GreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold",
442
- GreaterThanThreshold = "GreaterThanThreshold",
443
- GreaterThanUpperThreshold = "GreaterThanUpperThreshold",
444
- LessThanLowerOrGreaterThanUpperThreshold = "LessThanLowerOrGreaterThanUpperThreshold",
445
- LessThanLowerThreshold = "LessThanLowerThreshold",
446
- LessThanOrEqualToThreshold = "LessThanOrEqualToThreshold",
447
- LessThanThreshold = "LessThanThreshold"
448
- }
471
+ export declare const ComparisonOperator: {
472
+ readonly GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold";
473
+ readonly GreaterThanThreshold: "GreaterThanThreshold";
474
+ readonly GreaterThanUpperThreshold: "GreaterThanUpperThreshold";
475
+ readonly LessThanLowerOrGreaterThanUpperThreshold: "LessThanLowerOrGreaterThanUpperThreshold";
476
+ readonly LessThanLowerThreshold: "LessThanLowerThreshold";
477
+ readonly LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold";
478
+ readonly LessThanThreshold: "LessThanThreshold";
479
+ };
449
480
  /**
450
481
  * @public
451
482
  */
452
- export declare enum StateValue {
453
- ALARM = "ALARM",
454
- INSUFFICIENT_DATA = "INSUFFICIENT_DATA",
455
- OK = "OK"
456
- }
483
+ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
484
+ /**
485
+ * @public
486
+ * @enum
487
+ */
488
+ export declare const StateValue: {
489
+ readonly ALARM: "ALARM";
490
+ readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
491
+ readonly OK: "OK";
492
+ };
493
+ /**
494
+ * @public
495
+ */
496
+ export type StateValue = (typeof StateValue)[keyof typeof StateValue];
457
497
  /**
458
498
  * @public
459
499
  * <p>The details about a composite alarm.</p>
@@ -956,11 +996,16 @@ export interface DeleteMetricStreamOutput {
956
996
  }
957
997
  /**
958
998
  * @public
999
+ * @enum
959
1000
  */
960
- export declare enum ScanBy {
961
- TIMESTAMP_ASCENDING = "TimestampAscending",
962
- TIMESTAMP_DESCENDING = "TimestampDescending"
963
- }
1001
+ export declare const ScanBy: {
1002
+ readonly TIMESTAMP_ASCENDING: "TimestampAscending";
1003
+ readonly TIMESTAMP_DESCENDING: "TimestampDescending";
1004
+ };
1005
+ /**
1006
+ * @public
1007
+ */
1008
+ export type ScanBy = (typeof ScanBy)[keyof typeof ScanBy];
964
1009
  /**
965
1010
  * @public
966
1011
  */
@@ -1105,20 +1150,30 @@ export interface DescribeAlarmsInput {
1105
1150
  }
1106
1151
  /**
1107
1152
  * @public
1153
+ * @enum
1108
1154
  */
1109
- export declare enum EvaluationState {
1110
- PARTIAL_DATA = "PARTIAL_DATA"
1111
- }
1155
+ export declare const EvaluationState: {
1156
+ readonly PARTIAL_DATA: "PARTIAL_DATA";
1157
+ };
1112
1158
  /**
1113
1159
  * @public
1114
1160
  */
1115
- export declare enum Statistic {
1116
- Average = "Average",
1117
- Maximum = "Maximum",
1118
- Minimum = "Minimum",
1119
- SampleCount = "SampleCount",
1120
- Sum = "Sum"
1121
- }
1161
+ export type EvaluationState = (typeof EvaluationState)[keyof typeof EvaluationState];
1162
+ /**
1163
+ * @public
1164
+ * @enum
1165
+ */
1166
+ export declare const Statistic: {
1167
+ readonly Average: "Average";
1168
+ readonly Maximum: "Maximum";
1169
+ readonly Minimum: "Minimum";
1170
+ readonly SampleCount: "SampleCount";
1171
+ readonly Sum: "Sum";
1172
+ };
1173
+ /**
1174
+ * @public
1175
+ */
1176
+ export type Statistic = (typeof Statistic)[keyof typeof Statistic];
1122
1177
  /**
1123
1178
  * @public
1124
1179
  * <p>The details about a metric alarm.</p>
@@ -1863,13 +1918,18 @@ export interface MessageData {
1863
1918
  }
1864
1919
  /**
1865
1920
  * @public
1921
+ * @enum
1866
1922
  */
1867
- export declare enum StatusCode {
1868
- COMPLETE = "Complete",
1869
- FORBIDDEN = "Forbidden",
1870
- INTERNAL_ERROR = "InternalError",
1871
- PARTIAL_DATA = "PartialData"
1872
- }
1923
+ export declare const StatusCode: {
1924
+ readonly COMPLETE: "Complete";
1925
+ readonly FORBIDDEN: "Forbidden";
1926
+ readonly INTERNAL_ERROR: "InternalError";
1927
+ readonly PARTIAL_DATA: "PartialData";
1928
+ };
1929
+ /**
1930
+ * @public
1931
+ */
1932
+ export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
1873
1933
  /**
1874
1934
  * @public
1875
1935
  * <p>A <code>GetMetricData</code> call returns an array of <code>MetricDataResult</code>
@@ -2066,11 +2126,16 @@ export interface MetricStreamFilter {
2066
2126
  }
2067
2127
  /**
2068
2128
  * @public
2129
+ * @enum
2069
2130
  */
2070
- export declare enum MetricStreamOutputFormat {
2071
- JSON = "json",
2072
- OPEN_TELEMETRY_0_7 = "opentelemetry0.7"
2073
- }
2131
+ export declare const MetricStreamOutputFormat: {
2132
+ readonly JSON: "json";
2133
+ readonly OPEN_TELEMETRY_0_7: "opentelemetry0.7";
2134
+ };
2135
+ /**
2136
+ * @public
2137
+ */
2138
+ export type MetricStreamOutputFormat = (typeof MetricStreamOutputFormat)[keyof typeof MetricStreamOutputFormat];
2074
2139
  /**
2075
2140
  * @public
2076
2141
  * <p>This object contains the information for one metric that is to be streamed with
@@ -2408,10 +2473,15 @@ export interface ListManagedInsightRulesOutput {
2408
2473
  }
2409
2474
  /**
2410
2475
  * @public
2476
+ * @enum
2411
2477
  */
2412
- export declare enum RecentlyActive {
2413
- PT3H = "PT3H"
2414
- }
2478
+ export declare const RecentlyActive: {
2479
+ readonly PT3H: "PT3H";
2480
+ };
2481
+ /**
2482
+ * @public
2483
+ */
2484
+ export type RecentlyActive = (typeof RecentlyActive)[keyof typeof RecentlyActive];
2415
2485
  /**
2416
2486
  * @public
2417
2487
  */
@@ -1,19 +1,24 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
3
- export declare enum ActionsSuppressedBy {
4
- Alarm = "Alarm",
5
- ExtensionPeriod = "ExtensionPeriod",
6
- WaitPeriod = "WaitPeriod",
7
- }
8
- export declare enum AlarmType {
9
- CompositeAlarm = "CompositeAlarm",
10
- MetricAlarm = "MetricAlarm",
11
- }
12
- export declare enum HistoryItemType {
13
- Action = "Action",
14
- ConfigurationUpdate = "ConfigurationUpdate",
15
- StateUpdate = "StateUpdate",
16
- }
3
+ export declare const ActionsSuppressedBy: {
4
+ readonly Alarm: "Alarm";
5
+ readonly ExtensionPeriod: "ExtensionPeriod";
6
+ readonly WaitPeriod: "WaitPeriod";
7
+ };
8
+ export type ActionsSuppressedBy =
9
+ (typeof ActionsSuppressedBy)[keyof typeof ActionsSuppressedBy];
10
+ export declare const AlarmType: {
11
+ readonly CompositeAlarm: "CompositeAlarm";
12
+ readonly MetricAlarm: "MetricAlarm";
13
+ };
14
+ export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
15
+ export declare const HistoryItemType: {
16
+ readonly Action: "Action";
17
+ readonly ConfigurationUpdate: "ConfigurationUpdate";
18
+ readonly StateUpdate: "StateUpdate";
19
+ };
20
+ export type HistoryItemType =
21
+ (typeof HistoryItemType)[keyof typeof HistoryItemType];
17
22
  export interface AlarmHistoryItem {
18
23
  AlarmName?: string;
19
24
  AlarmType?: AlarmType | string;
@@ -39,35 +44,36 @@ export interface Metric {
39
44
  MetricName?: string;
40
45
  Dimensions?: Dimension[];
41
46
  }
42
- export declare enum StandardUnit {
43
- Bits = "Bits",
44
- Bits_Second = "Bits/Second",
45
- Bytes = "Bytes",
46
- Bytes_Second = "Bytes/Second",
47
- Count = "Count",
48
- Count_Second = "Count/Second",
49
- Gigabits = "Gigabits",
50
- Gigabits_Second = "Gigabits/Second",
51
- Gigabytes = "Gigabytes",
52
- Gigabytes_Second = "Gigabytes/Second",
53
- Kilobits = "Kilobits",
54
- Kilobits_Second = "Kilobits/Second",
55
- Kilobytes = "Kilobytes",
56
- Kilobytes_Second = "Kilobytes/Second",
57
- Megabits = "Megabits",
58
- Megabits_Second = "Megabits/Second",
59
- Megabytes = "Megabytes",
60
- Megabytes_Second = "Megabytes/Second",
61
- Microseconds = "Microseconds",
62
- Milliseconds = "Milliseconds",
63
- None = "None",
64
- Percent = "Percent",
65
- Seconds = "Seconds",
66
- Terabits = "Terabits",
67
- Terabits_Second = "Terabits/Second",
68
- Terabytes = "Terabytes",
69
- Terabytes_Second = "Terabytes/Second",
70
- }
47
+ export declare const StandardUnit: {
48
+ readonly Bits: "Bits";
49
+ readonly Bits_Second: "Bits/Second";
50
+ readonly Bytes: "Bytes";
51
+ readonly Bytes_Second: "Bytes/Second";
52
+ readonly Count: "Count";
53
+ readonly Count_Second: "Count/Second";
54
+ readonly Gigabits: "Gigabits";
55
+ readonly Gigabits_Second: "Gigabits/Second";
56
+ readonly Gigabytes: "Gigabytes";
57
+ readonly Gigabytes_Second: "Gigabytes/Second";
58
+ readonly Kilobits: "Kilobits";
59
+ readonly Kilobits_Second: "Kilobits/Second";
60
+ readonly Kilobytes: "Kilobytes";
61
+ readonly Kilobytes_Second: "Kilobytes/Second";
62
+ readonly Megabits: "Megabits";
63
+ readonly Megabits_Second: "Megabits/Second";
64
+ readonly Megabytes: "Megabytes";
65
+ readonly Megabytes_Second: "Megabytes/Second";
66
+ readonly Microseconds: "Microseconds";
67
+ readonly Milliseconds: "Milliseconds";
68
+ readonly None: "None";
69
+ readonly Percent: "Percent";
70
+ readonly Seconds: "Seconds";
71
+ readonly Terabits: "Terabits";
72
+ readonly Terabits_Second: "Terabits/Second";
73
+ readonly Terabytes: "Terabytes";
74
+ readonly Terabytes_Second: "Terabytes/Second";
75
+ };
76
+ export type StandardUnit = (typeof StandardUnit)[keyof typeof StandardUnit];
71
77
  export interface MetricStat {
72
78
  Metric: Metric | undefined;
73
79
  Period: number | undefined;
@@ -92,11 +98,13 @@ export interface SingleMetricAnomalyDetector {
92
98
  Dimensions?: Dimension[];
93
99
  Stat?: string;
94
100
  }
95
- export declare enum AnomalyDetectorStateValue {
96
- PENDING_TRAINING = "PENDING_TRAINING",
97
- TRAINED = "TRAINED",
98
- TRAINED_INSUFFICIENT_DATA = "TRAINED_INSUFFICIENT_DATA",
99
- }
101
+ export declare const AnomalyDetectorStateValue: {
102
+ readonly PENDING_TRAINING: "PENDING_TRAINING";
103
+ readonly TRAINED: "TRAINED";
104
+ readonly TRAINED_INSUFFICIENT_DATA: "TRAINED_INSUFFICIENT_DATA";
105
+ };
106
+ export type AnomalyDetectorStateValue =
107
+ (typeof AnomalyDetectorStateValue)[keyof typeof AnomalyDetectorStateValue];
100
108
  export interface AnomalyDetector {
101
109
  Namespace?: string;
102
110
  MetricName?: string;
@@ -107,30 +115,35 @@ export interface AnomalyDetector {
107
115
  SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector;
108
116
  MetricMathAnomalyDetector?: MetricMathAnomalyDetector;
109
117
  }
110
- export declare enum AnomalyDetectorType {
111
- METRIC_MATH = "METRIC_MATH",
112
- SINGLE_METRIC = "SINGLE_METRIC",
113
- }
118
+ export declare const AnomalyDetectorType: {
119
+ readonly METRIC_MATH: "METRIC_MATH";
120
+ readonly SINGLE_METRIC: "SINGLE_METRIC";
121
+ };
122
+ export type AnomalyDetectorType =
123
+ (typeof AnomalyDetectorType)[keyof typeof AnomalyDetectorType];
114
124
  export interface PartialFailure {
115
125
  FailureResource?: string;
116
126
  ExceptionType?: string;
117
127
  FailureCode?: string;
118
128
  FailureDescription?: string;
119
129
  }
120
- export declare enum ComparisonOperator {
121
- GreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold",
122
- GreaterThanThreshold = "GreaterThanThreshold",
123
- GreaterThanUpperThreshold = "GreaterThanUpperThreshold",
124
- LessThanLowerOrGreaterThanUpperThreshold = "LessThanLowerOrGreaterThanUpperThreshold",
125
- LessThanLowerThreshold = "LessThanLowerThreshold",
126
- LessThanOrEqualToThreshold = "LessThanOrEqualToThreshold",
127
- LessThanThreshold = "LessThanThreshold",
128
- }
129
- export declare enum StateValue {
130
- ALARM = "ALARM",
131
- INSUFFICIENT_DATA = "INSUFFICIENT_DATA",
132
- OK = "OK",
133
- }
130
+ export declare const ComparisonOperator: {
131
+ readonly GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold";
132
+ readonly GreaterThanThreshold: "GreaterThanThreshold";
133
+ readonly GreaterThanUpperThreshold: "GreaterThanUpperThreshold";
134
+ readonly LessThanLowerOrGreaterThanUpperThreshold: "LessThanLowerOrGreaterThanUpperThreshold";
135
+ readonly LessThanLowerThreshold: "LessThanLowerThreshold";
136
+ readonly LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold";
137
+ readonly LessThanThreshold: "LessThanThreshold";
138
+ };
139
+ export type ComparisonOperator =
140
+ (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
141
+ export declare const StateValue: {
142
+ readonly ALARM: "ALARM";
143
+ readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
144
+ readonly OK: "OK";
145
+ };
146
+ export type StateValue = (typeof StateValue)[keyof typeof StateValue];
134
147
  export interface CompositeAlarm {
135
148
  ActionsEnabled?: boolean;
136
149
  AlarmActions?: string[];
@@ -274,10 +287,11 @@ export interface DeleteMetricStreamInput {
274
287
  Name: string | undefined;
275
288
  }
276
289
  export interface DeleteMetricStreamOutput {}
277
- export declare enum ScanBy {
278
- TIMESTAMP_ASCENDING = "TimestampAscending",
279
- TIMESTAMP_DESCENDING = "TimestampDescending",
280
- }
290
+ export declare const ScanBy: {
291
+ readonly TIMESTAMP_ASCENDING: "TimestampAscending";
292
+ readonly TIMESTAMP_DESCENDING: "TimestampDescending";
293
+ };
294
+ export type ScanBy = (typeof ScanBy)[keyof typeof ScanBy];
281
295
  export interface DescribeAlarmHistoryInput {
282
296
  AlarmName?: string;
283
297
  AlarmTypes?: (AlarmType | string)[];
@@ -308,16 +322,19 @@ export interface DescribeAlarmsInput {
308
322
  MaxRecords?: number;
309
323
  NextToken?: string;
310
324
  }
311
- export declare enum EvaluationState {
312
- PARTIAL_DATA = "PARTIAL_DATA",
313
- }
314
- export declare enum Statistic {
315
- Average = "Average",
316
- Maximum = "Maximum",
317
- Minimum = "Minimum",
318
- SampleCount = "SampleCount",
319
- Sum = "Sum",
320
- }
325
+ export declare const EvaluationState: {
326
+ readonly PARTIAL_DATA: "PARTIAL_DATA";
327
+ };
328
+ export type EvaluationState =
329
+ (typeof EvaluationState)[keyof typeof EvaluationState];
330
+ export declare const Statistic: {
331
+ readonly Average: "Average";
332
+ readonly Maximum: "Maximum";
333
+ readonly Minimum: "Minimum";
334
+ readonly SampleCount: "SampleCount";
335
+ readonly Sum: "Sum";
336
+ };
337
+ export type Statistic = (typeof Statistic)[keyof typeof Statistic];
321
338
  export interface MetricAlarm {
322
339
  AlarmName?: string;
323
340
  AlarmArn?: string;
@@ -483,12 +500,13 @@ export interface MessageData {
483
500
  Code?: string;
484
501
  Value?: string;
485
502
  }
486
- export declare enum StatusCode {
487
- COMPLETE = "Complete",
488
- FORBIDDEN = "Forbidden",
489
- INTERNAL_ERROR = "InternalError",
490
- PARTIAL_DATA = "PartialData",
491
- }
503
+ export declare const StatusCode: {
504
+ readonly COMPLETE: "Complete";
505
+ readonly FORBIDDEN: "Forbidden";
506
+ readonly INTERNAL_ERROR: "InternalError";
507
+ readonly PARTIAL_DATA: "PartialData";
508
+ };
509
+ export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
492
510
  export interface MetricDataResult {
493
511
  Id?: string;
494
512
  Label?: string;
@@ -523,10 +541,12 @@ export interface GetMetricStreamInput {
523
541
  export interface MetricStreamFilter {
524
542
  Namespace?: string;
525
543
  }
526
- export declare enum MetricStreamOutputFormat {
527
- JSON = "json",
528
- OPEN_TELEMETRY_0_7 = "opentelemetry0.7",
529
- }
544
+ export declare const MetricStreamOutputFormat: {
545
+ readonly JSON: "json";
546
+ readonly OPEN_TELEMETRY_0_7: "opentelemetry0.7";
547
+ };
548
+ export type MetricStreamOutputFormat =
549
+ (typeof MetricStreamOutputFormat)[keyof typeof MetricStreamOutputFormat];
530
550
  export interface MetricStreamStatisticsMetric {
531
551
  Namespace: string | undefined;
532
552
  MetricName: string | undefined;
@@ -582,9 +602,11 @@ export interface ListManagedInsightRulesOutput {
582
602
  ManagedRules?: ManagedRuleDescription[];
583
603
  NextToken?: string;
584
604
  }
585
- export declare enum RecentlyActive {
586
- PT3H = "PT3H",
587
- }
605
+ export declare const RecentlyActive: {
606
+ readonly PT3H: "PT3H";
607
+ };
608
+ export type RecentlyActive =
609
+ (typeof RecentlyActive)[keyof typeof RecentlyActive];
588
610
  export interface ListMetricsInput {
589
611
  Namespace?: string;
590
612
  MetricName?: string;