Builder

class Builder

Properties

Link copied to clipboard

Identifies a specific revision of the $LATEST version.

Link copied to clipboard

The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function.

Link copied to clipboard

Prompts the user to confirm the intent. This question should have a yes or no answer.

Link copied to clipboard

When set to true a new numbered version of the intent is created. This is the same as calling the CreateIntentVersion operation. If you do not specify createVersion, the default is false.

Link copied to clipboard

A description of the intent.

Link copied to clipboard

Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction.

Link copied to clipboard

Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink.

Link copied to clipboard

Required. Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillmentActivity defines how the bot places an order with a local pizza store.

Link copied to clipboard

An array of InputContext objects that lists the contexts that must be active for Amazon Lex to choose the intent in a conversation with the user.

Link copied to clipboard

Configuration information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. For more information, see AMAZON.KendraSearchIntent.

Link copied to clipboard
var name: String?

The name of the intent. The name is not case sensitive.

Link copied to clipboard

An array of OutputContext objects that lists the contexts that the intent activates when the intent is fulfilled.

Link copied to clipboard

A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.

Link copied to clipboard

When the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled.

Link copied to clipboard

An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas".

Link copied to clipboard
var slots: List<Slot>?

An array of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. For more information, see how-it-works.

Functions