@aws-sdk/client-cloudwatch 3.687.0 → 3.691.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-types/models/models_0.d.ts +304 -304
- package/dist-types/ts3.4/models/models_0.d.ts +304 -304
- package/package.json +7 -7
|
@@ -20,32 +20,32 @@ export declare const HistoryItemType: {
|
|
|
20
20
|
export type HistoryItemType =
|
|
21
21
|
(typeof HistoryItemType)[keyof typeof HistoryItemType];
|
|
22
22
|
export interface AlarmHistoryItem {
|
|
23
|
-
AlarmName?: string;
|
|
24
|
-
AlarmType?: AlarmType;
|
|
25
|
-
Timestamp?: Date;
|
|
26
|
-
HistoryItemType?: HistoryItemType;
|
|
27
|
-
HistorySummary?: string;
|
|
28
|
-
HistoryData?: string;
|
|
23
|
+
AlarmName?: string | undefined;
|
|
24
|
+
AlarmType?: AlarmType | undefined;
|
|
25
|
+
Timestamp?: Date | undefined;
|
|
26
|
+
HistoryItemType?: HistoryItemType | undefined;
|
|
27
|
+
HistorySummary?: string | undefined;
|
|
28
|
+
HistoryData?: string | undefined;
|
|
29
29
|
}
|
|
30
30
|
export interface Range {
|
|
31
31
|
StartTime: Date | undefined;
|
|
32
32
|
EndTime: Date | undefined;
|
|
33
33
|
}
|
|
34
34
|
export interface AnomalyDetectorConfiguration {
|
|
35
|
-
ExcludedTimeRanges?: Range[];
|
|
36
|
-
MetricTimezone?: string;
|
|
35
|
+
ExcludedTimeRanges?: Range[] | undefined;
|
|
36
|
+
MetricTimezone?: string | undefined;
|
|
37
37
|
}
|
|
38
38
|
export interface Dimension {
|
|
39
39
|
Name: string | undefined;
|
|
40
40
|
Value: string | undefined;
|
|
41
41
|
}
|
|
42
42
|
export interface MetricCharacteristics {
|
|
43
|
-
PeriodicSpikes?: boolean;
|
|
43
|
+
PeriodicSpikes?: boolean | undefined;
|
|
44
44
|
}
|
|
45
45
|
export interface Metric {
|
|
46
|
-
Namespace?: string;
|
|
47
|
-
MetricName?: string;
|
|
48
|
-
Dimensions?: Dimension[];
|
|
46
|
+
Namespace?: string | undefined;
|
|
47
|
+
MetricName?: string | undefined;
|
|
48
|
+
Dimensions?: Dimension[] | undefined;
|
|
49
49
|
}
|
|
50
50
|
export declare const StandardUnit: {
|
|
51
51
|
readonly Bits: "Bits";
|
|
@@ -81,26 +81,26 @@ export interface MetricStat {
|
|
|
81
81
|
Metric: Metric | undefined;
|
|
82
82
|
Period: number | undefined;
|
|
83
83
|
Stat: string | undefined;
|
|
84
|
-
Unit?: StandardUnit;
|
|
84
|
+
Unit?: StandardUnit | undefined;
|
|
85
85
|
}
|
|
86
86
|
export interface MetricDataQuery {
|
|
87
87
|
Id: string | undefined;
|
|
88
|
-
MetricStat?: MetricStat;
|
|
89
|
-
Expression?: string;
|
|
90
|
-
Label?: string;
|
|
91
|
-
ReturnData?: boolean;
|
|
92
|
-
Period?: number;
|
|
93
|
-
AccountId?: string;
|
|
88
|
+
MetricStat?: MetricStat | undefined;
|
|
89
|
+
Expression?: string | undefined;
|
|
90
|
+
Label?: string | undefined;
|
|
91
|
+
ReturnData?: boolean | undefined;
|
|
92
|
+
Period?: number | undefined;
|
|
93
|
+
AccountId?: string | undefined;
|
|
94
94
|
}
|
|
95
95
|
export interface MetricMathAnomalyDetector {
|
|
96
|
-
MetricDataQueries?: MetricDataQuery[];
|
|
96
|
+
MetricDataQueries?: MetricDataQuery[] | undefined;
|
|
97
97
|
}
|
|
98
98
|
export interface SingleMetricAnomalyDetector {
|
|
99
|
-
AccountId?: string;
|
|
100
|
-
Namespace?: string;
|
|
101
|
-
MetricName?: string;
|
|
102
|
-
Dimensions?: Dimension[];
|
|
103
|
-
Stat?: string;
|
|
99
|
+
AccountId?: string | undefined;
|
|
100
|
+
Namespace?: string | undefined;
|
|
101
|
+
MetricName?: string | undefined;
|
|
102
|
+
Dimensions?: Dimension[] | undefined;
|
|
103
|
+
Stat?: string | undefined;
|
|
104
104
|
}
|
|
105
105
|
export declare const AnomalyDetectorStateValue: {
|
|
106
106
|
readonly PENDING_TRAINING: "PENDING_TRAINING";
|
|
@@ -110,15 +110,15 @@ export declare const AnomalyDetectorStateValue: {
|
|
|
110
110
|
export type AnomalyDetectorStateValue =
|
|
111
111
|
(typeof AnomalyDetectorStateValue)[keyof typeof AnomalyDetectorStateValue];
|
|
112
112
|
export interface AnomalyDetector {
|
|
113
|
-
Namespace?: string;
|
|
114
|
-
MetricName?: string;
|
|
115
|
-
Dimensions?: Dimension[];
|
|
116
|
-
Stat?: string;
|
|
117
|
-
Configuration?: AnomalyDetectorConfiguration;
|
|
118
|
-
StateValue?: AnomalyDetectorStateValue;
|
|
119
|
-
MetricCharacteristics?: MetricCharacteristics;
|
|
120
|
-
SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector;
|
|
121
|
-
MetricMathAnomalyDetector?: MetricMathAnomalyDetector;
|
|
113
|
+
Namespace?: string | undefined;
|
|
114
|
+
MetricName?: string | undefined;
|
|
115
|
+
Dimensions?: Dimension[] | undefined;
|
|
116
|
+
Stat?: string | undefined;
|
|
117
|
+
Configuration?: AnomalyDetectorConfiguration | undefined;
|
|
118
|
+
StateValue?: AnomalyDetectorStateValue | undefined;
|
|
119
|
+
MetricCharacteristics?: MetricCharacteristics | undefined;
|
|
120
|
+
SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector | undefined;
|
|
121
|
+
MetricMathAnomalyDetector?: MetricMathAnomalyDetector | undefined;
|
|
122
122
|
}
|
|
123
123
|
export declare const AnomalyDetectorType: {
|
|
124
124
|
readonly METRIC_MATH: "METRIC_MATH";
|
|
@@ -127,10 +127,10 @@ export declare const AnomalyDetectorType: {
|
|
|
127
127
|
export type AnomalyDetectorType =
|
|
128
128
|
(typeof AnomalyDetectorType)[keyof typeof AnomalyDetectorType];
|
|
129
129
|
export interface PartialFailure {
|
|
130
|
-
FailureResource?: string;
|
|
131
|
-
ExceptionType?: string;
|
|
132
|
-
FailureCode?: string;
|
|
133
|
-
FailureDescription?: string;
|
|
130
|
+
FailureResource?: string | undefined;
|
|
131
|
+
ExceptionType?: string | undefined;
|
|
132
|
+
FailureCode?: string | undefined;
|
|
133
|
+
FailureDescription?: string | undefined;
|
|
134
134
|
}
|
|
135
135
|
export declare const ComparisonOperator: {
|
|
136
136
|
readonly GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold";
|
|
@@ -150,30 +150,30 @@ export declare const StateValue: {
|
|
|
150
150
|
};
|
|
151
151
|
export type StateValue = (typeof StateValue)[keyof typeof StateValue];
|
|
152
152
|
export interface CompositeAlarm {
|
|
153
|
-
ActionsEnabled?: boolean;
|
|
154
|
-
AlarmActions?: string[];
|
|
155
|
-
AlarmArn?: string;
|
|
156
|
-
AlarmConfigurationUpdatedTimestamp?: Date;
|
|
157
|
-
AlarmDescription?: string;
|
|
158
|
-
AlarmName?: string;
|
|
159
|
-
AlarmRule?: string;
|
|
160
|
-
InsufficientDataActions?: string[];
|
|
161
|
-
OKActions?: string[];
|
|
162
|
-
StateReason?: string;
|
|
163
|
-
StateReasonData?: string;
|
|
164
|
-
StateUpdatedTimestamp?: Date;
|
|
165
|
-
StateValue?: StateValue;
|
|
166
|
-
StateTransitionedTimestamp?: Date;
|
|
167
|
-
ActionsSuppressedBy?: ActionsSuppressedBy;
|
|
168
|
-
ActionsSuppressedReason?: string;
|
|
169
|
-
ActionsSuppressor?: string;
|
|
170
|
-
ActionsSuppressorWaitPeriod?: number;
|
|
171
|
-
ActionsSuppressorExtensionPeriod?: number;
|
|
153
|
+
ActionsEnabled?: boolean | undefined;
|
|
154
|
+
AlarmActions?: string[] | undefined;
|
|
155
|
+
AlarmArn?: string | undefined;
|
|
156
|
+
AlarmConfigurationUpdatedTimestamp?: Date | undefined;
|
|
157
|
+
AlarmDescription?: string | undefined;
|
|
158
|
+
AlarmName?: string | undefined;
|
|
159
|
+
AlarmRule?: string | undefined;
|
|
160
|
+
InsufficientDataActions?: string[] | undefined;
|
|
161
|
+
OKActions?: string[] | undefined;
|
|
162
|
+
StateReason?: string | undefined;
|
|
163
|
+
StateReasonData?: string | undefined;
|
|
164
|
+
StateUpdatedTimestamp?: Date | undefined;
|
|
165
|
+
StateValue?: StateValue | undefined;
|
|
166
|
+
StateTransitionedTimestamp?: Date | undefined;
|
|
167
|
+
ActionsSuppressedBy?: ActionsSuppressedBy | undefined;
|
|
168
|
+
ActionsSuppressedReason?: string | undefined;
|
|
169
|
+
ActionsSuppressor?: string | undefined;
|
|
170
|
+
ActionsSuppressorWaitPeriod?: number | undefined;
|
|
171
|
+
ActionsSuppressorExtensionPeriod?: number | undefined;
|
|
172
172
|
}
|
|
173
173
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
174
174
|
readonly name: "ConcurrentModificationException";
|
|
175
175
|
readonly $fault: "client";
|
|
176
|
-
Message?: string;
|
|
176
|
+
Message?: string | undefined;
|
|
177
177
|
constructor(
|
|
178
178
|
opts: __ExceptionOptionType<
|
|
179
179
|
ConcurrentModificationException,
|
|
@@ -182,19 +182,19 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
182
182
|
);
|
|
183
183
|
}
|
|
184
184
|
export interface DashboardEntry {
|
|
185
|
-
DashboardName?: string;
|
|
186
|
-
DashboardArn?: string;
|
|
187
|
-
LastModified?: Date;
|
|
188
|
-
Size?: number;
|
|
185
|
+
DashboardName?: string | undefined;
|
|
186
|
+
DashboardArn?: string | undefined;
|
|
187
|
+
LastModified?: Date | undefined;
|
|
188
|
+
Size?: number | undefined;
|
|
189
189
|
}
|
|
190
190
|
export interface DashboardValidationMessage {
|
|
191
|
-
DataPath?: string;
|
|
192
|
-
Message?: string;
|
|
191
|
+
DataPath?: string | undefined;
|
|
192
|
+
Message?: string | undefined;
|
|
193
193
|
}
|
|
194
194
|
export declare class DashboardInvalidInputError extends __BaseException {
|
|
195
195
|
readonly name: "DashboardInvalidInputError";
|
|
196
196
|
readonly $fault: "client";
|
|
197
|
-
dashboardValidationMessages?: DashboardValidationMessage[];
|
|
197
|
+
dashboardValidationMessages?: DashboardValidationMessage[] | undefined;
|
|
198
198
|
constructor(
|
|
199
199
|
opts: __ExceptionOptionType<DashboardInvalidInputError, __BaseException>
|
|
200
200
|
);
|
|
@@ -207,14 +207,14 @@ export declare class DashboardNotFoundError extends __BaseException {
|
|
|
207
207
|
);
|
|
208
208
|
}
|
|
209
209
|
export interface Datapoint {
|
|
210
|
-
Timestamp?: Date;
|
|
211
|
-
SampleCount?: number;
|
|
212
|
-
Average?: number;
|
|
213
|
-
Sum?: number;
|
|
214
|
-
Minimum?: number;
|
|
215
|
-
Maximum?: number;
|
|
216
|
-
Unit?: StandardUnit;
|
|
217
|
-
ExtendedStatistics?: Record<string, number
|
|
210
|
+
Timestamp?: Date | undefined;
|
|
211
|
+
SampleCount?: number | undefined;
|
|
212
|
+
Average?: number | undefined;
|
|
213
|
+
Sum?: number | undefined;
|
|
214
|
+
Minimum?: number | undefined;
|
|
215
|
+
Maximum?: number | undefined;
|
|
216
|
+
Unit?: StandardUnit | undefined;
|
|
217
|
+
ExtendedStatistics?: Record<string, number> | undefined;
|
|
218
218
|
}
|
|
219
219
|
export interface DeleteAlarmsInput {
|
|
220
220
|
AlarmNames: string[] | undefined;
|
|
@@ -225,18 +225,18 @@ export declare class ResourceNotFound extends __BaseException {
|
|
|
225
225
|
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
226
226
|
}
|
|
227
227
|
export interface DeleteAnomalyDetectorInput {
|
|
228
|
-
Namespace?: string;
|
|
229
|
-
MetricName?: string;
|
|
230
|
-
Dimensions?: Dimension[];
|
|
231
|
-
Stat?: string;
|
|
232
|
-
SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector;
|
|
233
|
-
MetricMathAnomalyDetector?: MetricMathAnomalyDetector;
|
|
228
|
+
Namespace?: string | undefined;
|
|
229
|
+
MetricName?: string | undefined;
|
|
230
|
+
Dimensions?: Dimension[] | undefined;
|
|
231
|
+
Stat?: string | undefined;
|
|
232
|
+
SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector | undefined;
|
|
233
|
+
MetricMathAnomalyDetector?: MetricMathAnomalyDetector | undefined;
|
|
234
234
|
}
|
|
235
235
|
export interface DeleteAnomalyDetectorOutput {}
|
|
236
236
|
export declare class InternalServiceFault extends __BaseException {
|
|
237
237
|
readonly name: "InternalServiceFault";
|
|
238
238
|
readonly $fault: "server";
|
|
239
|
-
Message?: string;
|
|
239
|
+
Message?: string | undefined;
|
|
240
240
|
constructor(
|
|
241
241
|
opts: __ExceptionOptionType<InternalServiceFault, __BaseException>
|
|
242
242
|
);
|
|
@@ -271,9 +271,9 @@ export declare class MissingRequiredParameterException extends __BaseException {
|
|
|
271
271
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
272
272
|
readonly name: "ResourceNotFoundException";
|
|
273
273
|
readonly $fault: "client";
|
|
274
|
-
ResourceType?: string;
|
|
275
|
-
ResourceId?: string;
|
|
276
|
-
Message?: string;
|
|
274
|
+
ResourceType?: string | undefined;
|
|
275
|
+
ResourceId?: string | undefined;
|
|
276
|
+
Message?: string | undefined;
|
|
277
277
|
constructor(
|
|
278
278
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
279
279
|
);
|
|
@@ -286,7 +286,7 @@ export interface DeleteInsightRulesInput {
|
|
|
286
286
|
RuleNames: string[] | undefined;
|
|
287
287
|
}
|
|
288
288
|
export interface DeleteInsightRulesOutput {
|
|
289
|
-
Failures?: PartialFailure[];
|
|
289
|
+
Failures?: PartialFailure[] | undefined;
|
|
290
290
|
}
|
|
291
291
|
export interface DeleteMetricStreamInput {
|
|
292
292
|
Name: string | undefined;
|
|
@@ -298,18 +298,18 @@ export declare const ScanBy: {
|
|
|
298
298
|
};
|
|
299
299
|
export type ScanBy = (typeof ScanBy)[keyof typeof ScanBy];
|
|
300
300
|
export interface DescribeAlarmHistoryInput {
|
|
301
|
-
AlarmName?: string;
|
|
302
|
-
AlarmTypes?: AlarmType[];
|
|
303
|
-
HistoryItemType?: HistoryItemType;
|
|
304
|
-
StartDate?: Date;
|
|
305
|
-
EndDate?: Date;
|
|
306
|
-
MaxRecords?: number;
|
|
307
|
-
NextToken?: string;
|
|
308
|
-
ScanBy?: ScanBy;
|
|
301
|
+
AlarmName?: string | undefined;
|
|
302
|
+
AlarmTypes?: AlarmType[] | undefined;
|
|
303
|
+
HistoryItemType?: HistoryItemType | undefined;
|
|
304
|
+
StartDate?: Date | undefined;
|
|
305
|
+
EndDate?: Date | undefined;
|
|
306
|
+
MaxRecords?: number | undefined;
|
|
307
|
+
NextToken?: string | undefined;
|
|
308
|
+
ScanBy?: ScanBy | undefined;
|
|
309
309
|
}
|
|
310
310
|
export interface DescribeAlarmHistoryOutput {
|
|
311
|
-
AlarmHistoryItems?: AlarmHistoryItem[];
|
|
312
|
-
NextToken?: string;
|
|
311
|
+
AlarmHistoryItems?: AlarmHistoryItem[] | undefined;
|
|
312
|
+
NextToken?: string | undefined;
|
|
313
313
|
}
|
|
314
314
|
export declare class InvalidNextToken extends __BaseException {
|
|
315
315
|
readonly name: "InvalidNextToken";
|
|
@@ -317,15 +317,15 @@ export declare class InvalidNextToken extends __BaseException {
|
|
|
317
317
|
constructor(opts: __ExceptionOptionType<InvalidNextToken, __BaseException>);
|
|
318
318
|
}
|
|
319
319
|
export interface DescribeAlarmsInput {
|
|
320
|
-
AlarmNames?: string[];
|
|
321
|
-
AlarmNamePrefix?: string;
|
|
322
|
-
AlarmTypes?: AlarmType[];
|
|
323
|
-
ChildrenOfAlarmName?: string;
|
|
324
|
-
ParentsOfAlarmName?: string;
|
|
325
|
-
StateValue?: StateValue;
|
|
326
|
-
ActionPrefix?: string;
|
|
327
|
-
MaxRecords?: number;
|
|
328
|
-
NextToken?: string;
|
|
320
|
+
AlarmNames?: string[] | undefined;
|
|
321
|
+
AlarmNamePrefix?: string | undefined;
|
|
322
|
+
AlarmTypes?: AlarmType[] | undefined;
|
|
323
|
+
ChildrenOfAlarmName?: string | undefined;
|
|
324
|
+
ParentsOfAlarmName?: string | undefined;
|
|
325
|
+
StateValue?: StateValue | undefined;
|
|
326
|
+
ActionPrefix?: string | undefined;
|
|
327
|
+
MaxRecords?: number | undefined;
|
|
328
|
+
NextToken?: string | undefined;
|
|
329
329
|
}
|
|
330
330
|
export declare const EvaluationState: {
|
|
331
331
|
readonly PARTIAL_DATA: "PARTIAL_DATA";
|
|
@@ -341,83 +341,83 @@ export declare const Statistic: {
|
|
|
341
341
|
};
|
|
342
342
|
export type Statistic = (typeof Statistic)[keyof typeof Statistic];
|
|
343
343
|
export interface MetricAlarm {
|
|
344
|
-
AlarmName?: string;
|
|
345
|
-
AlarmArn?: string;
|
|
346
|
-
AlarmDescription?: string;
|
|
347
|
-
AlarmConfigurationUpdatedTimestamp?: Date;
|
|
348
|
-
ActionsEnabled?: boolean;
|
|
349
|
-
OKActions?: string[];
|
|
350
|
-
AlarmActions?: string[];
|
|
351
|
-
InsufficientDataActions?: string[];
|
|
352
|
-
StateValue?: StateValue;
|
|
353
|
-
StateReason?: string;
|
|
354
|
-
StateReasonData?: string;
|
|
355
|
-
StateUpdatedTimestamp?: Date;
|
|
356
|
-
MetricName?: string;
|
|
357
|
-
Namespace?: string;
|
|
358
|
-
Statistic?: Statistic;
|
|
359
|
-
ExtendedStatistic?: string;
|
|
360
|
-
Dimensions?: Dimension[];
|
|
361
|
-
Period?: number;
|
|
362
|
-
Unit?: StandardUnit;
|
|
363
|
-
EvaluationPeriods?: number;
|
|
364
|
-
DatapointsToAlarm?: number;
|
|
365
|
-
Threshold?: number;
|
|
366
|
-
ComparisonOperator?: ComparisonOperator;
|
|
367
|
-
TreatMissingData?: string;
|
|
368
|
-
EvaluateLowSampleCountPercentile?: string;
|
|
369
|
-
Metrics?: MetricDataQuery[];
|
|
370
|
-
ThresholdMetricId?: string;
|
|
371
|
-
EvaluationState?: EvaluationState;
|
|
372
|
-
StateTransitionedTimestamp?: Date;
|
|
344
|
+
AlarmName?: string | undefined;
|
|
345
|
+
AlarmArn?: string | undefined;
|
|
346
|
+
AlarmDescription?: string | undefined;
|
|
347
|
+
AlarmConfigurationUpdatedTimestamp?: Date | undefined;
|
|
348
|
+
ActionsEnabled?: boolean | undefined;
|
|
349
|
+
OKActions?: string[] | undefined;
|
|
350
|
+
AlarmActions?: string[] | undefined;
|
|
351
|
+
InsufficientDataActions?: string[] | undefined;
|
|
352
|
+
StateValue?: StateValue | undefined;
|
|
353
|
+
StateReason?: string | undefined;
|
|
354
|
+
StateReasonData?: string | undefined;
|
|
355
|
+
StateUpdatedTimestamp?: Date | undefined;
|
|
356
|
+
MetricName?: string | undefined;
|
|
357
|
+
Namespace?: string | undefined;
|
|
358
|
+
Statistic?: Statistic | undefined;
|
|
359
|
+
ExtendedStatistic?: string | undefined;
|
|
360
|
+
Dimensions?: Dimension[] | undefined;
|
|
361
|
+
Period?: number | undefined;
|
|
362
|
+
Unit?: StandardUnit | undefined;
|
|
363
|
+
EvaluationPeriods?: number | undefined;
|
|
364
|
+
DatapointsToAlarm?: number | undefined;
|
|
365
|
+
Threshold?: number | undefined;
|
|
366
|
+
ComparisonOperator?: ComparisonOperator | undefined;
|
|
367
|
+
TreatMissingData?: string | undefined;
|
|
368
|
+
EvaluateLowSampleCountPercentile?: string | undefined;
|
|
369
|
+
Metrics?: MetricDataQuery[] | undefined;
|
|
370
|
+
ThresholdMetricId?: string | undefined;
|
|
371
|
+
EvaluationState?: EvaluationState | undefined;
|
|
372
|
+
StateTransitionedTimestamp?: Date | undefined;
|
|
373
373
|
}
|
|
374
374
|
export interface DescribeAlarmsOutput {
|
|
375
|
-
CompositeAlarms?: CompositeAlarm[];
|
|
376
|
-
MetricAlarms?: MetricAlarm[];
|
|
377
|
-
NextToken?: string;
|
|
375
|
+
CompositeAlarms?: CompositeAlarm[] | undefined;
|
|
376
|
+
MetricAlarms?: MetricAlarm[] | undefined;
|
|
377
|
+
NextToken?: string | undefined;
|
|
378
378
|
}
|
|
379
379
|
export interface DescribeAlarmsForMetricInput {
|
|
380
380
|
MetricName: string | undefined;
|
|
381
381
|
Namespace: string | undefined;
|
|
382
|
-
Statistic?: Statistic;
|
|
383
|
-
ExtendedStatistic?: string;
|
|
384
|
-
Dimensions?: Dimension[];
|
|
385
|
-
Period?: number;
|
|
386
|
-
Unit?: StandardUnit;
|
|
382
|
+
Statistic?: Statistic | undefined;
|
|
383
|
+
ExtendedStatistic?: string | undefined;
|
|
384
|
+
Dimensions?: Dimension[] | undefined;
|
|
385
|
+
Period?: number | undefined;
|
|
386
|
+
Unit?: StandardUnit | undefined;
|
|
387
387
|
}
|
|
388
388
|
export interface DescribeAlarmsForMetricOutput {
|
|
389
|
-
MetricAlarms?: MetricAlarm[];
|
|
389
|
+
MetricAlarms?: MetricAlarm[] | undefined;
|
|
390
390
|
}
|
|
391
391
|
export interface DescribeAnomalyDetectorsInput {
|
|
392
|
-
NextToken?: string;
|
|
393
|
-
MaxResults?: number;
|
|
394
|
-
Namespace?: string;
|
|
395
|
-
MetricName?: string;
|
|
396
|
-
Dimensions?: Dimension[];
|
|
397
|
-
AnomalyDetectorTypes?: AnomalyDetectorType[];
|
|
392
|
+
NextToken?: string | undefined;
|
|
393
|
+
MaxResults?: number | undefined;
|
|
394
|
+
Namespace?: string | undefined;
|
|
395
|
+
MetricName?: string | undefined;
|
|
396
|
+
Dimensions?: Dimension[] | undefined;
|
|
397
|
+
AnomalyDetectorTypes?: AnomalyDetectorType[] | undefined;
|
|
398
398
|
}
|
|
399
399
|
export interface DescribeAnomalyDetectorsOutput {
|
|
400
|
-
AnomalyDetectors?: AnomalyDetector[];
|
|
401
|
-
NextToken?: string;
|
|
400
|
+
AnomalyDetectors?: AnomalyDetector[] | undefined;
|
|
401
|
+
NextToken?: string | undefined;
|
|
402
402
|
}
|
|
403
403
|
export interface DescribeInsightRulesInput {
|
|
404
|
-
NextToken?: string;
|
|
405
|
-
MaxResults?: number;
|
|
404
|
+
NextToken?: string | undefined;
|
|
405
|
+
MaxResults?: number | undefined;
|
|
406
406
|
}
|
|
407
407
|
export interface InsightRule {
|
|
408
408
|
Name: string | undefined;
|
|
409
409
|
State: string | undefined;
|
|
410
410
|
Schema: string | undefined;
|
|
411
411
|
Definition: string | undefined;
|
|
412
|
-
ManagedRule?: boolean;
|
|
412
|
+
ManagedRule?: boolean | undefined;
|
|
413
413
|
}
|
|
414
414
|
export interface DescribeInsightRulesOutput {
|
|
415
|
-
NextToken?: string;
|
|
416
|
-
InsightRules?: InsightRule[];
|
|
415
|
+
NextToken?: string | undefined;
|
|
416
|
+
InsightRules?: InsightRule[] | undefined;
|
|
417
417
|
}
|
|
418
418
|
export interface DimensionFilter {
|
|
419
419
|
Name: string | undefined;
|
|
420
|
-
Value?: string;
|
|
420
|
+
Value?: string | undefined;
|
|
421
421
|
}
|
|
422
422
|
export interface DisableAlarmActionsInput {
|
|
423
423
|
AlarmNames: string[] | undefined;
|
|
@@ -426,7 +426,7 @@ export interface DisableInsightRulesInput {
|
|
|
426
426
|
RuleNames: string[] | undefined;
|
|
427
427
|
}
|
|
428
428
|
export interface DisableInsightRulesOutput {
|
|
429
|
-
Failures?: PartialFailure[];
|
|
429
|
+
Failures?: PartialFailure[] | undefined;
|
|
430
430
|
}
|
|
431
431
|
export interface EnableAlarmActionsInput {
|
|
432
432
|
AlarmNames: string[] | undefined;
|
|
@@ -435,12 +435,12 @@ export interface EnableInsightRulesInput {
|
|
|
435
435
|
RuleNames: string[] | undefined;
|
|
436
436
|
}
|
|
437
437
|
export interface EnableInsightRulesOutput {
|
|
438
|
-
Failures?: PartialFailure[];
|
|
438
|
+
Failures?: PartialFailure[] | undefined;
|
|
439
439
|
}
|
|
440
440
|
export declare class LimitExceededException extends __BaseException {
|
|
441
441
|
readonly name: "LimitExceededException";
|
|
442
442
|
readonly $fault: "client";
|
|
443
|
-
Message?: string;
|
|
443
|
+
Message?: string | undefined;
|
|
444
444
|
constructor(
|
|
445
445
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
446
446
|
);
|
|
@@ -449,18 +449,18 @@ export interface GetDashboardInput {
|
|
|
449
449
|
DashboardName: string | undefined;
|
|
450
450
|
}
|
|
451
451
|
export interface GetDashboardOutput {
|
|
452
|
-
DashboardArn?: string;
|
|
453
|
-
DashboardBody?: string;
|
|
454
|
-
DashboardName?: string;
|
|
452
|
+
DashboardArn?: string | undefined;
|
|
453
|
+
DashboardBody?: string | undefined;
|
|
454
|
+
DashboardName?: string | undefined;
|
|
455
455
|
}
|
|
456
456
|
export interface GetInsightRuleReportInput {
|
|
457
457
|
RuleName: string | undefined;
|
|
458
458
|
StartTime: Date | undefined;
|
|
459
459
|
EndTime: Date | undefined;
|
|
460
460
|
Period: number | undefined;
|
|
461
|
-
MaxContributorCount?: number;
|
|
462
|
-
Metrics?: string[];
|
|
463
|
-
OrderBy?: string;
|
|
461
|
+
MaxContributorCount?: number | undefined;
|
|
462
|
+
Metrics?: string[] | undefined;
|
|
463
|
+
OrderBy?: string | undefined;
|
|
464
464
|
}
|
|
465
465
|
export interface InsightRuleContributorDatapoint {
|
|
466
466
|
Timestamp: Date | undefined;
|
|
@@ -473,37 +473,37 @@ export interface InsightRuleContributor {
|
|
|
473
473
|
}
|
|
474
474
|
export interface InsightRuleMetricDatapoint {
|
|
475
475
|
Timestamp: Date | undefined;
|
|
476
|
-
UniqueContributors?: number;
|
|
477
|
-
MaxContributorValue?: number;
|
|
478
|
-
SampleCount?: number;
|
|
479
|
-
Average?: number;
|
|
480
|
-
Sum?: number;
|
|
481
|
-
Minimum?: number;
|
|
482
|
-
Maximum?: number;
|
|
476
|
+
UniqueContributors?: number | undefined;
|
|
477
|
+
MaxContributorValue?: number | undefined;
|
|
478
|
+
SampleCount?: number | undefined;
|
|
479
|
+
Average?: number | undefined;
|
|
480
|
+
Sum?: number | undefined;
|
|
481
|
+
Minimum?: number | undefined;
|
|
482
|
+
Maximum?: number | undefined;
|
|
483
483
|
}
|
|
484
484
|
export interface GetInsightRuleReportOutput {
|
|
485
|
-
KeyLabels?: string[];
|
|
486
|
-
AggregationStatistic?: string;
|
|
487
|
-
AggregateValue?: number;
|
|
488
|
-
ApproximateUniqueCount?: number;
|
|
489
|
-
Contributors?: InsightRuleContributor[];
|
|
490
|
-
MetricDatapoints?: InsightRuleMetricDatapoint[];
|
|
485
|
+
KeyLabels?: string[] | undefined;
|
|
486
|
+
AggregationStatistic?: string | undefined;
|
|
487
|
+
AggregateValue?: number | undefined;
|
|
488
|
+
ApproximateUniqueCount?: number | undefined;
|
|
489
|
+
Contributors?: InsightRuleContributor[] | undefined;
|
|
490
|
+
MetricDatapoints?: InsightRuleMetricDatapoint[] | undefined;
|
|
491
491
|
}
|
|
492
492
|
export interface LabelOptions {
|
|
493
|
-
Timezone?: string;
|
|
493
|
+
Timezone?: string | undefined;
|
|
494
494
|
}
|
|
495
495
|
export interface GetMetricDataInput {
|
|
496
496
|
MetricDataQueries: MetricDataQuery[] | undefined;
|
|
497
497
|
StartTime: Date | undefined;
|
|
498
498
|
EndTime: Date | undefined;
|
|
499
|
-
NextToken?: string;
|
|
500
|
-
ScanBy?: ScanBy;
|
|
501
|
-
MaxDatapoints?: number;
|
|
502
|
-
LabelOptions?: LabelOptions;
|
|
499
|
+
NextToken?: string | undefined;
|
|
500
|
+
ScanBy?: ScanBy | undefined;
|
|
501
|
+
MaxDatapoints?: number | undefined;
|
|
502
|
+
LabelOptions?: LabelOptions | undefined;
|
|
503
503
|
}
|
|
504
504
|
export interface MessageData {
|
|
505
|
-
Code?: string;
|
|
506
|
-
Value?: string;
|
|
505
|
+
Code?: string | undefined;
|
|
506
|
+
Value?: string | undefined;
|
|
507
507
|
}
|
|
508
508
|
export declare const StatusCode: {
|
|
509
509
|
readonly COMPLETE: "Complete";
|
|
@@ -513,39 +513,39 @@ export declare const StatusCode: {
|
|
|
513
513
|
};
|
|
514
514
|
export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
|
|
515
515
|
export interface MetricDataResult {
|
|
516
|
-
Id?: string;
|
|
517
|
-
Label?: string;
|
|
518
|
-
Timestamps?: Date[];
|
|
519
|
-
Values?: number[];
|
|
520
|
-
StatusCode?: StatusCode;
|
|
521
|
-
Messages?: MessageData[];
|
|
516
|
+
Id?: string | undefined;
|
|
517
|
+
Label?: string | undefined;
|
|
518
|
+
Timestamps?: Date[] | undefined;
|
|
519
|
+
Values?: number[] | undefined;
|
|
520
|
+
StatusCode?: StatusCode | undefined;
|
|
521
|
+
Messages?: MessageData[] | undefined;
|
|
522
522
|
}
|
|
523
523
|
export interface GetMetricDataOutput {
|
|
524
|
-
MetricDataResults?: MetricDataResult[];
|
|
525
|
-
NextToken?: string;
|
|
526
|
-
Messages?: MessageData[];
|
|
524
|
+
MetricDataResults?: MetricDataResult[] | undefined;
|
|
525
|
+
NextToken?: string | undefined;
|
|
526
|
+
Messages?: MessageData[] | undefined;
|
|
527
527
|
}
|
|
528
528
|
export interface GetMetricStatisticsInput {
|
|
529
529
|
Namespace: string | undefined;
|
|
530
530
|
MetricName: string | undefined;
|
|
531
|
-
Dimensions?: Dimension[];
|
|
531
|
+
Dimensions?: Dimension[] | undefined;
|
|
532
532
|
StartTime: Date | undefined;
|
|
533
533
|
EndTime: Date | undefined;
|
|
534
534
|
Period: number | undefined;
|
|
535
|
-
Statistics?: Statistic[];
|
|
536
|
-
ExtendedStatistics?: string[];
|
|
537
|
-
Unit?: StandardUnit;
|
|
535
|
+
Statistics?: Statistic[] | undefined;
|
|
536
|
+
ExtendedStatistics?: string[] | undefined;
|
|
537
|
+
Unit?: StandardUnit | undefined;
|
|
538
538
|
}
|
|
539
539
|
export interface GetMetricStatisticsOutput {
|
|
540
|
-
Label?: string;
|
|
541
|
-
Datapoints?: Datapoint[];
|
|
540
|
+
Label?: string | undefined;
|
|
541
|
+
Datapoints?: Datapoint[] | undefined;
|
|
542
542
|
}
|
|
543
543
|
export interface GetMetricStreamInput {
|
|
544
544
|
Name: string | undefined;
|
|
545
545
|
}
|
|
546
546
|
export interface MetricStreamFilter {
|
|
547
|
-
Namespace?: string;
|
|
548
|
-
MetricNames?: string[];
|
|
547
|
+
Namespace?: string | undefined;
|
|
548
|
+
MetricNames?: string[] | undefined;
|
|
549
549
|
}
|
|
550
550
|
export declare const MetricStreamOutputFormat: {
|
|
551
551
|
readonly JSON: "json";
|
|
@@ -563,51 +563,51 @@ export interface MetricStreamStatisticsConfiguration {
|
|
|
563
563
|
AdditionalStatistics: string[] | undefined;
|
|
564
564
|
}
|
|
565
565
|
export interface GetMetricStreamOutput {
|
|
566
|
-
Arn?: string;
|
|
567
|
-
Name?: string;
|
|
568
|
-
IncludeFilters?: MetricStreamFilter[];
|
|
569
|
-
ExcludeFilters?: MetricStreamFilter[];
|
|
570
|
-
FirehoseArn?: string;
|
|
571
|
-
RoleArn?: string;
|
|
572
|
-
State?: string;
|
|
573
|
-
CreationDate?: Date;
|
|
574
|
-
LastUpdateDate?: Date;
|
|
575
|
-
OutputFormat?: MetricStreamOutputFormat;
|
|
576
|
-
StatisticsConfigurations?: MetricStreamStatisticsConfiguration[];
|
|
577
|
-
IncludeLinkedAccountsMetrics?: boolean;
|
|
566
|
+
Arn?: string | undefined;
|
|
567
|
+
Name?: string | undefined;
|
|
568
|
+
IncludeFilters?: MetricStreamFilter[] | undefined;
|
|
569
|
+
ExcludeFilters?: MetricStreamFilter[] | undefined;
|
|
570
|
+
FirehoseArn?: string | undefined;
|
|
571
|
+
RoleArn?: string | undefined;
|
|
572
|
+
State?: string | undefined;
|
|
573
|
+
CreationDate?: Date | undefined;
|
|
574
|
+
LastUpdateDate?: Date | undefined;
|
|
575
|
+
OutputFormat?: MetricStreamOutputFormat | undefined;
|
|
576
|
+
StatisticsConfigurations?: MetricStreamStatisticsConfiguration[] | undefined;
|
|
577
|
+
IncludeLinkedAccountsMetrics?: boolean | undefined;
|
|
578
578
|
}
|
|
579
579
|
export interface GetMetricWidgetImageInput {
|
|
580
580
|
MetricWidget: string | undefined;
|
|
581
|
-
OutputFormat?: string;
|
|
581
|
+
OutputFormat?: string | undefined;
|
|
582
582
|
}
|
|
583
583
|
export interface GetMetricWidgetImageOutput {
|
|
584
|
-
MetricWidgetImage?: Uint8Array;
|
|
584
|
+
MetricWidgetImage?: Uint8Array | undefined;
|
|
585
585
|
}
|
|
586
586
|
export interface ListDashboardsInput {
|
|
587
|
-
DashboardNamePrefix?: string;
|
|
588
|
-
NextToken?: string;
|
|
587
|
+
DashboardNamePrefix?: string | undefined;
|
|
588
|
+
NextToken?: string | undefined;
|
|
589
589
|
}
|
|
590
590
|
export interface ListDashboardsOutput {
|
|
591
|
-
DashboardEntries?: DashboardEntry[];
|
|
592
|
-
NextToken?: string;
|
|
591
|
+
DashboardEntries?: DashboardEntry[] | undefined;
|
|
592
|
+
NextToken?: string | undefined;
|
|
593
593
|
}
|
|
594
594
|
export interface ListManagedInsightRulesInput {
|
|
595
595
|
ResourceARN: string | undefined;
|
|
596
|
-
NextToken?: string;
|
|
597
|
-
MaxResults?: number;
|
|
596
|
+
NextToken?: string | undefined;
|
|
597
|
+
MaxResults?: number | undefined;
|
|
598
598
|
}
|
|
599
599
|
export interface ManagedRuleState {
|
|
600
600
|
RuleName: string | undefined;
|
|
601
601
|
State: string | undefined;
|
|
602
602
|
}
|
|
603
603
|
export interface ManagedRuleDescription {
|
|
604
|
-
TemplateName?: string;
|
|
605
|
-
ResourceARN?: string;
|
|
606
|
-
RuleState?: ManagedRuleState;
|
|
604
|
+
TemplateName?: string | undefined;
|
|
605
|
+
ResourceARN?: string | undefined;
|
|
606
|
+
RuleState?: ManagedRuleState | undefined;
|
|
607
607
|
}
|
|
608
608
|
export interface ListManagedInsightRulesOutput {
|
|
609
|
-
ManagedRules?: ManagedRuleDescription[];
|
|
610
|
-
NextToken?: string;
|
|
609
|
+
ManagedRules?: ManagedRuleDescription[] | undefined;
|
|
610
|
+
NextToken?: string | undefined;
|
|
611
611
|
}
|
|
612
612
|
export declare const RecentlyActive: {
|
|
613
613
|
readonly PT3H: "PT3H";
|
|
@@ -615,35 +615,35 @@ export declare const RecentlyActive: {
|
|
|
615
615
|
export type RecentlyActive =
|
|
616
616
|
(typeof RecentlyActive)[keyof typeof RecentlyActive];
|
|
617
617
|
export interface ListMetricsInput {
|
|
618
|
-
Namespace?: string;
|
|
619
|
-
MetricName?: string;
|
|
620
|
-
Dimensions?: DimensionFilter[];
|
|
621
|
-
NextToken?: string;
|
|
622
|
-
RecentlyActive?: RecentlyActive;
|
|
623
|
-
IncludeLinkedAccounts?: boolean;
|
|
624
|
-
OwningAccount?: string;
|
|
618
|
+
Namespace?: string | undefined;
|
|
619
|
+
MetricName?: string | undefined;
|
|
620
|
+
Dimensions?: DimensionFilter[] | undefined;
|
|
621
|
+
NextToken?: string | undefined;
|
|
622
|
+
RecentlyActive?: RecentlyActive | undefined;
|
|
623
|
+
IncludeLinkedAccounts?: boolean | undefined;
|
|
624
|
+
OwningAccount?: string | undefined;
|
|
625
625
|
}
|
|
626
626
|
export interface ListMetricsOutput {
|
|
627
|
-
Metrics?: Metric[];
|
|
628
|
-
NextToken?: string;
|
|
629
|
-
OwningAccounts?: string[];
|
|
627
|
+
Metrics?: Metric[] | undefined;
|
|
628
|
+
NextToken?: string | undefined;
|
|
629
|
+
OwningAccounts?: string[] | undefined;
|
|
630
630
|
}
|
|
631
631
|
export interface ListMetricStreamsInput {
|
|
632
|
-
NextToken?: string;
|
|
633
|
-
MaxResults?: number;
|
|
632
|
+
NextToken?: string | undefined;
|
|
633
|
+
MaxResults?: number | undefined;
|
|
634
634
|
}
|
|
635
635
|
export interface MetricStreamEntry {
|
|
636
|
-
Arn?: string;
|
|
637
|
-
CreationDate?: Date;
|
|
638
|
-
LastUpdateDate?: Date;
|
|
639
|
-
Name?: string;
|
|
640
|
-
FirehoseArn?: string;
|
|
641
|
-
State?: string;
|
|
642
|
-
OutputFormat?: MetricStreamOutputFormat;
|
|
636
|
+
Arn?: string | undefined;
|
|
637
|
+
CreationDate?: Date | undefined;
|
|
638
|
+
LastUpdateDate?: Date | undefined;
|
|
639
|
+
Name?: string | undefined;
|
|
640
|
+
FirehoseArn?: string | undefined;
|
|
641
|
+
State?: string | undefined;
|
|
642
|
+
OutputFormat?: MetricStreamOutputFormat | undefined;
|
|
643
643
|
}
|
|
644
644
|
export interface ListMetricStreamsOutput {
|
|
645
|
-
NextToken?: string;
|
|
646
|
-
Entries?: MetricStreamEntry[];
|
|
645
|
+
NextToken?: string | undefined;
|
|
646
|
+
Entries?: MetricStreamEntry[] | undefined;
|
|
647
647
|
}
|
|
648
648
|
export interface ListTagsForResourceInput {
|
|
649
649
|
ResourceARN: string | undefined;
|
|
@@ -653,17 +653,17 @@ export interface Tag {
|
|
|
653
653
|
Value: string | undefined;
|
|
654
654
|
}
|
|
655
655
|
export interface ListTagsForResourceOutput {
|
|
656
|
-
Tags?: Tag[];
|
|
656
|
+
Tags?: Tag[] | undefined;
|
|
657
657
|
}
|
|
658
658
|
export interface PutAnomalyDetectorInput {
|
|
659
|
-
Namespace?: string;
|
|
660
|
-
MetricName?: string;
|
|
661
|
-
Dimensions?: Dimension[];
|
|
662
|
-
Stat?: string;
|
|
663
|
-
Configuration?: AnomalyDetectorConfiguration;
|
|
664
|
-
MetricCharacteristics?: MetricCharacteristics;
|
|
665
|
-
SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector;
|
|
666
|
-
MetricMathAnomalyDetector?: MetricMathAnomalyDetector;
|
|
659
|
+
Namespace?: string | undefined;
|
|
660
|
+
MetricName?: string | undefined;
|
|
661
|
+
Dimensions?: Dimension[] | undefined;
|
|
662
|
+
Stat?: string | undefined;
|
|
663
|
+
Configuration?: AnomalyDetectorConfiguration | undefined;
|
|
664
|
+
MetricCharacteristics?: MetricCharacteristics | undefined;
|
|
665
|
+
SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector | undefined;
|
|
666
|
+
MetricMathAnomalyDetector?: MetricMathAnomalyDetector | undefined;
|
|
667
667
|
}
|
|
668
668
|
export interface PutAnomalyDetectorOutput {}
|
|
669
669
|
export declare class LimitExceededFault extends __BaseException {
|
|
@@ -672,66 +672,66 @@ export declare class LimitExceededFault extends __BaseException {
|
|
|
672
672
|
constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
|
|
673
673
|
}
|
|
674
674
|
export interface PutCompositeAlarmInput {
|
|
675
|
-
ActionsEnabled?: boolean;
|
|
676
|
-
AlarmActions?: string[];
|
|
677
|
-
AlarmDescription?: string;
|
|
675
|
+
ActionsEnabled?: boolean | undefined;
|
|
676
|
+
AlarmActions?: string[] | undefined;
|
|
677
|
+
AlarmDescription?: string | undefined;
|
|
678
678
|
AlarmName: string | undefined;
|
|
679
679
|
AlarmRule: string | undefined;
|
|
680
|
-
InsufficientDataActions?: string[];
|
|
681
|
-
OKActions?: string[];
|
|
682
|
-
Tags?: Tag[];
|
|
683
|
-
ActionsSuppressor?: string;
|
|
684
|
-
ActionsSuppressorWaitPeriod?: number;
|
|
685
|
-
ActionsSuppressorExtensionPeriod?: number;
|
|
680
|
+
InsufficientDataActions?: string[] | undefined;
|
|
681
|
+
OKActions?: string[] | undefined;
|
|
682
|
+
Tags?: Tag[] | undefined;
|
|
683
|
+
ActionsSuppressor?: string | undefined;
|
|
684
|
+
ActionsSuppressorWaitPeriod?: number | undefined;
|
|
685
|
+
ActionsSuppressorExtensionPeriod?: number | undefined;
|
|
686
686
|
}
|
|
687
687
|
export interface PutDashboardInput {
|
|
688
688
|
DashboardName: string | undefined;
|
|
689
689
|
DashboardBody: string | undefined;
|
|
690
690
|
}
|
|
691
691
|
export interface PutDashboardOutput {
|
|
692
|
-
DashboardValidationMessages?: DashboardValidationMessage[];
|
|
692
|
+
DashboardValidationMessages?: DashboardValidationMessage[] | undefined;
|
|
693
693
|
}
|
|
694
694
|
export interface PutInsightRuleInput {
|
|
695
695
|
RuleName: string | undefined;
|
|
696
|
-
RuleState?: string;
|
|
696
|
+
RuleState?: string | undefined;
|
|
697
697
|
RuleDefinition: string | undefined;
|
|
698
|
-
Tags?: Tag[];
|
|
698
|
+
Tags?: Tag[] | undefined;
|
|
699
699
|
}
|
|
700
700
|
export interface PutInsightRuleOutput {}
|
|
701
701
|
export interface ManagedRule {
|
|
702
702
|
TemplateName: string | undefined;
|
|
703
703
|
ResourceARN: string | undefined;
|
|
704
|
-
Tags?: Tag[];
|
|
704
|
+
Tags?: Tag[] | undefined;
|
|
705
705
|
}
|
|
706
706
|
export interface PutManagedInsightRulesInput {
|
|
707
707
|
ManagedRules: ManagedRule[] | undefined;
|
|
708
708
|
}
|
|
709
709
|
export interface PutManagedInsightRulesOutput {
|
|
710
|
-
Failures?: PartialFailure[];
|
|
710
|
+
Failures?: PartialFailure[] | undefined;
|
|
711
711
|
}
|
|
712
712
|
export interface PutMetricAlarmInput {
|
|
713
713
|
AlarmName: string | undefined;
|
|
714
|
-
AlarmDescription?: string;
|
|
715
|
-
ActionsEnabled?: boolean;
|
|
716
|
-
OKActions?: string[];
|
|
717
|
-
AlarmActions?: string[];
|
|
718
|
-
InsufficientDataActions?: string[];
|
|
719
|
-
MetricName?: string;
|
|
720
|
-
Namespace?: string;
|
|
721
|
-
Statistic?: Statistic;
|
|
722
|
-
ExtendedStatistic?: string;
|
|
723
|
-
Dimensions?: Dimension[];
|
|
724
|
-
Period?: number;
|
|
725
|
-
Unit?: StandardUnit;
|
|
714
|
+
AlarmDescription?: string | undefined;
|
|
715
|
+
ActionsEnabled?: boolean | undefined;
|
|
716
|
+
OKActions?: string[] | undefined;
|
|
717
|
+
AlarmActions?: string[] | undefined;
|
|
718
|
+
InsufficientDataActions?: string[] | undefined;
|
|
719
|
+
MetricName?: string | undefined;
|
|
720
|
+
Namespace?: string | undefined;
|
|
721
|
+
Statistic?: Statistic | undefined;
|
|
722
|
+
ExtendedStatistic?: string | undefined;
|
|
723
|
+
Dimensions?: Dimension[] | undefined;
|
|
724
|
+
Period?: number | undefined;
|
|
725
|
+
Unit?: StandardUnit | undefined;
|
|
726
726
|
EvaluationPeriods: number | undefined;
|
|
727
|
-
DatapointsToAlarm?: number;
|
|
728
|
-
Threshold?: number;
|
|
727
|
+
DatapointsToAlarm?: number | undefined;
|
|
728
|
+
Threshold?: number | undefined;
|
|
729
729
|
ComparisonOperator: ComparisonOperator | undefined;
|
|
730
|
-
TreatMissingData?: string;
|
|
731
|
-
EvaluateLowSampleCountPercentile?: string;
|
|
732
|
-
Metrics?: MetricDataQuery[];
|
|
733
|
-
Tags?: Tag[];
|
|
734
|
-
ThresholdMetricId?: string;
|
|
730
|
+
TreatMissingData?: string | undefined;
|
|
731
|
+
EvaluateLowSampleCountPercentile?: string | undefined;
|
|
732
|
+
Metrics?: MetricDataQuery[] | undefined;
|
|
733
|
+
Tags?: Tag[] | undefined;
|
|
734
|
+
ThresholdMetricId?: string | undefined;
|
|
735
735
|
}
|
|
736
736
|
export interface StatisticSet {
|
|
737
737
|
SampleCount: number | undefined;
|
|
@@ -741,14 +741,14 @@ export interface StatisticSet {
|
|
|
741
741
|
}
|
|
742
742
|
export interface MetricDatum {
|
|
743
743
|
MetricName: string | undefined;
|
|
744
|
-
Dimensions?: Dimension[];
|
|
745
|
-
Timestamp?: Date;
|
|
746
|
-
Value?: number;
|
|
747
|
-
StatisticValues?: StatisticSet;
|
|
748
|
-
Values?: number[];
|
|
749
|
-
Counts?: number[];
|
|
750
|
-
Unit?: StandardUnit;
|
|
751
|
-
StorageResolution?: number;
|
|
744
|
+
Dimensions?: Dimension[] | undefined;
|
|
745
|
+
Timestamp?: Date | undefined;
|
|
746
|
+
Value?: number | undefined;
|
|
747
|
+
StatisticValues?: StatisticSet | undefined;
|
|
748
|
+
Values?: number[] | undefined;
|
|
749
|
+
Counts?: number[] | undefined;
|
|
750
|
+
Unit?: StandardUnit | undefined;
|
|
751
|
+
StorageResolution?: number | undefined;
|
|
752
752
|
}
|
|
753
753
|
export interface PutMetricDataInput {
|
|
754
754
|
Namespace: string | undefined;
|
|
@@ -756,17 +756,17 @@ export interface PutMetricDataInput {
|
|
|
756
756
|
}
|
|
757
757
|
export interface PutMetricStreamInput {
|
|
758
758
|
Name: string | undefined;
|
|
759
|
-
IncludeFilters?: MetricStreamFilter[];
|
|
760
|
-
ExcludeFilters?: MetricStreamFilter[];
|
|
759
|
+
IncludeFilters?: MetricStreamFilter[] | undefined;
|
|
760
|
+
ExcludeFilters?: MetricStreamFilter[] | undefined;
|
|
761
761
|
FirehoseArn: string | undefined;
|
|
762
762
|
RoleArn: string | undefined;
|
|
763
763
|
OutputFormat: MetricStreamOutputFormat | undefined;
|
|
764
|
-
Tags?: Tag[];
|
|
765
|
-
StatisticsConfigurations?: MetricStreamStatisticsConfiguration[];
|
|
766
|
-
IncludeLinkedAccountsMetrics?: boolean;
|
|
764
|
+
Tags?: Tag[] | undefined;
|
|
765
|
+
StatisticsConfigurations?: MetricStreamStatisticsConfiguration[] | undefined;
|
|
766
|
+
IncludeLinkedAccountsMetrics?: boolean | undefined;
|
|
767
767
|
}
|
|
768
768
|
export interface PutMetricStreamOutput {
|
|
769
|
-
Arn?: string;
|
|
769
|
+
Arn?: string | undefined;
|
|
770
770
|
}
|
|
771
771
|
export declare class InvalidFormatFault extends __BaseException {
|
|
772
772
|
readonly name: "InvalidFormatFault";
|
|
@@ -777,7 +777,7 @@ export interface SetAlarmStateInput {
|
|
|
777
777
|
AlarmName: string | undefined;
|
|
778
778
|
StateValue: StateValue | undefined;
|
|
779
779
|
StateReason: string | undefined;
|
|
780
|
-
StateReasonData?: string;
|
|
780
|
+
StateReasonData?: string | undefined;
|
|
781
781
|
}
|
|
782
782
|
export interface StartMetricStreamsInput {
|
|
783
783
|
Names: string[] | undefined;
|