update_time_to_live
Enable or disable Time to Live (TTL) on a DynamoDB table by specifying the attribute name and enabled status; TTL expiration times use epoch seconds.
Instructions
Enables or disables Time to Live (TTL) for the specified table. Note: The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.
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>",
"time_to_live_specification": "<time_to_live_specification>"
},
"name": "update_time_to_live"
}
}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 | |
| time_to_live_specification | Yes | The new TTL settings |