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

******************
create_bot_replica
******************



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

  

  Action to create a replication of the source bot in the secondary region.

  

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


  **Request Syntax**
  ::

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

    The request for the unique bot ID of the source bot to be replicated in the secondary region.

    

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

    The request for the secondary region that will be used in the replication of the source bot.

    

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

    
    ::

      {
          'botId': 'string',
          'replicaRegion': 'string',
          'sourceRegion': 'string',
          'creationDateTime': datetime(2015, 1, 1),
          '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.

        
      

      - **sourceRegion** *(string) --* 

        The source region for the source bot used for the replicated bot generated.

        
      

      - **creationDateTime** *(datetime) --* 

        The creation date and time 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`

  