public async Task GetMonthlyTotalCostsByAccountId() { var facade = _awsFixture.Facade; var sut = new AwsCostClient(facade); var resp = await sut.GetMonthlyTotalCostByAccountIdAsync("642375522597"); Assert.NotEmpty(resp.ResultsByTime); }
public async Task GetMonthlyTotalCostAllAccountsTest() { var facade = _awsFixture.Facade; var sut = new AwsCostClient(facade); var resp = await sut.GetMonthlyTotalCostAllAccountsAsync(); Assert.NotNull(resp); foreach (var result in resp) { Assert.NotEmpty(result.ResultsByTime); Assert.NotEmpty(result.DimensionValueAttributes); } }