:doc:`CodeStarconnections <../../codestar-connections>` / Client / list_repository_links

*********************
list_repository_links
*********************



.. py:method:: CodeStarconnections.Client.list_repository_links(**kwargs)

  

  Lists the repository links created for connections in your account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListRepositoryLinks>`_  


  **Request Syntax**
  ::

    response = client.list_repository_links(
        MaxResults=123,
        NextToken='string'
    )
    
  :type MaxResults: integer
  :param MaxResults: 

    A non-zero, non-negative integer used to limit the number of returned results.

    

  
  :type NextToken: string
  :param NextToken: 

    An enumeration token that, when provided in a request, returns the next batch of the results.

    

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

    
    ::

      {
          'RepositoryLinks': [
              {
                  'ConnectionArn': 'string',
                  'EncryptionKeyArn': 'string',
                  'OwnerId': 'string',
                  'ProviderType': 'Bitbucket'|'GitHub'|'GitHubEnterpriseServer'|'GitLab'|'GitLabSelfManaged',
                  'RepositoryLinkArn': 'string',
                  'RepositoryLinkId': 'string',
                  'RepositoryName': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RepositoryLinks** *(list) --* 

        Lists the repository links called by the list repository links operation.

        
        

        - *(dict) --* 

          Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.

          
          

          - **ConnectionArn** *(string) --* 

            The Amazon Resource Name (ARN) of the connection associated with the repository link.

            
          

          - **EncryptionKeyArn** *(string) --* 

            The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.

            
          

          - **OwnerId** *(string) --* 

            The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.

            
          

          - **ProviderType** *(string) --* 

            The provider type for the connection, such as GitHub, associated with the repository link.

            
          

          - **RepositoryLinkArn** *(string) --* 

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

            
          

          - **RepositoryLinkId** *(string) --* 

            The ID of the repository link.

            
          

          - **RepositoryName** *(string) --* 

            The name of the repository associated with the repository link.

            
      
    
      

      - **NextToken** *(string) --* 

        An enumeration token that allows the operation to batch the results of the operation.

        
  
  **Exceptions**
  
  *   :py:class:`CodeStarconnections.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`CodeStarconnections.Client.exceptions.ConcurrentModificationException`

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

  
  *   :py:class:`CodeStarconnections.Client.exceptions.InvalidInputException`

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

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

  