Class: Aws::LexModelBuildingService::Types::OutputContext

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lexmodelbuildingservice/types.rb

Overview

The specification of an output context that is set when an intent is fulfilled.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the context.

Returns:

  • (String)


2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2817

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

#time_to_live_in_secondsInteger

The number of seconds that the context should be active after it is first sent in a ‘PostContent` or `PostText` response. You can set the value between 5 and 86,400 seconds (24 hours).

Returns:

  • (Integer)


2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2817

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 context should be active. A conversation turn is one ‘PostContent` or `PostText` request and the corresponding response from Amazon Lex.

Returns:

  • (Integer)


2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2817

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