def iter_get_variables(
self,
*,
config_overrides: Optional[FraudDetectorClientConfig] = None,
name: Optional["capo_frauddetector.types.string.string"] = None,
next_token: Optional["capo_frauddetector.types.string.string"] = None,
max_results: Optional[
"capo_frauddetector.types.variables_max_results.VariablesMaxResults"
] = None,
) -> "Iterator[capo_frauddetector.types.get_variables_result.GetVariablesResult]":
_token = next_token
while True:
_response = self.get_variables(
config_overrides=config_overrides,
name=name,
next_token=_token,
max_results=max_results,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break