async def iter_list_device_profiles(
self,
*,
config_overrides: Optional[AsyncIoTWirelessClientConfig] = None,
next_token: Optional["capo_iot_wireless.types.next_token.NextToken"] = None,
max_results: Optional["capo_iot_wireless.types.max_results.MaxResults"] = None,
device_profile_type: Optional[
"capo_iot_wireless.types.device_profile_type.DeviceProfileType"
] = None,
) -> "AsyncIterator[capo_iot_wireless.types.list_device_profiles_response.ListDeviceProfilesResponse]":
_token = next_token
while True:
_response = await self.list_device_profiles(
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
device_profile_type=device_profile_type,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break