CodeStarconnections / Client / list_repository_links
list_repository_links#
- CodeStarconnections.Client.list_repository_links(**kwargs)#
Lists the repository links created for connections in your account.
See also: AWS API Documentation
Request Syntax
response = client.list_repository_links( MaxResults=123, NextToken='string' )
- Parameters:
MaxResults (integer) – A non-zero, non-negative integer used to limit the number of returned results.
NextToken (string) – An enumeration token that, when provided in a request, returns the next batch of the results.
- Return type:
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
CodeStarconnections.Client.exceptions.AccessDeniedException
CodeStarconnections.Client.exceptions.ConcurrentModificationException
CodeStarconnections.Client.exceptions.InternalServerException
CodeStarconnections.Client.exceptions.InvalidInputException
CodeStarconnections.Client.exceptions.ResourceNotFoundException
CodeStarconnections.Client.exceptions.ThrottlingException