async def iter_describe_organization_conformance_packs(
self,
*,
config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
organization_conformance_pack_names: Optional[
"capo_config_service.types.organization_conformance_pack_names.OrganizationConformancePackNames"
] = None,
limit: Optional[
"capo_config_service.types.cosmos_page_limit.CosmosPageLimit"
] = None,
next_token: Optional["capo_config_service.types.string.String"] = None,
) -> "AsyncIterator[capo_config_service.types.organization_conformance_pack.OrganizationConformancePack]":
_token = next_token
while True:
_response = await self.describe_organization_conformance_packs(
config_overrides=config_overrides,
organization_conformance_pack_names=organization_conformance_pack_names,
limit=limit,
next_token=_token,
)
_page = _resolve_path(_response, ("organization_conformance_packs",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break