:doc:`LexModelsV2 <../../lexv2-models>` / Client / delete_intent

*************
delete_intent
*************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteIntent>`_  


  **Request Syntax**
  ::

    response = client.delete_intent(
        intentId='string',
        botId='string',
        botVersion='string',
        localeId='string'
    )
    
  :type intentId: string
  :param intentId: **[REQUIRED]** 

    The unique identifier of the intent to delete.

    

  
  :type botId: string
  :param botId: **[REQUIRED]** 

    The identifier of the bot associated with the intent.

    

  
  :type botVersion: string
  :param botVersion: **[REQUIRED]** 

    The version of the bot associated with the intent.

    

  
  :type localeId: string
  :param localeId: **[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 <https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html>`__.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`LexModelsV2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.ValidationException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.ConflictException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.PreconditionFailedException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.InternalServerException`

  