pub fn parse_ttl(value: &str) -> Result<TimeDiff, SdkError>
Parses a TTL (time to live) string into a TimeDiff object.
TimeDiff
value
A Result containing the parsed TimeDiff or an error if parsing fails.
Result