Skip to content

iter_describe_resource_collection_health

iter_describe_resource_collection_health(
    resource_collection_type: ResourceCollectionType,
    *,
    config_overrides: Optional[DevOpsGuruClientConfig] = None,
    next_token: Optional[UuidNextToken] = None,
) -> Iterator[DescribeResourceCollectionHealthResponse]
Source code in docs_src/capo_devops_guru/_services/dev_ops_guru.py
def iter_describe_resource_collection_health(
    self,
    resource_collection_type: "capo_devops_guru.types.resource_collection_type.ResourceCollectionType",
    *,
    config_overrides: Optional[DevOpsGuruClientConfig] = None,
    next_token: Optional[
        "capo_devops_guru.types.uuid_next_token.UuidNextToken"
    ] = None,
) -> "Iterator[capo_devops_guru.types.describe_resource_collection_health_response.DescribeResourceCollectionHealthResponse]":
    _token = next_token
    while True:
        _response = self.describe_resource_collection_health(
            resource_collection_type,
            config_overrides=config_overrides,
            next_token=_token,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break