async def iter_list_account_associations(
self,
*,
config_overrides: Optional[AsyncbillingconductorClientConfig] = None,
billing_period: Optional[
"capo_billingconductor.types.billing_period.BillingPeriod"
] = None,
filters: Optional[
"capo_billingconductor.types.list_account_associations_filter.ListAccountAssociationsFilter"
] = None,
next_token: Optional["capo_billingconductor.types.token.Token"] = None,
) -> "AsyncIterator[capo_billingconductor.types.account_associations_list_element.AccountAssociationsListElement]":
_token = next_token
while True:
_response = await self.list_account_associations(
config_overrides=config_overrides,
billing_period=billing_period,
filters=filters,
next_token=_token,
)
_page = _resolve_path(_response, ("linked_accounts",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break