def iter_list_tables(
self,
table_bucket_arn: "capo_s3tables.types.table_bucket_arn.TableBucketARN",
*,
config_overrides: Optional[S3TablesClientConfig] = None,
namespace: Optional["capo_s3tables.types.namespace_name.NamespaceName"] = None,
prefix: Optional[str] = None,
continuation_token: Optional["capo_s3tables.types.next_token.NextToken"] = None,
max_tables: Optional[
"capo_s3tables.types.list_tables_limit.ListTablesLimit"
] = None,
) -> "Iterator[capo_s3tables.types.table_summary.TableSummary]":
_token = continuation_token
while True:
_response = self.list_tables(
table_bucket_arn,
config_overrides=config_overrides,
namespace=namespace,
prefix=prefix,
continuation_token=_token,
max_tables=max_tables,
)
_page = _resolve_path(_response, ("tables",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("continuation_token",))
if not _token:
break