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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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:



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1521

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:



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1521

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:



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1521

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)


1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1521

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:



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1521

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>)


1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1521

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