v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14107861793.8 KB

Updates the configuration of an existing slot type.

put/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/

Path parameters

slotTypeIdstring required

The unique identifier of the slot type to update.

botIdstring required

The identifier of the bot that contains the slot type.

botVersionstring required

The version of the bot that contains the slot type. Must be <code>DRAFT</code>.

localeIdstring required

The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.

Request body

slotTypeNamestring required

The new name of the slot type.

descriptionstring

The new description of the slot type.

parentSlotTypeSignaturestring

The new built-in slot type that should be used as the parent of this slot type.

Response

Success

slotTypeIdstring

The unique identifier of the updated slot type.

slotTypeNamestring

The updated name of the slot type.

descriptionstring

The updated description of the slot type.

parentSlotTypeSignaturestring

The updated signature of the built-in slot type that is the parent of this slot type.

botIdstring

The identifier of the bot that contains the slot type.

botVersionstring

The version of the bot that contains the slot type. This is always <code>DRAFT</code>.

localeIdstring

The language and locale of the updated slot type.

creationDateTimestring date-time

The timestamp of the date and time that the slot type was created.

lastUpdatedDateTimestring date-time

A timestamp of the date and time that the slot type was last updated.