Skip to content

Commit

Permalink
billing examples tgweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Feb 5, 2025
1 parent d13c008 commit 638e8b9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions R/billing.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#' - cost: cost in USD
#' - acronym: short code for the service; if none known, this row
#' will have the value in `service`
#' @examplesIf interactive()
#' @examplesIf interactive() && aws_has_creds()
#' library(lubridate)
#' library(dplyr)
#'
Expand Down Expand Up @@ -221,8 +221,9 @@ billing_blended <- billing_factory("BlendedCost")
#' - GroupDefinitions
#' - ResultsByTime
#' - DimensionValueAttributes
#' @examplesIf interactive()
#' aws_billing_x(date_start = "2023-02-01", metrics = "BlendedCost")
#' @examplesIf interactive() && aws_has_creds()
#' library(lubridate)
#' aws_billing_raw(date_start = today() - days(3), metrics = "BlendedCost")
aws_billing_raw <- function(
date_start, metrics, granularity = "daily",
filter = NULL, group_by = NULL, date_end = as.character(Sys.Date())) {
Expand Down
2 changes: 1 addition & 1 deletion man/aws_billing.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions man/aws_billing_raw.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 638e8b9

Please sign in to comment.