async def iter_list_voice_profiles(
self,
voice_profile_domain_id: "capo_chime_sdk_voice.types.non_empty_string256.NonEmptyString256",
*,
config_overrides: Optional[AsyncChimeSDKVoiceClientConfig] = None,
next_token: Optional["capo_chime_sdk_voice.types.string.String"] = None,
max_results: Optional["capo_chime_sdk_voice.types.result_max.ResultMax"] = None,
) -> "AsyncIterator[capo_chime_sdk_voice.types.list_voice_profiles_response.ListVoiceProfilesResponse]":
_token = next_token
while True:
_response = await self.list_voice_profiles(
voice_profile_domain_id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break