async def iter_list_queued_messages(
self,
id: "capo_iot_wireless.types.wireless_device_id.WirelessDeviceId",
*,
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,
wireless_device_type: Optional[
"capo_iot_wireless.types.wireless_device_type.WirelessDeviceType"
] = None,
) -> "AsyncIterator[capo_iot_wireless.types.list_queued_messages_response.ListQueuedMessagesResponse]":
_token = next_token
while True:
_response = await self.list_queued_messages(
id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
wireless_device_type=wireless_device_type,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break