update_repository_link
¶
update_repository_link(
repository_link_id: RepositoryLinkId,
*,
config_overrides: Optional[CodeStarconnectionsClientConfig] = None,
connection_arn: Optional[ConnectionArn] = None,
encryption_key_arn: Optional[KmsKeyArn] = None,
) -> UpdateRepositoryLinkOutput
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.
Parameters:
-
connection_arn(Optional[ConnectionArn], default:None) –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.
-
encryption_key_arn(Optional[KmsKeyArn], default:None) –The Amazon Resource Name (ARN) of the encryption key for the repository link to be updated.
-
repository_link_id(RepositoryLinkId) –The ID of the repository link to be updated.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConditionalCheckFailedException–The conditional check failed. Try again later.
-
InternalServerException–Received an internal server exception. Try again later.
-
InvalidInputException–The input is not valid. Verify that the action is typed correctly.
-
ResourceNotFoundException–Resource not found. Verify the connection resource ARN and try again.
-
ThrottlingException–The request was denied due to request throttling.
-
UpdateOutOfSyncException–The update is out of sync. Try syncing again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codestar_connections/_services/code_starconnections.py
1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 | |