Class: Aws::Lex::Types::ActiveContext
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lex::Types::ActiveContext
- Defined in:
- gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb
Overview
A context is a variable that contains information about the current
state of the conversation between a user and Amazon Lex. Context can
be set automatically by Amazon Lex when an intent is fulfilled, or it
can be set at runtime using the PutContent
, PutText
, or
PutSession
operation.
Constant Summary collapse
- SENSITIVE =
[:parameters]
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the context.
-
#parameters ⇒ Hash<String,String>
State variables for the current context.
-
#time_to_live ⇒ Types::ActiveContextTimeToLive
The length of time or number of turns that a context remains active.
Instance Attribute Details
#name ⇒ String
The name of the context.
34 35 36 37 38 39 40 |
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 34 class ActiveContext < Struct.new( :name, :time_to_live, :parameters) SENSITIVE = [:parameters] include Aws::Structure end |
#parameters ⇒ Hash<String,String>
State variables for the current context. You can use these values as default values for slots in subsequent events.
34 35 36 37 38 39 40 |
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 34 class ActiveContext < Struct.new( :name, :time_to_live, :parameters) SENSITIVE = [:parameters] include Aws::Structure end |
#time_to_live ⇒ Types::ActiveContextTimeToLive
The length of time or number of turns that a context remains active.
34 35 36 37 38 39 40 |
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 34 class ActiveContext < Struct.new( :name, :time_to_live, :parameters) SENSITIVE = [:parameters] include Aws::Structure end |