Skip to content

DynamoDBClient.update_global_table_settings

rboto-dynamodb==0.4.0 · Service index · Types

Model summary (excerpt): Updates settings for a global table. 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 provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using,...

Install and imports

python -m pip install "rboto[dynamodb]==0.4.0"
from rboto import DynamoDBClient
from collections.abc import Sequence
from rboto_dynamodb.types import (
    AutoScalingSettingsUpdate,
    BillingMode,
    GlobalTableGlobalSecondaryIndexSettingsUpdate,
    ReplicaSettingsUpdate,
    UpdateGlobalTableSettingsOutput,
)

Signature

async def update_global_table_settings(
    *,
    global_table_name: str,
    global_table_billing_mode: BillingMode | None = None,
    global_table_provisioned_write_capacity_units: int | None = None,
    global_table_provisioned_write_capacity_auto_scaling_settings_update: AutoScalingSettingsUpdate | None = None,
    global_table_global_secondary_index_settings_update: Sequence[GlobalTableGlobalSecondaryIndexSettingsUpdate] | None = None,
    replica_settings_update: Sequence[ReplicaSettingsUpdate] | None = None,
) -> UpdateGlobalTableSettingsOutput: ...

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 name of the global table
global_table_billing_mode No The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned capacity mode . PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the...
global_table_provisioned_write_capacity_units No The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
global_table_provisioned_write_capacity_auto_scaling_settings_update No Auto scaling settings for managing provisioned write capacity for the global table.
global_table_global_secondary_index_settings_update No Represents the settings of a global secondary index for a global table that will be modified.
replica_settings_update No Represents the settings for a global table in a Region that will be modified.

Output

UpdateGlobalTableSettingsOutput.

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_name str | None Always present —
replica_settings list[ReplicaSettingsDescriptionOutput] | None Always present ReplicaSettingsDescriptionOutput

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

AutoScalingSettingsUpdate, BillingMode, GlobalTableGlobalSecondaryIndexSettingsUpdate, ReplicaSettingsUpdate, UpdateGlobalTableSettingsOutput

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:

GlobalTableNotFoundError, IndexNotFoundError, InternalServerError, InvalidEndpointError, LimitExceededError, ReplicaNotFoundError, ResourceInUseError.

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

Service guide · Pinned model