Skip to content

DynamoDBClient.update_table_replica_auto_scaling

rboto-dynamodb==0.4.0 · Service index · Types

Model summary (excerpt): Updates auto scaling settings on your global tables at once.

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,
    GlobalSecondaryIndexAutoScalingUpdate,
    ReplicaAutoScalingUpdate,
    UpdateTableReplicaAutoScalingOutput,
)

Signature

async def update_table_replica_auto_scaling(
    *,
    table_name: str,
    global_secondary_index_updates: Sequence[GlobalSecondaryIndexAutoScalingUpdate] | None = None,
    provisioned_write_capacity_auto_scaling_update: AutoScalingSettingsUpdate | None = None,
    replica_updates: Sequence[ReplicaAutoScalingUpdate] | None = None,
) -> UpdateTableReplicaAutoScalingOutput: ...

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 global table to be updated. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
global_secondary_index_updates No Represents the auto scaling settings of the global secondary indexes of the replica to be updated.
provisioned_write_capacity_auto_scaling_update No
replica_updates No Represents the auto scaling settings of replicas of the table that will be modified.

Output

UpdateTableReplicaAutoScalingOutput.

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_auto_scaling_description TableAutoScalingDescriptionOutput | None Always present TableAutoScalingDescriptionOutput

| 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, GlobalSecondaryIndexAutoScalingUpdate, ReplicaAutoScalingUpdate, UpdateTableReplicaAutoScalingOutput

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:

InternalServerError, LimitExceededError, ResourceInUseError, ResourceNotFoundError.

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

Service guide · Pinned model