agent-claw: automated task changes
This commit is contained in:
51
cdk/node_modules/aws-cdk-lib/aws-cloudwatch/lib/private/statistic.d.ts
generated
vendored
Normal file
51
cdk/node_modules/aws-cdk-lib/aws-cloudwatch/lib/private/statistic.d.ts
generated
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
export interface SimpleStatistic {
|
||||
type: 'simple';
|
||||
statistic: string;
|
||||
}
|
||||
export interface GenericStatistic {
|
||||
type: 'generic';
|
||||
statistic: string;
|
||||
}
|
||||
export interface ParseableStatistic {
|
||||
statPrefix: string;
|
||||
statName: string;
|
||||
rawStatistic: string;
|
||||
}
|
||||
export interface SingleStatistic extends ParseableStatistic {
|
||||
type: 'single';
|
||||
value: number;
|
||||
}
|
||||
export interface PairStatistic extends ParseableStatistic {
|
||||
type: 'pair';
|
||||
isPercent: boolean;
|
||||
lower?: number;
|
||||
upper?: number;
|
||||
canBeSingleStat: boolean;
|
||||
asSingleStatStr?: string;
|
||||
}
|
||||
export interface PercentileStatistic extends SingleStatistic {
|
||||
statName: 'percentile';
|
||||
}
|
||||
export interface PercentileRankStatistic extends PairStatistic {
|
||||
statName: 'percentileRank';
|
||||
}
|
||||
export interface TrimmedMeanStatistic extends PairStatistic {
|
||||
statName: 'trimmedMean';
|
||||
}
|
||||
export interface WinsorizedMeanStatistic extends PairStatistic {
|
||||
statName: 'winsorizedMean';
|
||||
}
|
||||
export interface TrimmedCountStatistic extends PairStatistic {
|
||||
statName: 'trimmedCount';
|
||||
}
|
||||
export interface TrimmedSumStatistic extends PairStatistic {
|
||||
statName: 'trimmedSum';
|
||||
}
|
||||
export declare function singleStatisticToString(parsed: SingleStatistic): string;
|
||||
export declare function pairStatisticToString(parsed: PairStatistic): string;
|
||||
/**
|
||||
* Parse a statistic, returning the type of metric that was used
|
||||
*/
|
||||
export declare function parseStatistic(stat: string): SimpleStatistic | PercentileStatistic | PercentileRankStatistic | TrimmedMeanStatistic | WinsorizedMeanStatistic | TrimmedCountStatistic | TrimmedSumStatistic | GenericStatistic;
|
||||
export declare function normalizeStatistic(parsed: ReturnType<typeof parseStatistic>): string;
|
||||
export declare function normalizeRawStringStatistic(stat: string): string;
|
||||
Reference in New Issue
Block a user