delete_intent

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'
)
Parameters
  • intentId (string) --

    [REQUIRED]

    The unique identifier of the intent to delete.

  • botId (string) --

    [REQUIRED]

    The identifier of the bot associated with the intent.

  • botVersion (string) --

    [REQUIRED]

    The version of the bot associated with the intent.

  • localeId (string) --

    [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.

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