Class: Aws::LexRuntimeV2::Types::PutSessionResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::PutSessionResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexruntimev2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#audio_stream ⇒ IO
If the requested content type was audio, the audio version of the message to convey to the user.
-
#content_type ⇒ String
The type of response.
-
#messages ⇒ String
A list of messages that were last sent to the user.
-
#request_attributes ⇒ String
A base-64-encoded gzipped field that provides request-specific information passed between the client application and Amazon Lex V2.
-
#session_id ⇒ String
The identifier of the session that received the data.
-
#session_state ⇒ String
A base-64-encoded gzipped field that represents the current state of the dialog between the user and the bot.
Instance Attribute Details
#audio_stream ⇒ IO
If the requested content type was audio, the audio version of the message to convey to the user.
978 979 980 981 982 983 984 985 986 987 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 978 class PutSessionResponse < Struct.new( :content_type, :messages, :session_state, :request_attributes, :session_id, :audio_stream) SENSITIVE = [] include Aws::Structure end |
#content_type ⇒ String
The type of response. Same as the type specified in the ‘responseContentType` field in the request.
978 979 980 981 982 983 984 985 986 987 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 978 class PutSessionResponse < Struct.new( :content_type, :messages, :session_state, :request_attributes, :session_id, :audio_stream) SENSITIVE = [] include Aws::Structure end |
#messages ⇒ String
A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.
978 979 980 981 982 983 984 985 986 987 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 978 class PutSessionResponse < Struct.new( :content_type, :messages, :session_state, :request_attributes, :session_id, :audio_stream) SENSITIVE = [] include Aws::Structure end |
#request_attributes ⇒ String
A base-64-encoded gzipped field that provides request-specific information passed between the client application and Amazon Lex V2. These are the same as the ‘requestAttribute` parameter in the call to the `PutSession` operation.
978 979 980 981 982 983 984 985 986 987 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 978 class PutSessionResponse < Struct.new( :content_type, :messages, :session_state, :request_attributes, :session_id, :audio_stream) SENSITIVE = [] include Aws::Structure end |
#session_id ⇒ String
The identifier of the session that received the data.
978 979 980 981 982 983 984 985 986 987 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 978 class PutSessionResponse < Struct.new( :content_type, :messages, :session_state, :request_attributes, :session_id, :audio_stream) SENSITIVE = [] include Aws::Structure end |
#session_state ⇒ String
A base-64-encoded gzipped field that represents the current state of the dialog between the user and the bot. Use this to determine the progress of the conversation and what the next action may be.
978 979 980 981 982 983 984 985 986 987 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 978 class PutSessionResponse < Struct.new( :content_type, :messages, :session_state, :request_attributes, :session_id, :audio_stream) SENSITIVE = [] include Aws::Structure end |