Class: Aws::LexRuntimeV2::Types::RecognizeTextRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#bot_alias_idString

The alias identifier in use for the bot that processes the request.

Returns:

  • (String)


1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1023

class RecognizeTextRequest < Struct.new(
  :bot_id,
  :bot_alias_id,
  :locale_id,
  :session_id,
  :text,
  :session_state,
  :request_attributes)
  SENSITIVE = [:text]
  include Aws::Structure
end

#bot_idString

The identifier of the bot that processes the request.

Returns:

  • (String)


1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1023

class RecognizeTextRequest < Struct.new(
  :bot_id,
  :bot_alias_id,
  :locale_id,
  :session_id,
  :text,
  :session_state,
  :request_attributes)
  SENSITIVE = [:text]
  include Aws::Structure
end

#locale_idString

The locale where the session is in use.

Returns:

  • (String)


1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1023

class RecognizeTextRequest < Struct.new(
  :bot_id,
  :bot_alias_id,
  :locale_id,
  :session_id,
  :text,
  :session_state,
  :request_attributes)
  SENSITIVE = [:text]
  include Aws::Structure
end

#request_attributesHash<String,String>

Request-specific information passed between the client application and Amazon Lex V2

The namespace ‘x-amz-lex:` is reserved for special attributes. Don’t create any request attributes with the prefix ‘x-amz-lex:`.

Returns:

  • (Hash<String,String>)


1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1023

class RecognizeTextRequest < Struct.new(
  :bot_id,
  :bot_alias_id,
  :locale_id,
  :session_id,
  :text,
  :session_state,
  :request_attributes)
  SENSITIVE = [:text]
  include Aws::Structure
end

#session_idString

The identifier of the user session that is having the conversation.

Returns:

  • (String)


1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1023

class RecognizeTextRequest < Struct.new(
  :bot_id,
  :bot_alias_id,
  :locale_id,
  :session_id,
  :text,
  :session_state,
  :request_attributes)
  SENSITIVE = [:text]
  include Aws::Structure
end

#session_stateTypes::SessionState

The current state of the dialog between the user and the bot.

Returns:



1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1023

class RecognizeTextRequest < Struct.new(
  :bot_id,
  :bot_alias_id,
  :locale_id,
  :session_id,
  :text,
  :session_state,
  :request_attributes)
  SENSITIVE = [:text]
  include Aws::Structure
end

#textString

The text that the user entered. Amazon Lex V2 interprets this text.

Returns:

  • (String)


1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1023

class RecognizeTextRequest < Struct.new(
  :bot_id,
  :bot_alias_id,
  :locale_id,
  :session_id,
  :text,
  :session_state,
  :request_attributes)
  SENSITIVE = [:text]
  include Aws::Structure
end