Class: Aws::LexRuntimeV2::Types::SessionState

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

Overview

The state of the user's session with Amazon Lex V2.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#active_contextsArray<Types::ActiveContext>

One or more contexts that indicate to Amazon Lex V2 the context of a request. When a context is active, Amazon Lex V2 considers intents with the matching context as a trigger as the next intent in a session.

Returns:



1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1464

class SessionState < Struct.new(
  :dialog_action,
  :intent,
  :active_contexts,
  :session_attributes,
  :originating_request_id,
  :runtime_hints)
  SENSITIVE = []
  include Aws::Structure
end

#dialog_actionTypes::DialogAction

The next step that Amazon Lex V2 should take in the conversation with a user.

Returns:



1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1464

class SessionState < Struct.new(
  :dialog_action,
  :intent,
  :active_contexts,
  :session_attributes,
  :originating_request_id,
  :runtime_hints)
  SENSITIVE = []
  include Aws::Structure
end

#intentTypes::Intent

The active intent that Amazon Lex V2 is processing.

Returns:



1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1464

class SessionState < Struct.new(
  :dialog_action,
  :intent,
  :active_contexts,
  :session_attributes,
  :originating_request_id,
  :runtime_hints)
  SENSITIVE = []
  include Aws::Structure
end

#originating_request_idString

A unique identifier for a specific request.

Returns:

  • (String)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1464

class SessionState < Struct.new(
  :dialog_action,
  :intent,
  :active_contexts,
  :session_attributes,
  :originating_request_id,
  :runtime_hints)
  SENSITIVE = []
  include Aws::Structure
end

#runtime_hintsTypes::RuntimeHints

Hints for phrases that a customer is likely to use for a slot. Amazon Lex V2 uses the hints to help determine the correct value of a slot.

Returns:



1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1464

class SessionState < Struct.new(
  :dialog_action,
  :intent,
  :active_contexts,
  :session_attributes,
  :originating_request_id,
  :runtime_hints)
  SENSITIVE = []
  include Aws::Structure
end

#session_attributesHash<String,String>

Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex V2 and a client application.

Returns:

  • (Hash<String,String>)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1464

class SessionState < Struct.new(
  :dialog_action,
  :intent,
  :active_contexts,
  :session_attributes,
  :originating_request_id,
  :runtime_hints)
  SENSITIVE = []
  include Aws::Structure
end