aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
24 lines (23 loc) • 635 B
TypeScript
export interface MetricWithDims<D> {
readonly namespace: string;
readonly metricName: string;
readonly statistic: string;
readonly dimensionsMap: D;
}
export declare class MediaPackageMetrics {
static egressRequestCountSum(this: void, dimensions: {
Channel: string;
}): MetricWithDims<{
Channel: string;
}>;
static egressResponseTimeAverage(this: void, dimensions: {
Channel: string;
}): MetricWithDims<{
Channel: string;
}>;
static egressBytesSum(this: void, dimensions: {
Channel: string;
}): MetricWithDims<{
Channel: string;
}>;
}