aws lexv2-runtime put-session

Creates a new session or modifies an existing session with an Amazon Lex bot. Use this operation to enable your application to set the state of the bot

Options

NameDescription
--bot-id <string>The identifier of the bot that receives the session data
--bot-alias-id <string>The alias identifier of the bot that receives the session data
--locale-id <string>The locale where the session is in use
--session-id <string>The identifier of the session that receives the session data
--messages <list>A list of messages to send to the user. Messages are sent in the order that they are defined in the list
--session-state <structure>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 should use in the conversation with the user
--request-attributes <map>Request-specific information passed between Amazon Lex 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 <string>The message that Amazon Lex 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 returns text in the response
outfile <string>Filename where the content will be saved