def iter_list_v2_logging_levels(
self,
*,
config_overrides: Optional[IoTClientConfig] = None,
target_type: Optional["capo_iot.types.log_target_type.LogTargetType"] = None,
next_token: Optional["capo_iot.types.next_token.NextToken"] = None,
max_results: Optional[
"capo_iot.types.skyfall_max_results.SkyfallMaxResults"
] = None,
) -> "Iterator[capo_iot.types.log_target_configuration.LogTargetConfiguration]":
_token = next_token
while True:
_response = self.list_v2_logging_levels(
config_overrides=config_overrides,
target_type=target_type,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("log_target_configurations",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break