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) 316 B
import { GetCostAndUsageCommandInput } from '@aws-sdk/client-cost-explorer'; import { Cost } from '@cloud-carbon-footprint/core'; import { ServiceWrapper } from './ServiceWrapper'; export declare function getCostFromCostExplorer(params: GetCostAndUsageCommandInput, serviceWrapper: ServiceWrapper): Promise<Cost[]>;