Skip to content

Update Repository Link

codestarconnections_update_repository_link R Documentation

Updates the association between your connection and a specified external Git repository

Description

Updates the association between your connection and a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.

Usage

codestarconnections_update_repository_link(ConnectionArn,
  EncryptionKeyArn, RepositoryLinkId)

Arguments

ConnectionArn

The Amazon Resource Name (ARN) of the connection for the repository link to be updated. The updated connection ARN must have the same providerType (such as GitHub) as the original connection ARN for the repo link.

EncryptionKeyArn

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

RepositoryLinkId

[required] The ID of the repository link to be updated.

Value

A list with the following syntax:

list(
  RepositoryLinkInfo = list(
    ConnectionArn = "string",
    EncryptionKeyArn = "string",
    OwnerId = "string",
    ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged",
    RepositoryLinkArn = "string",
    RepositoryLinkId = "string",
    RepositoryName = "string"
  )
)

Request syntax

svc$update_repository_link(
  ConnectionArn = "string",
  EncryptionKeyArn = "string",
  RepositoryLinkId = "string"
)