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

************************
delete_custom_vocabulary
************************



.. py:method:: LexModelsV2.Client.delete_custom_vocabulary(**kwargs)

  

  Removes a custom vocabulary from the specified locale in the specified bot.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteCustomVocabulary>`_  


  **Request Syntax**
  ::

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

    The unique identifier of the bot to remove the custom vocabulary from.

    

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

    The version of the bot to remove the custom vocabulary from.

    

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

    The locale identifier for the locale that contains the custom vocabulary to remove.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'botId': 'string',
          'botVersion': 'string',
          'localeId': 'string',
          'customVocabularyStatus': 'Ready'|'Deleting'|'Exporting'|'Importing'|'Creating'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **botId** *(string) --* 

        The identifier of the bot that the custom vocabulary was removed from.

        
      

      - **botVersion** *(string) --* 

        The version of the bot that the custom vocabulary was removed from.

        
      

      - **localeId** *(string) --* 

        The locale identifier for the locale that the custom vocabulary was removed from.

        
      

      - **customVocabularyStatus** *(string) --* 

        The status of removing the custom vocabulary.

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

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

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

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

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

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

  