Skip to content

Lists the billing views available for a given time period

Description

Lists the billing views available for a given time period.

Every Amazon Web Services account has a unique PRIMARY billing view that represents the billing data available by default. Accounts that use Billing Conductor also have BILLING_GROUP billing views representing pro forma costs associated with each created billing group.

Usage

billing_list_billing_views(activeTimeRange, arns, billingViewTypes,
  names, ownerAccountId, sourceAccountId, maxResults, nextToken)

Arguments

  • activeTimeRange

    The time range for the billing views listed. PRIMARY billing view is always listed. BILLING_GROUP billing views are listed for time ranges when the associated billing group resource in Billing Conductor is active. The time range must be within one calendar month.

  • arns

    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.

  • billingViewTypes

    The type of billing view.

  • names

    Filters the list of billing views by name. You can specify search criteria to match billing view names based on the search option provided.

  • ownerAccountId

    The list of owners of the billing view.

  • sourceAccountId

    Filters the results to include only billing views that use the specified account as a source.

  • maxResults

    The maximum number of billing views to retrieve. Default is 100.

  • nextToken

    The pagination token that is used on subsequent calls to list billing views.

Value

A list with the following syntax:

list(
  billingViews = list(
    list(
      arn = "string",
      name = "string",
      description = "string",
      ownerAccountId = "string",
      sourceAccountId = "string",
      billingViewType = "PRIMARY"|"BILLING_GROUP"|"CUSTOM"|"BILLING_TRANSFER"|"BILLING_TRANSFER_SHOWBACK",
      healthStatus = list(
        statusCode = "HEALTHY"|"UNHEALTHY"|"CREATING"|"UPDATING",
        statusReasons = list(
          "SOURCE_VIEW_UNHEALTHY"|"SOURCE_VIEW_UPDATING"|"SOURCE_VIEW_ACCESS_DENIED"|"SOURCE_VIEW_NOT_FOUND"|"CYCLIC_DEPENDENCY"|"SOURCE_VIEW_DEPTH_EXCEEDED"|"AGGREGATE_SOURCE"|"VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT"
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_billing_views(
  activeTimeRange = list(
    activeAfterInclusive = as.POSIXct(
      "2015-01-01"
    ),
    activeBeforeInclusive = as.POSIXct(
      "2015-01-01"
    )
  ),
  arns = list(
    "string"
  ),
  billingViewTypes = list(
    "PRIMARY"|"BILLING_GROUP"|"CUSTOM"|"BILLING_TRANSFER"|"BILLING_TRANSFER_SHOWBACK"
  ),
  names = list(
    list(
      searchOption = "STARTS_WITH",
      searchValue = "string"
    )
  ),
  ownerAccountId = "string",
  sourceAccountId = "string",
  maxResults = 123,
  nextToken = "string"
)