Skip to content

DynamoDBClient.describe_table

rboto-dynamodb==0.4.0 · Service index · Types

Model summary (excerpt): Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table. If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException . This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be...

Install and imports

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

Signature

async def describe_table(
    *,
    table_name: str,
) -> DescribeTableOutput: ...

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)
table_name Yes The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

Output

DescribeTableOutput.

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 TableDescriptionOutput | None Always present TableDescriptionOutput

| 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.

DescribeTableOutput

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

Pagination and streaming

No generated paginator for this operation.

No output stream.

Waiters

from rboto import WaiterConfig. Calls use this public operation, including configured middleware and native retries. Polling, deadlines and errors.

client.waiters.table_exists:

async def table_exists(
    *,
    table_name: str,
    waiter_config: WaiterConfig | None = None,
) -> DescribeTableOutput: ...

Default fixed delay: 20 seconds. Default maximum: 40 polls. No overall timeout unless configured.

Returns the successful polling Output.

Acceptor index State Matcher Model path Expected
0 success stringEquals Table.TableStatus ACTIVE
1 retry errorType — ResourceNotFoundException

Acceptors are checked in order. Missing fields or unmatched successful responses continue polling. Unmatched service errors propagate.

client.waiters.table_not_exists:

async def table_not_exists(
    *,
    table_name: str,
    waiter_config: WaiterConfig | None = None,
) -> None: ...

Default fixed delay: 20 seconds. Default maximum: 40 polls. No overall timeout unless configured.

Returns None when the modeled error confirms success.

Acceptor index State Matcher Model path Expected
0 success errorType — ResourceNotFoundException

Acceptors are checked in order. Missing fields or unmatched successful responses continue polling. Unmatched service errors propagate.

Errors

Import from rboto_dynamodb.exceptions:

InternalServerError, InvalidEndpointError, ResourceNotFoundError.

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

Service guide · Pinned model