update_table_replica_auto_scaling
¶
update_table_replica_auto_scaling(
table_name: TableArn,
*,
config_overrides: Optional[DynamoDBClientConfig] = None,
global_secondary_index_updates: Optional[
GlobalSecondaryIndexAutoScalingUpdateList
] = None,
provisioned_write_capacity_auto_scaling_update: Optional[
AutoScalingSettingsUpdate
] = None,
replica_updates: Optional[ReplicaAutoScalingUpdateList] = None,
) -> UpdateTableReplicaAutoScalingOutput
Updates auto scaling settings on your global tables at once.
Parameters:
-
global_secondary_index_updates(Optional[GlobalSecondaryIndexAutoScalingUpdateList], default:None) –Represents the auto scaling settings of the global secondary indexes of the replica to be updated.
-
table_name(TableArn) –The name of the global table to be updated. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
-
replica_updates(Optional[ReplicaAutoScalingUpdateList], default:None) –Represents the auto scaling settings of replicas of the table that will be modified.
Raises:
-
InternalServerError–An error occurred on the server side.
-
LimitExceededException–There is no limit to the number of daily on-demand backups that can be taken.
For most purposes, up to 500 simultaneous table operations are allowed per account. These operations include
CreateTable,UpdateTable,DeleteTable,UpdateTimeToLive,RestoreTableFromBackup, andRestoreTableToPointInTime.When you are creating a table with one or more secondary indexes, you can have up to 250 such requests running at a time. However, if the table or index specifications are complex, then DynamoDB might temporarily reduce the number of concurrent operations.
When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.
There is a soft account quota of 2,500 tables.
GetRecords was called with a value of more than 1000 for the limit request parameter.
More than 2 processes are reading from the same streams shard at the same time. Exceeding this limit may result in request throttling.
-
ResourceInUseException–The operation conflicts with the resource's availability. For example:
-
You attempted to recreate an existing table.
-
You tried to delete a table currently in the
CREATINGstate. -
You tried to update a resource that was already being updated.
When appropriate, wait for the ongoing update to complete and attempt the request again.
-
-
ResourceNotFoundException–The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be
ACTIVE. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_dynamodb/_services/dynamo_db.py
4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 | |