v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14107861793.8 KB

Updates the settings for a slot.

put/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/

Path parameters

slotIdstring required

The unique identifier for the slot to update.

botIdstring required

The unique identifier of the bot that contains the slot.

botVersionstring required

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

localeIdstring required

The identifier of the language and locale that contains the slot. 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>.

intentIdstring required

The identifier of the intent that contains the slot.

Request body

slotNamestring required

The new name for the slot.

descriptionstring

The new description for the slot.

slotTypeIdstring

The unique identifier of the new slot type to associate with this slot.

Response

Success

slotIdstring

The unique identifier of the slot that was updated.

slotNamestring

The updated name of the slot.

descriptionstring

The updated description of the bot.

slotTypeIdstring

The updated identifier of the slot type that provides values for the slot.

botIdstring

The identifier of the bot that contains the slot.

botVersionstring

The version of the bot that contains the slot. Will always be <code>DRAFT</code>.

localeIdstring

The locale that contains the slot.

intentIdstring

The intent that contains the slot.

creationDateTimestring date-time

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

lastUpdatedDateTimestring date-time

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