def iter_describe_outbound_cross_cluster_search_connections(
self,
*,
config_overrides: Optional[ElasticsearchServiceClientConfig] = None,
filters: Optional[
"capo_elasticsearch_service.types.filter_list.FilterList"
] = None,
max_results: Optional[
"capo_elasticsearch_service.types.max_results.MaxResults"
] = None,
next_token: Optional[
"capo_elasticsearch_service.types.next_token.NextToken"
] = None,
) -> "Iterator[capo_elasticsearch_service.types.describe_outbound_cross_cluster_search_connections_response.DescribeOutboundCrossClusterSearchConnectionsResponse]":
_token = next_token
while True:
_response = self.describe_outbound_cross_cluster_search_connections(
config_overrides=config_overrides,
filters=filters,
max_results=max_results,
next_token=_token,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break