class Aws::LexRuntimeV2::Types::ActiveContextTimeToLive

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

@note When making an API call, you may pass ActiveContextTimeToLive

data as a hash:

    {
      time_to_live_in_seconds: 1, # required
      turns_to_live: 1, # required
    }

@!attribute [rw] time_to_live_in_seconds

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

@!attribute [rw] turns_to_live

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.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/ActiveContextTimeToLive AWS API Documentation

Constants

SENSITIVE