def iter_describe_slack_channel_configurations(
self,
*,
config_overrides: Optional[chatbotClientConfig] = 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,
) -> "Iterator[capo_chatbot.types.slack_channel_configuration.SlackChannelConfiguration]":
_token = next_token
while True:
_response = self.describe_slack_channel_configurations(
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
chat_configuration_arn=chat_configuration_arn,
)
_page = _resolve_path(_response, ("slack_channel_configurations",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break