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

*************************
list_bot_version_replicas
*************************



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

  

  Contains information about all the versions replication statuses applicable for Global Resiliency.

  

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


  **Request Syntax**
  ::

    response = client.list_bot_version_replicas(
        botId='string',
        replicaRegion='string',
        maxResults=123,
        nextToken='string',
        sortBy={
            'attribute': 'BotVersion',
            'order': 'Ascending'|'Descending'
        }
    )
    
  :type botId: string
  :param botId: **[REQUIRED]** 

    The request for the unique ID in the list of replicated bots.

    

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

    The request for the region used in the list of replicated bots.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum results given in the list of replicated bots.

    

  
  :type nextToken: string
  :param nextToken: 

    The next token given in the list of replicated bots.

    

  
  :type sortBy: dict
  :param sortBy: 

    The requested sort category for the list of replicated bots.

    

  
    - **attribute** *(string) --* **[REQUIRED]** 

      The attribute of the sort category for the version replicated bots.

      

    
    - **order** *(string) --* **[REQUIRED]** 

      The order of the sort category for the version replicated bots.

      

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

    
    ::

      {
          'botId': 'string',
          'sourceRegion': 'string',
          'replicaRegion': 'string',
          'botVersionReplicaSummaries': [
              {
                  'botVersion': 'string',
                  'botVersionReplicationStatus': 'Creating'|'Available'|'Deleting'|'Failed',
                  'creationDateTime': datetime(2015, 1, 1),
                  'failureReasons': [
                      'string',
                  ]
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The unique ID of the bots in the list of replicated bots.

        
      

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

        The source region used for the bots in the list of replicated bots.

        
      

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

        The region used for the replicated bots in the list of replicated bots.

        
      

      - **botVersionReplicaSummaries** *(list) --* 

        The information summary used for the replicated bots in the list of replicated bots.

        
        

        - *(dict) --* 

          Contains summary information for all the version replication statuses applicable for Global resiliency.

          
          

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

            The bot version for the summary information for all the version replication statuses.

            
          

          - **botVersionReplicationStatus** *(string) --* 

            The version replication status for all the replicated bots.

            
          

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

            The creation date and time of the replication status for all the replicated bots.

            
          

          - **failureReasons** *(list) --* 

            The reasons for replication failure for all the replicated bots.

            
            

            - *(string) --* 
        
      
    
      

      - **nextToken** *(string) --* 

        The next token used for the replicated bots in the list of replicated bots.

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

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

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

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

  