Creates a new IntentSlot.
description A description of the bot. Must be less than or equal to 200 characters in length.
name The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
priority Directs Lex the order in which to elicit this slot value from the user.
responseCard The response card. Amazon Lex will substitute session attributes and
sampleUtterances If you know a specific pattern with which users might respond to
slotConstraint Specifies whether the slot is required or optional.
slotType The type of the slot, either a custom slot type that you defined or one of
slotTypeVersion The version of the slot type. Must be less than or equal to 64 characters in length.
valueElicitationPrompt The prompt that Amazon Lex uses to elicit the slot value
Directs Lex the order in which to elicit this slot value from the user.
For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for
the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits
values is arbitrary. Must be between 1 and 100.
The response card. Amazon Lex will substitute session attributes and
slot values into the response card. For more information, see
Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
If you know a specific pattern with which users might respond to
an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This
is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
The type of the slot, either a custom slot type that you defined or one of
the built-in slot types. Must be less than or equal to 100 characters in length.