def iter_describe_data_repository_associations(
self,
*,
config_overrides: Optional[FSxClientConfig] = None,
association_ids: Optional[
"capo_fsx.types.data_repository_association_ids.DataRepositoryAssociationIds"
] = None,
filters: Optional["capo_fsx.types.filters.Filters"] = None,
max_results: Optional[
"capo_fsx.types.limited_max_results.LimitedMaxResults"
] = None,
next_token: Optional["capo_fsx.types.next_token.NextToken"] = None,
) -> "Iterator[capo_fsx.types.describe_data_repository_associations_response.DescribeDataRepositoryAssociationsResponse]":
_token = next_token
while True:
_response = self.describe_data_repository_associations(
config_overrides=config_overrides,
association_ids=association_ids,
filters=filters,
max_results=max_results,
next_token=_token,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break