Creates a custom slot type
To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.
put/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/
Path parameters
botIdstring required
The identifier of the bot associated with this slot type.
botVersionstring required
The identifier of the bot version associated with this slot type.
localeIdstring required
The identifier of the language and locale that the slot type will be used in. The string must match one of the supported locales. All of the bots, intents, and slots used by the slot type must have the same locale. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.
Request body
Response
Success