
If a slot has not been filled, the value is null. The name of the slot maps to the value of Hints to improve accuracy.The intent name and slot name must exist.Ī map of all of the slots for the intent. Level is the name of the slot within the intent. That should be added for each slot.The first level of the slotHints map is the name of the intent. Style on a slot, users can spell out their input to make it clear to your bot.Spell by letter - "b" "o" "b"Spell by word - "b as in boy" "o as in oscar" "b as in boy"For more information, see Ī list of the slots in the intent that should have runtime hints added, and the phrases The identifier of the user session that is having the conversation.Ĭonfigures the slot to use spell-by-letter or spell-by-word style. It containsĪpplication information passed between Amazon Lex V2 and a client application. Map of key/value pairs representing session-specific context information. Don't createĪny request attributes with the prefix x-amz-lex. V2 The namespace x-amz-lex: is reserved for special attributes. Request-specific information passed between the client application and Amazon Lex The identifier of the bot that processes the request.Ĭontains information about whether fulfillment of the intent has been confirmed.Ī unique identifier for a specific request. The alias identifier in use for the bot that processes the request. WhenĪ context is active, Amazon Lex V2 considers intents with the matching context asĪ trigger as the next intent in a session. One or more contexts that indicate to Amazon Lex V2 the context of a request. If you configure a timeout, the timeout message is returned when the period times Timeout message - If you don't configure a timeout message and a timeout,Īnd the Lambda function doesn't return within 30 seconds, the timeout message is returned. The intent state is fulfilled or ready fulfillment if the message is present.įailed message - The failed message is returned if the Lambda function throwsĪn exception or if the Lambda function returns a failed intent state without a message. Success message - Returned if the Lambda function completes successfully and For more information, see PostFulfillmentStatusSpecification. If the optional post-fulfillment response is specified, the messages are returnedĪs follows. In response, Amazon Lex V2 returns the next message to convey to the user and an optional Machine learning model that it build for the bot. Amazon Lex V2 then interprets the user input using the Client applications use this API to send requests This parameter overrides confirmation prompts to force Specifying the name of a property of type will result in that property being returned. Specifying -Select '*' will result in the cmdlet returning the whole service response (). If the locale doesn't exist in the bot, or if the locale hasn't been enables for theĪlias, you receive a BadRequestException. If you specify a bot or alias ID that doesn't exist, you receive a BadRequestException.

The default is 5 minutes, but youĬan specify anything between 1 minute and 24 hours. The session time limit when you create the bot. Sessions have a time limit and will expire. Session, the entire history of the session is removed so that you can start again. You can use this operation to restart a conversation with a bot. Removes session information for a specified bot, alias, and user ID. This parameter will be removed in a future version. The -PassThru parameter is deprecated, use -Select '^BotId' instead. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.Ĭhanges the cmdlet behavior to return the value passed to the BotId parameter.


Use the -Select parameter to control the cmdlet output. The identifier of the bot that contains the session data. The alias identifier in use for the bot that contains the session data. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException. If the bot, alias, or session identifier doesn't exist, Amazon Lex V2 returns a BadRequestException. That has left a long-running session in use. Returns session information for a specified bot, alias, and user.įor example, you can use this operation to retrieve session information for a user
