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)


7238
7239
7240
7241
7242
7243
7244
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7238

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)


7238
7239
7240
7241
7242
7243
7244
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7238

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)


7238
7239
7240
7241
7242
7243
7244
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7238

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