async def iter_describe_patch_baselines(
self,
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
filters: Optional[
"capo_ssm.types.patch_orchestrator_filter_list.PatchOrchestratorFilterList"
] = None,
max_results: Optional[
"capo_ssm.types.patch_baseline_max_results.PatchBaselineMaxResults"
] = None,
next_token: Optional["capo_ssm.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_ssm.types.patch_baseline_identity.PatchBaselineIdentity]":
_token = next_token
while True:
_response = await self.describe_patch_baselines(
config_overrides=config_overrides,
filters=filters,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("baseline_identities",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break