Skip to content

ActiveContextTimeToLive

Source code in docs_src/capo_lex_runtime_service/types/active_context_time_to_live.py
class ActiveContextTimeToLive(TypedDict, closed=True):
    time_to_live_in_seconds: NotRequired[
        "capo_lex_runtime_service.types.active_context_time_to_live_in_seconds.ActiveContextTimeToLiveInSeconds"
    ]
    """<p>The number of seconds that the context should be active after it is first sent in a <code>PostContent</code> or <code>PostText</code> response. You can set the value between 5 and 86,400 seconds (24 hours).</p>"""
    turns_to_live: NotRequired[
        "capo_lex_runtime_service.types.active_context_turns_to_live.ActiveContextTurnsToLive"
    ]
    """<p>The number of conversation turns that the context should be active. A conversation turn is one <code>PostContent</code> or <code>PostText</code> request and the corresponding response from Amazon Lex.</p>"""

time_to_live_in_seconds instance-attribute

time_to_live_in_seconds: NotRequired[ActiveContextTimeToLiveInSeconds]

The number of seconds that the context should be active after it is first sent in a PostContent or PostText response. You can set the value between 5 and 86,400 seconds (24 hours).

turns_to_live instance-attribute

turns_to_live: NotRequired[ActiveContextTurnsToLive]

The number of conversation turns that the context should be active. A conversation turn is one PostContent or PostText request and the corresponding response from Amazon Lex.