Skip to content

DynamoDBClient.list_tables

rboto-dynamodb==0.4.0 · Service index · Types

Model summary (excerpt): Returns an array of table names associated with the current account and endpoint. The output from ListTables is paginated, with each page returning a maximum of 100 table names.

Install and imports

python -m pip install "rboto[dynamodb]==0.4.0"
from rboto import DynamoDBClient
from rboto_dynamodb.types import (
    ListTablesOutput,
)

Signature

async def list_tables(
    *,
    exclusive_start_table_name: str | None = None,
    limit: int | None = None,
) -> ListTablesOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
exclusive_start_table_name No The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.
limit No A maximum number of table names to return. If this parameter is not specified, the limit is 100.

Output

ListTablesOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
table_names list[str] | None Always present —
last_evaluated_table_name str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ListTablesOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_tables(...) accepts the same arguments and returns AsyncIterator[ListTablesOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: exclusive_start_table_name. Page-size argument: limit.

No output stream.

Errors

Import from rboto_dynamodb.exceptions:

InternalServerError, InvalidEndpointError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model