Skip to content

iter_describe_domain_auto_tunes async

iter_describe_domain_auto_tunes(
    domain_name: DomainName,
    *,
    config_overrides: Optional[AsyncElasticsearchServiceClientConfig] = None,
    max_results: Optional[MaxResults] = None,
    next_token: Optional[NextToken] = None,
) -> AsyncIterator[DescribeDomainAutoTunesResponse]
Source code in docs_src/capo_elasticsearch_service/_services/async_elasticsearch_service.py
async def iter_describe_domain_auto_tunes(
    self,
    domain_name: "capo_elasticsearch_service.types.domain_name.DomainName",
    *,
    config_overrides: Optional[AsyncElasticsearchServiceClientConfig] = None,
    max_results: Optional[
        "capo_elasticsearch_service.types.max_results.MaxResults"
    ] = None,
    next_token: Optional[
        "capo_elasticsearch_service.types.next_token.NextToken"
    ] = None,
) -> "AsyncIterator[capo_elasticsearch_service.types.describe_domain_auto_tunes_response.DescribeDomainAutoTunesResponse]":
    _token = next_token
    while True:
        _response = await self.describe_domain_auto_tunes(
            domain_name,
            config_overrides=config_overrides,
            max_results=max_results,
            next_token=_token,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break