async def iter_describe_chime_webhook_configurations(
self,
*,
config_overrides: Optional[AsyncchatbotClientConfig] = None,
max_results: Optional["capo_chatbot.types.max_results.MaxResults"] = None,
next_token: Optional[
"capo_chatbot.types.pagination_token.PaginationToken"
] = None,
chat_configuration_arn: Optional[
"capo_chatbot.types.chat_configuration_arn.ChatConfigurationArn"
] = None,
) -> "AsyncIterator[capo_chatbot.types.chime_webhook_configuration.ChimeWebhookConfiguration]":
_token = next_token
while True:
_response = await self.describe_chime_webhook_configurations(
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
chat_configuration_arn=chat_configuration_arn,
)
_page = _resolve_path(_response, ("webhook_configurations",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break