async def iter_list_flow_aliases(
self,
flow_identifier: "capo_bedrock_agent.types.flow_identifier.FlowIdentifier",
*,
config_overrides: Optional[AsyncBedrockAgentClientConfig] = None,
max_results: Optional["capo_bedrock_agent.types.max_results.MaxResults"] = None,
next_token: Optional["capo_bedrock_agent.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_bedrock_agent.types.flow_alias_summary.FlowAliasSummary]":
_token = next_token
while True:
_response = await self.list_flow_aliases(
flow_identifier,
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("flow_alias_summaries",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break