UpdateTimeToLive method enables or disables Time to Live (TTL) for the specified table. A successful UpdateTimeToLive call returns the current TimeToLiveSpecification. It can take up to one hour for the change to fully process. Any additional UpdateTimeToLive calls for the same table during this one hour duration result in a ValidationException. curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
"TableName": "string",
"TimeToLiveSpecification": {
"Enabled": true,
"AttributeName": "string"
}
}'{
"TimeToLiveSpecification": {
"Enabled": true,
"AttributeName": "string"
}
}