CodeStarconnections / Client / get_repository_link
get_repository_link#
- 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
Request Syntax
response = client.get_repository_link( RepositoryLinkId='string' )
- Parameters:
RepositoryLinkId (string) –
[REQUIRED]
The ID of the repository link to get.
- Return type:
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