ActiveContextTimeToLive - Amazon Lex API Reference

ActiveContextTimeToLive

The time that a context is active. You can specify the time to live in seconds or in conversation turns.

Contents

timeToLiveInSeconds

The number of seconds that the context is active. You can specify between 5 and 86400 seconds (24 hours).

Type: Integer

Valid Range: Minimum value of 5. Maximum value of 86400.

Required: Yes

turnsToLive

The number of turns that the context is active. You can specify up to 20 turns. Each request and response from the bot is a turn.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 20.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: