Class: Aws::LexRuntimeV2::Types::PutSessionResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#audio_streamIO

If the requested content type was audio, the audio version of the message to convey to the user.

Returns:

  • (IO)


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_typeString

The type of response. Same as the type specified in the ‘responseContentType` field in the request.

Returns:

  • (String)


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

#messagesString

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.

Returns:

  • (String)


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_attributesString

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.

Returns:

  • (String)


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_idString

The identifier of the session that received the data.

Returns:

  • (String)


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_stateString

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.

Returns:

  • (String)


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