update_repository_link
¶
update_repository_link(
repository_link_id: RepositoryLinkId,
*,
config_overrides: Optional[CodeConnectionsClientConfig] = 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_codeconnections/_services/code_connections.py
1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 | |