async def iter_list_graphql_apis(
self,
*,
config_overrides: Optional[AsyncAppSyncClientConfig] = None,
next_token: Optional[
"capo_appsync.types.pagination_token.PaginationToken"
] = None,
max_results: Optional["capo_appsync.types.max_results.MaxResults"] = None,
api_type: Optional[
"capo_appsync.types.graph_ql_api_type.GraphQLApiType"
] = None,
owner: Optional["capo_appsync.types.ownership.Ownership"] = None,
) -> "AsyncIterator[capo_appsync.types.graphql_api.GraphqlApi]":
_token = next_token
while True:
_response = await self.list_graphql_apis(
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
api_type=api_type,
owner=owner,
)
_page = _resolve_path(_response, ("graphql_apis",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break