@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.
- package/dist-cjs/models/models_0.js +93 -107
- package/dist-es/models/models_0.js +93 -107
- package/dist-types/commands/DeleteAlarmsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +10 -12
- package/dist-types/commands/DeleteDashboardsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +2 -2
- package/dist-types/commands/DeleteMetricStreamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/DisableAlarmActionsCommand.d.ts +2 -2
- package/dist-types/commands/DisableInsightRulesCommand.d.ts +2 -2
- package/dist-types/commands/EnableAlarmActionsCommand.d.ts +2 -2
- package/dist-types/commands/EnableInsightRulesCommand.d.ts +2 -2
- package/dist-types/commands/GetDashboardCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +2 -2
- package/dist-types/commands/GetMetricDataCommand.d.ts +8 -8
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +5 -5
- package/dist-types/commands/GetMetricStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +1 -1
- package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
- package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricStreamsCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +13 -15
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +4 -4
- package/dist-types/commands/PutDashboardCommand.d.ts +1 -1
- package/dist-types/commands/PutInsightRuleCommand.d.ts +3 -3
- package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +5 -5
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +10 -10
- package/dist-types/commands/PutMetricDataCommand.d.ts +8 -8
- package/dist-types/commands/PutMetricStreamCommand.d.ts +10 -10
- package/dist-types/commands/SetAlarmStateCommand.d.ts +1 -1
- package/dist-types/commands/StartMetricStreamsCommand.d.ts +2 -2
- package/dist-types/commands/StopMetricStreamsCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +164 -94
- package/dist-types/ts3.4/models/models_0.d.ts +115 -93
- package/package.json +35 -35
|
@@ -2,80 +2,72 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InvalidFormatFault = exports.LimitExceededFault = exports.RecentlyActive = exports.MetricStreamOutputFormat = exports.StatusCode = exports.LimitExceededException = exports.Statistic = exports.EvaluationState = exports.InvalidNextToken = exports.ScanBy = exports.ResourceNotFoundException = exports.MissingRequiredParameterException = exports.InvalidParameterValueException = exports.InvalidParameterCombinationException = exports.InternalServiceFault = exports.ResourceNotFound = exports.DashboardNotFoundError = exports.DashboardInvalidInputError = exports.ConcurrentModificationException = exports.StateValue = exports.ComparisonOperator = exports.AnomalyDetectorType = exports.AnomalyDetectorStateValue = exports.StandardUnit = exports.HistoryItemType = exports.AlarmType = exports.ActionsSuppressedBy = void 0;
|
|
4
4
|
const CloudWatchServiceException_1 = require("./CloudWatchServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
ComparisonOperator["LessThanThreshold"] = "LessThanThreshold";
|
|
72
|
-
})(ComparisonOperator = exports.ComparisonOperator || (exports.ComparisonOperator = {}));
|
|
73
|
-
var StateValue;
|
|
74
|
-
(function (StateValue) {
|
|
75
|
-
StateValue["ALARM"] = "ALARM";
|
|
76
|
-
StateValue["INSUFFICIENT_DATA"] = "INSUFFICIENT_DATA";
|
|
77
|
-
StateValue["OK"] = "OK";
|
|
78
|
-
})(StateValue = exports.StateValue || (exports.StateValue = {}));
|
|
5
|
+
exports.ActionsSuppressedBy = {
|
|
6
|
+
Alarm: "Alarm",
|
|
7
|
+
ExtensionPeriod: "ExtensionPeriod",
|
|
8
|
+
WaitPeriod: "WaitPeriod",
|
|
9
|
+
};
|
|
10
|
+
exports.AlarmType = {
|
|
11
|
+
CompositeAlarm: "CompositeAlarm",
|
|
12
|
+
MetricAlarm: "MetricAlarm",
|
|
13
|
+
};
|
|
14
|
+
exports.HistoryItemType = {
|
|
15
|
+
Action: "Action",
|
|
16
|
+
ConfigurationUpdate: "ConfigurationUpdate",
|
|
17
|
+
StateUpdate: "StateUpdate",
|
|
18
|
+
};
|
|
19
|
+
exports.StandardUnit = {
|
|
20
|
+
Bits: "Bits",
|
|
21
|
+
Bits_Second: "Bits/Second",
|
|
22
|
+
Bytes: "Bytes",
|
|
23
|
+
Bytes_Second: "Bytes/Second",
|
|
24
|
+
Count: "Count",
|
|
25
|
+
Count_Second: "Count/Second",
|
|
26
|
+
Gigabits: "Gigabits",
|
|
27
|
+
Gigabits_Second: "Gigabits/Second",
|
|
28
|
+
Gigabytes: "Gigabytes",
|
|
29
|
+
Gigabytes_Second: "Gigabytes/Second",
|
|
30
|
+
Kilobits: "Kilobits",
|
|
31
|
+
Kilobits_Second: "Kilobits/Second",
|
|
32
|
+
Kilobytes: "Kilobytes",
|
|
33
|
+
Kilobytes_Second: "Kilobytes/Second",
|
|
34
|
+
Megabits: "Megabits",
|
|
35
|
+
Megabits_Second: "Megabits/Second",
|
|
36
|
+
Megabytes: "Megabytes",
|
|
37
|
+
Megabytes_Second: "Megabytes/Second",
|
|
38
|
+
Microseconds: "Microseconds",
|
|
39
|
+
Milliseconds: "Milliseconds",
|
|
40
|
+
None: "None",
|
|
41
|
+
Percent: "Percent",
|
|
42
|
+
Seconds: "Seconds",
|
|
43
|
+
Terabits: "Terabits",
|
|
44
|
+
Terabits_Second: "Terabits/Second",
|
|
45
|
+
Terabytes: "Terabytes",
|
|
46
|
+
Terabytes_Second: "Terabytes/Second",
|
|
47
|
+
};
|
|
48
|
+
exports.AnomalyDetectorStateValue = {
|
|
49
|
+
PENDING_TRAINING: "PENDING_TRAINING",
|
|
50
|
+
TRAINED: "TRAINED",
|
|
51
|
+
TRAINED_INSUFFICIENT_DATA: "TRAINED_INSUFFICIENT_DATA",
|
|
52
|
+
};
|
|
53
|
+
exports.AnomalyDetectorType = {
|
|
54
|
+
METRIC_MATH: "METRIC_MATH",
|
|
55
|
+
SINGLE_METRIC: "SINGLE_METRIC",
|
|
56
|
+
};
|
|
57
|
+
exports.ComparisonOperator = {
|
|
58
|
+
GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold",
|
|
59
|
+
GreaterThanThreshold: "GreaterThanThreshold",
|
|
60
|
+
GreaterThanUpperThreshold: "GreaterThanUpperThreshold",
|
|
61
|
+
LessThanLowerOrGreaterThanUpperThreshold: "LessThanLowerOrGreaterThanUpperThreshold",
|
|
62
|
+
LessThanLowerThreshold: "LessThanLowerThreshold",
|
|
63
|
+
LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold",
|
|
64
|
+
LessThanThreshold: "LessThanThreshold",
|
|
65
|
+
};
|
|
66
|
+
exports.StateValue = {
|
|
67
|
+
ALARM: "ALARM",
|
|
68
|
+
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
69
|
+
OK: "OK",
|
|
70
|
+
};
|
|
79
71
|
class ConcurrentModificationException extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
80
72
|
constructor(opts) {
|
|
81
73
|
super({
|
|
@@ -199,11 +191,10 @@ class ResourceNotFoundException extends CloudWatchServiceException_1.CloudWatchS
|
|
|
199
191
|
}
|
|
200
192
|
}
|
|
201
193
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
})(ScanBy = exports.ScanBy || (exports.ScanBy = {}));
|
|
194
|
+
exports.ScanBy = {
|
|
195
|
+
TIMESTAMP_ASCENDING: "TimestampAscending",
|
|
196
|
+
TIMESTAMP_DESCENDING: "TimestampDescending",
|
|
197
|
+
};
|
|
207
198
|
class InvalidNextToken extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
208
199
|
constructor(opts) {
|
|
209
200
|
super({
|
|
@@ -217,18 +208,16 @@ class InvalidNextToken extends CloudWatchServiceException_1.CloudWatchServiceExc
|
|
|
217
208
|
}
|
|
218
209
|
}
|
|
219
210
|
exports.InvalidNextToken = InvalidNextToken;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
Statistic["Sum"] = "Sum";
|
|
231
|
-
})(Statistic = exports.Statistic || (exports.Statistic = {}));
|
|
211
|
+
exports.EvaluationState = {
|
|
212
|
+
PARTIAL_DATA: "PARTIAL_DATA",
|
|
213
|
+
};
|
|
214
|
+
exports.Statistic = {
|
|
215
|
+
Average: "Average",
|
|
216
|
+
Maximum: "Maximum",
|
|
217
|
+
Minimum: "Minimum",
|
|
218
|
+
SampleCount: "SampleCount",
|
|
219
|
+
Sum: "Sum",
|
|
220
|
+
};
|
|
232
221
|
class LimitExceededException extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
233
222
|
constructor(opts) {
|
|
234
223
|
super({
|
|
@@ -243,22 +232,19 @@ class LimitExceededException extends CloudWatchServiceException_1.CloudWatchServ
|
|
|
243
232
|
}
|
|
244
233
|
}
|
|
245
234
|
exports.LimitExceededException = LimitExceededException;
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
(function (RecentlyActive) {
|
|
260
|
-
RecentlyActive["PT3H"] = "PT3H";
|
|
261
|
-
})(RecentlyActive = exports.RecentlyActive || (exports.RecentlyActive = {}));
|
|
235
|
+
exports.StatusCode = {
|
|
236
|
+
COMPLETE: "Complete",
|
|
237
|
+
FORBIDDEN: "Forbidden",
|
|
238
|
+
INTERNAL_ERROR: "InternalError",
|
|
239
|
+
PARTIAL_DATA: "PartialData",
|
|
240
|
+
};
|
|
241
|
+
exports.MetricStreamOutputFormat = {
|
|
242
|
+
JSON: "json",
|
|
243
|
+
OPEN_TELEMETRY_0_7: "opentelemetry0.7",
|
|
244
|
+
};
|
|
245
|
+
exports.RecentlyActive = {
|
|
246
|
+
PT3H: "PT3H",
|
|
247
|
+
};
|
|
262
248
|
class LimitExceededFault extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
263
249
|
constructor(opts) {
|
|
264
250
|
super({
|
|
@@ -1,78 +1,70 @@
|
|
|
1
1
|
import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
ComparisonOperator["LessThanThreshold"] = "LessThanThreshold";
|
|
69
|
-
})(ComparisonOperator || (ComparisonOperator = {}));
|
|
70
|
-
export var StateValue;
|
|
71
|
-
(function (StateValue) {
|
|
72
|
-
StateValue["ALARM"] = "ALARM";
|
|
73
|
-
StateValue["INSUFFICIENT_DATA"] = "INSUFFICIENT_DATA";
|
|
74
|
-
StateValue["OK"] = "OK";
|
|
75
|
-
})(StateValue || (StateValue = {}));
|
|
2
|
+
export const ActionsSuppressedBy = {
|
|
3
|
+
Alarm: "Alarm",
|
|
4
|
+
ExtensionPeriod: "ExtensionPeriod",
|
|
5
|
+
WaitPeriod: "WaitPeriod",
|
|
6
|
+
};
|
|
7
|
+
export const AlarmType = {
|
|
8
|
+
CompositeAlarm: "CompositeAlarm",
|
|
9
|
+
MetricAlarm: "MetricAlarm",
|
|
10
|
+
};
|
|
11
|
+
export const HistoryItemType = {
|
|
12
|
+
Action: "Action",
|
|
13
|
+
ConfigurationUpdate: "ConfigurationUpdate",
|
|
14
|
+
StateUpdate: "StateUpdate",
|
|
15
|
+
};
|
|
16
|
+
export const StandardUnit = {
|
|
17
|
+
Bits: "Bits",
|
|
18
|
+
Bits_Second: "Bits/Second",
|
|
19
|
+
Bytes: "Bytes",
|
|
20
|
+
Bytes_Second: "Bytes/Second",
|
|
21
|
+
Count: "Count",
|
|
22
|
+
Count_Second: "Count/Second",
|
|
23
|
+
Gigabits: "Gigabits",
|
|
24
|
+
Gigabits_Second: "Gigabits/Second",
|
|
25
|
+
Gigabytes: "Gigabytes",
|
|
26
|
+
Gigabytes_Second: "Gigabytes/Second",
|
|
27
|
+
Kilobits: "Kilobits",
|
|
28
|
+
Kilobits_Second: "Kilobits/Second",
|
|
29
|
+
Kilobytes: "Kilobytes",
|
|
30
|
+
Kilobytes_Second: "Kilobytes/Second",
|
|
31
|
+
Megabits: "Megabits",
|
|
32
|
+
Megabits_Second: "Megabits/Second",
|
|
33
|
+
Megabytes: "Megabytes",
|
|
34
|
+
Megabytes_Second: "Megabytes/Second",
|
|
35
|
+
Microseconds: "Microseconds",
|
|
36
|
+
Milliseconds: "Milliseconds",
|
|
37
|
+
None: "None",
|
|
38
|
+
Percent: "Percent",
|
|
39
|
+
Seconds: "Seconds",
|
|
40
|
+
Terabits: "Terabits",
|
|
41
|
+
Terabits_Second: "Terabits/Second",
|
|
42
|
+
Terabytes: "Terabytes",
|
|
43
|
+
Terabytes_Second: "Terabytes/Second",
|
|
44
|
+
};
|
|
45
|
+
export const AnomalyDetectorStateValue = {
|
|
46
|
+
PENDING_TRAINING: "PENDING_TRAINING",
|
|
47
|
+
TRAINED: "TRAINED",
|
|
48
|
+
TRAINED_INSUFFICIENT_DATA: "TRAINED_INSUFFICIENT_DATA",
|
|
49
|
+
};
|
|
50
|
+
export const AnomalyDetectorType = {
|
|
51
|
+
METRIC_MATH: "METRIC_MATH",
|
|
52
|
+
SINGLE_METRIC: "SINGLE_METRIC",
|
|
53
|
+
};
|
|
54
|
+
export const ComparisonOperator = {
|
|
55
|
+
GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold",
|
|
56
|
+
GreaterThanThreshold: "GreaterThanThreshold",
|
|
57
|
+
GreaterThanUpperThreshold: "GreaterThanUpperThreshold",
|
|
58
|
+
LessThanLowerOrGreaterThanUpperThreshold: "LessThanLowerOrGreaterThanUpperThreshold",
|
|
59
|
+
LessThanLowerThreshold: "LessThanLowerThreshold",
|
|
60
|
+
LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold",
|
|
61
|
+
LessThanThreshold: "LessThanThreshold",
|
|
62
|
+
};
|
|
63
|
+
export const StateValue = {
|
|
64
|
+
ALARM: "ALARM",
|
|
65
|
+
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
66
|
+
OK: "OK",
|
|
67
|
+
};
|
|
76
68
|
export class ConcurrentModificationException extends __BaseException {
|
|
77
69
|
constructor(opts) {
|
|
78
70
|
super({
|
|
@@ -187,11 +179,10 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
187
179
|
this.Message = opts.Message;
|
|
188
180
|
}
|
|
189
181
|
}
|
|
190
|
-
export
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
})(ScanBy || (ScanBy = {}));
|
|
182
|
+
export const ScanBy = {
|
|
183
|
+
TIMESTAMP_ASCENDING: "TimestampAscending",
|
|
184
|
+
TIMESTAMP_DESCENDING: "TimestampDescending",
|
|
185
|
+
};
|
|
195
186
|
export class InvalidNextToken extends __BaseException {
|
|
196
187
|
constructor(opts) {
|
|
197
188
|
super({
|
|
@@ -204,18 +195,16 @@ export class InvalidNextToken extends __BaseException {
|
|
|
204
195
|
Object.setPrototypeOf(this, InvalidNextToken.prototype);
|
|
205
196
|
}
|
|
206
197
|
}
|
|
207
|
-
export
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
Statistic["Sum"] = "Sum";
|
|
218
|
-
})(Statistic || (Statistic = {}));
|
|
198
|
+
export const EvaluationState = {
|
|
199
|
+
PARTIAL_DATA: "PARTIAL_DATA",
|
|
200
|
+
};
|
|
201
|
+
export const Statistic = {
|
|
202
|
+
Average: "Average",
|
|
203
|
+
Maximum: "Maximum",
|
|
204
|
+
Minimum: "Minimum",
|
|
205
|
+
SampleCount: "SampleCount",
|
|
206
|
+
Sum: "Sum",
|
|
207
|
+
};
|
|
219
208
|
export class LimitExceededException extends __BaseException {
|
|
220
209
|
constructor(opts) {
|
|
221
210
|
super({
|
|
@@ -229,22 +218,19 @@ export class LimitExceededException extends __BaseException {
|
|
|
229
218
|
this.Message = opts.Message;
|
|
230
219
|
}
|
|
231
220
|
}
|
|
232
|
-
export
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
(function (RecentlyActive) {
|
|
246
|
-
RecentlyActive["PT3H"] = "PT3H";
|
|
247
|
-
})(RecentlyActive || (RecentlyActive = {}));
|
|
221
|
+
export const StatusCode = {
|
|
222
|
+
COMPLETE: "Complete",
|
|
223
|
+
FORBIDDEN: "Forbidden",
|
|
224
|
+
INTERNAL_ERROR: "InternalError",
|
|
225
|
+
PARTIAL_DATA: "PartialData",
|
|
226
|
+
};
|
|
227
|
+
export const MetricStreamOutputFormat = {
|
|
228
|
+
JSON: "json",
|
|
229
|
+
OPEN_TELEMETRY_0_7: "opentelemetry0.7",
|
|
230
|
+
};
|
|
231
|
+
export const RecentlyActive = {
|
|
232
|
+
PT3H: "PT3H",
|
|
233
|
+
};
|
|
248
234
|
export class LimitExceededFault extends __BaseException {
|
|
249
235
|
constructor(opts) {
|
|
250
236
|
super({
|
|
@@ -43,8 +43,8 @@ export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
|
|
|
43
43
|
* import { CloudWatchClient, DeleteAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
44
44
|
* // const { CloudWatchClient, DeleteAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
45
45
|
* const client = new CloudWatchClient(config);
|
|
46
|
-
* const input = {
|
|
47
|
-
* AlarmNames: [ // required
|
|
46
|
+
* const input = { // DeleteAlarmsInput
|
|
47
|
+
* AlarmNames: [ // AlarmNames // required
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* };
|
|
@@ -34,17 +34,17 @@ export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetecto
|
|
|
34
34
|
* import { CloudWatchClient, DeleteAnomalyDetectorCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
35
35
|
* // const { CloudWatchClient, DeleteAnomalyDetectorCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
36
36
|
* const client = new CloudWatchClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // DeleteAnomalyDetectorInput
|
|
38
38
|
* Namespace: "STRING_VALUE",
|
|
39
39
|
* MetricName: "STRING_VALUE",
|
|
40
|
-
* Dimensions: [
|
|
41
|
-
* {
|
|
40
|
+
* Dimensions: [ // Dimensions
|
|
41
|
+
* { // Dimension
|
|
42
42
|
* Name: "STRING_VALUE", // required
|
|
43
43
|
* Value: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
46
|
* Stat: "STRING_VALUE",
|
|
47
|
-
* SingleMetricAnomalyDetector: {
|
|
47
|
+
* SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector
|
|
48
48
|
* Namespace: "STRING_VALUE",
|
|
49
49
|
* MetricName: "STRING_VALUE",
|
|
50
50
|
* Dimensions: [
|
|
@@ -55,17 +55,15 @@ export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetecto
|
|
|
55
55
|
* ],
|
|
56
56
|
* Stat: "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
|
-
* MetricMathAnomalyDetector: {
|
|
59
|
-
* MetricDataQueries: [
|
|
60
|
-
* {
|
|
58
|
+
* MetricMathAnomalyDetector: { // MetricMathAnomalyDetector
|
|
59
|
+
* MetricDataQueries: [ // MetricDataQueries
|
|
60
|
+
* { // MetricDataQuery
|
|
61
61
|
* Id: "STRING_VALUE", // required
|
|
62
|
-
* MetricStat: {
|
|
63
|
-
* Metric: {
|
|
62
|
+
* MetricStat: { // MetricStat
|
|
63
|
+
* Metric: { // Metric
|
|
64
64
|
* Namespace: "STRING_VALUE",
|
|
65
65
|
* MetricName: "STRING_VALUE",
|
|
66
|
-
* Dimensions:
|
|
67
|
-
* "<Dimensions>",
|
|
68
|
-
* ],
|
|
66
|
+
* Dimensions: "<Dimensions>",
|
|
69
67
|
* },
|
|
70
68
|
* Period: Number("int"), // required
|
|
71
69
|
* Stat: "STRING_VALUE", // required
|
|
@@ -28,8 +28,8 @@ export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, _
|
|
|
28
28
|
* import { CloudWatchClient, DeleteDashboardsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
29
29
|
* // const { CloudWatchClient, DeleteDashboardsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
30
30
|
* const client = new CloudWatchClient(config);
|
|
31
|
-
* const input = {
|
|
32
|
-
* DashboardNames: [ // required
|
|
31
|
+
* const input = { // DeleteDashboardsInput
|
|
32
|
+
* DashboardNames: [ // DashboardNames // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* };
|
|
@@ -29,8 +29,8 @@ export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutpu
|
|
|
29
29
|
* import { CloudWatchClient, DeleteInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
30
30
|
* // const { CloudWatchClient, DeleteInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
31
31
|
* const client = new CloudWatchClient(config);
|
|
32
|
-
* const input = {
|
|
33
|
-
* RuleNames: [ // required
|
|
32
|
+
* const input = { // DeleteInsightRulesInput
|
|
33
|
+
* RuleNames: [ // InsightRuleNames // required
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteMetricStreamCommandOutput extends DeleteMetricStreamOutpu
|
|
|
26
26
|
* import { CloudWatchClient, DeleteMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchClient, DeleteMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteMetricStreamInput
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteMetricStreamCommand(input);
|
|
@@ -31,9 +31,9 @@ export interface DescribeAlarmHistoryCommandOutput extends DescribeAlarmHistoryO
|
|
|
31
31
|
* import { CloudWatchClient, DescribeAlarmHistoryCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
32
32
|
* // const { CloudWatchClient, DescribeAlarmHistoryCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
33
33
|
* const client = new CloudWatchClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DescribeAlarmHistoryInput
|
|
35
35
|
* AlarmName: "STRING_VALUE",
|
|
36
|
-
* AlarmTypes: [
|
|
36
|
+
* AlarmTypes: [ // AlarmTypes
|
|
37
37
|
* "CompositeAlarm" || "MetricAlarm",
|
|
38
38
|
* ],
|
|
39
39
|
* HistoryItemType: "ConfigurationUpdate" || "StateUpdate" || "Action",
|
|
@@ -30,12 +30,12 @@ export interface DescribeAlarmsCommandOutput extends DescribeAlarmsOutput, __Met
|
|
|
30
30
|
* import { CloudWatchClient, DescribeAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
31
31
|
* // const { CloudWatchClient, DescribeAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
32
32
|
* const client = new CloudWatchClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* AlarmNames: [
|
|
33
|
+
* const input = { // DescribeAlarmsInput
|
|
34
|
+
* AlarmNames: [ // AlarmNames
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* AlarmNamePrefix: "STRING_VALUE",
|
|
38
|
-
* AlarmTypes: [
|
|
38
|
+
* AlarmTypes: [ // AlarmTypes
|
|
39
39
|
* "CompositeAlarm" || "MetricAlarm",
|
|
40
40
|
* ],
|
|
41
41
|
* ChildrenOfAlarmName: "STRING_VALUE",
|
|
@@ -30,13 +30,13 @@ export interface DescribeAlarmsForMetricCommandOutput extends DescribeAlarmsForM
|
|
|
30
30
|
* import { CloudWatchClient, DescribeAlarmsForMetricCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
31
31
|
* // const { CloudWatchClient, DescribeAlarmsForMetricCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
32
32
|
* const client = new CloudWatchClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // DescribeAlarmsForMetricInput
|
|
34
34
|
* MetricName: "STRING_VALUE", // required
|
|
35
35
|
* Namespace: "STRING_VALUE", // required
|
|
36
36
|
* Statistic: "SampleCount" || "Average" || "Sum" || "Minimum" || "Maximum",
|
|
37
37
|
* ExtendedStatistic: "STRING_VALUE",
|
|
38
|
-
* Dimensions: [
|
|
39
|
-
* {
|
|
38
|
+
* Dimensions: [ // Dimensions
|
|
39
|
+
* { // Dimension
|
|
40
40
|
* Name: "STRING_VALUE", // required
|
|
41
41
|
* Value: "STRING_VALUE", // required
|
|
42
42
|
* },
|
|
@@ -32,18 +32,18 @@ export interface DescribeAnomalyDetectorsCommandOutput extends DescribeAnomalyDe
|
|
|
32
32
|
* import { CloudWatchClient, DescribeAnomalyDetectorsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
33
33
|
* // const { CloudWatchClient, DescribeAnomalyDetectorsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
34
34
|
* const client = new CloudWatchClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // DescribeAnomalyDetectorsInput
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
38
38
|
* Namespace: "STRING_VALUE",
|
|
39
39
|
* MetricName: "STRING_VALUE",
|
|
40
|
-
* Dimensions: [
|
|
41
|
-
* {
|
|
40
|
+
* Dimensions: [ // Dimensions
|
|
41
|
+
* { // Dimension
|
|
42
42
|
* Name: "STRING_VALUE", // required
|
|
43
43
|
* Value: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
|
-
* AnomalyDetectorTypes: [
|
|
46
|
+
* AnomalyDetectorTypes: [ // AnomalyDetectorTypes
|
|
47
47
|
* "SINGLE_METRIC" || "METRIC_MATH",
|
|
48
48
|
* ],
|
|
49
49
|
* };
|