def iter_list_data_accessors(
self,
application_id: "capo_qbusiness.types.application_id.ApplicationId",
*,
config_overrides: Optional[QBusinessClientConfig] = None,
next_token: Optional[
"capo_qbusiness.types.next_token1500.NextToken1500"
] = None,
max_results: Optional[
"capo_qbusiness.types.max_results_integer_for_list_data_accessors.MaxResultsIntegerForListDataAccessors"
] = None,
) -> "Iterator[capo_qbusiness.types.data_accessor.DataAccessor]":
_token = next_token
while True:
_response = self.list_data_accessors(
application_id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("data_accessors",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break