DescribeTimeToLive
Source:
src/AWS/DynamoDB/DescribeTimeToLive.ts
Runtime binding for dynamodb:DescribeTimeToLive.
Bind this operation to a Table inside a function runtime to get a callable
that reads the table’s TTL configuration. Provide the
DescribeTimeToLiveHttp layer on the Function to satisfy the binding.
Time to Live
Section titled “Time to Live”const describeTimeToLive = yield* AWS.DynamoDB.DescribeTimeToLive(table);
const response = yield* describeTimeToLive();const ttlStatus = response.TimeToLiveDescription?.TimeToLiveStatus;