DynamoDBClient.create_global_table
rboto-dynamodb==0.4.0 · Service index · Types
Model summary (excerpt): Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it...
Install and imports
from rboto import DynamoDBClient
from collections.abc import Sequence
from rboto_dynamodb.types import (
CreateGlobalTableOutput,
Replica,
)
Signature
async def create_global_table(
*,
global_table_name: str,
replication_group: Sequence[Replica],
) -> CreateGlobalTableOutput: ...
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) |
|---|---|---|
global_table_name |
Yes | The global table name. |
replication_group |
Yes | The Regions where the global table needs to be created. |
Output
CreateGlobalTableOutput.
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 |
|---|---|---|---|
global_table_description |
GlobalTableDescriptionOutput | None |
Always present | GlobalTableDescriptionOutput |
| 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.
Related types
CreateGlobalTableOutput, Replica
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.
Errors
Import from rboto_dynamodb.exceptions:
GlobalTableAlreadyExistsError, InternalServerError, InvalidEndpointError, LimitExceededError, TableNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.