async def iter_list_web_function_revisions(
self,
function_name: "capo_lambda_web.types.function_name.FunctionName",
*,
config_overrides: Optional[AsyncLambdaWebClientConfig] = None,
filters: Optional["capo_lambda_web.types.filter_list.FilterList"] = None,
max_results: Optional["capo_lambda_web.types.max_results.MaxResults"] = None,
next_token: Optional["capo_lambda_web.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_lambda_web.types.function_revision_summary.FunctionRevisionSummary]":
_token = next_token
while True:
_response = await self.list_web_function_revisions(
function_name,
config_overrides=config_overrides,
filters=filters,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("revisions",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break