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

*******************
get_repository_link
*******************



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

  

  Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files in a specified Git repository.

  

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


  **Request Syntax**
  ::

    response = client.get_repository_link(
        RepositoryLinkId='string'
    )
    
  :type RepositoryLinkId: string
  :param RepositoryLinkId: **[REQUIRED]** 

    The ID of the repository link to get.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **RepositoryLinkInfo** *(dict) --* 

        The information returned for a specified repository link.

        
        

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

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

  