update_table
Modify DynamoDB table settings such as provisioned throughput, global secondary indexes, and Streams configuration; changes are applied asynchronously.
Instructions
Modifies table settings including provisioned throughput, global secondary indexes, and DynamoDB Streams configuration. This is an asynchronous operation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table_name": "<table_name>"
},
"name": "update_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Table Name or Amazon Resource Name (ARN) | |
| region_name | No | The aws region to run the tool | |
| table_class | No | The new table class. | |
| billing_mode | No | Specifies if billing is PAY_PER_REQUEST or by provisioned throughput | |
| replica_updates | No | A list of replica update actions (create, delete, or update). | |
| warm_throughput | No | The new warm throughput settings. | |
| sse_specification | No | The new server-side encryption settings. | |
| on_demand_throughput | No | Set the max number of read and write units. | |
| stream_specification | No | DynamoDB Streams configuration. | |
| attribute_definitions | No | Describe the key schema for the table and indexes. Required when adding a new GSI. | |
| provisioned_throughput | No | The new provisioned throughput settings. | |
| deletion_protection_enabled | No | Indicates whether deletion protection is to be enabled | |
| global_secondary_index_updates | No | List of GSIs to be added, updated or deleted. |