BillingConductor.Paginator.
ListBillingGroups
¶paginator = client.get_paginator('list_billing_groups')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from BillingConductor.Client.list_billing_groups()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
BillingPeriod='string',
Filters={
'Arns': [
'string',
],
'PricingPlan': 'string',
'Statuses': [
'ACTIVE'|'PRIMARY_ACCOUNT_MISSING',
]
},
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A ListBillingGroupsFilter
that specifies the billing group and pricing plan to retrieve billing group information.
The list of billing group Amazon Resource Names (ARNs) to retrieve information.
The pricing plan Amazon Resource Names (ARNs) to retrieve information.
A list of billing groups to retrieve their current status for a specific time range
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'BillingGroups': [
{
'Name': 'string',
'Arn': 'string',
'Description': 'string',
'PrimaryAccountId': 'string',
'ComputationPreference': {
'PricingPlanArn': 'string'
},
'Size': 123,
'CreationTime': 123,
'LastModifiedTime': 123,
'Status': 'ACTIVE'|'PRIMARY_ACCOUNT_MISSING',
'StatusReason': 'string'
},
],
}
Response Structure
(dict) --
BillingGroups (list) --
A list of BillingGroupListElement
retrieved.
(dict) --
A representation of a billing group.
Name (string) --
The name of the billing group.
Arn (string) --
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
Description (string) --
The description of the billing group.
PrimaryAccountId (string) --
The account ID that serves as the main account in a billing group.
ComputationPreference (dict) --
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
PricingPlanArn (string) --
The Amazon Resource Name (ARN) of the pricing plan that's used to compute the Amazon Web Services charges for a billing group.
Size (integer) --
The number of accounts in the particular billing group.
CreationTime (integer) --
The time when the billing group was created.
LastModifiedTime (integer) --
The most recent time when the billing group was modified.
Status (string) --
The billing group status. Only one of the valid values can be used.
StatusReason (string) --
The reason why the billing group is in its current status.