Skip to content

Describe Budgets

budgets_describe_budgets R Documentation

Lists the budgets that are associated with an account

Description

Lists the budgets that are associated with an account.

The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

Usage

budgets_describe_budgets(AccountId, MaxResults, NextToken)

Arguments

AccountId

[required] The accountId that is associated with the budgets that you want to describe.

MaxResults

An integer that represents how many budgets a paginated response contains. The default is 100.

NextToken

The pagination token that you include in your request to indicate the next set of results that you want to retrieve.

Value

A list with the following syntax:

list(
  Budgets = list(
    list(
      BudgetName = "string",
      BudgetLimit = list(
        Amount = "string",
        Unit = "string"
      ),
      PlannedBudgetLimits = list(
        list(
          Amount = "string",
          Unit = "string"
        )
      ),
      CostFilters = list(
        list(
          "string"
        )
      ),
      CostTypes = list(
        IncludeTax = TRUE|FALSE,
        IncludeSubscription = TRUE|FALSE,
        UseBlended = TRUE|FALSE,
        IncludeRefund = TRUE|FALSE,
        IncludeCredit = TRUE|FALSE,
        IncludeUpfront = TRUE|FALSE,
        IncludeRecurring = TRUE|FALSE,
        IncludeOtherSubscription = TRUE|FALSE,
        IncludeSupport = TRUE|FALSE,
        IncludeDiscount = TRUE|FALSE,
        UseAmortized = TRUE|FALSE
      ),
      TimeUnit = "DAILY"|"MONTHLY"|"QUARTERLY"|"ANNUALLY",
      TimePeriod = list(
        Start = as.POSIXct(
          "2015-01-01"
        ),
        End = as.POSIXct(
          "2015-01-01"
        )
      ),
      CalculatedSpend = list(
        ActualSpend = list(
          Amount = "string",
          Unit = "string"
        ),
        ForecastedSpend = list(
          Amount = "string",
          Unit = "string"
        )
      ),
      BudgetType = "USAGE"|"COST"|"RI_UTILIZATION"|"RI_COVERAGE"|"SAVINGS_PLANS_UTILIZATION"|"SAVINGS_PLANS_COVERAGE",
      LastUpdatedTime = as.POSIXct(
        "2015-01-01"
      ),
      AutoAdjustData = list(
        AutoAdjustType = "HISTORICAL"|"FORECAST",
        HistoricalOptions = list(
          BudgetAdjustmentPeriod = 123,
          LookBackAvailablePeriods = 123
        ),
        LastAutoAdjustTime = as.POSIXct(
          "2015-01-01"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_budgets(
  AccountId = "string",
  MaxResults = 123,
  NextToken = "string"
)