LexModelsV2 / Client / delete_slot
delete_slot#
- LexModelsV2.Client.delete_slot(**kwargs)#
Deletes the specified slot from an intent.
See also: AWS API Documentation
Request Syntax
response = client.delete_slot( slotId='string', botId='string', botVersion='string', localeId='string', intentId='string' )
- Parameters:
slotId (string) –
[REQUIRED]
The identifier of the slot to delete.
botId (string) –
[REQUIRED]
The identifier of the bot associated with the slot to delete.
botVersion (string) –
[REQUIRED]
The version of the bot associated with the slot to delete.
localeId (string) –
[REQUIRED]
The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
intentId (string) –
[REQUIRED]
The identifier of the intent associated with the slot.
- Returns:
None
Exceptions
LexModelsV2.Client.exceptions.ThrottlingException
LexModelsV2.Client.exceptions.ServiceQuotaExceededException
LexModelsV2.Client.exceptions.ValidationException
LexModelsV2.Client.exceptions.ConflictException
LexModelsV2.Client.exceptions.PreconditionFailedException
LexModelsV2.Client.exceptions.InternalServerException