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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexruntimev2/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)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1212

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)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1212

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)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1212

class PutSessionResponse < Struct.new(
  :content_type,
  :messages,
  :session_state,
  :request_attributes,
  :session_id,
  :audio_stream)
  SENSITIVE = []
  include Aws::Structure
end

#request_attributesString

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)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1212

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)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1212

class PutSessionResponse < Struct.new(
  :content_type,
  :messages,
  :session_state,
  :request_attributes,
  :session_id,
  :audio_stream)
  SENSITIVE = []
  include Aws::Structure
end

#session_stateString

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)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1212

class PutSessionResponse < Struct.new(
  :content_type,
  :messages,
  :session_state,
  :request_attributes,
  :session_id,
  :audio_stream)
  SENSITIVE = []
  include Aws::Structure
end