Lists the segments of a billing view over a given time period¶
Description¶
Lists the segments of a billing view over a given time period. Each segment identifies the billing domain (PRO_FORMA or BILLABLE) and the account relationships that apply during its time range.
If you don't provide an arn, the response includes segments for the caller's PRIMARY billing view.
If a mid-period change occurs, the response includes multiple segments, each with its own time range. The response omits hidden segments, so the segments it returns might not cover the entire requested time period.
Usage¶
Arguments¶
timeRange
The billing period to query. If you don't provide a time range, the current billing period, which is the calendar month in UTC, is used.
arn
The Amazon Resource Name (ARN) that uniquely identifies the billing view to query. If you don't provide an ARN, the caller's PRIMARY billing view is used. The ARN must reference a primary billing view. Custom billing views aren't supported.
maxResults
The number of entries a paginated response contains. Valid values range from 1 to 100. The default is 100.
nextToken
The pagination token that is used on subsequent calls to list billing view segments.
Value¶
A list with the following syntax:
list(
items = list(
list(
domain = "BILLABLE"|"PRO_FORMA",
timeRange = list(
beginDateInclusive = as.POSIXct(
"2015-01-01"
),
endDateExclusive = as.POSIXct(
"2015-01-01"
)
),
billingTransferAccountId = "string",
managementAccountId = "string",
billingGroupPrimaryAccountId = "string"
)
),
nextToken = "string"
)