v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1427150102.0 KB

Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.

post/#X-Amz-Target=com.amazonaws.codeconnections.CodeConnections_20231201.CreateRepositoryLink

Headers

X-Amz-Target'com.amazonaws.codeconnections.CodeConnections_20231201.CreateRepositoryLink' required

Request body

ConnectionArnstring required

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

OwnerIdstring required

The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.

RepositoryNamestring required

The name of the repository to be associated with the repository link.

EncryptionKeyArnstring

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

Response

Success