async def iter_describe_local_gateway_route_tables(
self,
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
local_gateway_route_table_ids: Optional[
"capo_ec2.types.local_gateway_route_table_id_set.LocalGatewayRouteTableIdSet"
] = None,
filters: Optional["capo_ec2.types.filter_list.FilterList"] = None,
max_results: Optional[
"capo_ec2.types.local_gateway_max_results.LocalGatewayMaxResults"
] = None,
next_token: Optional["capo_ec2.types.string.String"] = None,
dry_run: Optional["capo_ec2.types.boolean.Boolean"] = None,
) -> (
"AsyncIterator[capo_ec2.types.local_gateway_route_table.LocalGatewayRouteTable]"
):
_token = next_token
while True:
_response = await self.describe_local_gateway_route_tables(
config_overrides=config_overrides,
local_gateway_route_table_ids=local_gateway_route_table_ids,
filters=filters,
max_results=max_results,
next_token=_token,
dry_run=dry_run,
)
_page = _resolve_path(_response, ("local_gateway_route_tables",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break