Skip to content

iter_get_cost_estimation

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