async def iter_list_virtual_mfa_devices(
self,
*,
config_overrides: Optional[AsyncIAMClientConfig] = None,
assignment_status: Optional[
"capo_iam.types.assignment_status_type.assignmentStatusType"
] = None,
marker: Optional["capo_iam.types.marker_type.markerType"] = None,
max_items: Optional["capo_iam.types.max_items_type.maxItemsType"] = None,
) -> "AsyncIterator[capo_iam.types.virtual_mfa_device.VirtualMFADevice]":
_token = marker
while True:
_response = await self.list_virtual_mfa_devices(
config_overrides=config_overrides,
assignment_status=assignment_status,
marker=_token,
max_items=max_items,
)
_page = _resolve_path(_response, ("virtual_mfa_devices",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("marker",))
if not _token or not _resolve_path(_response, ("is_truncated",)):
break