Class: Aws::LexModelsV2::Types::OutputContext

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb

Overview

Describes a session context that is activated when an intent is fulfilled.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the output context.

Returns:

  • (String)


11223
11224
11225
11226
11227
11228
11229
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11223

class OutputContext < Struct.new(
  :name,
  :time_to_live_in_seconds,
  :turns_to_live)
  SENSITIVE = []
  include Aws::Structure
end

#time_to_live_in_secondsInteger

The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.

Returns:

  • (Integer)


11223
11224
11225
11226
11227
11228
11229
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11223

class OutputContext < Struct.new(
  :name,
  :time_to_live_in_seconds,
  :turns_to_live)
  SENSITIVE = []
  include Aws::Structure
end

#turns_to_liveInteger

The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.

Returns:

  • (Integer)


11223
11224
11225
11226
11227
11228
11229
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11223

class OutputContext < Struct.new(
  :name,
  :time_to_live_in_seconds,
  :turns_to_live)
  SENSITIVE = []
  include Aws::Structure
end