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

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

Overview

Note:

When making an API call, you may pass OutputContext data as a hash:

{
  name: "Name", # required
  time_to_live_in_seconds: 1, # required
  turns_to_live: 1, # required
}

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)


7832
7833
7834
7835
7836
7837
7838
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7832

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)


7832
7833
7834
7835
7836
7837
7838
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7832

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)


7832
7833
7834
7835
7836
7837
7838
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7832

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