List Billing Views
billing_list_billing_views | R Documentation |
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,
ownerAccountId, 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.
ownerAccountId
The list of owners of the billing view.
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",
billingViewType = "PRIMARY"|"BILLING_GROUP"|"CUSTOM"
)
),
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"
),
ownerAccountId = "string",
maxResults = 123,
nextToken = "string"
)