Class: Aws::LexRuntimeV2::Types::ActiveContextTimeToLive
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::ActiveContextTimeToLive
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexruntimev2/types.rb
Overview
The time that a context is active. You can specify the time to live in seconds or in conversation turns.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#time_to_live_in_seconds ⇒ Integer
The number of seconds that the context is active.
-
#turns_to_live ⇒ Integer
The number of turns that the context is active.
Instance Attribute Details
#time_to_live_in_seconds ⇒ Integer
The number of seconds that the context is active. You can specify between 5 and 86400 seconds (24 hours).
80 81 82 83 84 85 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 80 class ActiveContextTimeToLive < Struct.new( :time_to_live_in_seconds, :turns_to_live) SENSITIVE = [] include Aws::Structure end |
#turns_to_live ⇒ Integer
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.
80 81 82 83 84 85 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 80 class ActiveContextTimeToLive < Struct.new( :time_to_live_in_seconds, :turns_to_live) SENSITIVE = [] include Aws::Structure end |