@aws-sdk/client-cloudwatch 3.933.0 → 3.935.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 +97 -96
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +96 -0
- package/dist-es/models/errors.js +185 -0
- package/dist-es/models/models_0.js +1 -281
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +208 -0
- package/dist-types/models/errors.d.ts +184 -0
- package/dist-types/models/models_0.d.ts +1 -391
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +118 -0
- package/dist-types/ts3.4/models/errors.d.ts +108 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -225
- package/package.json +13 -13
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,281 +1 @@
|
|
|
1
|
-
|
|
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
|
-
AlarmContributorAction: "AlarmContributorAction",
|
|
14
|
-
AlarmContributorStateUpdate: "AlarmContributorStateUpdate",
|
|
15
|
-
ConfigurationUpdate: "ConfigurationUpdate",
|
|
16
|
-
StateUpdate: "StateUpdate",
|
|
17
|
-
};
|
|
18
|
-
export const StandardUnit = {
|
|
19
|
-
Bits: "Bits",
|
|
20
|
-
Bits_Second: "Bits/Second",
|
|
21
|
-
Bytes: "Bytes",
|
|
22
|
-
Bytes_Second: "Bytes/Second",
|
|
23
|
-
Count: "Count",
|
|
24
|
-
Count_Second: "Count/Second",
|
|
25
|
-
Gigabits: "Gigabits",
|
|
26
|
-
Gigabits_Second: "Gigabits/Second",
|
|
27
|
-
Gigabytes: "Gigabytes",
|
|
28
|
-
Gigabytes_Second: "Gigabytes/Second",
|
|
29
|
-
Kilobits: "Kilobits",
|
|
30
|
-
Kilobits_Second: "Kilobits/Second",
|
|
31
|
-
Kilobytes: "Kilobytes",
|
|
32
|
-
Kilobytes_Second: "Kilobytes/Second",
|
|
33
|
-
Megabits: "Megabits",
|
|
34
|
-
Megabits_Second: "Megabits/Second",
|
|
35
|
-
Megabytes: "Megabytes",
|
|
36
|
-
Megabytes_Second: "Megabytes/Second",
|
|
37
|
-
Microseconds: "Microseconds",
|
|
38
|
-
Milliseconds: "Milliseconds",
|
|
39
|
-
None: "None",
|
|
40
|
-
Percent: "Percent",
|
|
41
|
-
Seconds: "Seconds",
|
|
42
|
-
Terabits: "Terabits",
|
|
43
|
-
Terabits_Second: "Terabits/Second",
|
|
44
|
-
Terabytes: "Terabytes",
|
|
45
|
-
Terabytes_Second: "Terabytes/Second",
|
|
46
|
-
};
|
|
47
|
-
export const AnomalyDetectorStateValue = {
|
|
48
|
-
PENDING_TRAINING: "PENDING_TRAINING",
|
|
49
|
-
TRAINED: "TRAINED",
|
|
50
|
-
TRAINED_INSUFFICIENT_DATA: "TRAINED_INSUFFICIENT_DATA",
|
|
51
|
-
};
|
|
52
|
-
export const AnomalyDetectorType = {
|
|
53
|
-
METRIC_MATH: "METRIC_MATH",
|
|
54
|
-
SINGLE_METRIC: "SINGLE_METRIC",
|
|
55
|
-
};
|
|
56
|
-
export const ComparisonOperator = {
|
|
57
|
-
GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold",
|
|
58
|
-
GreaterThanThreshold: "GreaterThanThreshold",
|
|
59
|
-
GreaterThanUpperThreshold: "GreaterThanUpperThreshold",
|
|
60
|
-
LessThanLowerOrGreaterThanUpperThreshold: "LessThanLowerOrGreaterThanUpperThreshold",
|
|
61
|
-
LessThanLowerThreshold: "LessThanLowerThreshold",
|
|
62
|
-
LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold",
|
|
63
|
-
LessThanThreshold: "LessThanThreshold",
|
|
64
|
-
};
|
|
65
|
-
export const StateValue = {
|
|
66
|
-
ALARM: "ALARM",
|
|
67
|
-
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
68
|
-
OK: "OK",
|
|
69
|
-
};
|
|
70
|
-
export class ConcurrentModificationException extends __BaseException {
|
|
71
|
-
name = "ConcurrentModificationException";
|
|
72
|
-
$fault = "client";
|
|
73
|
-
Message;
|
|
74
|
-
constructor(opts) {
|
|
75
|
-
super({
|
|
76
|
-
name: "ConcurrentModificationException",
|
|
77
|
-
$fault: "client",
|
|
78
|
-
...opts,
|
|
79
|
-
});
|
|
80
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
81
|
-
this.Message = opts.Message;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
export class ConflictException extends __BaseException {
|
|
85
|
-
name = "ConflictException";
|
|
86
|
-
$fault = "client";
|
|
87
|
-
Message;
|
|
88
|
-
constructor(opts) {
|
|
89
|
-
super({
|
|
90
|
-
name: "ConflictException",
|
|
91
|
-
$fault: "client",
|
|
92
|
-
...opts,
|
|
93
|
-
});
|
|
94
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
95
|
-
this.Message = opts.Message;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export class DashboardInvalidInputError extends __BaseException {
|
|
99
|
-
name = "DashboardInvalidInputError";
|
|
100
|
-
$fault = "client";
|
|
101
|
-
dashboardValidationMessages;
|
|
102
|
-
constructor(opts) {
|
|
103
|
-
super({
|
|
104
|
-
name: "DashboardInvalidInputError",
|
|
105
|
-
$fault: "client",
|
|
106
|
-
...opts,
|
|
107
|
-
});
|
|
108
|
-
Object.setPrototypeOf(this, DashboardInvalidInputError.prototype);
|
|
109
|
-
this.dashboardValidationMessages = opts.dashboardValidationMessages;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
export class DashboardNotFoundError extends __BaseException {
|
|
113
|
-
name = "DashboardNotFoundError";
|
|
114
|
-
$fault = "client";
|
|
115
|
-
constructor(opts) {
|
|
116
|
-
super({
|
|
117
|
-
name: "DashboardNotFoundError",
|
|
118
|
-
$fault: "client",
|
|
119
|
-
...opts,
|
|
120
|
-
});
|
|
121
|
-
Object.setPrototypeOf(this, DashboardNotFoundError.prototype);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
export class ResourceNotFound extends __BaseException {
|
|
125
|
-
name = "ResourceNotFound";
|
|
126
|
-
$fault = "client";
|
|
127
|
-
constructor(opts) {
|
|
128
|
-
super({
|
|
129
|
-
name: "ResourceNotFound",
|
|
130
|
-
$fault: "client",
|
|
131
|
-
...opts,
|
|
132
|
-
});
|
|
133
|
-
Object.setPrototypeOf(this, ResourceNotFound.prototype);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
export class InternalServiceFault extends __BaseException {
|
|
137
|
-
name = "InternalServiceFault";
|
|
138
|
-
$fault = "server";
|
|
139
|
-
Message;
|
|
140
|
-
constructor(opts) {
|
|
141
|
-
super({
|
|
142
|
-
name: "InternalServiceFault",
|
|
143
|
-
$fault: "server",
|
|
144
|
-
...opts,
|
|
145
|
-
});
|
|
146
|
-
Object.setPrototypeOf(this, InternalServiceFault.prototype);
|
|
147
|
-
this.Message = opts.Message;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
export class InvalidParameterCombinationException extends __BaseException {
|
|
151
|
-
name = "InvalidParameterCombinationException";
|
|
152
|
-
$fault = "client";
|
|
153
|
-
constructor(opts) {
|
|
154
|
-
super({
|
|
155
|
-
name: "InvalidParameterCombinationException",
|
|
156
|
-
$fault: "client",
|
|
157
|
-
...opts,
|
|
158
|
-
});
|
|
159
|
-
Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
export class InvalidParameterValueException extends __BaseException {
|
|
163
|
-
name = "InvalidParameterValueException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
constructor(opts) {
|
|
166
|
-
super({
|
|
167
|
-
name: "InvalidParameterValueException",
|
|
168
|
-
$fault: "client",
|
|
169
|
-
...opts,
|
|
170
|
-
});
|
|
171
|
-
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
export class MissingRequiredParameterException extends __BaseException {
|
|
175
|
-
name = "MissingRequiredParameterException";
|
|
176
|
-
$fault = "client";
|
|
177
|
-
constructor(opts) {
|
|
178
|
-
super({
|
|
179
|
-
name: "MissingRequiredParameterException",
|
|
180
|
-
$fault: "client",
|
|
181
|
-
...opts,
|
|
182
|
-
});
|
|
183
|
-
Object.setPrototypeOf(this, MissingRequiredParameterException.prototype);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
187
|
-
name = "ResourceNotFoundException";
|
|
188
|
-
$fault = "client";
|
|
189
|
-
ResourceType;
|
|
190
|
-
ResourceId;
|
|
191
|
-
Message;
|
|
192
|
-
constructor(opts) {
|
|
193
|
-
super({
|
|
194
|
-
name: "ResourceNotFoundException",
|
|
195
|
-
$fault: "client",
|
|
196
|
-
...opts,
|
|
197
|
-
});
|
|
198
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
199
|
-
this.ResourceType = opts.ResourceType;
|
|
200
|
-
this.ResourceId = opts.ResourceId;
|
|
201
|
-
this.Message = opts.Message;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
export class InvalidNextToken extends __BaseException {
|
|
205
|
-
name = "InvalidNextToken";
|
|
206
|
-
$fault = "client";
|
|
207
|
-
constructor(opts) {
|
|
208
|
-
super({
|
|
209
|
-
name: "InvalidNextToken",
|
|
210
|
-
$fault: "client",
|
|
211
|
-
...opts,
|
|
212
|
-
});
|
|
213
|
-
Object.setPrototypeOf(this, InvalidNextToken.prototype);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
export const ScanBy = {
|
|
217
|
-
TIMESTAMP_ASCENDING: "TimestampAscending",
|
|
218
|
-
TIMESTAMP_DESCENDING: "TimestampDescending",
|
|
219
|
-
};
|
|
220
|
-
export const EvaluationState = {
|
|
221
|
-
PARTIAL_DATA: "PARTIAL_DATA",
|
|
222
|
-
};
|
|
223
|
-
export const Statistic = {
|
|
224
|
-
Average: "Average",
|
|
225
|
-
Maximum: "Maximum",
|
|
226
|
-
Minimum: "Minimum",
|
|
227
|
-
SampleCount: "SampleCount",
|
|
228
|
-
Sum: "Sum",
|
|
229
|
-
};
|
|
230
|
-
export class LimitExceededException extends __BaseException {
|
|
231
|
-
name = "LimitExceededException";
|
|
232
|
-
$fault = "client";
|
|
233
|
-
Message;
|
|
234
|
-
constructor(opts) {
|
|
235
|
-
super({
|
|
236
|
-
name: "LimitExceededException",
|
|
237
|
-
$fault: "client",
|
|
238
|
-
...opts,
|
|
239
|
-
});
|
|
240
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
241
|
-
this.Message = opts.Message;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
export const StatusCode = {
|
|
245
|
-
COMPLETE: "Complete",
|
|
246
|
-
FORBIDDEN: "Forbidden",
|
|
247
|
-
INTERNAL_ERROR: "InternalError",
|
|
248
|
-
PARTIAL_DATA: "PartialData",
|
|
249
|
-
};
|
|
250
|
-
export const MetricStreamOutputFormat = {
|
|
251
|
-
JSON: "json",
|
|
252
|
-
OPEN_TELEMETRY_0_7: "opentelemetry0.7",
|
|
253
|
-
OPEN_TELEMETRY_1_0: "opentelemetry1.0",
|
|
254
|
-
};
|
|
255
|
-
export const RecentlyActive = {
|
|
256
|
-
PT3H: "PT3H",
|
|
257
|
-
};
|
|
258
|
-
export class LimitExceededFault extends __BaseException {
|
|
259
|
-
name = "LimitExceededFault";
|
|
260
|
-
$fault = "client";
|
|
261
|
-
constructor(opts) {
|
|
262
|
-
super({
|
|
263
|
-
name: "LimitExceededFault",
|
|
264
|
-
$fault: "client",
|
|
265
|
-
...opts,
|
|
266
|
-
});
|
|
267
|
-
Object.setPrototypeOf(this, LimitExceededFault.prototype);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
export class InvalidFormatFault extends __BaseException {
|
|
271
|
-
name = "InvalidFormatFault";
|
|
272
|
-
$fault = "client";
|
|
273
|
-
constructor(opts) {
|
|
274
|
-
super({
|
|
275
|
-
name: "InvalidFormatFault",
|
|
276
|
-
$fault: "client",
|
|
277
|
-
...opts,
|
|
278
|
-
});
|
|
279
|
-
Object.setPrototypeOf(this, InvalidFormatFault.prototype);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
1
|
+
export {};
|
|
@@ -352,7 +352,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudwatch";
|
|
|
352
352
|
const n0 = "com.amazonaws.cloudwatch";
|
|
353
353
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
354
354
|
import { CloudWatchServiceException as __CloudWatchServiceException } from "../models/CloudWatchServiceException";
|
|
355
|
-
import { ConcurrentModificationException as __ConcurrentModificationException, ConflictException as __ConflictException, DashboardInvalidInputError as __DashboardInvalidInputError, DashboardNotFoundError as __DashboardNotFoundError, InternalServiceFault as __InternalServiceFault, InvalidFormatFault as __InvalidFormatFault, InvalidNextToken as __InvalidNextToken, InvalidParameterCombinationException as __InvalidParameterCombinationException, InvalidParameterValueException as __InvalidParameterValueException, LimitExceededException as __LimitExceededException, LimitExceededFault as __LimitExceededFault, MissingRequiredParameterException as __MissingRequiredParameterException, ResourceNotFound as __ResourceNotFound, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/
|
|
355
|
+
import { ConcurrentModificationException as __ConcurrentModificationException, ConflictException as __ConflictException, DashboardInvalidInputError as __DashboardInvalidInputError, DashboardNotFoundError as __DashboardNotFoundError, InternalServiceFault as __InternalServiceFault, InvalidFormatFault as __InvalidFormatFault, InvalidNextToken as __InvalidNextToken, InvalidParameterCombinationException as __InvalidParameterCombinationException, InvalidParameterValueException as __InvalidParameterValueException, LimitExceededException as __LimitExceededException, LimitExceededFault as __LimitExceededFault, MissingRequiredParameterException as __MissingRequiredParameterException, ResourceNotFound as __ResourceNotFound, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
|
|
356
356
|
export var AlarmContributor = [3, n0, _AC, 0, [_CI, _CA, _SR, _STT], [0, 128 | 0, 0, 4]];
|
|
357
357
|
export var AlarmHistoryItem = [
|
|
358
358
|
3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -23,5 +23,7 @@ export type { CloudWatchExtensionConfiguration } from "./extensionConfiguration"
|
|
|
23
23
|
export * from "./commands";
|
|
24
24
|
export * from "./pagination";
|
|
25
25
|
export * from "./waiters";
|
|
26
|
-
export * from "./models";
|
|
26
|
+
export * from "./models/enums";
|
|
27
|
+
export * from "./models/errors";
|
|
28
|
+
export type * from "./models/models_0";
|
|
27
29
|
export { CloudWatchServiceException } from "./models/CloudWatchServiceException";
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ActionsSuppressedBy: {
|
|
6
|
+
readonly Alarm: "Alarm";
|
|
7
|
+
readonly ExtensionPeriod: "ExtensionPeriod";
|
|
8
|
+
readonly WaitPeriod: "WaitPeriod";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ActionsSuppressedBy = (typeof ActionsSuppressedBy)[keyof typeof ActionsSuppressedBy];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const AlarmType: {
|
|
19
|
+
readonly CompositeAlarm: "CompositeAlarm";
|
|
20
|
+
readonly MetricAlarm: "MetricAlarm";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const HistoryItemType: {
|
|
31
|
+
readonly Action: "Action";
|
|
32
|
+
readonly AlarmContributorAction: "AlarmContributorAction";
|
|
33
|
+
readonly AlarmContributorStateUpdate: "AlarmContributorStateUpdate";
|
|
34
|
+
readonly ConfigurationUpdate: "ConfigurationUpdate";
|
|
35
|
+
readonly StateUpdate: "StateUpdate";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type HistoryItemType = (typeof HistoryItemType)[keyof typeof HistoryItemType];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const StandardUnit: {
|
|
46
|
+
readonly Bits: "Bits";
|
|
47
|
+
readonly Bits_Second: "Bits/Second";
|
|
48
|
+
readonly Bytes: "Bytes";
|
|
49
|
+
readonly Bytes_Second: "Bytes/Second";
|
|
50
|
+
readonly Count: "Count";
|
|
51
|
+
readonly Count_Second: "Count/Second";
|
|
52
|
+
readonly Gigabits: "Gigabits";
|
|
53
|
+
readonly Gigabits_Second: "Gigabits/Second";
|
|
54
|
+
readonly Gigabytes: "Gigabytes";
|
|
55
|
+
readonly Gigabytes_Second: "Gigabytes/Second";
|
|
56
|
+
readonly Kilobits: "Kilobits";
|
|
57
|
+
readonly Kilobits_Second: "Kilobits/Second";
|
|
58
|
+
readonly Kilobytes: "Kilobytes";
|
|
59
|
+
readonly Kilobytes_Second: "Kilobytes/Second";
|
|
60
|
+
readonly Megabits: "Megabits";
|
|
61
|
+
readonly Megabits_Second: "Megabits/Second";
|
|
62
|
+
readonly Megabytes: "Megabytes";
|
|
63
|
+
readonly Megabytes_Second: "Megabytes/Second";
|
|
64
|
+
readonly Microseconds: "Microseconds";
|
|
65
|
+
readonly Milliseconds: "Milliseconds";
|
|
66
|
+
readonly None: "None";
|
|
67
|
+
readonly Percent: "Percent";
|
|
68
|
+
readonly Seconds: "Seconds";
|
|
69
|
+
readonly Terabits: "Terabits";
|
|
70
|
+
readonly Terabits_Second: "Terabits/Second";
|
|
71
|
+
readonly Terabytes: "Terabytes";
|
|
72
|
+
readonly Terabytes_Second: "Terabytes/Second";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type StandardUnit = (typeof StandardUnit)[keyof typeof StandardUnit];
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @enum
|
|
81
|
+
*/
|
|
82
|
+
export declare const AnomalyDetectorStateValue: {
|
|
83
|
+
readonly PENDING_TRAINING: "PENDING_TRAINING";
|
|
84
|
+
readonly TRAINED: "TRAINED";
|
|
85
|
+
readonly TRAINED_INSUFFICIENT_DATA: "TRAINED_INSUFFICIENT_DATA";
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export type AnomalyDetectorStateValue = (typeof AnomalyDetectorStateValue)[keyof typeof AnomalyDetectorStateValue];
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* @enum
|
|
94
|
+
*/
|
|
95
|
+
export declare const AnomalyDetectorType: {
|
|
96
|
+
readonly METRIC_MATH: "METRIC_MATH";
|
|
97
|
+
readonly SINGLE_METRIC: "SINGLE_METRIC";
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export type AnomalyDetectorType = (typeof AnomalyDetectorType)[keyof typeof AnomalyDetectorType];
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
* @enum
|
|
106
|
+
*/
|
|
107
|
+
export declare const ComparisonOperator: {
|
|
108
|
+
readonly GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold";
|
|
109
|
+
readonly GreaterThanThreshold: "GreaterThanThreshold";
|
|
110
|
+
readonly GreaterThanUpperThreshold: "GreaterThanUpperThreshold";
|
|
111
|
+
readonly LessThanLowerOrGreaterThanUpperThreshold: "LessThanLowerOrGreaterThanUpperThreshold";
|
|
112
|
+
readonly LessThanLowerThreshold: "LessThanLowerThreshold";
|
|
113
|
+
readonly LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold";
|
|
114
|
+
readonly LessThanThreshold: "LessThanThreshold";
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
* @enum
|
|
123
|
+
*/
|
|
124
|
+
export declare const StateValue: {
|
|
125
|
+
readonly ALARM: "ALARM";
|
|
126
|
+
readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
|
|
127
|
+
readonly OK: "OK";
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export type StateValue = (typeof StateValue)[keyof typeof StateValue];
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
* @enum
|
|
136
|
+
*/
|
|
137
|
+
export declare const ScanBy: {
|
|
138
|
+
readonly TIMESTAMP_ASCENDING: "TimestampAscending";
|
|
139
|
+
readonly TIMESTAMP_DESCENDING: "TimestampDescending";
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export type ScanBy = (typeof ScanBy)[keyof typeof ScanBy];
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
* @enum
|
|
148
|
+
*/
|
|
149
|
+
export declare const EvaluationState: {
|
|
150
|
+
readonly PARTIAL_DATA: "PARTIAL_DATA";
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export type EvaluationState = (typeof EvaluationState)[keyof typeof EvaluationState];
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* @enum
|
|
159
|
+
*/
|
|
160
|
+
export declare const Statistic: {
|
|
161
|
+
readonly Average: "Average";
|
|
162
|
+
readonly Maximum: "Maximum";
|
|
163
|
+
readonly Minimum: "Minimum";
|
|
164
|
+
readonly SampleCount: "SampleCount";
|
|
165
|
+
readonly Sum: "Sum";
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export type Statistic = (typeof Statistic)[keyof typeof Statistic];
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
* @enum
|
|
174
|
+
*/
|
|
175
|
+
export declare const StatusCode: {
|
|
176
|
+
readonly COMPLETE: "Complete";
|
|
177
|
+
readonly FORBIDDEN: "Forbidden";
|
|
178
|
+
readonly INTERNAL_ERROR: "InternalError";
|
|
179
|
+
readonly PARTIAL_DATA: "PartialData";
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
* @enum
|
|
188
|
+
*/
|
|
189
|
+
export declare const MetricStreamOutputFormat: {
|
|
190
|
+
readonly JSON: "json";
|
|
191
|
+
readonly OPEN_TELEMETRY_0_7: "opentelemetry0.7";
|
|
192
|
+
readonly OPEN_TELEMETRY_1_0: "opentelemetry1.0";
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export type MetricStreamOutputFormat = (typeof MetricStreamOutputFormat)[keyof typeof MetricStreamOutputFormat];
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
* @enum
|
|
201
|
+
*/
|
|
202
|
+
export declare const RecentlyActive: {
|
|
203
|
+
readonly PT3H: "PT3H";
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
export type RecentlyActive = (typeof RecentlyActive)[keyof typeof RecentlyActive];
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
|
|
3
|
+
import { DashboardValidationMessage } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>More than one process tried to modify a resource at the same time.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
9
|
+
readonly name: "ConcurrentModificationException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>This operation attempted to create a resource that already exists.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class ConflictException extends __BaseException {
|
|
22
|
+
readonly name: "ConflictException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
Message?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>Some part of the dashboard data is invalid.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class DashboardInvalidInputError extends __BaseException {
|
|
35
|
+
readonly name: "DashboardInvalidInputError";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
dashboardValidationMessages?: DashboardValidationMessage[] | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<DashboardInvalidInputError, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>The specified dashboard does not exist.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare class DashboardNotFoundError extends __BaseException {
|
|
48
|
+
readonly name: "DashboardNotFoundError";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<DashboardNotFoundError, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>The named resource does not exist.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class ResourceNotFound extends __BaseException {
|
|
60
|
+
readonly name: "ResourceNotFound";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* <p>Request processing has failed due to some unknown error, exception, or
|
|
69
|
+
* failure.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class InternalServiceFault extends __BaseException {
|
|
73
|
+
readonly name: "InternalServiceFault";
|
|
74
|
+
readonly $fault: "server";
|
|
75
|
+
/**
|
|
76
|
+
* <p></p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
Message?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
constructor(opts: __ExceptionOptionType<InternalServiceFault, __BaseException>);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* <p>Parameters were used together that cannot be used together.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class InvalidParameterCombinationException extends __BaseException {
|
|
90
|
+
readonly name: "InvalidParameterCombinationException";
|
|
91
|
+
readonly $fault: "client";
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* <p>The value of an input parameter is bad or out-of-range.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
102
|
+
readonly name: "InvalidParameterValueException";
|
|
103
|
+
readonly $fault: "client";
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>An input parameter that is required is missing.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class MissingRequiredParameterException extends __BaseException {
|
|
114
|
+
readonly name: "MissingRequiredParameterException";
|
|
115
|
+
readonly $fault: "client";
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* <p>The named resource does not exist.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
126
|
+
readonly name: "ResourceNotFoundException";
|
|
127
|
+
readonly $fault: "client";
|
|
128
|
+
ResourceType?: string | undefined;
|
|
129
|
+
ResourceId?: string | undefined;
|
|
130
|
+
Message?: string | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* <p>The next token specified is invalid.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export declare class InvalidNextToken extends __BaseException {
|
|
141
|
+
readonly name: "InvalidNextToken";
|
|
142
|
+
readonly $fault: "client";
|
|
143
|
+
/**
|
|
144
|
+
* @internal
|
|
145
|
+
*/
|
|
146
|
+
constructor(opts: __ExceptionOptionType<InvalidNextToken, __BaseException>);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* <p>The operation exceeded one or more limits.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export declare class LimitExceededException extends __BaseException {
|
|
153
|
+
readonly name: "LimitExceededException";
|
|
154
|
+
readonly $fault: "client";
|
|
155
|
+
Message?: string | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
*/
|
|
159
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* <p>The quota for alarms for this customer has already been reached.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export declare class LimitExceededFault extends __BaseException {
|
|
166
|
+
readonly name: "LimitExceededFault";
|
|
167
|
+
readonly $fault: "client";
|
|
168
|
+
/**
|
|
169
|
+
* @internal
|
|
170
|
+
*/
|
|
171
|
+
constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* <p>Data was not syntactically valid JSON.</p>
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export declare class InvalidFormatFault extends __BaseException {
|
|
178
|
+
readonly name: "InvalidFormatFault";
|
|
179
|
+
readonly $fault: "client";
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts: __ExceptionOptionType<InvalidFormatFault, __BaseException>);
|
|
184
|
+
}
|