async def iter_get_associated_ipv6_pool_cidrs(
self,
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
pool_id: Optional["capo_ec2.types.ipv6_pool_ec2_id.Ipv6PoolEc2Id"] = None,
next_token: Optional["capo_ec2.types.next_token.NextToken"] = None,
max_results: Optional[
"capo_ec2.types.ipv6_pool_max_results.Ipv6PoolMaxResults"
] = None,
dry_run: Optional["capo_ec2.types.boolean.Boolean"] = None,
) -> "AsyncIterator[capo_ec2.types.ipv6_cidr_association.Ipv6CidrAssociation]":
_token = next_token
while True:
_response = await self.get_associated_ipv6_pool_cidrs(
config_overrides=config_overrides,
pool_id=pool_id,
next_token=_token,
max_results=max_results,
dry_run=dry_run,
)
_page = _resolve_path(_response, ("ipv6_cidr_associations",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break