Skip to content

iter_describe_replication_configurations async

iter_describe_replication_configurations(
    *,
    config_overrides: Optional[AsyncEFSClientConfig] = None,
    file_system_id: Optional[FileSystemId] = None,
    next_token: Optional[Token] = None,
    max_results: Optional[MaxResults] = None,
) -> AsyncIterator[ReplicationConfigurationDescription]
Source code in docs_src/capo_efs/_services/async_efs.py
async def iter_describe_replication_configurations(
    self,
    *,
    config_overrides: Optional[AsyncEFSClientConfig] = None,
    file_system_id: Optional["capo_efs.types.file_system_id.FileSystemId"] = None,
    next_token: Optional["capo_efs.types.token.Token"] = None,
    max_results: Optional["capo_efs.types.max_results.MaxResults"] = None,
) -> "AsyncIterator[capo_efs.types.replication_configuration_description.ReplicationConfigurationDescription]":
    _token = next_token
    while True:
        _response = await self.describe_replication_configurations(
            config_overrides=config_overrides,
            file_system_id=file_system_id,
            next_token=_token,
            max_results=max_results,
        )
        _page = _resolve_path(_response, ("replications",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break