LexModelsV2.Client.
delete_intent
(**kwargs)¶Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
See also: AWS API Documentation
Request Syntax
response = client.delete_intent(
intentId='string',
botId='string',
botVersion='string',
localeId='string'
)
[REQUIRED]
The unique identifier of the intent to delete.
[REQUIRED]
The identifier of the bot associated with the intent.
[REQUIRED]
The version of the bot associated with the intent.
[REQUIRED]
The identifier of the language and locale where the bot will be deleted. The string must match one of the supported locales. For more information, see Supported languages.
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