@aws-sdk/client-cloudwatch 3.301.0 → 3.306.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/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({
|
|
@@ -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
|
|
7
|
-
Alarm
|
|
8
|
-
ExtensionPeriod
|
|
9
|
-
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
|
|
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
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
|
351
|
-
PENDING_TRAINING
|
|
352
|
-
TRAINED
|
|
353
|
-
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
|
|
411
|
-
METRIC_MATH
|
|
412
|
-
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
|
|
441
|
-
GreaterThanOrEqualToThreshold
|
|
442
|
-
GreaterThanThreshold
|
|
443
|
-
GreaterThanUpperThreshold
|
|
444
|
-
LessThanLowerOrGreaterThanUpperThreshold
|
|
445
|
-
LessThanLowerThreshold
|
|
446
|
-
LessThanOrEqualToThreshold
|
|
447
|
-
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
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
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
|
|
961
|
-
TIMESTAMP_ASCENDING
|
|
962
|
-
TIMESTAMP_DESCENDING
|
|
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
|
|
1110
|
-
PARTIAL_DATA
|
|
1111
|
-
}
|
|
1155
|
+
export declare const EvaluationState: {
|
|
1156
|
+
readonly PARTIAL_DATA: "PARTIAL_DATA";
|
|
1157
|
+
};
|
|
1112
1158
|
/**
|
|
1113
1159
|
* @public
|
|
1114
1160
|
*/
|
|
1115
|
-
export
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
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
|
|
1868
|
-
COMPLETE
|
|
1869
|
-
FORBIDDEN
|
|
1870
|
-
INTERNAL_ERROR
|
|
1871
|
-
PARTIAL_DATA
|
|
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
|
|
2071
|
-
JSON
|
|
2072
|
-
OPEN_TELEMETRY_0_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
|
|
2413
|
-
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
|
|
4
|
-
Alarm
|
|
5
|
-
ExtensionPeriod
|
|
6
|
-
WaitPeriod
|
|
7
|
-
}
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
|
43
|
-
Bits
|
|
44
|
-
Bits_Second
|
|
45
|
-
Bytes
|
|
46
|
-
Bytes_Second
|
|
47
|
-
Count
|
|
48
|
-
Count_Second
|
|
49
|
-
Gigabits
|
|
50
|
-
Gigabits_Second
|
|
51
|
-
Gigabytes
|
|
52
|
-
Gigabytes_Second
|
|
53
|
-
Kilobits
|
|
54
|
-
Kilobits_Second
|
|
55
|
-
Kilobytes
|
|
56
|
-
Kilobytes_Second
|
|
57
|
-
Megabits
|
|
58
|
-
Megabits_Second
|
|
59
|
-
Megabytes
|
|
60
|
-
Megabytes_Second
|
|
61
|
-
Microseconds
|
|
62
|
-
Milliseconds
|
|
63
|
-
None
|
|
64
|
-
Percent
|
|
65
|
-
Seconds
|
|
66
|
-
Terabits
|
|
67
|
-
Terabits_Second
|
|
68
|
-
Terabytes
|
|
69
|
-
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
|
|
96
|
-
PENDING_TRAINING
|
|
97
|
-
TRAINED
|
|
98
|
-
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
|
|
111
|
-
METRIC_MATH
|
|
112
|
-
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
|
|
121
|
-
GreaterThanOrEqualToThreshold
|
|
122
|
-
GreaterThanThreshold
|
|
123
|
-
GreaterThanUpperThreshold
|
|
124
|
-
LessThanLowerOrGreaterThanUpperThreshold
|
|
125
|
-
LessThanLowerThreshold
|
|
126
|
-
LessThanOrEqualToThreshold
|
|
127
|
-
LessThanThreshold
|
|
128
|
-
}
|
|
129
|
-
export
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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
|
|
278
|
-
TIMESTAMP_ASCENDING
|
|
279
|
-
TIMESTAMP_DESCENDING
|
|
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
|
|
312
|
-
PARTIAL_DATA
|
|
313
|
-
}
|
|
314
|
-
export
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
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
|
|
487
|
-
COMPLETE
|
|
488
|
-
FORBIDDEN
|
|
489
|
-
INTERNAL_ERROR
|
|
490
|
-
PARTIAL_DATA
|
|
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
|
|
527
|
-
JSON
|
|
528
|
-
OPEN_TELEMETRY_0_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
|
|
586
|
-
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;
|
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.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,44 +21,44 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.306.0",
|
|
57
57
|
"fast-xml-parser": "4.1.2",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
62
62
|
"@tsconfig/node14": "1.0.3",
|
|
63
63
|
"@types/node": "^14.14.31",
|
|
64
64
|
"concurrently": "7.0.0",
|