public async Task <List <CostUsageResponse> > GetCostUsage(CostUsageRequest costUsageRequest) { var cacheKey = CacheHelpers.GenerateServiceCacheItemKey(costUsageRequest); return(await cache.GetOrCreateAsync(cacheKey, async entry => { entry.AbsoluteExpirationRelativeToNow = CacheHelpers.absoluteExpirationRelativeToNow; return await costExplorerOperations.GetCostUsage(costUsageRequest); })); }