update_repository_link
async
¶
update_repository_link(
repository_link_id: RepositoryLinkId,
*,
config_overrides: Optional[AsyncCodeStarconnectionsClientConfig] = 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/async_code_starconnections.py
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 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 | |