23 lines
616 B
TypeScript
23 lines
616 B
TypeScript
export interface MetricWithDims<D> {
|
|
readonly namespace: string;
|
|
readonly metricName: string;
|
|
readonly statistic: string;
|
|
readonly dimensionsMap: D;
|
|
}
|
|
export declare class S3Metrics {
|
|
static bucketSizeBytesAverage(this: void, dimensions: {
|
|
BucketName: string;
|
|
StorageType: string;
|
|
}): MetricWithDims<{
|
|
BucketName: string;
|
|
StorageType: string;
|
|
}>;
|
|
static numberOfObjectsAverage(this: void, dimensions: {
|
|
BucketName: string;
|
|
StorageType: string;
|
|
}): MetricWithDims<{
|
|
BucketName: string;
|
|
StorageType: string;
|
|
}>;
|
|
}
|