:doc:`Proton <../../proton>` / Client / list_repositories

*****************
list_repositories
*****************



.. py:method:: Proton.Client.list_repositories(**kwargs)

  

  List linked repositories with detail data.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositories>`_  


  **Request Syntax**
  ::

    response = client.list_repositories(
        maxResults=123,
        nextToken='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of repositories to list.

    

  
  :type nextToken: string
  :param nextToken: 

    A token that indicates the location of the next repository in the array of repositories, after the list of repositories previously requested.

    

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

    
    ::

      {
          'nextToken': 'string',
          'repositories': [
              {
                  'arn': 'string',
                  'connectionArn': 'string',
                  'name': 'string',
                  'provider': 'GITHUB'|'GITHUB_ENTERPRISE'|'BITBUCKET'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        A token that indicates the location of the next repository in the array of repositories, after the current requested list of repositories.

        
      

      - **repositories** *(list) --* 

        An array of repository links.

        
        

        - *(dict) --* 

          Summary data of a linked repository—a repository that has been registered with Proton.

          
          

          - **arn** *(string) --* 

            The Amazon Resource Name (ARN) of the linked repository.

            
          

          - **connectionArn** *(string) --* 

            The Amazon Resource Name (ARN) of the of your connection that connects Proton to your repository.

            
          

          - **name** *(string) --* 

            The repository name.

            
          

          - **provider** *(string) --* 

            The repository provider.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Proton.Client.exceptions.ValidationException`

  
  *   :py:class:`Proton.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Proton.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Proton.Client.exceptions.ResourceNotFoundException`

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

  