Class: Aws::LexRuntimeV2::Types::ActiveContextTimeToLive

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexruntimev2/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

Instance Attribute Details

#time_to_live_in_secondsInteger

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

Returns:

  • (Integer)


80
81
82
83
84
85
# File 'gems/aws-sdk-lexruntimev2/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_liveInteger

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.

Returns:

  • (Integer)


80
81
82
83
84
85
# File 'gems/aws-sdk-lexruntimev2/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