Skip to content

iter_describe_custom_domains async

iter_describe_custom_domains(
    service_arn: AppRunnerResourceArn,
    *,
    config_overrides: Optional[AsyncAppRunnerClientConfig] = None,
    next_token: Optional[String] = None,
    max_results: Optional[DescribeCustomDomainsMaxResults] = None,
) -> AsyncIterator[DescribeCustomDomainsResponse]
Source code in docs_src/capo_apprunner/_services/async_app_runner.py
async def iter_describe_custom_domains(
    self,
    service_arn: "capo_apprunner.types.app_runner_resource_arn.AppRunnerResourceArn",
    *,
    config_overrides: Optional[AsyncAppRunnerClientConfig] = None,
    next_token: Optional["capo_apprunner.types.string.String"] = None,
    max_results: Optional[
        "capo_apprunner.types.describe_custom_domains_max_results.DescribeCustomDomainsMaxResults"
    ] = None,
) -> "AsyncIterator[capo_apprunner.types.describe_custom_domains_response.DescribeCustomDomainsResponse]":
    _token = next_token
    while True:
        _response = await self.describe_custom_domains(
            service_arn,
            config_overrides=config_overrides,
            next_token=_token,
            max_results=max_results,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break