PutSessionRequest
¶
Source code in docs_src/capo_lex_runtime_v2/types/put_session_request.py
bot_alias_id
instance-attribute
¶
bot_alias_id: BotAliasIdentifier
The alias identifier of the bot that receives the session data.
bot_id
instance-attribute
¶
bot_id: BotIdentifier
The identifier of the bot that receives the session data.
messages
instance-attribute
¶
messages: NotRequired[Messages]
A list of messages to send to the user. Messages are sent in the order that they are defined in the list.
request_attributes
instance-attribute
¶
request_attributes: NotRequired[StringMap]
Request-specific information passed between Amazon Lex V2 and the client application.
The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
response_content_type
instance-attribute
¶
response_content_type: NotRequired[NonEmptyString]
The message that Amazon Lex V2 returns in the response can be either text or speech depending on the value of this parameter.
-
If the value is
text/plain; charset=utf-8, Amazon Lex V2 returns text in the response.
session_id
instance-attribute
¶
session_id: SessionId
The identifier of the session that receives the session data.
session_state
instance-attribute
¶
session_state: SessionState
Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex V2 should use in the conversation with the user.