DynamoDB.Client.
describe_time_to_live
(**kwargs)¶Gives a description of the Time to Live (TTL) status on the specified table.
See also: AWS API Documentation
Request Syntax
response = client.describe_time_to_live(
TableName='string'
)
[REQUIRED]
The name of the table to be described.
{
'TimeToLiveDescription': {
'TimeToLiveStatus': 'ENABLING'|'DISABLING'|'ENABLED'|'DISABLED',
'AttributeName': 'string'
}
}
Response Structure
The TTL status for the table.
The name of the TTL attribute for items in the table.
Exceptions
DynamoDB.Client.exceptions.ResourceNotFoundException
DynamoDB.Client.exceptions.InternalServerError