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