async def iter_list_namespaces(
self,
table_bucket_arn: "capo_s3tables.types.table_bucket_arn.TableBucketARN",
*,
config_overrides: Optional[AsyncS3TablesClientConfig] = None,
prefix: Optional[str] = None,
continuation_token: Optional["capo_s3tables.types.next_token.NextToken"] = None,
max_namespaces: Optional[
"capo_s3tables.types.list_namespaces_limit.ListNamespacesLimit"
] = None,
) -> "AsyncIterator[capo_s3tables.types.namespace_summary.NamespaceSummary]":
_token = continuation_token
while True:
_response = await self.list_namespaces(
table_bucket_arn,
config_overrides=config_overrides,
prefix=prefix,
continuation_token=_token,
max_namespaces=max_namespaces,
)
_page = _resolve_path(_response, ("namespaces",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("continuation_token",))
if not _token:
break