def iter_list_applications(
self,
*,
config_overrides: Optional[CodeDeployClientConfig] = None,
next_token: Optional["capo_codedeploy.types.next_token.NextToken"] = None,
) -> "Iterator[capo_codedeploy.types.application_name.ApplicationName]":
_token = next_token
while True:
_response = self.list_applications(
config_overrides=config_overrides,
next_token=_token,
)
_page = _resolve_path(_response, ("applications",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break