@aws-sdk/client-cloudwatch 3.934.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,18 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const ActionsSuppressedBy: {
|
|
8
|
-
readonly Alarm: "Alarm";
|
|
9
|
-
readonly ExtensionPeriod: "ExtensionPeriod";
|
|
10
|
-
readonly WaitPeriod: "WaitPeriod";
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type ActionsSuppressedBy = (typeof ActionsSuppressedBy)[keyof typeof ActionsSuppressedBy];
|
|
1
|
+
import { ActionsSuppressedBy, AlarmType, AnomalyDetectorStateValue, AnomalyDetectorType, ComparisonOperator, EvaluationState, HistoryItemType, MetricStreamOutputFormat, RecentlyActive, ScanBy, StandardUnit, StateValue, Statistic, StatusCode } from "./enums";
|
|
16
2
|
/**
|
|
17
3
|
* <p>Represents an individual contributor to a multi-timeseries alarm, containing information about a specific time series and its contribution to the alarm's state.</p>
|
|
18
4
|
* @public
|
|
@@ -39,33 +25,6 @@ export interface AlarmContributor {
|
|
|
39
25
|
*/
|
|
40
26
|
StateTransitionedTimestamp?: Date | undefined;
|
|
41
27
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @public
|
|
44
|
-
* @enum
|
|
45
|
-
*/
|
|
46
|
-
export declare const AlarmType: {
|
|
47
|
-
readonly CompositeAlarm: "CompositeAlarm";
|
|
48
|
-
readonly MetricAlarm: "MetricAlarm";
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* @public
|
|
52
|
-
*/
|
|
53
|
-
export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
|
|
54
|
-
/**
|
|
55
|
-
* @public
|
|
56
|
-
* @enum
|
|
57
|
-
*/
|
|
58
|
-
export declare const HistoryItemType: {
|
|
59
|
-
readonly Action: "Action";
|
|
60
|
-
readonly AlarmContributorAction: "AlarmContributorAction";
|
|
61
|
-
readonly AlarmContributorStateUpdate: "AlarmContributorStateUpdate";
|
|
62
|
-
readonly ConfigurationUpdate: "ConfigurationUpdate";
|
|
63
|
-
readonly StateUpdate: "StateUpdate";
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
export type HistoryItemType = (typeof HistoryItemType)[keyof typeof HistoryItemType];
|
|
69
28
|
/**
|
|
70
29
|
* <p>Represents the history of a specific alarm.</p>
|
|
71
30
|
* @public
|
|
@@ -219,43 +178,6 @@ export interface Metric {
|
|
|
219
178
|
*/
|
|
220
179
|
Dimensions?: Dimension[] | undefined;
|
|
221
180
|
}
|
|
222
|
-
/**
|
|
223
|
-
* @public
|
|
224
|
-
* @enum
|
|
225
|
-
*/
|
|
226
|
-
export declare const StandardUnit: {
|
|
227
|
-
readonly Bits: "Bits";
|
|
228
|
-
readonly Bits_Second: "Bits/Second";
|
|
229
|
-
readonly Bytes: "Bytes";
|
|
230
|
-
readonly Bytes_Second: "Bytes/Second";
|
|
231
|
-
readonly Count: "Count";
|
|
232
|
-
readonly Count_Second: "Count/Second";
|
|
233
|
-
readonly Gigabits: "Gigabits";
|
|
234
|
-
readonly Gigabits_Second: "Gigabits/Second";
|
|
235
|
-
readonly Gigabytes: "Gigabytes";
|
|
236
|
-
readonly Gigabytes_Second: "Gigabytes/Second";
|
|
237
|
-
readonly Kilobits: "Kilobits";
|
|
238
|
-
readonly Kilobits_Second: "Kilobits/Second";
|
|
239
|
-
readonly Kilobytes: "Kilobytes";
|
|
240
|
-
readonly Kilobytes_Second: "Kilobytes/Second";
|
|
241
|
-
readonly Megabits: "Megabits";
|
|
242
|
-
readonly Megabits_Second: "Megabits/Second";
|
|
243
|
-
readonly Megabytes: "Megabytes";
|
|
244
|
-
readonly Megabytes_Second: "Megabytes/Second";
|
|
245
|
-
readonly Microseconds: "Microseconds";
|
|
246
|
-
readonly Milliseconds: "Milliseconds";
|
|
247
|
-
readonly None: "None";
|
|
248
|
-
readonly Percent: "Percent";
|
|
249
|
-
readonly Seconds: "Seconds";
|
|
250
|
-
readonly Terabits: "Terabits";
|
|
251
|
-
readonly Terabits_Second: "Terabits/Second";
|
|
252
|
-
readonly Terabytes: "Terabytes";
|
|
253
|
-
readonly Terabytes_Second: "Terabytes/Second";
|
|
254
|
-
};
|
|
255
|
-
/**
|
|
256
|
-
* @public
|
|
257
|
-
*/
|
|
258
|
-
export type StandardUnit = (typeof StandardUnit)[keyof typeof StandardUnit];
|
|
259
181
|
/**
|
|
260
182
|
* <p>This structure defines the metric to be returned, along with the statistics, period,
|
|
261
183
|
* and units.</p>
|
|
@@ -475,19 +397,6 @@ export interface SingleMetricAnomalyDetector {
|
|
|
475
397
|
*/
|
|
476
398
|
Stat?: string | undefined;
|
|
477
399
|
}
|
|
478
|
-
/**
|
|
479
|
-
* @public
|
|
480
|
-
* @enum
|
|
481
|
-
*/
|
|
482
|
-
export declare const AnomalyDetectorStateValue: {
|
|
483
|
-
readonly PENDING_TRAINING: "PENDING_TRAINING";
|
|
484
|
-
readonly TRAINED: "TRAINED";
|
|
485
|
-
readonly TRAINED_INSUFFICIENT_DATA: "TRAINED_INSUFFICIENT_DATA";
|
|
486
|
-
};
|
|
487
|
-
/**
|
|
488
|
-
* @public
|
|
489
|
-
*/
|
|
490
|
-
export type AnomalyDetectorStateValue = (typeof AnomalyDetectorStateValue)[keyof typeof AnomalyDetectorStateValue];
|
|
491
400
|
/**
|
|
492
401
|
* <p>An anomaly detection model associated with a particular CloudWatch metric, statistic,
|
|
493
402
|
* or metric math expression. You can use the model to display a band of expected, normal
|
|
@@ -555,18 +464,6 @@ export interface AnomalyDetector {
|
|
|
555
464
|
*/
|
|
556
465
|
MetricMathAnomalyDetector?: MetricMathAnomalyDetector | undefined;
|
|
557
466
|
}
|
|
558
|
-
/**
|
|
559
|
-
* @public
|
|
560
|
-
* @enum
|
|
561
|
-
*/
|
|
562
|
-
export declare const AnomalyDetectorType: {
|
|
563
|
-
readonly METRIC_MATH: "METRIC_MATH";
|
|
564
|
-
readonly SINGLE_METRIC: "SINGLE_METRIC";
|
|
565
|
-
};
|
|
566
|
-
/**
|
|
567
|
-
* @public
|
|
568
|
-
*/
|
|
569
|
-
export type AnomalyDetectorType = (typeof AnomalyDetectorType)[keyof typeof AnomalyDetectorType];
|
|
570
467
|
/**
|
|
571
468
|
* <p>This array is empty if the API operation was successful for all the rules specified in
|
|
572
469
|
* the request. If the operation could not process one of the rules, the following data is
|
|
@@ -595,36 +492,6 @@ export interface PartialFailure {
|
|
|
595
492
|
*/
|
|
596
493
|
FailureDescription?: string | undefined;
|
|
597
494
|
}
|
|
598
|
-
/**
|
|
599
|
-
* @public
|
|
600
|
-
* @enum
|
|
601
|
-
*/
|
|
602
|
-
export declare const ComparisonOperator: {
|
|
603
|
-
readonly GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold";
|
|
604
|
-
readonly GreaterThanThreshold: "GreaterThanThreshold";
|
|
605
|
-
readonly GreaterThanUpperThreshold: "GreaterThanUpperThreshold";
|
|
606
|
-
readonly LessThanLowerOrGreaterThanUpperThreshold: "LessThanLowerOrGreaterThanUpperThreshold";
|
|
607
|
-
readonly LessThanLowerThreshold: "LessThanLowerThreshold";
|
|
608
|
-
readonly LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold";
|
|
609
|
-
readonly LessThanThreshold: "LessThanThreshold";
|
|
610
|
-
};
|
|
611
|
-
/**
|
|
612
|
-
* @public
|
|
613
|
-
*/
|
|
614
|
-
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
615
|
-
/**
|
|
616
|
-
* @public
|
|
617
|
-
* @enum
|
|
618
|
-
*/
|
|
619
|
-
export declare const StateValue: {
|
|
620
|
-
readonly ALARM: "ALARM";
|
|
621
|
-
readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
|
|
622
|
-
readonly OK: "OK";
|
|
623
|
-
};
|
|
624
|
-
/**
|
|
625
|
-
* @public
|
|
626
|
-
*/
|
|
627
|
-
export type StateValue = (typeof StateValue)[keyof typeof StateValue];
|
|
628
495
|
/**
|
|
629
496
|
* <p>The details about a composite alarm.</p>
|
|
630
497
|
* @public
|
|
@@ -757,32 +624,6 @@ export interface CompositeAlarm {
|
|
|
757
624
|
*/
|
|
758
625
|
ActionsSuppressorExtensionPeriod?: number | undefined;
|
|
759
626
|
}
|
|
760
|
-
/**
|
|
761
|
-
* <p>More than one process tried to modify a resource at the same time.</p>
|
|
762
|
-
* @public
|
|
763
|
-
*/
|
|
764
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
765
|
-
readonly name: "ConcurrentModificationException";
|
|
766
|
-
readonly $fault: "client";
|
|
767
|
-
Message?: string | undefined;
|
|
768
|
-
/**
|
|
769
|
-
* @internal
|
|
770
|
-
*/
|
|
771
|
-
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
772
|
-
}
|
|
773
|
-
/**
|
|
774
|
-
* <p>This operation attempted to create a resource that already exists.</p>
|
|
775
|
-
* @public
|
|
776
|
-
*/
|
|
777
|
-
export declare class ConflictException extends __BaseException {
|
|
778
|
-
readonly name: "ConflictException";
|
|
779
|
-
readonly $fault: "client";
|
|
780
|
-
Message?: string | undefined;
|
|
781
|
-
/**
|
|
782
|
-
* @internal
|
|
783
|
-
*/
|
|
784
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
785
|
-
}
|
|
786
627
|
/**
|
|
787
628
|
* <p>Represents a specific dashboard.</p>
|
|
788
629
|
* @public
|
|
@@ -827,31 +668,6 @@ export interface DashboardValidationMessage {
|
|
|
827
668
|
*/
|
|
828
669
|
Message?: string | undefined;
|
|
829
670
|
}
|
|
830
|
-
/**
|
|
831
|
-
* <p>Some part of the dashboard data is invalid.</p>
|
|
832
|
-
* @public
|
|
833
|
-
*/
|
|
834
|
-
export declare class DashboardInvalidInputError extends __BaseException {
|
|
835
|
-
readonly name: "DashboardInvalidInputError";
|
|
836
|
-
readonly $fault: "client";
|
|
837
|
-
dashboardValidationMessages?: DashboardValidationMessage[] | undefined;
|
|
838
|
-
/**
|
|
839
|
-
* @internal
|
|
840
|
-
*/
|
|
841
|
-
constructor(opts: __ExceptionOptionType<DashboardInvalidInputError, __BaseException>);
|
|
842
|
-
}
|
|
843
|
-
/**
|
|
844
|
-
* <p>The specified dashboard does not exist.</p>
|
|
845
|
-
* @public
|
|
846
|
-
*/
|
|
847
|
-
export declare class DashboardNotFoundError extends __BaseException {
|
|
848
|
-
readonly name: "DashboardNotFoundError";
|
|
849
|
-
readonly $fault: "client";
|
|
850
|
-
/**
|
|
851
|
-
* @internal
|
|
852
|
-
*/
|
|
853
|
-
constructor(opts: __ExceptionOptionType<DashboardNotFoundError, __BaseException>);
|
|
854
|
-
}
|
|
855
671
|
/**
|
|
856
672
|
* <p>Encapsulates the statistical data that CloudWatch computes from metric
|
|
857
673
|
* data.</p>
|
|
@@ -910,18 +726,6 @@ export interface DeleteAlarmsInput {
|
|
|
910
726
|
*/
|
|
911
727
|
AlarmNames: string[] | undefined;
|
|
912
728
|
}
|
|
913
|
-
/**
|
|
914
|
-
* <p>The named resource does not exist.</p>
|
|
915
|
-
* @public
|
|
916
|
-
*/
|
|
917
|
-
export declare class ResourceNotFound extends __BaseException {
|
|
918
|
-
readonly name: "ResourceNotFound";
|
|
919
|
-
readonly $fault: "client";
|
|
920
|
-
/**
|
|
921
|
-
* @internal
|
|
922
|
-
*/
|
|
923
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
924
|
-
}
|
|
925
729
|
/**
|
|
926
730
|
* @public
|
|
927
731
|
*/
|
|
@@ -1030,75 +834,6 @@ export interface DeleteAnomalyDetectorInput {
|
|
|
1030
834
|
*/
|
|
1031
835
|
export interface DeleteAnomalyDetectorOutput {
|
|
1032
836
|
}
|
|
1033
|
-
/**
|
|
1034
|
-
* <p>Request processing has failed due to some unknown error, exception, or
|
|
1035
|
-
* failure.</p>
|
|
1036
|
-
* @public
|
|
1037
|
-
*/
|
|
1038
|
-
export declare class InternalServiceFault extends __BaseException {
|
|
1039
|
-
readonly name: "InternalServiceFault";
|
|
1040
|
-
readonly $fault: "server";
|
|
1041
|
-
/**
|
|
1042
|
-
* <p></p>
|
|
1043
|
-
* @public
|
|
1044
|
-
*/
|
|
1045
|
-
Message?: string | undefined;
|
|
1046
|
-
/**
|
|
1047
|
-
* @internal
|
|
1048
|
-
*/
|
|
1049
|
-
constructor(opts: __ExceptionOptionType<InternalServiceFault, __BaseException>);
|
|
1050
|
-
}
|
|
1051
|
-
/**
|
|
1052
|
-
* <p>Parameters were used together that cannot be used together.</p>
|
|
1053
|
-
* @public
|
|
1054
|
-
*/
|
|
1055
|
-
export declare class InvalidParameterCombinationException extends __BaseException {
|
|
1056
|
-
readonly name: "InvalidParameterCombinationException";
|
|
1057
|
-
readonly $fault: "client";
|
|
1058
|
-
/**
|
|
1059
|
-
* @internal
|
|
1060
|
-
*/
|
|
1061
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
|
|
1062
|
-
}
|
|
1063
|
-
/**
|
|
1064
|
-
* <p>The value of an input parameter is bad or out-of-range.</p>
|
|
1065
|
-
* @public
|
|
1066
|
-
*/
|
|
1067
|
-
export declare class InvalidParameterValueException extends __BaseException {
|
|
1068
|
-
readonly name: "InvalidParameterValueException";
|
|
1069
|
-
readonly $fault: "client";
|
|
1070
|
-
/**
|
|
1071
|
-
* @internal
|
|
1072
|
-
*/
|
|
1073
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
1074
|
-
}
|
|
1075
|
-
/**
|
|
1076
|
-
* <p>An input parameter that is required is missing.</p>
|
|
1077
|
-
* @public
|
|
1078
|
-
*/
|
|
1079
|
-
export declare class MissingRequiredParameterException extends __BaseException {
|
|
1080
|
-
readonly name: "MissingRequiredParameterException";
|
|
1081
|
-
readonly $fault: "client";
|
|
1082
|
-
/**
|
|
1083
|
-
* @internal
|
|
1084
|
-
*/
|
|
1085
|
-
constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
|
|
1086
|
-
}
|
|
1087
|
-
/**
|
|
1088
|
-
* <p>The named resource does not exist.</p>
|
|
1089
|
-
* @public
|
|
1090
|
-
*/
|
|
1091
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
1092
|
-
readonly name: "ResourceNotFoundException";
|
|
1093
|
-
readonly $fault: "client";
|
|
1094
|
-
ResourceType?: string | undefined;
|
|
1095
|
-
ResourceId?: string | undefined;
|
|
1096
|
-
Message?: string | undefined;
|
|
1097
|
-
/**
|
|
1098
|
-
* @internal
|
|
1099
|
-
*/
|
|
1100
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1101
|
-
}
|
|
1102
837
|
/**
|
|
1103
838
|
* @public
|
|
1104
839
|
*/
|
|
@@ -1181,30 +916,6 @@ export interface DescribeAlarmContributorsOutput {
|
|
|
1181
916
|
*/
|
|
1182
917
|
NextToken?: string | undefined;
|
|
1183
918
|
}
|
|
1184
|
-
/**
|
|
1185
|
-
* <p>The next token specified is invalid.</p>
|
|
1186
|
-
* @public
|
|
1187
|
-
*/
|
|
1188
|
-
export declare class InvalidNextToken extends __BaseException {
|
|
1189
|
-
readonly name: "InvalidNextToken";
|
|
1190
|
-
readonly $fault: "client";
|
|
1191
|
-
/**
|
|
1192
|
-
* @internal
|
|
1193
|
-
*/
|
|
1194
|
-
constructor(opts: __ExceptionOptionType<InvalidNextToken, __BaseException>);
|
|
1195
|
-
}
|
|
1196
|
-
/**
|
|
1197
|
-
* @public
|
|
1198
|
-
* @enum
|
|
1199
|
-
*/
|
|
1200
|
-
export declare const ScanBy: {
|
|
1201
|
-
readonly TIMESTAMP_ASCENDING: "TimestampAscending";
|
|
1202
|
-
readonly TIMESTAMP_DESCENDING: "TimestampDescending";
|
|
1203
|
-
};
|
|
1204
|
-
/**
|
|
1205
|
-
* @public
|
|
1206
|
-
*/
|
|
1207
|
-
export type ScanBy = (typeof ScanBy)[keyof typeof ScanBy];
|
|
1208
919
|
/**
|
|
1209
920
|
* @public
|
|
1210
921
|
*/
|
|
@@ -1367,32 +1078,6 @@ export interface DescribeAlarmsInput {
|
|
|
1367
1078
|
*/
|
|
1368
1079
|
NextToken?: string | undefined;
|
|
1369
1080
|
}
|
|
1370
|
-
/**
|
|
1371
|
-
* @public
|
|
1372
|
-
* @enum
|
|
1373
|
-
*/
|
|
1374
|
-
export declare const EvaluationState: {
|
|
1375
|
-
readonly PARTIAL_DATA: "PARTIAL_DATA";
|
|
1376
|
-
};
|
|
1377
|
-
/**
|
|
1378
|
-
* @public
|
|
1379
|
-
*/
|
|
1380
|
-
export type EvaluationState = (typeof EvaluationState)[keyof typeof EvaluationState];
|
|
1381
|
-
/**
|
|
1382
|
-
* @public
|
|
1383
|
-
* @enum
|
|
1384
|
-
*/
|
|
1385
|
-
export declare const Statistic: {
|
|
1386
|
-
readonly Average: "Average";
|
|
1387
|
-
readonly Maximum: "Maximum";
|
|
1388
|
-
readonly Minimum: "Minimum";
|
|
1389
|
-
readonly SampleCount: "SampleCount";
|
|
1390
|
-
readonly Sum: "Sum";
|
|
1391
|
-
};
|
|
1392
|
-
/**
|
|
1393
|
-
* @public
|
|
1394
|
-
*/
|
|
1395
|
-
export type Statistic = (typeof Statistic)[keyof typeof Statistic];
|
|
1396
1081
|
/**
|
|
1397
1082
|
* <p>The details about a metric alarm.</p>
|
|
1398
1083
|
* @public
|
|
@@ -1865,19 +1550,6 @@ export interface EnableInsightRulesOutput {
|
|
|
1865
1550
|
*/
|
|
1866
1551
|
Failures?: PartialFailure[] | undefined;
|
|
1867
1552
|
}
|
|
1868
|
-
/**
|
|
1869
|
-
* <p>The operation exceeded one or more limits.</p>
|
|
1870
|
-
* @public
|
|
1871
|
-
*/
|
|
1872
|
-
export declare class LimitExceededException extends __BaseException {
|
|
1873
|
-
readonly name: "LimitExceededException";
|
|
1874
|
-
readonly $fault: "client";
|
|
1875
|
-
Message?: string | undefined;
|
|
1876
|
-
/**
|
|
1877
|
-
* @internal
|
|
1878
|
-
*/
|
|
1879
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1880
|
-
}
|
|
1881
1553
|
/**
|
|
1882
1554
|
* <p>An entity associated with metrics, to allow for finding related telemetry. An entity
|
|
1883
1555
|
* is typically a resource or service within your system. For example, metrics from an
|
|
@@ -2443,20 +2115,6 @@ export interface MessageData {
|
|
|
2443
2115
|
*/
|
|
2444
2116
|
Value?: string | undefined;
|
|
2445
2117
|
}
|
|
2446
|
-
/**
|
|
2447
|
-
* @public
|
|
2448
|
-
* @enum
|
|
2449
|
-
*/
|
|
2450
|
-
export declare const StatusCode: {
|
|
2451
|
-
readonly COMPLETE: "Complete";
|
|
2452
|
-
readonly FORBIDDEN: "Forbidden";
|
|
2453
|
-
readonly INTERNAL_ERROR: "InternalError";
|
|
2454
|
-
readonly PARTIAL_DATA: "PartialData";
|
|
2455
|
-
};
|
|
2456
|
-
/**
|
|
2457
|
-
* @public
|
|
2458
|
-
*/
|
|
2459
|
-
export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
|
|
2460
2118
|
/**
|
|
2461
2119
|
* <p>A <code>GetMetricData</code> call returns an array of <code>MetricDataResult</code>
|
|
2462
2120
|
* structures. Each of these structures includes the data points for that metric, along
|
|
@@ -2703,19 +2361,6 @@ export interface MetricStreamFilter {
|
|
|
2703
2361
|
*/
|
|
2704
2362
|
MetricNames?: string[] | undefined;
|
|
2705
2363
|
}
|
|
2706
|
-
/**
|
|
2707
|
-
* @public
|
|
2708
|
-
* @enum
|
|
2709
|
-
*/
|
|
2710
|
-
export declare const MetricStreamOutputFormat: {
|
|
2711
|
-
readonly JSON: "json";
|
|
2712
|
-
readonly OPEN_TELEMETRY_0_7: "opentelemetry0.7";
|
|
2713
|
-
readonly OPEN_TELEMETRY_1_0: "opentelemetry1.0";
|
|
2714
|
-
};
|
|
2715
|
-
/**
|
|
2716
|
-
* @public
|
|
2717
|
-
*/
|
|
2718
|
-
export type MetricStreamOutputFormat = (typeof MetricStreamOutputFormat)[keyof typeof MetricStreamOutputFormat];
|
|
2719
2364
|
/**
|
|
2720
2365
|
* <p>This object contains the information for one metric that is to be streamed with
|
|
2721
2366
|
* additional statistics.</p>
|
|
@@ -3035,17 +2680,6 @@ export interface ListManagedInsightRulesOutput {
|
|
|
3035
2680
|
*/
|
|
3036
2681
|
NextToken?: string | undefined;
|
|
3037
2682
|
}
|
|
3038
|
-
/**
|
|
3039
|
-
* @public
|
|
3040
|
-
* @enum
|
|
3041
|
-
*/
|
|
3042
|
-
export declare const RecentlyActive: {
|
|
3043
|
-
readonly PT3H: "PT3H";
|
|
3044
|
-
};
|
|
3045
|
-
/**
|
|
3046
|
-
* @public
|
|
3047
|
-
*/
|
|
3048
|
-
export type RecentlyActive = (typeof RecentlyActive)[keyof typeof RecentlyActive];
|
|
3049
2683
|
/**
|
|
3050
2684
|
* @public
|
|
3051
2685
|
*/
|
|
@@ -3372,18 +3006,6 @@ export interface PutAnomalyDetectorInput {
|
|
|
3372
3006
|
*/
|
|
3373
3007
|
export interface PutAnomalyDetectorOutput {
|
|
3374
3008
|
}
|
|
3375
|
-
/**
|
|
3376
|
-
* <p>The quota for alarms for this customer has already been reached.</p>
|
|
3377
|
-
* @public
|
|
3378
|
-
*/
|
|
3379
|
-
export declare class LimitExceededFault extends __BaseException {
|
|
3380
|
-
readonly name: "LimitExceededFault";
|
|
3381
|
-
readonly $fault: "client";
|
|
3382
|
-
/**
|
|
3383
|
-
* @internal
|
|
3384
|
-
*/
|
|
3385
|
-
constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
|
|
3386
|
-
}
|
|
3387
3009
|
/**
|
|
3388
3010
|
* @public
|
|
3389
3011
|
*/
|
|
@@ -4605,18 +4227,6 @@ export interface PutMetricStreamOutput {
|
|
|
4605
4227
|
*/
|
|
4606
4228
|
Arn?: string | undefined;
|
|
4607
4229
|
}
|
|
4608
|
-
/**
|
|
4609
|
-
* <p>Data was not syntactically valid JSON.</p>
|
|
4610
|
-
* @public
|
|
4611
|
-
*/
|
|
4612
|
-
export declare class InvalidFormatFault extends __BaseException {
|
|
4613
|
-
readonly name: "InvalidFormatFault";
|
|
4614
|
-
readonly $fault: "client";
|
|
4615
|
-
/**
|
|
4616
|
-
* @internal
|
|
4617
|
-
*/
|
|
4618
|
-
constructor(opts: __ExceptionOptionType<InvalidFormatFault, __BaseException>);
|
|
4619
|
-
}
|
|
4620
4230
|
/**
|
|
4621
4231
|
* @public
|
|
4622
4232
|
*/
|
|
@@ -6,5 +6,7 @@ export { CloudWatchExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./waiters";
|
|
9
|
-
export * from "./models";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
10
12
|
export { CloudWatchServiceException } from "./models/CloudWatchServiceException";
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export declare const ActionsSuppressedBy: {
|
|
2
|
+
readonly Alarm: "Alarm";
|
|
3
|
+
readonly ExtensionPeriod: "ExtensionPeriod";
|
|
4
|
+
readonly WaitPeriod: "WaitPeriod";
|
|
5
|
+
};
|
|
6
|
+
export type ActionsSuppressedBy =
|
|
7
|
+
(typeof ActionsSuppressedBy)[keyof typeof ActionsSuppressedBy];
|
|
8
|
+
export declare const AlarmType: {
|
|
9
|
+
readonly CompositeAlarm: "CompositeAlarm";
|
|
10
|
+
readonly MetricAlarm: "MetricAlarm";
|
|
11
|
+
};
|
|
12
|
+
export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
|
|
13
|
+
export declare const HistoryItemType: {
|
|
14
|
+
readonly Action: "Action";
|
|
15
|
+
readonly AlarmContributorAction: "AlarmContributorAction";
|
|
16
|
+
readonly AlarmContributorStateUpdate: "AlarmContributorStateUpdate";
|
|
17
|
+
readonly ConfigurationUpdate: "ConfigurationUpdate";
|
|
18
|
+
readonly StateUpdate: "StateUpdate";
|
|
19
|
+
};
|
|
20
|
+
export type HistoryItemType =
|
|
21
|
+
(typeof HistoryItemType)[keyof typeof HistoryItemType];
|
|
22
|
+
export declare const StandardUnit: {
|
|
23
|
+
readonly Bits: "Bits";
|
|
24
|
+
readonly Bits_Second: "Bits/Second";
|
|
25
|
+
readonly Bytes: "Bytes";
|
|
26
|
+
readonly Bytes_Second: "Bytes/Second";
|
|
27
|
+
readonly Count: "Count";
|
|
28
|
+
readonly Count_Second: "Count/Second";
|
|
29
|
+
readonly Gigabits: "Gigabits";
|
|
30
|
+
readonly Gigabits_Second: "Gigabits/Second";
|
|
31
|
+
readonly Gigabytes: "Gigabytes";
|
|
32
|
+
readonly Gigabytes_Second: "Gigabytes/Second";
|
|
33
|
+
readonly Kilobits: "Kilobits";
|
|
34
|
+
readonly Kilobits_Second: "Kilobits/Second";
|
|
35
|
+
readonly Kilobytes: "Kilobytes";
|
|
36
|
+
readonly Kilobytes_Second: "Kilobytes/Second";
|
|
37
|
+
readonly Megabits: "Megabits";
|
|
38
|
+
readonly Megabits_Second: "Megabits/Second";
|
|
39
|
+
readonly Megabytes: "Megabytes";
|
|
40
|
+
readonly Megabytes_Second: "Megabytes/Second";
|
|
41
|
+
readonly Microseconds: "Microseconds";
|
|
42
|
+
readonly Milliseconds: "Milliseconds";
|
|
43
|
+
readonly None: "None";
|
|
44
|
+
readonly Percent: "Percent";
|
|
45
|
+
readonly Seconds: "Seconds";
|
|
46
|
+
readonly Terabits: "Terabits";
|
|
47
|
+
readonly Terabits_Second: "Terabits/Second";
|
|
48
|
+
readonly Terabytes: "Terabytes";
|
|
49
|
+
readonly Terabytes_Second: "Terabytes/Second";
|
|
50
|
+
};
|
|
51
|
+
export type StandardUnit = (typeof StandardUnit)[keyof typeof StandardUnit];
|
|
52
|
+
export declare const AnomalyDetectorStateValue: {
|
|
53
|
+
readonly PENDING_TRAINING: "PENDING_TRAINING";
|
|
54
|
+
readonly TRAINED: "TRAINED";
|
|
55
|
+
readonly TRAINED_INSUFFICIENT_DATA: "TRAINED_INSUFFICIENT_DATA";
|
|
56
|
+
};
|
|
57
|
+
export type AnomalyDetectorStateValue =
|
|
58
|
+
(typeof AnomalyDetectorStateValue)[keyof typeof AnomalyDetectorStateValue];
|
|
59
|
+
export declare const AnomalyDetectorType: {
|
|
60
|
+
readonly METRIC_MATH: "METRIC_MATH";
|
|
61
|
+
readonly SINGLE_METRIC: "SINGLE_METRIC";
|
|
62
|
+
};
|
|
63
|
+
export type AnomalyDetectorType =
|
|
64
|
+
(typeof AnomalyDetectorType)[keyof typeof AnomalyDetectorType];
|
|
65
|
+
export declare const ComparisonOperator: {
|
|
66
|
+
readonly GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold";
|
|
67
|
+
readonly GreaterThanThreshold: "GreaterThanThreshold";
|
|
68
|
+
readonly GreaterThanUpperThreshold: "GreaterThanUpperThreshold";
|
|
69
|
+
readonly LessThanLowerOrGreaterThanUpperThreshold: "LessThanLowerOrGreaterThanUpperThreshold";
|
|
70
|
+
readonly LessThanLowerThreshold: "LessThanLowerThreshold";
|
|
71
|
+
readonly LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold";
|
|
72
|
+
readonly LessThanThreshold: "LessThanThreshold";
|
|
73
|
+
};
|
|
74
|
+
export type ComparisonOperator =
|
|
75
|
+
(typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
76
|
+
export declare const StateValue: {
|
|
77
|
+
readonly ALARM: "ALARM";
|
|
78
|
+
readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
|
|
79
|
+
readonly OK: "OK";
|
|
80
|
+
};
|
|
81
|
+
export type StateValue = (typeof StateValue)[keyof typeof StateValue];
|
|
82
|
+
export declare const ScanBy: {
|
|
83
|
+
readonly TIMESTAMP_ASCENDING: "TimestampAscending";
|
|
84
|
+
readonly TIMESTAMP_DESCENDING: "TimestampDescending";
|
|
85
|
+
};
|
|
86
|
+
export type ScanBy = (typeof ScanBy)[keyof typeof ScanBy];
|
|
87
|
+
export declare const EvaluationState: {
|
|
88
|
+
readonly PARTIAL_DATA: "PARTIAL_DATA";
|
|
89
|
+
};
|
|
90
|
+
export type EvaluationState =
|
|
91
|
+
(typeof EvaluationState)[keyof typeof EvaluationState];
|
|
92
|
+
export declare const Statistic: {
|
|
93
|
+
readonly Average: "Average";
|
|
94
|
+
readonly Maximum: "Maximum";
|
|
95
|
+
readonly Minimum: "Minimum";
|
|
96
|
+
readonly SampleCount: "SampleCount";
|
|
97
|
+
readonly Sum: "Sum";
|
|
98
|
+
};
|
|
99
|
+
export type Statistic = (typeof Statistic)[keyof typeof Statistic];
|
|
100
|
+
export declare const StatusCode: {
|
|
101
|
+
readonly COMPLETE: "Complete";
|
|
102
|
+
readonly FORBIDDEN: "Forbidden";
|
|
103
|
+
readonly INTERNAL_ERROR: "InternalError";
|
|
104
|
+
readonly PARTIAL_DATA: "PartialData";
|
|
105
|
+
};
|
|
106
|
+
export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
|
|
107
|
+
export declare const MetricStreamOutputFormat: {
|
|
108
|
+
readonly JSON: "json";
|
|
109
|
+
readonly OPEN_TELEMETRY_0_7: "opentelemetry0.7";
|
|
110
|
+
readonly OPEN_TELEMETRY_1_0: "opentelemetry1.0";
|
|
111
|
+
};
|
|
112
|
+
export type MetricStreamOutputFormat =
|
|
113
|
+
(typeof MetricStreamOutputFormat)[keyof typeof MetricStreamOutputFormat];
|
|
114
|
+
export declare const RecentlyActive: {
|
|
115
|
+
readonly PT3H: "PT3H";
|
|
116
|
+
};
|
|
117
|
+
export type RecentlyActive =
|
|
118
|
+
(typeof RecentlyActive)[keyof typeof RecentlyActive];
|