UNPKG

@cloud-carbon-footprint/aws

Version:

The core logic to get cloud usage data and estimate energy and carbon emissions from Amazon Web Services.

5 lines (4 loc) 287 B
import { CostExplorer } from 'aws-sdk'; import { Cost } from '@cloud-carbon-footprint/core'; import { ServiceWrapper } from './ServiceWrapper'; export declare function getCostFromCostExplorer(params: CostExplorer.GetCostAndUsageRequest, serviceWrapper: ServiceWrapper): Promise<Cost[]>;