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

******************
delete_bot_replica
******************



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

  

  The action to delete the replicated bot in the secondary region.

  

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


  **Request Syntax**
  ::

    response = client.delete_bot_replica(
        botId='string',
        replicaRegion='string'
    )
    
  :type botId: string
  :param botId: **[REQUIRED]** 

    The unique ID of the replicated bot to be deleted from the secondary region

    

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

    The secondary region of the replicated bot that will be deleted.

    

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

    
    ::

      {
          'botId': 'string',
          'replicaRegion': 'string',
          'botReplicaStatus': 'Enabling'|'Enabled'|'Deleting'|'Failed'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The unique bot ID of the replicated bot generated.

        
      

      - **replicaRegion** *(string) --* 

        The region of the replicated bot generated.

        
      

      - **botReplicaStatus** *(string) --* 

        The operational status of the replicated bot generated.

        
  
  **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`

  