async def iter_describe_application_associations(
self,
application_id: "capo_workspaces.types.work_space_application_id.WorkSpaceApplicationId",
associated_resource_types: "capo_workspaces.types.application_associated_resource_type_list.ApplicationAssociatedResourceTypeList",
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = None,
max_results: Optional["capo_workspaces.types.limit.Limit"] = None,
next_token: Optional[
"capo_workspaces.types.pagination_token.PaginationToken"
] = None,
) -> "AsyncIterator[capo_workspaces.types.describe_application_associations_result.DescribeApplicationAssociationsResult]":
_token = next_token
while True:
_response = await self.describe_application_associations(
application_id,
associated_resource_types,
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break